RevKeen Docs
Api reference

Retrieve an automation

Get a saved automation and its current version details.


Related endpoints

  • GET /automations — List automations
  • POST /automations — Create an automation
  • GET /automations/{id}/runs — List runs for an automation
  • POST /automations/{id}/runs — Run an automation
  • GET /automations/{id}/runs/{runId} — Retrieve a run
  • GET /automations/approvals — List approvals
  • POST /automations/approvals/{approvalId}/approve — Approve an automation approval
  • POST /automations/approvals/{approvalId}/reject — Reject an automation approval

Common errors

  • 404 resource_missing — the referenced resource does not exist or is not visible to your key.
GET
/automations/{id}
x-api-key<token>

Your RevKeen API key (powered by Unkey). Get it from Dashboard > Settings > API Keys. Use rk_sandbox_* for test mode and rk_live_* for production.

In: header

Path Parameters

id*string

The automation ID

Formatuuid

Response Body

application/json

curl "https://api.revkeen.com/v2/automations/00000000-0000-0000-0000-000000000000" \  -H "x-api-key: $REVKEEN_API_KEY"
{
  "data": {
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "object": "automation",
    "name": "string",
    "description": "string",
    "status": "string",
    "trigger_type": "string",
    "timezone": "string",
    "cron_expression": "string",
    "risk_profile": "string",
    "current_version": 0,
    "objective": "string",
    "created_at": "string",
    "updated_at": "string",
    "system_prompt": "string",
    "trigger_config": null,
    "plan": null,
    "tool_allowlist": null,
    "approval_policy": null,
    "memory_policy": null,
    "notification_policy": null,
    "source_thread_id": "b736ec5d-eb67-4368-a52e-4c5c02196509",
    "source_message_id": "422efc8e-5e68-4d36-8b87-fc5bb43ded95"
  }
}
Empty