{"schema_version":"1.3","name":"HONEWA Quality","description":"Technical quality checks for assets produced by AI agents.","endpoints":{"check":"/v1/check","usage":"/v1/usage","readiness":"/ready","openapi":"/openapi.json","guide":"/agents","operator_access":"/access","mcp":"/v1/mcp","trial":"/v1/agent/trial"},"inputs":["image","pdf","url"],"workflow_examples":[{"input":"image","trigger":"After PNG/JPEG export","checks":"Decode and minimum width/height","does_not_check":"Visual design, text accuracy or exact aspect ratio"},{"input":"pdf","profile":"print","trigger":"Before PDF handoff","checks":"Page, trim and bleed geometry","does_not_check":"Fonts, color profiles, image DPI or artwork coverage"},{"input":"url","trigger":"Before public website handoff","checks":"Static HTML language and image alt signals","does_not_check":"JavaScript rendering or complete accessibility"}],"continuation":{"next_action_field":"next_action","requires_operator_authorization":true,"automatic_purchase":false,"full_free_account":"/access#api-keys","paid_offer":"/access#usage-billing","spending_budget":"/access#spending-budget","zero_budget_notice":"A zero budget remains zero after the monthly reset. Only the operator can change it."},"output":{"status":["PASS","FAIL"],"production_ready":false,"coverage":"Only checks_run. No complete production certification."},"limits":{"file_bytes":2097152,"image_pixels":4000000,"pdf_pages":50,"static_html_bytes":1048576,"requests_per_minute_per_key_and_account":60,"requests_per_utc_day_per_key_and_account":2000},"pricing":{"currency":"EUR","free":{"completed_checks_per_utc_month":100,"shared_across_keys":true},"paid":{"amount_per_completed_check":"0.01","tax_behavior":"exclusive","billing_interval":"month","free_allowance_applies":false},"completed_check":"A completed PASS or FAIL consumes one unit. Rejected inputs and service errors do not. A duplicate protected by the same Idempotency-Key and API key creates no new check or charge; distinct request keys can create distinct billable checks."},"authentication":{"checks_and_usage":"Authorization: Bearer <quality-api-key>","onboarding":"Agents can obtain a free one-hour, three-attempt trial from POST /v1/agent/trial or MCP get_trial_access without login. Account access and paid use require the operator to authorize an account, subscription and budget. Checks then run without a browser.","key_lifetime_days":90,"delegated_customer_spend_caps":true},"budgets":{"currency":"EUR","tax_behavior":"exclusive","period":"UTC calendar month","account_default_cents":0,"minimum_cents":0,"maximum_cents":100000,"account_scope":"Shared across all account keys; includes completed and in-flight reserved paid checks.","key_scope":"Optional smaller cap per API key. Null inherits the shared cap; 0 pauses paid checks for that key.","control":"Only the signed-in owner may change budgets through /access. API-key agents can only read their caps through /v1/usage.","lowering":"A lower cap blocks new work at the new limit; already reserved work may finish. Free-plan checks are unaffected."},"integration":{"http":true,"mcp":{"transport":"streamable_http","tool":"check_asset","tools":["get_service_info","get_trial_access","prepare_check","get_usage","check_asset"],"remote_endpoint":"/v1/mcp","protocol_versions":["2026-07-28","2025-11-25","2025-06-18","2025-03-26"],"local_stdio_script":"scripts/mcp-server.mjs","paid_authentication":"Optional Authorization: Bearer <quality-api-key> connection header. Never put a paid key in tool arguments."},"wallet_payments":false},"retry_policy":{"request_idempotency":true,"header":"Idempotency-Key","format":"hq1_<10-digit Unix seconds>_<lowercase UUIDv4>","scope":"One API key","validity_seconds":86400,"maximum_future_skew_seconds":60,"required_for":"Trial and paid checks; optional for full-account free and legacy calls, recommended for all calls.","automatic_retry_after_ambiguous_failure":false,"explicit_retry":"Retain the exact request key, API key and input. Never automatically generate a new request key or rotate the API key after an unknown outcome.","completed_duplicate":"HTTP 409 check_already_completed with original_request_id and new_usage_units=0. The original QA report is not retained or replayed.","other_conflicts":"HTTP 409 check_in_progress, check_previously_failed or idempotency_conflict. No duplicate work starts.","expiry":"HTTP 410 idempotency_expired after 24 hours, including after cleanup; an old key never becomes a new check.","rate_limit":"Honor Retry-After on an explicit 429. Inspect the error code; monthly quota or budget exhaustion requires a new period or operator action."},"data_handling":"Uploads, fetched HTML and full results are transient. Content-free usage and operational metadata is retained. See /privacy for hosting and provider retention.","trial":{"enabled":true,"endpoint":"/v1/agent/trial","login_required":false,"payment_required":false,"attempts":3,"request_limit":20,"expires_in_seconds":3600,"counts_failed_execution_attempts":true,"global_capacity":{"attempts_per_utc_day":100,"attempts_per_utc_month":1000},"capacity_notice":"Shared trial capacity may be unavailable. Creating another token does not increase global capacity. Do not automate quota evasion.","paid_conversion":"Never automatic; a trial token cannot purchase, receive an account allowance, raise a budget or become billable."},"environment":"production","public_purchasing_enabled":true,"live_payments_enabled":true,"billing_mode":"stripe_live","availability_notice":"An accepted paid subscription can create real charges. Signing in or creating an API key alone does not place an order.","access_boundary":"Hosting access rules apply separately from the application API key. A public API client uses its own Quality key; never distribute an owner platform credential."}