mirror of
https://github.com/openai/codex.git
synced 2026-09-04 15:08:45 +00:00
## What changed - Make `thread/turns/list`, `thread/items/list`, and `thread/revert` available without the experimental API capability. - Stabilize `thread/reverted`, `thread.historyMode`, and the pagination fields used by `thread/resume` and `thread/fork`. - Publish the promoted requests, responses, and fields in the stable JSON and TypeScript schemas, and update the app-server documentation accordingly. GitOrigin-RevId: 18b8c53c265211597bb1a62fd62f66f4a3df5f06
56 lines
1.1 KiB
JSON
Generated
56 lines
1.1 KiB
JSON
Generated
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"definitions": {
|
|
"SortDirection": {
|
|
"enum": [
|
|
"asc",
|
|
"desc"
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"properties": {
|
|
"cursor": {
|
|
"description": "Opaque cursor to pass to the next call to continue after the last item.",
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"limit": {
|
|
"description": "Optional item page size.",
|
|
"format": "uint32",
|
|
"minimum": 0.0,
|
|
"type": [
|
|
"integer",
|
|
"null"
|
|
]
|
|
},
|
|
"sortDirection": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/definitions/SortDirection"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Optional item pagination direction; defaults to ascending."
|
|
},
|
|
"threadId": {
|
|
"type": "string"
|
|
},
|
|
"turnId": {
|
|
"description": "Optional turn id to filter by. When omitted, returns items across the thread.",
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"threadId"
|
|
],
|
|
"title": "ThreadItemsListParams",
|
|
"type": "object"
|
|
} |