diff --git a/openapi.json b/openapi.json index f8011b6..d1fec9d 100644 --- a/openapi.json +++ b/openapi.json @@ -217,48 +217,6 @@ } } }, - "/threads/{thread_id}/state/checkpoint": { - "post": { - "tags": [ - "Threads" - ], - "summary": "Get Thread State At Checkpoint", - "description": "Get state for a thread at a specific checkpoint.", - "operationId": "post_thread_state_at_checkpoint_threads__thread_id__state__checkpoint_id__get", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ThreadStateCheckpointRequest" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ThreadState" - } - } - } - }, - "422": { - "description": "Validation Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - } - }, "/threads/{thread_id}/history": { "get": { "tags": [ @@ -326,64 +284,6 @@ } } } - }, - "post": { - "tags": [ - "Threads" - ], - "summary": "Get Thread History Post", - "description": "Get all past states for a thread.", - "operationId": "get_thread_history_post_threads__thread_id__history_post", - "parameters": [ - { - "description": "The ID of the thread.", - "required": true, - "schema": { - "type": "string", - "format": "uuid", - "title": "Thread Id", - "description": "The ID of the thread." - }, - "name": "thread_id", - "in": "path" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ThreadStateSearch" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "items": { - "$ref": "#/components/schemas/ThreadState" - }, - "type": "array", - "title": "Response Get Thread History Post Threads Thread Id History Post" - } - } - } - }, - "422": { - "description": "Validation Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } } }, "/threads/{thread_id}/copy": { @@ -1575,12 +1475,6 @@ ], "description": "The assistant ID or graph name to run. If using graph name, will default to first assistant created from that graph." }, - "checkpoint": { - "type": "object", - "title": "Checkpoint", - "description": "The checkpoint to resume from.", - "$ref": "#/components/schemas/CheckpointConfig" - }, "input": { "anyOf": [ { @@ -1900,26 +1794,6 @@ "title": "ThreadPatch", "description": "Payload for creating a thread." }, - "ThreadStateCheckpointRequest": { - "properties": { - "checkpoint": { - "$ref": "#/components/schemas/CheckpointConfig", - "title": "Checkpoint", - "description": "The checkpoint to get the state for." - }, - "subgraphs": { - "type": "boolean", - "title": "Subgraphs", - "description": "Include subgraph states." - } - }, - "required": [ - "checkpoint" - ], - "type": "object", - "title": "ThreadStateCheckpointRequest", - "description": "Payload for getting the state of a thread at a checkpoint." - }, "ThreadState": { "properties": { "values": { @@ -2006,45 +1880,10 @@ ], "title": "ThreadState" }, - "ThreadStateSearch": { - "properties": { - "limit": { - "type": "integer", - "title": "Limit", - "description": "The maximum number of states to return.", - "default": 10, - "maximum": 1000, - "minimum": 1 - }, - "before": { - "title": "Before", - "description": "Return states before this checkpoint.", - "$ref": "#/components/schemas/CheckpointConfig" - }, - "metadata": { - "type": "object", - "title": "Metadata", - "description": "Filter states by metadata key-value pairs." - }, - "checkpoint": { - "$ref": "#/components/schemas/CheckpointConfig", - "title": "Checkpoint", - "description": "Return states for this subgraph." - } - }, - "type": "object", - "title": "ThreadStateSearch" - }, "ThreadStateUpdate": { "properties": { "values": { "anyOf": [ - { - "items": { - "type": "object" - }, - "type": "array" - }, { "type": "object" }, @@ -2059,11 +1898,6 @@ "$ref": "#/components/schemas/CheckpointConfig", "title": "Checkpoint", "description": "The checkpoint to update the state of." - }, - "as_node": { - "type": "string", - "title": "As Node", - "description": "Update the state as if this node had just executed." } }, "type": "object",