Skip to main content
POST
Test Provider Key

Test Provider Key

Validate that an AI provider API key is working correctly without storing it in the Shinzo Platform. This is useful for verifying credentials before saving them.

Authentication

No authentication required.
string
required
Provider name (anthropic)
string
required
The API key to test
string
Custom base URL (for proxies or self-hosted)

Example Request

Response (Valid Key)

Response (Invalid Key)

Status Codes

Supported Providers

Notes

  • This endpoint does not store the API key
  • The test makes a minimal API call to verify the key is valid
  • Custom base URLs are supported for enterprise or self-hosted deployments