Skip to main content
PUT
Upload one chunk

Authorizations

Authorization
string
header
required

Either a Supabase user access token (from a password login, or the passwordless magic-link flow) or a long-lived forge_sk_… API key. Both are sent as Authorization: Bearer <value> and resolve to the same owner, so every endpoint accepts either. Session tokens expire in ~1h; API keys do not expire and are the credential for MCP clients, CI, and partner integrations.

Path Parameters

upload_id
string
required

Query Parameters

path
string
required

The manifest-relative file path this chunk belongs to.

index
integer
required

0-based chunk index within the file.

sha256
string
required

SHA-256 of this chunk's bytes (64 hex chars).

Body

application/octet-stream

The body is of type file.

Response

Chunk stored

ok
boolean