List objective events
Lists all events for an objective
Path parameters
Objective ID for filtering
Query parameters
Maximum number of results to return
Pagination cursor from previous response
Sort order for results (asc or desc by creation time)
When set to true you may use more of your alloted API rate-limit
Optional context window ID to filter events by
Optional string to fetch events since an ID
Filters by metadata labels. Comma-separated key=value pairs, e.g. "env=prod,team=ai". A resource matches only if every pair matches exactly (AND semantics).
Response
OK
Example response
{
"items": [
{
"metadata": {
"accountId": "account_01HXKD2E5NQM3T9AYWCFTJHJVF",
"workspaceId": "workspace_01HXKD2E5NQM3T9AYWCF133E3Q",
"profileId": "profile_01HXKD2E5NQM3T9AYWCFS0AP08"
},
"data": {
"toolApprovalRequested": {
"toolCallId": "toolcall_01HXKD2E5NQM3T9AYWCFTANFGV"
}
},
"contextWindowId": "objwin_01HXKD2E5NQM3T9AYWCFN7BSTR",
"info": {
"objective": {
"accountId": "account_01HXKD2E5NQM3T9AYWCFTJHJVF",
"workspaceId": "workspace_01HXKD2E5NQM3T9AYWCF133E3Q",
"profileId": "profile_01HXKD2E5NQM3T9AYWCFS0AP08"
},
"createdBy": {
"metadata": {
"accountId": "account_01HXKD2E5NQM3T9AYWCFTJHJVF",
"profileId": "profile_01HXKD2E5NQM3T9AYWCFS0AP08"
}
}
}
}
]
}Changes
Changed in 13 of the 57 revisions of this API.32517
- ▲
added
ObjectiveEventData_Reasoningto theitems/items/dataresponse propertyoneOflist for the response status200response-property-one-of-added
- ○
added
reasoningdiscriminator mapping keys to theitems/items/dataresponse property for the response status200response-property-discriminator-mapping-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
added the optional property
items/items/startedAtto the response with the200statusresponse-optional-property-added
- ○
- ○
added the optional property
items/items/durationto the response with the200statusresponse-optional-property-added
- ○
- ▲
added
ObjectiveEventData_UserMessageObjectiveEventData_ToolApprovalRequestedObjectiveEventData_ToolApprovedObjectiveEventData_ToolDeniedObjectiveEventData_ToolCalledObjectiveEventData_ErrorObjectiveEventData_AssistantMessageObjectiveEventData_ToolResultObjectiveEventData_ToolErrorObjectiveEventData_ContextWindowCompactedObjectiveEventData_MemoryReadObjectiveEventData_CancelledObjectiveEventData_SubAgentSpawnedObjectiveEventData_SubAgentUpdatedObjectiveEventData_FinalizedObjectiveEventData_NoticeObjectiveEventData_TimedOutto theitems/items/dataresponse propertyoneOflist for the response status200response-property-one-of-added
- ▲
the
items/items/dataresponse's property type/format changed fromobject/to/for status200response-property-type-changed
- ●
removed the optional property
items/items/data/assistantMessagefrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
items/items/data/cancelledfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
items/items/data/contextWindowCompactedfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
items/items/data/errorfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
items/items/data/finalizedfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
items/items/data/memoryReadfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
items/items/data/noticefrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
items/items/data/subAgentSpawnedfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
items/items/data/subAgentUpdatedfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
items/items/data/timedOutfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
items/items/data/toolApprovalRequestedfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
items/items/data/toolApprovedfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
items/items/data/toolCalledfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
items/items/data/toolDeniedfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
items/items/data/toolErrorfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
items/items/data/toolResultfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
items/items/data/typefrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
items/items/data/userMessagefrom the response with the200statusresponse-optional-property-removed
- ○
added discriminator to
items/items/dataresponse property for the response status200response-property-discriminator-added
- ▲
- ●
removed the optional property
pagination/totalfrom the response with the200statusresponse-optional-property-removed
- ●
- ○
added the new optional
queryrequest parameterlabelsnew-optional-request-parameter
- ○
- ○
added the optional property
items/items/data/timedOutto the response with the200statusresponse-optional-property-added
- ○
- ○
added the optional property
items/items/data/toolCalled/argumentsto the response with the200statusresponse-optional-property-added
- ○
added the optional property
items/items/data/toolCalled/configto the response with the200statusresponse-optional-property-added
- ○
added the optional property
items/items/data/toolCalled/toolto the response with the200statusresponse-optional-property-added
- ○
- ○
added the optional property
items/items/data/noticeto the response with the200statusresponse-optional-property-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ●
removed the optional property
items/items/data/assistantMessage/toolCalls/items/tool/agent/bundleKeyfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
items/items/data/assistantMessage/toolCalls/items/tool/cadenyaProvidedTool/bundleKeyfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
items/items/data/assistantMessage/toolCalls/items/tool/tool/bundleKeyfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
items/items/data/subAgentSpawned/agent/bundleKeyfrom the response with the200statusresponse-optional-property-removed
- ○
added the optional property
items/items/info/createdBy/metadata/createdAtto the response with the200statusresponse-optional-property-added
This revision also has 27 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●