Skip to main content
GET
/
executions
/
{executionId}
Get execution
curl --request GET \
  --url https://odyssey.asteroid.ai/agents/v2/executions/{executionId} \
  --header 'X-Asteroid-Agents-Api-Key: <api-key>'
{
  "agentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "agentName": "<string>",
  "agentVersion": 123,
  "agentVersionDirty": true,
  "comments": [
    {
      "content": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "executionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "public": true,
      "userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "updatedAt": "2023-11-07T05:31:56Z"
    }
  ],
  "createdAt": "2023-11-07T05:31:56Z",
  "humanLabels": [
    {
      "color": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "name": "<string>",
      "organizationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
    }
  ],
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "organizationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "status": "starting",
  "workflowId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "agentProfileName": "<string>",
  "browserRecordingUrl": "<string>",
  "duration": 123,
  "executionResult": {
    "createdAt": "2023-11-07T05:31:56Z",
    "executionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "outcome": "<string>",
    "reasoning": "<string>",
    "result": "<unknown>"
  },
  "metadata": {},
  "terminalAt": "2023-11-07T05:31:56Z"
}

Authorizations

X-Asteroid-Agents-Api-Key
string
header
required

Path Parameters

executionId
string<uuid>
required

The unique identifier of the execution

Response

The request has succeeded.

Represents a single execution in a list view

agentId
string<uuid>
required

The ID of the agent that was executed

agentName
string
required

The agent display name

agentVersion
integer<int32>
required

The version of the agent that was executed

agentVersionDirty
boolean
required

Whether the agent version was modified from the original

comments
object[]
required

Comments on this execution

createdAt
string<date-time>
required

When the execution was created

humanLabels
object[]
required

Human-applied labels for this execution

id
string<uuid>
required

The unique identifier of the execution

organizationId
string<uuid>
required

The organization this execution belongs to

status
enum<string>
required

The current status of the execution

Available options:
starting,
running,
paused,
awaiting_confirmation,
completed,
cancelled,
failed,
paused_by_agent
workflowId
string<uuid>
required

The ID of the workflow that was executed

agentProfileName
string

The name of the agent profile used for this execution (if any)

browserRecordingUrl
string

Browser recording URL (if a browser session was used)

duration
number<double>

Execution duration in seconds (only present for terminal executions)

executionResult
object

Execution result with outcome, reasoning, and result data

metadata
object

Optional metadata key-value pairs attached to this execution

terminalAt
string<date-time>

When the execution reached a terminal state (if applicable)