WayloAIWaylo Docs
APIReferenceProvider keys

Validate provider key

POST
/provider-keys/{provider}/validate

Check the stored key against the provider again, after fixing the account. A pass sets valid; the next failed call sets the status again. A check that cannot reach the provider changes nothing. check is what the provider answered: unverified when the check proved nothing, null when the key was replaced while it ran.

Access: tenant_admin · API key provider_keys:write

Authorization

api-key
headerAuthorizationBearer <sk_waylo_<lookup><secret><checksum>>

Path Parameters

provider*string
Value in"openai""deepgram""cartesia"

Header Parameters

Authorization*string

Your API key.

Response Body

Success

application/json
  1. response
provider*string
Value in"openai""deepgram""cartesia"
keyHint*string
status*string
Value in"valid""invalid""quota_exceeded""unverified"
statusReason*string|null
lastValidatedAt*|
Formatdate-time
updatedByUserId*|
Formatuuid
updatedByUserName*string|null
createdAt*string
Formatdate-time
updatedAt*string
Formatdate-time
check*
Example Request
curl -X POST 'https://api.poc.app.waylovoice.ai/provider-keys/openai/validate' \  -H 'Authorization: Bearer sk_waylo_...'
Example Response
{  "provider": "openai",  "keyHint": "string",  "status": "valid",  "statusReason": "string",  "lastValidatedAt": "2019-08-24T14:15:22Z",  "updatedByUserId": "b38eaad7-8efa-49e7-b0aa-619916a3821e",  "updatedByUserName": "string",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z",  "check": {    "status": "valid",    "reason": "string"  }}