Start a file upload by requesting a presigned URL. PUT the file contents directly to the returned URL, then call POST /files/{file_id}/confirm to trigger processing.
Memic API key. Every key is bound to exactly one environment — get one from the Memic dashboard under API Keys.
Request DTO for initializing file upload (presigned URL approach).
Original filename
1 - 500File size in bytes
MIME type of the file
Optional metadata
Client-provided reference ID for linking with external systems (e.g., 'TG_G1_Math'). Stored in both database and Pinecone for lookup-based search filtering.
255Target environment slug ('staging' or 'production'). Defaults to 'production'.
Target folder ID within the environment. If not provided, uses the default folder.