Test Provider Key
Provider Keys
Test Provider Key
Test an AI provider API key without storing it.
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.Provider name (
anthropic)The API key to test
Custom base URL (for proxies or self-hosted)
Example Request
Response (Valid Key)
Response (Invalid Key)
Status Codes
| Code | Description |
|---|---|
200 | Test completed (check valid field for result) |
400 | Invalid request (missing fields, unsupported provider) |
Supported Providers
| Provider | Value |
|---|---|
| Anthropic | anthropic |
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

