Create Model Provider

Create a new model provider.

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

Creates a model provider with a name and a provider configuration. Supported providers are OpenAI, OpenAI-compatible endpoints, Google AI, Anthropic, and Vertex AI Model Garden; the provider field in config selects one.

When to use it

Use it to make a model available to agents and guardrails in your account. Check it with Test a model connection.

Required parameters

  • name (body): the name of the model provider, 1 to 100 characters.
  • config (body): the provider configuration, selected by its provider field.

Response

A successful call returns 201 Created with the ModelProviderSchema object: id, name, config, created_by, and timestamps.

Related: List model providers, Test a model connection, Update a model provider, Delete a model provider

Body Params
string
required
length between 1 and 100
config
required
Responses

401

Unauthorized

422

Unprocessable Entity

500

Internal Server Error

Language
Credentials
OAuth2
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json