Upload file bytes
Streams the reserved file's bytes to the pending R2 key. Only the reservation owner may call it, and the body length must match the reserved size.
Authentication
AuthorizationBearer
WorkOS session JWT or an organization API key, sent as Authorization: Bearer <token>.
Path parameters
projectId
fileId
Request
The raw file bytes (any reserved content type).
Response
The bytes were stored.
ok
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error