Training
Retrain a file
Submits a previously uploaded file for retraining. This is only applicable if the initial training process encountered a failure at some stage in the pipeline. If the file was successfully processed but requires updated content, consider deleting and re-uploading the file instead.
Important Notes:
- This action only applies to files that failed during the training process.
- The failure persists, verify the file format and contents before retrying.
- If retraining continues to fail, removing and re-uploading the file may be the best alternative.
curl --request PUT \
--url https://api.sidecarcx.com/v1/accounts/:accountID/applications/:applicationID/ai-agents/:aiAgentID/files/:fileID/retrain \
--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.