Private Endpoints
Validate a draft private endpoint
Changed onSend a live test request to the draft endpoint using the given workspace's BYOK credential for its provider. A passing validation is required before activation. Failed checks return 200 with passed: false. Management key required.
post/private-endpoints/{id}/validate
Request
- Base URLhttps://openrouter.ai/api/v1
- AuthHTTP bearer
Path parameters
id, string uuid required
Stable identifier of the private endpoint.
Example:5b1c4c4e-7d0a-4a8e-9f3a-2d6c1b0e8a11
Request body
Validate Private Endpoint Request required
workspace_id, string uuid required
Workspace whose BYOK credential is used for the live validation call. The workspace must belong to your account.
Example request
{
"workspace_id": "550e8400-e29b-41d4-a716-446655440000"
}Response
Validation checks
Private Endpoint Validation Response required
data, Private Endpoint Validation required
Example response
{
"data": {
"checks": [
{
"name": "auth_ok",
"passed": true
}
],
"parameters": [
{
"parameter": "response_format",
"supported": true
}
],
"passed": true
}
}Changes
- info
response property
data/checks/items/actual_modeldeprecated
- info
- info
added the optional property
data/parametersto the response with the status
- info