Skip to content

Commit 7bdcaaa

Browse files
author
OpenRouter SDK Bot
committed
chore: update OpenAPI spec [sdk-bot]
1 parent 56dda4d commit 7bdcaaa

1 file changed

Lines changed: 30 additions & 9 deletions

File tree

.speakeasy/in.openapi.yaml

Lines changed: 30 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23185,6 +23185,36 @@ components:
2318523185
properties:
2318623186
call_id:
2318723187
type: 'string'
23188+
container_id:
23189+
description: 'The canonical container id the command ran under — the `{container_id}` for the Container Files API, reusable as a `container_reference` in later requests. Present on every sandbox-executed call, even when no files changed.'
23190+
type: 'string'
23191+
files:
23192+
description: 'Citations for the files the sandbox command created or modified, most-recently-touched first (at most 10). Retrieve them via the Container Files API.'
23193+
items:
23194+
properties:
23195+
container_id:
23196+
type: 'string'
23197+
end_index:
23198+
type: 'integer'
23199+
file_id:
23200+
type: 'string'
23201+
filename:
23202+
type: 'string'
23203+
start_index:
23204+
type: 'integer'
23205+
type:
23206+
enum:
23207+
- 'container_file_citation'
23208+
type: 'string'
23209+
required:
23210+
- 'type'
23211+
- 'container_id'
23212+
- 'file_id'
23213+
- 'filename'
23214+
- 'start_index'
23215+
- 'end_index'
23216+
type: 'object'
23217+
type: 'array'
2318823218
id:
2318923219
type:
2319023220
- 'string'
@@ -29199,7 +29229,6 @@ paths:
2919929229
summary: 'List container files'
2920029230
tags:
2920129231
- 'Containers'
29202-
x-hidden: true
2920329232
/containers/{container_id}/files/{file_id}:
2920429233
get:
2920529234
description: 'Returns the metadata of a single file in a container.'
@@ -29309,7 +29338,6 @@ paths:
2930929338
summary: 'Retrieve a container file'
2931029339
tags:
2931129340
- 'Containers'
29312-
x-hidden: true
2931329341
/containers/{container_id}/files/{file_id}/content:
2931429342
get:
2931529343
description: 'Streams the raw bytes of a file in a container.'
@@ -29413,7 +29441,6 @@ paths:
2941329441
summary: 'Download container file content'
2941429442
tags:
2941529443
- 'Containers'
29416-
x-hidden: true
2941729444
/containers/{container_id}/files/{file_id}/promote:
2941829445
post:
2941929446
description: 'Copies a file from the container''s sandbox prefix into the workspace''s durable document storage, so it outlives the container. Returns the new document in the Files API shape, with a durable file id in the documents namespace. The copy counts against the workspace''s storage quota exactly like an upload.'
@@ -29534,7 +29561,6 @@ paths:
2953429561
summary: 'Promote a container file into workspace documents'
2953529562
tags:
2953629563
- 'Containers'
29537-
x-hidden: true
2953829564
/credits:
2953929565
get:
2954029566
description: 'Get total credits purchased and used for the authenticated user. [Management key](/docs/guides/overview/auth/management-api-keys) required.'
@@ -30852,7 +30878,6 @@ paths:
3085230878
summary: 'List files'
3085330879
tags:
3085430880
- 'Files'
30855-
x-hidden: true
3085630881
x-speakeasy-name-override: 'list'
3085730882
x-speakeasy-pagination:
3085830883
inputs:
@@ -30995,7 +31020,6 @@ paths:
3099531020
summary: 'Upload a file'
3099631021
tags:
3099731022
- 'Files'
30998-
x-hidden: true
3099931023
x-speakeasy-name-override: 'upload'
3100031024
/files/{file_id}:
3100131025
delete:
@@ -31107,7 +31131,6 @@ paths:
3110731131
summary: 'Delete a file'
3110831132
tags:
3110931133
- 'Files'
31110-
x-hidden: true
3111131134
x-speakeasy-name-override: 'delete'
3111231135
get:
3111331136
description: 'Retrieves metadata for a single file owned by the requesting workspace.'
@@ -31223,7 +31246,6 @@ paths:
3122331246
summary: 'Get file metadata'
3122431247
tags:
3122531248
- 'Files'
31226-
x-hidden: true
3122731249
x-speakeasy-name-override: 'retrieve'
3122831250
/files/{file_id}/content:
3122931251
get:
@@ -31344,7 +31366,6 @@ paths:
3134431366
summary: 'Download file content'
3134531367
tags:
3134631368
- 'Files'
31347-
x-hidden: true
3134831369
x-speakeasy-name-override: 'download'
3134931370
/generation:
3135031371
get:

0 commit comments

Comments
 (0)