List objective context windows
Read-only list of the last five windows of execution for this objective, ordered by most recent first
Path parameters
The objective ID to return windows for
Query parameters
Maximum number of results to return
Pagination cursor from previous response
When set to true you may use more of your alloted API rate-limit
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": {
"objectiveId": "obj_01HXKD2E5NQM3T9AYWCFQAZGFV"
},
"info": {
"objective": {
"accountId": "account_01HXKD2E5NQM3T9AYWCFTJHJVF",
"workspaceId": "workspace_01HXKD2E5NQM3T9AYWCF133E3Q",
"profileId": "profile_01HXKD2E5NQM3T9AYWCFS0AP08"
},
"createdBy": {
"metadata": {
"accountId": "account_01HXKD2E5NQM3T9AYWCFTJHJVF",
"profileId": "profile_01HXKD2E5NQM3T9AYWCFS0AP08"
}
}
}
}
]
}Changes
Changed in 4 of the 57 revisions of this API.22
- ●
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/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
- ○
- ●
added the new
PROFILE_TYPE_UNSPECIFIEDenum value to theitems/items/info/createdBy/spec/typeresponse property for the response status200response-property-enum-value-added
- ●