Upload file (temporary)
Upload a short-lived file (auto-deleted ~24h after upload).
/orgs/{org_id}/k2/{kb_id}/files instead (upload, list, chunks, etc.).Authorizations
Timbal API key. Obtain your API key from the Timbal platform settings. See Authentication for more information.
Body
Binary contents of the file. Max 100 MB.
x >= 0Response
File uploaded
Stateless temporary file metadata. Stored under a dedicated tmp/ prefix
in object storage and removed by storage lifecycle policy ~24h after upload.
No database row is created; clients must persist the URL/name themselves
if they need to track it.
Size of the uploaded payload in bytes.
MIME type as reported by the client.
Time the file was uploaded.
Advisory expiration (~24h after upload). Object deletion is performed by
storage lifecycle and may lag this timestamp by up to a day. Treat HTTP
404 from url as "expired".
Original filename (sanitized — slashes / control characters replaced).
Public URL where the file can be downloaded until it expires.