Skip to main content
DELETE
cURL
Deletes the model along with the API key stored for its endpoint. A model still selected on an agent cannot be deleted, and the error names the agents using it. Read more in Custom LLMs.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

model_id
string
required

Identifier of the custom model

Response

the model was deleted

message
string

Success message for adding the custom model

Example:

"model added successfully"

status
enum<string>

status for the model sent in the request to be added

Available options:
added
Example:

"added"