POST /automations
Create an automation, managed through the API: no file, live immediately.
TypeScript SDKThe npm client, generated from the API spec.Python SDKThe PyPI client, sync and async.
| Method | Path |
|---|---|
| POST | /v1/automations |
To put its definition in a repository instead, create it here and then POST /v1/automations/{automation_id}/link. 409 when another live automation already holds the name.
curl -X POST "https://api.ellipsis.dev/v1/automations" \
-H "Authorization: Bearer $ELLIPSIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"automation":"..."}'import os
from ellipsis import Ellipsis
client = Ellipsis(api_key=os.environ["ELLIPSIS_API_TOKEN"])
result = client.automations.create("...")
print(result)import { Ellipsis } from '@ellipsis-dev/sdk';
const client = new Ellipsis({
apiKey: process.env.ELLIPSIS_API_TOKEN!,
});
const result = await client.automations.create({ automation: '...' });
console.log(result);Request
Example request body
{
}
Body parameters
automationAgentConfigrequired
The automation's definition, in the same schema as a YAML file under agents/.
Response
Example response · 201
{
}