summaryrefslogtreecommitdiffhomepage
path: root/pkg/client/gen/openapi.json
diff options
context:
space:
mode:
authorDax Raad <[email protected]>2025-05-27 15:35:48 -0400
committerDax Raad <[email protected]>2025-05-27 15:35:48 -0400
commitbb6fc2a1fdcd8634c701a3990088b4fe3dc28d65 (patch)
tree8efa900dae2704186305c573f4d73cfc90f851b5 /pkg/client/gen/openapi.json
parentad76fa8616ee9106f1112e45b2d0a2420611128b (diff)
downloadopencode-bb6fc2a1fdcd8634c701a3990088b4fe3dc28d65.tar.gz
opencode-bb6fc2a1fdcd8634c701a3990088b4fe3dc28d65.zip
regen client
Diffstat (limited to 'pkg/client/gen/openapi.json')
-rw-r--r--pkg/client/gen/openapi.json58
1 files changed, 58 insertions, 0 deletions
diff --git a/pkg/client/gen/openapi.json b/pkg/client/gen/openapi.json
index 3a14a4643..478eb02ae 100644
--- a/pkg/client/gen/openapi.json
+++ b/pkg/client/gen/openapi.json
@@ -95,6 +95,64 @@
}
}
},
+ "/session_list": {
+ "post": {
+ "responses": {
+ "200": {
+ "description": "List of sessions",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "pattern": "^ses"
+ },
+ "shareID": {
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ },
+ "tokens": {
+ "type": "object",
+ "properties": {
+ "input": {
+ "type": "number"
+ },
+ "output": {
+ "type": "number"
+ },
+ "reasoning": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "input",
+ "output",
+ "reasoning"
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "title",
+ "tokens"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "operationId": "postSession_list",
+ "parameters": [],
+ "description": "List all sessions"
+ }
+ },
"/session_chat": {
"post": {
"responses": {},