v12

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-01251238661.6 KB
v1
protected
files

Upload File

Upload a file, server-proxied.

purpose="workspace" (the default) lands the file at the workspace artifact root. purpose="attachment" stages it under staging/{id}/{filename} — hidden from the workspace listing — and returns a ref the task-create endpoint resolves into the task workspace.

post/v1/files

Response

Successful Response

{"stackTrail":"paths:/v1/files:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}