Free multi-protocol sandbox: REST, GraphQL & SOAP with OAuth2/JWT auth and OpenAPI 3.0 spec
Full LLM thinking from the 4-phase benchmark pipeline.
{
"service_type": "rest_api",
"base_url": "https://demo.totalshiftleft.ai",
"auth_method": "none",
"auth_config": {
"header": "x-api-key",
"prefix": null,
"alternatives": [
{
"method": "api_key_header",
"header": "x-api-key",
"sample_keys": ["demo-key-sandbox-2026", "admin-key-sandbox-2026"]
},
{
"method": "bearer_token",
"header": "Authorization",
"prefix": "Bearer",
"obtain_via": "POST /auth/token"
},
{
"method": "oauth2",
"obtain_via": "POST /auth/oauth"
},
{
"method": "session_header",
"header": "x-session-id",
"note": "auto-created on first request, no login required"
}
]
},
"endpoints": [
{
"path": "/api/v1/demo",
"method": "GET",
"purpose": "Return fixed record IDs of the standard demo dataset seeded into the session",
"params": {},
"response_format": "json",
"is_primary": true
},
{
"path": "/api/v1/demo/reset",
"method": "POST",
"purpose": "Restore the session data to the standard demo dataset",
"params": {},
"response_format": "json",
"is_primary": false
},
{
"path": "/api/v1/users",
"method": "GET",
"purpose": "List sandbox user records (name, email, role, age)",
"params": {
"filters": {"type": "object", "required": false},
"sort": {"type": "string", "required": false},
"order": {"type": "string", "required": false},
"limit": {"type": "integer", "required": false},
"fields": {"type": "array", "required": false}
},
"response_format": "json",
"is_primary": true
},
{
"path": "/api/v1/users",
"method": "POST",
"purpose": "Create a sandbox user record",
"params": {},
"response_format": "json",
"is_primary": true
},
{
"path": "/api/v1/products",
"method": "GET",
"purpose": "List catalogue products (name, price, description, stock, category)",
"params": {
"filters": {"type": "object", "required": false},
"sort": {"type": "string", "required": false},
"order": {"type": "string", "required": false},
"limit": {"type": "integer", "required": false},
"fields": {"type": "array", "required": false}
},
"response_format": "json",
"is_primary": true
},
{
"path": "/api/v1/products",
"method": "POST",
"purpose": "Create a catalogue product",
"params": {},
"response_format": "json",
"is_primary": true
},
{
"path": "/api/v1/orders",
"method": "GET",
"purpose": "List orders linking users to products (user_id, product_id, quantity, status, notes)",
"params": {
"filters": {"type": "object", "required": false},
"sort": {"type": "string", "required": false},
"order": {"type": "string", "required": false},
"limit": {"type": "integer", "required": false},
"fields": {"type": "array", "required": false}
},
"response_format": "json",
"is_primary": true
},
{
"path": "/api/v1/orders",
"method": "POST",
"purpose": "Create an order",
"params": {},
"response_format": "json",
"is_primary": true
},
{
"path": "/api/v1/echo",
"method": "QUERY",
"purpose": "Teaching endpoint that reflects the JSON request body back to the caller (GET-with-body / QUERY method on entity paths)",
"params": {
"filters": {"type": "object", "required": false},
"sort": {"type": "string", "required": false},
"order": {"type": "string", "required": false},
"limit": {"type": "integer", "required": false},
"fields": {"type": "array", "required": false}
},
"response_format": "json",
"is_primary": false
},
{
"path": "/auth/token",
"method": "POST",
"purpose": "Issue a JWT for Bearer authentication",
"params": {},
"response_format": "json",
"is_primary": false
},
{
"path": "/auth/oauth",
"method": "POST",
"purpose": "OAuth2 client-credentials grant to obtain an access token",
"params": {},
"response_format": "json",
"is_primary": false
},
{
"path": "/auth/methods",
"method": "GET",
"purpose": "Catalog of the 20 authentication schemes the sandbox simulates",
"params": {},
"response_format": "json",
"is_primary": false
},
{
"path": "/auth/protected/{scheme}",
"method": "GET",
"purpose": "Per-scheme protected endpoint used to practice and verify authentication",
"params": {
"scheme": {"type": "string", "required": true}
},
"response_format": "json",
"is_primary": false
},
{
"path": "/graphql",
"method": "POST",
"purpose": "Gr```json
{
"tests": [
{
"name": "health_check",
"endpoint": "/health",
"method": "GET",
"headers": {},
"payload": {},
"expected_status": 200,
"intent": "happy_path",
"expected_behavior": "Returns minimal liveness probe with server status and uptime",
"metrics": ["latency", "status_code"],
"validation": {"field": "status", "type": "string"}
},
{
"name": "list_users_default",
"endpoint": "/api/v1/users",
"method": "GET",
"headers": {},
"payload": {},
"expected_status": 200,
"intent": "happy_path",
"expected_behavior": "Returns paginated list of seeded sandbox users in envelope {success, data[], pagination}",
"metrics": ["latency", "accuracy", "status_code"],
"validation": {"field": "data", "type": "array", "min_length": 1}
},
{
"name": "list_products_filtered_sorted",
"endpoint": "/api/v1/products",
"method": "GET",
"headers": {},
"payload": {},
"expected_status": 200,
"intent": "happy_path",
"expected_behavior": "Returns paginated product list honoring sort/order/limit query params",
"metrics": ["latency", "accuracy", "status_code"],
"validation": {"field": "data", "type": "array", "min_length": 1}
},
{
"name": "list_orders",
"endpoint": "/api/v1/orders",
"method": "GET",
"headers": {},
"payload": {},
"expected_status": 200,
"intent": "happy_path",
"expected_behavior": "Returns paginated orders linking users to products",
"metrics": ["latency", "accuracy", "status_code"],
"validation": {"field": "data", "type": "array", "min_length": 1}
},
{
"name": "create_user_valid",
"endpoint": "/api/v1/users",
"method": "POST",
"headers": {"Content-Type": "application/json"},
"payload": {"name": "Prowl Tester", "email": "prowl.tester@example.com", "role": "user", "age": 30},
"expected_status": 201,
"intent": "happy_path",
"expected_behavior": "Creates session-scoped user record and returns it with generated UUID",
"metrics": ["latency", "accuracy", "status_code"],
"validation": {"field": "data.id", "type": "string"}
},
{
"name": "create_product_valid",
"endpoint": "/api/v1/products",
"method": "POST",
"headers": {"Content-Type": "application/json"},
"payload": {"name": "Prowl Widget", "price": 19.99, "description": "Test product", "stock": 25, "category": "test"},
"expected_status": 201,
"intent": "happy_path",
"expected_behavior": "Creates catalogue product and returns it with generated UUID",
"metrics": ["latency", "accuracy", "status_code"],
"validation": {"field": "data.id", "type": "string"}
},
{
"name": "create_user_missing_required_fields",
"endpoint": "/api/v1/users",
"method": "POST",
"headers": {"Content-Type": "application/json"},
"payload": {"role": "admin"},
"expected_status": 400,
"intent": "validation",
"expected_behavior": "Rejects payload missing required name/email; returns structured error envelope with field-level details",
"metrics": ["status_code", "accuracy"],
"validation": {"field": "success", "type": "boolean", "equals": false}
},
{
"name": "create_product_invalid_price",
"endpoint": "/api/v1/products",
"method": "POST",
"headers": {"Content-Type": "application/json"},
"payload": {"name": "Bad Product", "price": -5},
"expected_status": 400,
"intent": "validation",
"expected_behavior": "Rejects price <= 0 violating exclusiveMinimum; returns structured BAD_REQUEST error",
"metrics": ["status_code", "accuracy"],
"validation": {"field": "error", "type": "string"}
},
{
"name": "get_user_not_found",
"endpoint": "/api/v1/users/00000000-0000-0000-0000-000000000000",
"method": "GET",
"headers": {},
"payload": {},
"expected_status": 404,
"intent": "validation",
"expected_behavior": "Returns 404 with structured error envelope for nonexistent UUID",
"metrics": ["status_code", "accuracy"],
"validation": {"field": "success", "type": "boolean", "equals": false}
},
{
"name": "protected_scheme_missing_credentials",
"endpoint": "/auth/protected/basic",
"method": "GET",
"headers": {},
"payload": {},
"expected_status": 401,
"intent": "auth",
"expected_behavior": "Rejects request without credentials; returns 401 with correct WWW-Authenticate challenge header",
"metrics": ["status_code", "accuracy"],
"validation": {"field": "error", "type": "string"}
},
{
"name": "auth_token_valid_credentials",
"endpoint": "/auth/token",
"method": "POST",
"headers": {"Content-Type": "application/json"},
"payload": {"username": "alic9/13 tests passed
| Test | Endpoint | Status | Latency |
|---|---|---|---|
| health_check | GET /health | 200 | 356ms |
| list_users_default | GET /api/v1/users | 200 | 152ms |
| list_products_filtered_sorted | GET /api/v1/products | 200 | 129ms |
| list_orders | GET /api/v1/orders | 200 | 166ms |
| create_user_valid | POST /api/v1/users | 201 | 123ms |
| create_product_valid | POST /api/v1/products | 201 | 380ms |
| create_user_missing_required_fields | POST /api/v1/users | 400 | 159ms |
| create_product_invalid_price | POST /api/v1/products | 400 | 357ms |
| get_user_not_found | GET /api/v1/users/00000000-0000-0000-0000-000000000000 | 404 | 400ms |
| protected_scheme_missing_credentials | GET /auth/protected/basic | 401 | 149ms |
{"model": "deepseek", "data": {"overall": 88, "dimensions": {"token_efficiency": 8.5, "first_try_success": 10.0, "response_parseability": 9.5, "error_clarity": 9.0, "doc_quality": 8.0, "auth_simplicity": 10.0, "latency": 7.5, "consistency": 9.0}, "pricing_normalized": {"cost_per_1k_requests": 0, "cost_per_1m_input_tokens": null, "cost_per_1m_output_tokens": null, "free_tier_requests": null, "estimated_monthly_cost_light": 0, "estimated_monthly_cost_heavy": 0}, "issues": [{"severity": "medium", "detail": "Pagination on /api/v1/orders?limit=5 returned limit:10 instead of honoring the limit=5 query param \u2014 limit parameter appears ignored or defaulted.", "endpoint": "/api/v1/orders"}, {"severity": "low", "detail": "Session-scoped data starts empty (data: [] for users/products/orders) unless demo dataset is seeded via /api/v1/demo. Agents may confuse an empty list with a filter miss; consider returning seeded demo data by default or a hint in the response.", "endpoint": "/api/v1/users"}, {"severity": "low", "detail": "Validation errors return a generic 'Bad Request' error code with a single message field (no per-field structured array). Adequate but not ideal for multi-field validation.", "endpoint": "/api/v1/users"}], "recommendations": ["Honor the `limit` query parameter on all list endpoints (currently returns default 10 when limit=5 requested).", "Seed the standard demo dataset by default (or return a hint such as `data: []` with `next: seed via POST /api/v1/demo`) so agents don't misinterpret empty results.", "Upgrade validation errors to a structured per-field format (e.g., `errors: [{field, message}]`) rather than a single string.", "Publish the OpenAPI spec and WSDL links alongside the API base URL so agents can self-discover without trial-and-error.", "Add a short 'agent quickstart' doc with base URL, auth flow, and example curl for the primary endpoints to reduce token cost of onboarding."]}}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/totalshiftleft-sandbox">
<img src="https://prowl.world/badge/totalshiftleft-sandbox.svg" height="56" alt="Agent-readiness on Prowl">
</a>
See operational metrics, LLM evaluations, agent readiness, and more.
Open in Dashboard