API Reference
Files
multipart/form-data with a required file field (max 100 MB) and optional issue field (an issue identifier to attach the upload to). Not a JSON request body; documented here for completeness only.
Authorization
apiKey AuthorizationBearer <token>
Workspace scoped API key, printed once by pnpm seed or POST /api-keys.
In: header
Request Body
multipart/form-data
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/files" \ -F file="string"{ "file": { "id": "string", "name": "string", "contentType": "string", "size": 0, "url": "http://example.com" }}