Marks an uploaded file ready for attachment.
Call this endpoint after the bytes are uploaded to the URL returned by Create a file. Collate validates the uploaded object, records its size, and moves the file fromDocumentation Index
Fetch the complete documentation index at: https://docs.trycollate.ai/llms.txt
Use this file to discover all available pages before exploring further.
pending_upload to ready.
Files that fail validation move to failed and cannot be attached.
API key passed as Authorization: Bearer <API_KEY>.
File ID returned by POST /v1/files.
Successful Response
Stable file ID.
Current upload and validation status.
pending_upload, uploaded, ready, failed Original file name supplied at create time.
Validated MIME type for the file.
application/pdf, image/jpeg, image/png Public purpose for the uploaded file.
authorization_attachment Time when the file resource was created.
Stored file size after upload completion.
Time when the uploaded file was marked ready.
Authenticated download URL when the file is ready.