Validate master key (pre-create)
Validate master key (pre-create)
Validates an API key with the provider without persisting. Custom providers use optional baseUrl. Used by Add Master Key step 2. Always returns 200 with valid and message.
Headers
Authorization
Bearer {access_token}
X-Workspace-Id
Workspace UUID
Request
provider and apiKey are required; baseUrl is optional for custom providers
apiKey
provider
baseUrl
Optional custom-provider base URL.
Response
data: valid, message
message
valid
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error