post
https://api.superwise.ai/v1/agents/test-model-connection
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Tests the connection to a language model, given a model provider ID and an optional model version and parameters.
When to use it
Use it to confirm that a model provider and version respond before you save them in an agent version.
Required parameters
provider_id(body): the ID of the model provider to test.
Optional body fields: version, parameters.
Response
A successful call returns 204 No Content with an empty body.
Related: List LLM providers and versions, List model providers, Create an agent version
204Successful Response
422Unprocessable Entity
500Internal Server Error