Get an agent run
Reports where a run has got to, and the drafts it has produced.
apiKeyAuthorizationBearer <token>API key for authenticating protected endpoints. Pass as Bearer token in Authorization header.
agentKey*stringWhich agent, such as changelog
runId*stringThe run to read
Run details
application/json- response
runId*stringstatus*stringWhere the run has got to
"queued""running""succeeded""completed_with_warnings""failed""blocked""canceled"startedAt*|When the run began, ISO 8601
finishedAt*|When it ended, ISO 8601
deliverables*array<>The drafts this run has produced so far
curl -X GET "https://example.com/v1/agents/string/runs/string"{ "runId": "string", "status": "queued", "startedAt": "string", "finishedAt": "string", "deliverables": [ { "export": "string", "item": "string", "status": "string" } ]}Start an agent run POST
Starts a run of an agent your publication has already set up, and returns straight away. A run takes several minutes, so poll `GET /v1/agents/{agentKey}/runs/{runId}` for the drafts. Nothing publishes: a run produces drafts for someone to review in the app.
Get authenticated publication GET
Returns the publication associated with the API key used in the request. Useful for verifying your API key and retrieving your publication details.