Automations

Create an automation

Create an API-managed automation.

MethodPathRequired permissions
POST/v1/automations
write:configs
Token access
API key
Supported.
CLI user token
Supported.
Sandbox token
Unavailable. Not supported by sandbox tokens, even with permissions.ellipsis enabled.

Higher permission levels include lower levels: read < write < delete.

Grant match patterns can further restrict access to individual resources.

It is live immediately.

curl -X POST "https://api.ellipsis.dev/v1/automations" \
  -H "Authorization: Bearer $ELLIPSIS_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "automation": {
    "ellipsis": {
      "name": "check-tests",
      "version": "v1",
      "enabled": true,
      "metadata": {
        "labels": [],
        "annotations": {}
      }
    },
    "session": {
      "harness": {
        "type": "claude_code"
      },
      "instructions": "Run the tests and report failures.",
      "environment": "api-environment",
      "budget": {
        "session": 3
      },
      "permissions": {
        "github": {},
        "ellipsis": true
      },
      "skills": []
    }
  }
}'

Request

Example request body
{
}

Body parameters

automationAutomationConfig-Inputrequired

The automation's definition, in the same schema as a YAML file under .ellipsis/.

Response

Example response, 201
{
}

On this page

No Headings
Schedule a demo