Retrieve an automation
GET/v1/automations/{id}
Retrieves an automation’s live version, including relationship watches and their resolved directions. Inputs, skills and files set in the app are not part of the response.
Requires an API key whose user is a workspace owner or admin.
Required scope: automations:read
Rate limit category: Read
Retrieve an automation
curl https://api.lightfield.app/v1/automations/$ID \
-H 'Lightfield-Version: 2026-03-01' \
-H "Authorization: Bearer $API_KEY"{
"id": "id",
"createdAt": "createdAt",
"description": "description",
"lastFailureAt": "lastFailureAt",
"lastRunAt": "lastRunAt",
"model": "model",
"name": "x",
"objectType": "automation",
"runAs": {
"type": "WORKSPACE"
},
"status": "ACTIVE",
"steps": [
{
"id": "id",
"name": "x",
"prompt": "x",
"type": "AGENT",
"permissions": [
{
"name": "x",
"type": "TOOL",
"reason": "reason"
}
]
}
],
"triggers": [
{
"type": "MANUAL"
}
],
"updatedAt": "updatedAt"
}Returns Examples
{
"id": "id",
"createdAt": "createdAt",
"description": "description",
"lastFailureAt": "lastFailureAt",
"lastRunAt": "lastRunAt",
"model": "model",
"name": "x",
"objectType": "automation",
"runAs": {
"type": "WORKSPACE"
},
"status": "ACTIVE",
"steps": [
{
"id": "id",
"name": "x",
"prompt": "x",
"type": "AGENT",
"permissions": [
{
"name": "x",
"type": "TOOL",
"reason": "reason"
}
]
}
],
"triggers": [
{
"type": "MANUAL"
}
],
"updatedAt": "updatedAt"
}