Files
Upload a file
Changed onUpload one file for the current API key user without KB insertion.
Uses the current API key's permissions. Check GET /capabilities for availability. Send multipart/form-data with field file. This stores an owned file without KB insertion. The response may include asynchronous processing metadata. skip_existing is not supported.
curl 'https://api.textcortex.com/v1/api-platform/files' \
-H 'Authorization: Bearer <API_KEY>' \
-F 'file=@Contract.pdf'
Let your HTTP client set the multipart boundary. Keep the returned id as file_id; insert it into a KB separately. A 201 confirms upload acceptance, not searchable indexing. Oversized uploads return 413; limits can depend on the deployment and file processing path.
post/api-platform/files
Request
- Base URLhttps://api.textcortex.com/v1
- AuthHTTP bearer
Query parameters
Request body multipart/form-data
Response
Successful response
Changes
- info
endpoint added
- info