You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .speakeasy/in.openapi.yaml
+30-9Lines changed: 30 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -23185,6 +23185,36 @@ components:
23185
23185
properties:
23186
23186
call_id:
23187
23187
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'
23188
23218
id:
23189
23219
type:
23190
23220
- 'string'
@@ -29199,7 +29229,6 @@ paths:
29199
29229
summary: 'List container files'
29200
29230
tags:
29201
29231
- 'Containers'
29202
-
x-hidden: true
29203
29232
/containers/{container_id}/files/{file_id}:
29204
29233
get:
29205
29234
description: 'Returns the metadata of a single file in a container.'
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:
29534
29561
summary: 'Promote a container file into workspace documents'
29535
29562
tags:
29536
29563
- 'Containers'
29537
-
x-hidden: true
29538
29564
/credits:
29539
29565
get:
29540
29566
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:
30852
30878
summary: 'List files'
30853
30879
tags:
30854
30880
- 'Files'
30855
-
x-hidden: true
30856
30881
x-speakeasy-name-override: 'list'
30857
30882
x-speakeasy-pagination:
30858
30883
inputs:
@@ -30995,7 +31020,6 @@ paths:
30995
31020
summary: 'Upload a file'
30996
31021
tags:
30997
31022
- 'Files'
30998
-
x-hidden: true
30999
31023
x-speakeasy-name-override: 'upload'
31000
31024
/files/{file_id}:
31001
31025
delete:
@@ -31107,7 +31131,6 @@ paths:
31107
31131
summary: 'Delete a file'
31108
31132
tags:
31109
31133
- 'Files'
31110
-
x-hidden: true
31111
31134
x-speakeasy-name-override: 'delete'
31112
31135
get:
31113
31136
description: 'Retrieves metadata for a single file owned by the requesting workspace.'
0 commit comments