Update the saved definition in place. Existing run prompts are unchanged.
Security
ApiKey(Required scopes: automations.update)
- Productionhttps://api.foxglove.dev/v1/automations/{automationId}
{ "name": "string", "actionPrompt": "string", "modelSelection": "auto" }
The updated automation
One of:
Model family an automation's runs use. auto picks the recommended model. sonnet and opus pick the current version of that family.
string(AutomationModelSelection)
Enum:"auto""sonnet""opus"
True when the caller's member owns the automation. Always false for an organization API key, which acts as no member. Use permissions to decide which actions to offer.
What the caller can do to the automation, as decided by the server's access policy. For an organization API key, canEdit, canSetEnabled, and canDelete are false, and canRun is true when the owner is an active member.
Response
{ "id": "string", "projectId": "string", "name": "string", "actionPrompt": "string", "modelSelection": "auto", "isOwner": true, "permissions": { "canEdit": true, "canSetEnabled": true, "canDelete": true, "canRun": true }, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" }