me

Test credentials before creating a provider

Changed on

Accepts the same body as the create endpoint but does not persist anything. Useful for validating API keys and endpoints before committing.

post/admin/v1/me/providers/test-credentials

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /admin/v1/me/providers/test-credentials
  • Auth: HTTP bearer

Request body

api_keystring nullable

Raw API key (stored in secrets manager if available, otherwise stored directly)

base_urlstring

Base URL for the provider (required for OpenAI/Anthropic/Azure, optional for Bedrock/Vertex)

configunknown
modelsstring[] nullable

List of supported model names

namestring required
provider_typestring required

Provider type (e.g., "openai", "anthropic", "bedrock", "vertex")

Response

Connectivity test result

latency_msinteger nullable

Latency in milliseconds

messagestring required

Human-readable message

statusstring required

Whether the test was successful

Changes