Training
Queue a file
Signals that a file has been successfully uploaded via a presigned URL and should be queued for processing. Once this route is called, the AI Agent will begin training on the file shortly after.
Important Notes:
- It is expected that the API client will call this route after successfully uploading a file via a presigned URL from the Add a file route.
curl --request PUT \
--url https://api.sidecarcx.com/v1/accounts/:accountID/applications/:applicationID/ai-agents/:aiAgentID/files/:fileID/queue \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN'
Path Parameters
- :accountID - REQUIRED[String]
The referenced account ID.
- :applicationID - REQUIRED[String]
The referenced application ID.
- :aiAgentID - REQUIRED[String]
The referenced AI Agent ID.
- :fileID - REQUIRED[String]
The referenced file ID.
Response
Indicates the request was successful. Returns a status code of204
with no content returned in the response body.Errors
A common set of Error Responses can be found here.