GET
/
executions
/
{executionId}
/
activities
Retrieve execution activities
curl --request GET \
  --url https://odyssey.asteroid.ai/agents/{version}/executions/{executionId}/activities \
  --header 'X-Asteroid-Agents-Api-Key: <api-key>'
[
  {
    "executionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "payload": {
      "activityType": "terminal",
      "data": {
        "message": "<string>",
        "reason": "unsubscribe"
      }
    },
    "timestamp": "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

Query Parameters

order
enum<string>

Sort order for activities by timestamp

Available options:
asc,
desc
limit
integer

Maximum number of activities to return

Response

200
application/json

The request has succeeded.

The response is of type object[].