Test Model Connection

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

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

Body Params
string
required
parameters
object
Responses
204

Successful Response

422

Unprocessable Entity

500

Internal Server Error

Language
Credentials
OAuth2
LoadingLoading…
Response
Click Try It! to start a request and see the response here!