AI agent infrastructure: dedup, cost prediction, validation, governance, failure intelligence.
Full LLM thinking from the 4-phase benchmark pipeline.
{
"service_type": "rest_api",
"base_url": "https://plith.ai",
"auth_method": "api_key_header",
"auth_config": {"header": "x-api-key", "prefix": null},
"endpoints": [
{
"path": "/api/keys",
"method": "POST",
"purpose": "Create a new org and API key pair; raw key returned once",
"params": {
"email": {"type": "string", "required": false},
"name": {"type": "string", "required": false}
},
"response_format": "json",
"is_primary": false
},
{
"path": "/api/rigor/plan",
"method": "POST",
"purpose": "Plan a Rigor task (free) — classify, compose, route",
"params": {},
"response_format": "json",
"is_primary": true
},
{
"path": "/api/rigor/execute",
"method": "POST",
"purpose": "Execute a planned Rigor workflow to produce a quality-scored deliverable",
"params": {},
"response_format": "json",
"is_primary": true
},
{
"path": "/api/rigor/status/{id}",
"method": "GET",
"purpose": "Poll the status of a Rigor workflow (supports SSE streaming)",
"params": {
"id": {"type": "string", "required": true}
},
"response_format": "stream",
"is_primary": true
},
{
"path": "/api/mcp/rigor",
"method": "POST",
"purpose": "MCP server (streamable HTTP) exposing Rigor tools to MCP clients",
"params": {},
"response_format": "json",
"is_primary": false
}
],
"pricing_model": {
"type": "unknown",
"details": {
"credits_per_usd": 1000,
"billing": "credit-based; credits never expire"
},
"free_tier": {"requests": null, "period": null, "credits": 20000, "note": "20,000 free credits on web signup"},
"paid_tiers": [
{"name": "Free", "price_usd_month": 0},
{"name": "Pro", "price_usd_month": 15},
{"name": "Team", "price_usd_month": 79},
{"name": "Enterprise", "price_usd_month": 399}
]
},
"rate_limits": {
"rpm": null,
"tpm": null,
"daily": null,
"concurrent": null,
"notes": "Key creation limited to 3 keys per IP per 24 hours; general 429 rate limiting documented but specific values not provided"
},
"capabilities": [
"task_classification",
"methodology_framework_composition",
"multi_llm_routing",
"quality_gating",
"task_deduplication",
"cost_prediction",
"output_validation",
"behavioral_governance",
"cross_org_failure_learning",
"deliverable_generation",
"sse_streaming",
"webhooks",
"polling",
"human_in_the_loop",
"github_integration",
"notion_integration",
"linear_integration",
"jira_integration",
"confluence_integration",
"figma_integration",
"slack_integration",
"mcp_server"
],
"agent_readiness": {
"supports_x402": false,
"supports_streaming": true,
"has_sandbox": false,
"sdks": [],
"agent_auth_methods": ["api_key", "email_signup"]
}
}{
"tests": [
{
"name": "health_check",
"endpoint": "/api/health",
"method": "GET",
"headers": {},
"payload": null,
"expected_status": 200,
"intent": "happy_path",
"expected_behavior": "Returns overall status (ok/degraded/down), timestamp, per-service latency, product statuses, and version.",
"metrics": ["latency", "status_code", "accuracy"],
"validation": {"field": "status", "type": "string"}
},
{
"name": "verify_api_key",
"endpoint": "/api/keys/verify",
"method": "GET",
"headers": {"x-api-key": "{{API_KEY}}"},
"payload": null,
"expected_status": 200,
"intent": "happy_path",
"expected_behavior": "Confirms key validity and returns org_id, is_paid, credits_remaining; credits_used should be 0 (free check).",
"metrics": ["latency", "status_code", "accuracy"],
"validation": {"field": "org_id", "type": "string"}
},
{
"name": "verify_api_key_missing_auth",
"endpoint": "/api/keys/verify",
"method": "GET",
"headers": {},
"payload": null,
"expected_status": 401,
"intent": "auth",
"expected_behavior": "Missing x-api-key rejected with structured Error body (error, message, request_id, status).",
"metrics": ["status_code", "accuracy"],
"validation": {"field": "status", "type": "integer"}
},
{
"name": "billing_balance",
"endpoint": "/api/billing/balance",
"method": "GET",
"headers": {"x-api-key": "{{API_KEY}}"},
"payload": null,
"expected_status": 200,
"intent": "happy_path",
"expected_behavior": "Returns balance, org_id, credits_used=0 (free), credits_remaining equal to balance.",
"metrics": ["latency", "status_code", "accuracy"],
"validation": {"field": "balance", "type": "integer"}
},
{
"name": "rigor_plan_happy",
"endpoint": "/api/rigor/plan",
"method": "POST",
"headers": {"x-api-key": "{{API_KEY}}", "content-type": "application/json"},
"payload": {"task_description": "Produce a SWOT analysis of a mid-size B2B SaaS company entering the European market.", "mode": "plan"},
"expected_status": 200,
"intent": "happy_path",
"expected_behavior": "Returns plan with workflow_id, classification (task_type, confidence 0-1), recommended_sequence with step/framework/model_tier/estimated_credits, cost_summary, rigor_level; credits_used=5.",
"metrics": ["latency", "status_code", "accuracy", "credits_consumed"],
"validation": {"field": "plan", "type": "object"}
},
{
"name": "rigor_plan_missing_task_description",
"endpoint": "/api/rigor/plan",
"method": "POST",
"headers": {"x-api-key": "{{API_KEY}}", "content-type": "application/json"},
"payload": {"mode": "plan"},
"expected_status": 400,
"intent": "validation",
"expected_behavior": "Missing required task_description rejected with structured Error body.",
"metrics": ["status_code", "accuracy"],
"validation": {"field": "error", "type": "string"}
},
{
"name": "dedupq_check_happy",
"endpoint": "/api/dedupq/check",
"method": "POST",
"headers": {"x-api-key": "{{API_KEY}}", "content-type": "application/json"},
"payload": {"content": "Benchmark task: summarize the Plith Rigor planning pipeline steps.", "task_id": "bench-dedup-1"},
"expected_status": 200,
"intent": "happy_path",
"expected_behavior": "Returns status in {hit, miss, in_progress}, request_id, credits_used=1, fallback_behavior.",
"metrics": ["latency", "status_code", "accuracy"],
"validation": {"field": "status", "type": "string"}
},
{
"name": "dedupq_check_missing_content",
"endpoint": "/api/dedupq/check",
"method": "POST",
"headers": {"x-api-key": "{{API_KEY}}", "content-type": "application/json"},
"payload": {"task_id": "bench-dedup-bad"},
"expected_status": 400,
"intent": "validation",
"expected_behavior": "Missing required content rejected with structured Error body.",
"metrics": ["status_code", "accuracy"],
"validation": {"field": "error", "type": "string"}
},
{
"name": "burnrate_estimate_happy",
"endpoint": "/api/burnrate/estimate",
"method": "POST",
"headers": {"x-api-key": "{{API_KEY}}", "content-type": "application/json"},
"payload": {"plan": [{"step": 1, "provider": "anthropic", "model": "claude-sonnet-4-6", "estimated_input_tokens": 1000, "estimated_output_tokens": 500}, {"step": 2, "provider": "openai", "model": "gpt-4o", "estimated_input_tokens": 2000, "estimated_output_tokens": 800}]},
"expected_status": 200,
"intent": "happy_path",
"expected_behavior": "Returns estimate with per-step cost_usd, total_cost_usd, step_count=2, pricing_as_of, estimate_complete, credits_used=1.",
"metrics": ["latency", "status_code", "accuracy"1/14 tests passed
| Test | Endpoint | Status | Latency |
|---|---|---|---|
| health_check | GET /api/health | 200 | 552ms |
| verify_api_key | GET /api/keys/verify | 401 | 197ms |
| verify_api_key_missing_auth | GET /api/keys/verify | 401 | 76ms |
| billing_balance | GET /api/billing/balance | 401 | 64ms |
| rigor_plan_happy | POST /api/rigor/plan | 401 | 92ms |
| rigor_plan_missing_task_description | POST /api/rigor/plan | 401 | 75ms |
| dedupq_check_happy | POST /api/dedupq/check | 401 | 55ms |
| dedupq_check_missing_content | POST /api/dedupq/check | 401 | 64ms |
| burnrate_estimate_happy | POST /api/burnrate/estimate | 401 | 56ms |
| burnrate_estimate_empty_plan | POST /api/burnrate/estimate | 401 | 89ms |
{"model": "deepseek", "data": {"overall": 31, "dimensions": {"token_efficiency": 6.0, "first_try_success": 2.0, "response_parseability": 7.0, "error_clarity": 9.0, "doc_quality": 2.0, "auth_simplicity": 2.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": "All 11 authenticated endpoint tests returned 401 invalid_api_key. The API key used by the benchmark was invalid/revoked (message: 'API key not found or revoked'), so nearly every real test failed for auth reasons rather than endpoint behavior. The health check itself is green, so this is a key provisioning problem, not a wrong-base-URL problem. Benchmark should re-run after minting a fresh key via POST /api/keys.", "endpoint": "/api/*"}, {"severity": "high", "detail": "Auth was required before validation checks could be evaluated. Every validation test (missing field, empty plan, unknown status id) returned 401 instead of 400/404, so validation behavior is untestable until a valid key is supplied.", "endpoint": "/api/rigor/plan"}, {"severity": "medium", "detail": "Verify key test used a key that had apparently been revoked between mint and verify \u2014 either the key issuance in the benchmark harness is flaky or keys have very short life/rotation. This drove 3 of 3 auth/happy-path tests on /api/keys/verify to fail.", "endpoint": "/api/keys/verify"}, {"severity": "medium", "detail": "Response previews show Python-style dict repr (single quotes), suggesting responses are being proxied through a Python client that is not deserializing JSON \u2014 downstream tooling might not see proper JSON content-type unless parsed correctly.", "endpoint": "/api/health"}, {"severity": "low", "detail": "Health check latency of 552ms is noticeably higher than other endpoints; slowest test in the suite.", "endpoint": "/api/health"}], "recommendations": ["Re-run the benchmark with a freshly minted API key from POST /api/keys, and verify the key immediately with GET /api/keys/verify before running the suite.", "Investigate why the benchmark's key was already invalid at test time \u2014 it might be a key lifecycle issue (rotated/revoked) or a race between POST /api/keys and first use.", "Publish a public OpenAPI spec / example request+response for each endpoint; the current benchmark could not exercise validation behavior because auth masked everything.", "Ensure keys are long-lived (or explicitly document TTL) so an agent can register once and use the key across a session.", "Confirm that JSON responses preserve application/json content-type through whatever proxy the benchmark client uses (single-quoted dict previews suggest a client-side conversion).", "Consider returning structured validation errors (400 with `error.code` and `details` per field) that mirror the excellent error envelope already used for auth failures \u2014 that pattern is exemplary."]}}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/plith">
<img src="https://prowl.world/badge/plith.svg" height="56" alt="Agent-readiness on Prowl">
</a>
See operational metrics, LLM evaluations, agent readiness, and more.
Open in Dashboard