Training

Removes a file

Deletes a specific file from the system, including all trained data extracted from it. Once removed, any AI Agent that utilized the file's content for training will no longer reference it.

Important Notes:

  • This action permanently removes the file and its associated training data.
  • Once deleted, the AI Agent will no longer use the file's content for generating responses.
  • Ensure that the file removal is intentional, as this operation cannot be undone.
DELETE/v1/accounts/:accountID/applications/:applicationID/ai-agents/:aiAgentID/files/:fileID
Click to copy
curl --request DELETE \
  --url https://api.sidecarcx.com/v1/accounts/:accountID/applications/:applicationID/ai-agents/:aiAgentID/files/:fileID \
  --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 of 204 with no content returned in the response body.

Errors

A common set of Error Responses can be found here.