cURL
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" } ]
Get activities for an execution
The unique identifier of the execution
Sort order for activities by timestamp
asc
desc
Maximum number of activities to return
The request has succeeded.
The response is of type object[].
object[]