PUT /automations/{automation_id}
Replace an automation's definition, by id or by name.
TypeScript SDKThe npm client, generated from the API spec.Python SDKThe PyPI client, sync and async.
| Method | Path |
|---|---|
| PUT | /v1/automations/{automation_id} |
The whole definition is replaced, and the change is live at once. Only for automations managed through this API: one defined by a repository file is a 409, since the next push to that file would revert the change — unlink it first to take ownership.
Path parameters
automation_idstringrequired
curl -X PUT "https://api.ellipsis.dev/v1/automations/{automation_id}" \
-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.update("...", "...")
print(result)import { Ellipsis } from '@ellipsis-dev/sdk';
const client = new Ellipsis({
apiKey: process.env.ELLIPSIS_API_TOKEN!,
});
const result = await client.automations.update('...', { automation: '...' });
console.log(result);Request
Example request body
{
}
Body parameters
automationAgentConfigrequired
The automation's new definition. Replaces the previous one wholesale — this is not a partial update.
Response
Example response · 200
{
}