Manage Speko voice-AI agents, sessions, calls, phone numbers, knowledge bases, evals, and docs.
Full LLM thinking from the 4-phase benchmark pipeline.
```json
{
"service_type": "rest_api",
"base_url": "https://router.speko.dev",
"auth_method": "bearer_token",
"auth_config": {"header": "Authorization", "prefix": "Bearer"},
"endpoints": [
{
"path": "/openapi.json",
"method": "GET",
"purpose": "Download the canonical Router HTTP contract (OpenAPI 3.1), unauthenticated",
"params": {},
"response_format": "json",
"is_primary": false
},
{
"path": "/asyncapi.json",
"method": "GET",
"purpose": "Download the canonical Router streaming contract (AsyncAPI 2.6), unauthenticated",
"params": {},
"response_format": "json",
"is_primary": false
},
{
"path": "/v1/models",
"method": "GET",
"purpose": "List currently routable models (STT, LLM, TTS)",
"params": {
"language": {"type": "string", "required": false},
"objective": {"type": "string", "required": false},
"path": {"type": "string", "required": false}
},
"response_format": "json",
"is_primary": true
},
{
"path": "/v1/stt/transcriptions",
"method": "POST",
"purpose": "Batch speech transcription",
"params": {},
"response_format": "json",
"is_primary": true
},
{
"path": "/v1/tts/speech",
"method": "POST",
"purpose": "One-shot speech synthesis",
"params": {},
"response_format": "json",
"is_primary": true
},
{
"path": "/v1/llm/responses",
"method": "POST",
"purpose": "LLM responses over JSON or server-sent events",
"params": {},
"response_format": "stream",
"is_primary": true
}
],
"pricing_model": {
"type": "unknown",
"details": {},
"free_tier": null,
"paid_tiers": []
},
"rate_limits": {
"rpm": null,
"tpm": null,
"daily": null,
"concurrent": null
},
"capabilities": [
"speech_to_text",
"text_to_speech",
"llm",
"speech_to_speech",
"streaming",
"model_routing",
"evaluations",
"idempotency",
"mcp"
],
"agent_readiness": {
"supports_x402": false,
"supports_streaming": true,
"has_sandbox": null,
"sdks": [],
"agent_auth_methods": ["api_key"]
}
}
```
Notes on uncertain fields:
- **pricing_model**: The provided docs contain no pricing information; set to `unknown`.
- **rate_limits**: The policy `"relay-ip";q=2000;w=300` is 2,000 requests per 300 seconds, which is ~400 rpm (2,000/5min) — not a flat per-minute limit, so left as `null` in the per-minute field. No tpm/daily/concurrent published.
- **has_sandbox**: No sandbox/test-mode environment is documented → `null`.
- **supports_x402**: No crypto/Lightning/micropayment support mentioned → `false`.
- **sdks**: An official CLI is published, but no language SDKs are named in the docs → empty list.
- The `/v1/llm/responses` endpoint is documented to support SSE, hence `supports_streaming: true`; WebSocket streaming routes (`/v1/stt/stream`, `/v1/tts/stream`, `/v1/realtime`, `/v1/live`, `/v1/bidi`) are AsyncAPI-specified rather than part of the HTTP path list.```json
{
"tests": [
{
"name": "get_openapi_spec",
"endpoint": "/openapi.json",
"method": "GET",
"headers": {},
"payload": null,
"expected_status": 200,
"intent": "happy_path",
"expected_behavior": "Returns the canonical OpenAPI 3.1 document unauthenticated, with openapi info and paths",
"metrics": ["latency", "status_code", "payload_size"],
"validation": {"field": "openapi", "type": "string", "prefix": "3.1"}
},
{
"name": "get_asyncapi_spec",
"endpoint": "/asyncapi.json",
"method": "GET",
"headers": {},
"payload": null,
"expected_status": 200,
"intent": "happy_path",
"expected_behavior": "Returns the canonical AsyncAPI 2.6 document unauthenticated",
"metrics": ["latency", "status_code", "payload_size"],
"validation": {"field": "asyncapi", "type": "string", "prefix": "2"}
},
{
"name": "list_models_default",
"endpoint": "/v1/models",
"method": "GET",
"headers": {"Authorization": "Bearer $SPEKO_API_KEY"},
"payload": null,
"expected_status": 200,
"intent": "happy_path",
"expected_behavior": "Returns routable model catalog with models array, catalog_digest, and benchmark metadata; response carries Speko-Region and RateLimit-Policy headers",
"metrics": ["latency", "status_code", "header_presence"],
"validation": {"field": "models", "type": "array", "min_length": 1}
},
{
"name": "list_models_filtered",
"endpoint": "/v1/models",
"method": "GET",
"headers": {"Authorization": "Bearer $SPEKO_API_KEY"},
"payload": null,
"query": {"language": "en", "objective": "latency", "path": "stream"},
"expected_status": 200,
"intent": "happy_path",
"expected_behavior": "Returns filtered streaming model projection ranked by latency for English; benchmark.objective=latency and benchmark.path=stream",
"metrics": ["latency", "status_code", "accuracy"],
"validation": {"field": "benchmark.objective", "type": "string", "equals": "latency"}
},
{
"name": "list_models_bad_objective",
"endpoint": "/v1/models",
"method": "GET",
"headers": {"Authorization": "Bearer $SPEKO_API_KEY"},
"payload": null,
"query": {"objective": "fastest"},
"expected_status": 400,
"intent": "validation",
"expected_behavior": "Rejects unknown objective enum value with normalized error envelope code invalid_request",
"metrics": ["status_code", "error_shape"],
"validation": {"field": "error.code", "type": "string", "equals": "invalid_request"}
},
{
"name": "models_missing_auth",
"endpoint": "/v1/models",
"method": "GET",
"headers": {},
"payload": null,
"expected_status": 401,
"intent": "auth",
"expected_behavior": "Rejects unauthenticated request with authentication_failed error envelope",
"metrics": ["status_code", "error_shape"],
"validation": {"field": "error.code", "type": "string", "equals": "authentication_failed"}
},
{
"name": "llm_response_json",
"endpoint": "/v1/llm/responses",
"method": "POST",
"headers": {
"Authorization": "Bearer $SPEKO_API_KEY",
"Content-Type": "application/json",
"Idempotency-Key": "prowl-llm-json-<uuid>"
},
"payload": {
"input": [{"type": "message", "role": "user", "content": [{"type": "text", "text": "Reply with the single word: pong"}]}],
"max_output_tokens": 16,
"routing": {"mode": "auto", "objective": "latency"}
},
"expected_status": 200,
"intent": "happy_path",
"expected_behavior": "Returns LLMResponse JSON with id matching resp_, route block, output array with assistant message, stop_reason, and usage token counts",
"metrics": ["latency", "status_code", "token_counts"],
"validation": {"field": "id", "type": "string", "prefix": "resp_"}
},
{
"name": "llm_response_stream",
"endpoint": "/v1/llm/responses",
"method": "POST",
"headers": {
"Authorization": "Bearer $SPEKO_API_KEY",
"Content-Type": "application/json",
"Accept": "text/event-stream",
"Idempotency-Key": "prowl-llm-stream-<uuid>"
},
"payload": {
"input": [{"type": "message", "role": "user", "content": [{"type": "text", "text": "Count from one to five."}]}],
"max_output_tokens": 64,
"stream": true,
"routing": {"mode": "auto", "objective": "balanced"}
},
"expected_status": 200,
"intent": "happy_path",
"expected_behavior": "Returns text/event-stream; first frame response.created, then item.added/text.delta, ends with exactly one terminal response.completed carrying usage",
"metrics": ["latency", "time_to_first_token", "status_code", "stream_terminal_event"],
"validation": {"field": "events", "type": "ar2/12 tests passed
| Test | Endpoint | Status | Latency |
|---|---|---|---|
| get_openapi_spec | GET /openapi.json | 200 | 115ms |
| get_asyncapi_spec | GET /asyncapi.json | 200 | 44ms |
| list_models_default | GET /v1/models | 401 | 44ms |
| list_models_filtered | GET /v1/models | 401 | 40ms |
| list_models_bad_objective | GET /v1/models | 401 | 40ms |
| models_missing_auth | GET /v1/models | 401 | 39ms |
| llm_response_json | POST /v1/llm/responses | 401 | 40ms |
| llm_response_stream | POST /v1/llm/responses | 401 | 41ms |
| llm_missing_max_tokens | POST /v1/llm/responses | 400 | 43ms |
| llm_unsupported_model_explicit | POST /v1/llm/responses | 401 | 36ms |
{"model": "deepseek", "data": {"overall": 52, "dimensions": {"token_efficiency": 6.0, "first_try_success": 4.0, "response_parseability": 10.0, "error_clarity": 9.0, "doc_quality": 8.0, "auth_simplicity": 5.0, "latency": 10.0, "consistency": 9.0}, "pricing_normalized": {"cost_per_1k_requests": null, "cost_per_1m_input_tokens": null, "cost_per_1m_output_tokens": null, "free_tier_requests": null, "estimated_monthly_cost_light": null, "estimated_monthly_cost_heavy": null}, "issues": [{"severity": "critical", "detail": "Benchmark was run without a valid API key. 7 of 12 tests returned 401 authentication_failed on endpoints that require Bearer auth. This is a benchmark configuration issue, not a service defect.", "endpoint": "/v1/models, /v1/llm/responses, /v1/tts/speech"}, {"severity": "high", "detail": "Validation tests for /v1/models (bad_objective) and /v1/llm/responses (unsupported_model_explicit) returned 401 instead of expected 400/404 because auth runs before input validation. Not a real failure, but requires credentials to score validation behavior.", "endpoint": "/v1/models, /v1/llm/responses"}, {"severity": "medium", "detail": "Spec endpoints are public and clean, but the primary API requires auth, so the benchmark could not exercise happy paths. Docs served as OpenAPI 3.1 and AsyncAPI 2.6 (good), but API key provisioning path is not documented in the spec preview.", "endpoint": "/openapi.json, /asyncapi.json"}, {"severity": "low", "detail": "Errors are excellently structured with code, message, hint, and retryable \u2014 a model example for other services.", "endpoint": "all"}], "recommendations": ["Re-run benchmark with a valid Speko API key (Bearer token) to exercise happy-path endpoints.", "Document the API key onboarding flow in the OpenAPI description or /v1/auth endpoint.", "Consider returning 400/422 for malformed bodies before authentication in non-production paths, or keep auth-first but ensure the test harness supplies credentials.", "Publish pricing in the spec or a linked /pricing endpoint to enable cost comparison."]}}Show your live agent-readiness score on your own site. Free, no auth — it updates as your score changes.
<a href="https://prowl.world/service/speko-ai">
<img src="https://prowl.world/badge/speko-ai.svg" height="56" alt="Agent-readiness on Prowl">
</a>
See operational metrics, LLM evaluations, agent readiness, and more.
Open in Dashboard