{"openapi":"3.1.0","info":{"title":"QVeris Public REST API","version":"2026-10-29.1","summary":"External REST API for enterprise integration.","description":"OpenAPI 3.1 schema for the formally released public `/api/v1` REST API surface. It covers search, provider discovery, tool metadata lookup/execution, credits, and account audit endpoints. Unreleased API families are intentionally excluded from this customer-facing schema."},"paths":{"/agent/anonymous-register":{"post":{"tags":["Agent Lifecycle"],"summary":"Agent Anonymous Register","description":"Create an anonymous trial agent without email verification.\n\nReturns a one-time API key, the configured trial credits, and a claim code\nthat the agent's operator can use to bind a formal email later.","operationId":"agent_anonymous_register_api_v1_agent_anonymous_register_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentAnonymousRegisterRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_AgentAnonymousRegisterResponse_"}}},"headers":{"X-RateLimit-Limit":{"description":"Maximum requests allowed in the current rate-limit window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests remaining in the current rate-limit window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix epoch seconds when the current rate-limit window resets.","schema":{"type":"integer"}},"Retry-After":{"description":"Seconds until the client should retry after a rate-limit response.","schema":{"type":"integer"}},"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"429":{"headers":{"X-RateLimit-Limit":{"description":"Maximum requests allowed in the current rate-limit window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests remaining in the current rate-limit window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix epoch seconds when the current rate-limit window resets.","schema":{"type":"integer"}},"Retry-After":{"description":"Seconds until the client should retry after a rate-limit response.","schema":{"type":"integer"}},"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}},"description":"Too Many Requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicApiError"},"example":{"status":"failure","status_code":429,"message":"Rate limit exceeded. Please try again later.","data":null}}}}},"x-qveris-visibility":"public","x-qveris-release-stage":"published","security":[]}},"/agent/claim":{"post":{"tags":["Agent Lifecycle"],"summary":"Agent Claim Start","description":"Bind a formal email to an anonymous trial and send a 6-digit code.","operationId":"agent_claim_start_api_v1_agent_claim_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentClaimStartRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_Union_AgentClaimStartResponse__AgentClaimRiskBlockResponse__"}}},"headers":{"X-RateLimit-Limit":{"description":"Maximum requests allowed in the current rate-limit window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests remaining in the current rate-limit window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix epoch seconds when the current rate-limit window resets.","schema":{"type":"integer"}},"Retry-After":{"description":"Seconds until the client should retry after a rate-limit response.","schema":{"type":"integer"}},"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"429":{"headers":{"X-RateLimit-Limit":{"description":"Maximum requests allowed in the current rate-limit window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests remaining in the current rate-limit window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix epoch seconds when the current rate-limit window resets.","schema":{"type":"integer"}},"Retry-After":{"description":"Seconds until the client should retry after a rate-limit response.","schema":{"type":"integer"}},"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}},"description":"Too Many Requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicApiError"},"example":{"status":"failure","status_code":429,"message":"Rate limit exceeded. Please try again later.","data":null}}}}},"x-qveris-visibility":"public","x-qveris-release-stage":"published","security":[]}},"/agent/claim-verify":{"post":{"tags":["Agent Lifecycle"],"summary":"Agent Claim Verify","description":"Verify the emailed code and convert the anonymous trial to a local account.","operationId":"agent_claim_verify_api_v1_agent_claim_verify_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentClaimVerifyRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_AgentClaimVerifyResponse_"}}},"headers":{"X-RateLimit-Limit":{"description":"Maximum requests allowed in the current rate-limit window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests remaining in the current rate-limit window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix epoch seconds when the current rate-limit window resets.","schema":{"type":"integer"}},"Retry-After":{"description":"Seconds until the client should retry after a rate-limit response.","schema":{"type":"integer"}},"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"429":{"headers":{"X-RateLimit-Limit":{"description":"Maximum requests allowed in the current rate-limit window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests remaining in the current rate-limit window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix epoch seconds when the current rate-limit window resets.","schema":{"type":"integer"}},"Retry-After":{"description":"Seconds until the client should retry after a rate-limit response.","schema":{"type":"integer"}},"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}},"description":"Too Many Requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicApiError"},"example":{"status":"failure","status_code":429,"message":"Rate limit exceeded. Please try again later.","data":null}}}}},"x-qveris-visibility":"public","x-qveris-release-stage":"published","security":[]}},"/agent/trial/activate":{"post":{"tags":["Agent Lifecycle"],"summary":"Activate","description":"Issue once under the existing actor cooldown and versioned budget policy.","operationId":"activate_api_v1_agent_trial_activate_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentTrialIssueRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_AgentTrialActivationView_"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_AgentTrialActivationView_"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_BrowserTrialFailure_"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_BrowserTrialFailure_"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"413":{"description":"Request Entity Too Large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_BrowserTrialFailure_"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_BrowserTrialFailure_"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"429":{"description":"Too Many Requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_BrowserTrialFailure_"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}}},"security":[{"AgentTrialPossession":[]}],"x-qveris-visibility":"public","x-qveris-release-stage":"published"}},"/agent/trial/claim":{"get":{"tags":["Agent Lifecycle"],"summary":"Claim State","operationId":"claim_state_api_v1_agent_trial_claim_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_Union_TrialClaimReceiptView__TrialClaimUnclaimedView__"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_BrowserTrialFailure_"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_BrowserTrialFailure_"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"413":{"description":"Request Entity Too Large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_BrowserTrialFailure_"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_BrowserTrialFailure_"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"429":{"description":"Too Many Requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_BrowserTrialFailure_"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}}},"security":[{"AgentTrialPossession":[]}],"x-qveris-visibility":"public","x-qveris-release-stage":"published"}},"/agent/trial/claim/existing":{"post":{"tags":["Agent Lifecycle"],"summary":"Claim Existing","operationId":"claim_existing_api_v1_agent_trial_claim_existing_post","security":[{"AgentTrialPossession":[]}],"parameters":[{"name":"X-Qveris-Claim-Account-Token","in":"header","required":true,"schema":{"type":"string","title":"X-Qveris-Claim-Account-Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrialClaimExistingRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_TrialClaimReceiptView_"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_BrowserTrialFailure_"}}},"description":"Bad Request","headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_BrowserTrialFailure_"}}},"description":"Unauthorized","headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_BrowserTrialFailure_"}}},"description":"Request Entity Too Large","headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_BrowserTrialFailure_"}}},"description":"Unprocessable Entity","headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_BrowserTrialFailure_"}}},"description":"Too Many Requests","headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}}},"x-qveris-visibility":"public","x-qveris-release-stage":"published"}},"/agent/trial/claim/start":{"post":{"tags":["Agent Lifecycle"],"summary":"Claim Start","operationId":"claim_start_api_v1_agent_trial_claim_start_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrialClaimEmailRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_TrialClaimEmailView_"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_BrowserTrialFailure_"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_BrowserTrialFailure_"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"413":{"description":"Request Entity Too Large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_BrowserTrialFailure_"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_BrowserTrialFailure_"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"429":{"description":"Too Many Requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_BrowserTrialFailure_"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}}},"security":[{"AgentTrialPossession":[]}],"x-qveris-visibility":"public","x-qveris-release-stage":"published"}},"/agent/trial/claim/verify":{"post":{"tags":["Agent Lifecycle"],"summary":"Claim Verify","operationId":"claim_verify_api_v1_agent_trial_claim_verify_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrialClaimVerifyRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_TrialClaimReceiptView_"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_BrowserTrialFailure_"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_BrowserTrialFailure_"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"413":{"description":"Request Entity Too Large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_BrowserTrialFailure_"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_BrowserTrialFailure_"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"429":{"description":"Too Many Requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_BrowserTrialFailure_"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}}},"security":[{"AgentTrialPossession":[]}],"x-qveris-visibility":"public","x-qveris-release-stage":"published"}},"/agent/trial/execute":{"post":{"tags":["Agent Lifecycle"],"summary":"Execute","operationId":"execute_api_v1_agent_trial_execute_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrialExecuteRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_BrowserTrialFailure_"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_BrowserTrialFailure_"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"413":{"description":"Request Entity Too Large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_BrowserTrialFailure_"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_BrowserTrialFailure_"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"429":{"description":"Too Many Requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_BrowserTrialFailure_"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}}},"security":[{"AgentTrialPossession":[]}],"x-qveris-visibility":"public","x-qveris-release-stage":"published"}},"/agent/trial/execution-state":{"get":{"tags":["Agent Lifecycle"],"summary":"Execution State","operationId":"execution_state_api_v1_agent_trial_execution_state_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_TrialExecutionState_"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_BrowserTrialFailure_"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_BrowserTrialFailure_"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"413":{"description":"Request Entity Too Large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_BrowserTrialFailure_"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_BrowserTrialFailure_"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"429":{"description":"Too Many Requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_BrowserTrialFailure_"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}}},"security":[{"AgentTrialPossession":[]}],"x-qveris-visibility":"public","x-qveris-release-stage":"published"}},"/agent/trial/executions/{operation_id}":{"get":{"tags":["Agent Lifecycle"],"summary":"Lookup","operationId":"lookup_api_v1_agent_trial_executions__operation_id__get","security":[{"AgentTrialPossession":[]}],"parameters":[{"name":"operation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Operation Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_BrowserTrialFailure_"}}},"description":"Bad Request","headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_BrowserTrialFailure_"}}},"description":"Unauthorized","headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_BrowserTrialFailure_"}}},"description":"Request Entity Too Large","headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_BrowserTrialFailure_"}}},"description":"Unprocessable Entity","headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_BrowserTrialFailure_"}}},"description":"Too Many Requests","headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}}},"x-qveris-visibility":"public","x-qveris-release-stage":"published"}},"/agent/trial/prepare":{"post":{"tags":["Agent Lifecycle"],"summary":"Prepare","description":"Prepare only; no account, API key, grant or provider call is created.","operationId":"prepare_api_v1_agent_trial_prepare_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_BrowserTrialSessionView_"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_BrowserTrialSessionView_"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_BrowserTrialFailure_"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_BrowserTrialFailure_"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"413":{"description":"Request Entity Too Large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_BrowserTrialFailure_"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_BrowserTrialFailure_"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"429":{"description":"Too Many Requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_BrowserTrialFailure_"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}}},"security":[{"AgentTrialPossession":[]}],"x-qveris-visibility":"public","x-qveris-release-stage":"published"}},"/agent/trial/quote":{"post":{"tags":["Agent Lifecycle"],"summary":"Quote","operationId":"quote_api_v1_agent_trial_quote_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrialToolRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_TrialQuoteView_"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_BrowserTrialFailure_"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_BrowserTrialFailure_"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"413":{"description":"Request Entity Too Large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_BrowserTrialFailure_"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_BrowserTrialFailure_"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"429":{"description":"Too Many Requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_BrowserTrialFailure_"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}}},"security":[{"AgentTrialPossession":[]}],"x-qveris-visibility":"public","x-qveris-release-stage":"published"}},"/agent/trial/session":{"get":{"tags":["Agent Lifecycle"],"summary":"State","operationId":"state_api_v1_agent_trial_session_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_BrowserTrialSessionView_"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_BrowserTrialFailure_"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_BrowserTrialFailure_"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"413":{"description":"Request Entity Too Large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_BrowserTrialFailure_"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_BrowserTrialFailure_"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"429":{"description":"Too Many Requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_BrowserTrialFailure_"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}}},"security":[{"AgentTrialPossession":[]}],"x-qveris-visibility":"public","x-qveris-release-stage":"published"},"delete":{"tags":["Agent Lifecycle"],"summary":"Revoke","operationId":"revoke_api_v1_agent_trial_session_delete","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_BrowserTrialFailure_"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_BrowserTrialFailure_"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"413":{"description":"Request Entity Too Large","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_BrowserTrialFailure_"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_BrowserTrialFailure_"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"429":{"description":"Too Many Requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_BrowserTrialFailure_"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}}},"security":[{"AgentTrialPossession":[]}],"x-qveris-visibility":"public","x-qveris-release-stage":"published"}},"/auth/account/settlement-history":{"get":{"tags":["Account"],"summary":"Get Account Settlement History","description":"获取账号中心结算历史轻量 feed。\n\nThis first implementation serves the immutable ledger summary path used\nafter readiness confirms the ledger is complete for the requested range.","operationId":"get_account_settlement_history_api_v1_auth_account_settlement_history_get","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"开始日期 (YYYY-MM-DD)","title":"Start Date"},"description":"开始日期 (YYYY-MM-DD)"},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"结束日期 (YYYY-MM-DD)","title":"End Date"},"description":"结束日期 (YYYY-MM-DD)"},{"name":"scope","in":"query","required":false,"schema":{"type":"string","description":"账本范围","default":"account_history","title":"Scope"},"description":"账本范围"},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"下一页游标","title":"Cursor"},"description":"下一页游标"},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"description":"每页数量","default":100,"title":"Page Size"},"description":"每页数量"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_SettlementHistoryResponse_"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}}},"x-qveris-visibility":"public","x-qveris-release-stage":"published"}},"/auth/credits":{"get":{"tags":["Account"],"summary":"Get Current User Credits","description":"查询当前用户的积分信息，包括各类积分明细和剩余总积分。支持 API Key 和 JWT 认证。","operationId":"get_current_user_credits_api_v1_auth_credits_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_dict_"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"401":{"description":"Missing, malformed, expired, or unrecognized credential","headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}}},"security":[{"HTTPBearer":[]}],"x-qveris-visibility":"public","x-qveris-release-stage":"published"}},"/auth/credits/ledger":{"get":{"tags":["Account"],"summary":"Query credits ledger","description":"Query immutable final credit balance movements. Usage audit explains request outcomes; the credits ledger explains signed balance changes. Negative `amount_credits` values consume credits and positive values grant credits.","operationId":"get_credits_ledger_api_v1_auth_credits_ledger_get","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"开始日期 (YYYY-MM-DD)","title":"Start Date"},"description":"开始日期 (YYYY-MM-DD)","example":"2026-05-01"},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"结束日期 (YYYY-MM-DD)","title":"End Date"},"description":"结束日期 (YYYY-MM-DD)","example":"2026-05-16"},{"name":"entry_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"账本事件类型","title":"Entry Type"},"description":"账本事件类型","example":"consume_tool_execute"},{"name":"scope","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"预定义账本范围，例如 account_history","title":"Scope"},"description":"预定义账本范围，例如 account_history","example":"account_history"},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"页码","default":1,"title":"Page"},"description":"页码","example":1},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"description":"每页数量","default":50,"title":"Page Size"},"description":"每页数量","example":50},{"name":"min_credits","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Min Credits"},"example":1},{"name":"max_credits","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max Credits"},"example":25},{"name":"direction","in":"query","required":false,"schema":{"type":"string","default":"any","title":"Direction"},"example":"consume"},{"name":"bucket","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bucket"},"example":"day"},{"name":"summary","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Summary"},"example":true},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"},"example":5}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_CreditsLedgerResponse_"},"example":{"status":"success","message":"Credits ledger retrieved successfully","status_code":0,"data":{"items":[{"id":"led_01HZX9R39K6QZ","entry_type":"consume_tool_execute","amount_credits":-5,"source_system":"qveris_website","source_ref_type":"execute_history","source_ref_id":"2b7f7c4a-9f3a-4f61-8b59-3a983a8192a0","execution_id":"exec_01HZX9R2R4S2E","pre_settlement_bill":{"execution_id":"exec_01HZX9R2R4S2E","summary":"5 credits per successful request","list_amount_credits":5},"settlement_result":{"settled_amount_credits":5},"balance_before":{"total_available_credits":995},"balance_after":{"total_available_credits":990},"description":"Tool execution charge","created_at":"2026-05-16T08:30:13Z"}],"total":1,"page":1,"page_size":50,"summary":null}}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"400":{"description":"Invalid ledger query","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_dict_"},"example":{"status":"failure","message":"Invalid direction. Use consume, grant, or any","status_code":-7,"data":null}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}}},"x-qveris-visibility":"public","x-qveris-release-stage":"published"}},"/auth/credits/ledger-readiness":{"get":{"tags":["Account"],"summary":"Get Credits Ledger Readiness","description":"Check whether this user's account history can safely switch to credits_ledger.","operationId":"get_credits_ledger_readiness_api_v1_auth_credits_ledger_readiness_get","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"开始日期 (YYYY-MM-DD)","title":"Start Date"},"description":"开始日期 (YYYY-MM-DD)"},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"结束日期 (YYYY-MM-DD)","title":"End Date"},"description":"结束日期 (YYYY-MM-DD)"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_CreditsLedgerReadinessResponse_"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}}},"x-qveris-visibility":"public","x-qveris-release-stage":"published"}},"/auth/credits/ledger/export":{"get":{"tags":["Account"],"summary":"Export Credits Ledger","description":"导出用户 credits ledger 账本，供账号中心和运营审计使用。","operationId":"export_credits_ledger_api_v1_auth_credits_ledger_export_get","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"开始日期 (YYYY-MM-DD)","title":"Start Date"},"description":"开始日期 (YYYY-MM-DD)"},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"结束日期 (YYYY-MM-DD)","title":"End Date"},"description":"结束日期 (YYYY-MM-DD)"},{"name":"scope","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"账本导出范围","default":"account_history","title":"Scope"},"description":"账本导出范围"}],"responses":{"200":{"description":"CSV export.","content":{"text/csv":{"schema":{"type":"string","format":"binary"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}}},"x-qveris-visibility":"public","x-qveris-release-stage":"published"}},"/auth/credits/ledger/{entry_id}":{"get":{"tags":["Account"],"summary":"Get Credits Ledger Entry","description":"获取单条 credits ledger detail，用于账单详情展开和审计追溯。","operationId":"get_credits_ledger_entry_api_v1_auth_credits_ledger__entry_id__get","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"entry_id","in":"path","required":true,"schema":{"type":"string","title":"Entry Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_CreditsLedgerItem_"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}}},"x-qveris-visibility":"public","x-qveris-release-stage":"published"}},"/auth/usage/credits-spent":{"get":{"tags":["Account"],"summary":"Get Usage Credits Spent","description":"Return the total credits spent by the current user in the given date range.\n\nUses a single server-side SUM query — no pagination limit — so results are\naccurate even for high-volume users with thousands of events in the window.","operationId":"get_usage_credits_spent_api_v1_auth_usage_credits_spent_get","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"开始日期 (YYYY-MM-DD)","title":"Start Date"},"description":"开始日期 (YYYY-MM-DD)"},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"结束日期 (YYYY-MM-DD)","title":"End Date"},"description":"结束日期 (YYYY-MM-DD)"},{"name":"kind","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"事件分组过滤","title":"Kind"},"description":"事件分组过滤"},{"name":"charge_outcome","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"收费结果过滤","title":"Charge Outcome"},"description":"收费结果过滤"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_UsageCreditsSpentResponse_"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}}},"x-qveris-visibility":"public","x-qveris-release-stage":"published"}},"/auth/usage/history/v2":{"get":{"tags":["Account"],"summary":"Query usage audit history","description":"Query canonical usage events to confirm request success, failure, and final charge outcome. Agent, CLI, and MCP clients should prefer precise filters such as `execution_id` or `summary=true` with a bounded `limit` instead of dumping full history.","operationId":"get_usage_history_v2_api_v1_auth_usage_history_v2_get","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"开始日期 (YYYY-MM-DD)","title":"Start Date"},"description":"开始日期 (YYYY-MM-DD)","example":"2026-05-01"},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"结束日期 (YYYY-MM-DD)","title":"End Date"},"description":"结束日期 (YYYY-MM-DD)","example":"2026-05-16"},{"name":"event_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"事件类型过滤","title":"Event Type"},"description":"事件类型过滤","example":"tool_execute"},{"name":"kind","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"事件分组过滤","title":"Kind"},"description":"事件分组过滤","example":"call"},{"name":"success","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"description":"是否成功","title":"Success"},"description":"是否成功","example":true},{"name":"billable_success","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"description":"是否可计费","title":"Billable Success"},"description":"是否可计费","example":true},{"name":"outcome","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"执行 outcome 过滤","title":"Outcome"},"description":"执行 outcome 过滤","example":"completed"},{"name":"reason_code","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"执行 reason_code 过滤","title":"Reason Code"},"description":"执行 reason_code 过滤","example":"provider_success"},{"name":"has_execution_outcome","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"description":"是否存在 execution_outcome","title":"Has Execution Outcome"},"description":"是否存在 execution_outcome","example":true},{"name":"charge_outcome","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"收费结果过滤","title":"Charge Outcome"},"description":"收费结果过滤","example":"charged"},{"name":"anomaly","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"异常类型过滤","title":"Anomaly"},"description":"异常类型过滤","example":"missing_ledger_link"},{"name":"search_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"search_id 聚焦过滤","title":"Search Id"},"description":"search_id 聚焦过滤","example":"srch_01HZX9QK7J3M9T"},{"name":"execution_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"execution_id 聚焦过滤","title":"Execution Id"},"description":"execution_id 聚焦过滤","example":"exec_01HZX9R2R4S2E"},{"name":"api_key_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"description":"API Key 归因过滤","title":"Api Key Id"},"description":"API Key 归因过滤"},{"name":"oauth_client_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":2048},{"type":"null"}],"description":"OAuth client_id 归因过滤","title":"Oauth Client Id"},"description":"OAuth client_id 归因过滤"},{"name":"credential_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"description":"凭证类型过滤","title":"Credential Type"},"description":"凭证类型过滤"},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"页码","default":1,"title":"Page"},"description":"页码","example":1},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","maximum":50000,"minimum":1,"description":"每页数量","default":50,"title":"Page Size"},"description":"每页数量","example":50},{"name":"include_details","in":"query","required":false,"schema":{"type":"boolean","description":"是否在列表中返回完整审计详情字段","default":false,"title":"Include Details"},"description":"是否在列表中返回完整审计详情字段"},{"name":"min_credits","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Min Credits"},"example":1},{"name":"max_credits","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max Credits"},"example":25},{"name":"bucket","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bucket"},"example":"day"},{"name":"summary","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Summary"},"example":true},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"},"example":5}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_UsageEventsResponse_"},"example":{"status":"success","message":"Usage events retrieved successfully","status_code":0,"data":{"items":[{"id":"evt_01HZX9R31GH2R","event_type":"tool_execute","source_system":"qveris_website","source_ref_type":"execute_history","source_ref_id":"2b7f7c4a-9f3a-4f61-8b59-3a983a8192a0","session_id":"sess_7Q9m","search_id":"srch_01HZX9QK7J3M9T","execution_id":"exec_01HZX9R2R4S2E","tool_id":"openweathermap.weather.execute.v1","success":true,"charge_outcome":"charged","duration_ms":211,"billing_snapshot_status":"upstream_provided","pre_settlement_amount_credits":5,"settled_amount_credits":5,"actual_amount_credits":5,"credits_ledger_entry_id":"led_01HZX9R39K6QZ","display_target":"openweathermap.weather.execute.v1","billing_summary":"5 credits per successful request","created_at":"2026-05-16T08:30:12Z"}],"total":1,"page":1,"page_size":50,"summary":null}}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"400":{"description":"Invalid audit query","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_dict_"},"example":{"status":"failure","message":"Invalid start_date format. Use YYYY-MM-DD or ISO-8601 datetime","status_code":-7,"data":null}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}}},"x-qveris-visibility":"public","x-qveris-release-stage":"published"}},"/auth/usage/history/v2/export":{"get":{"tags":["Account"],"summary":"Export Usage History V2","description":"导出 request-level usage audit，供用户与支持审计使用。","operationId":"export_usage_history_v2_api_v1_auth_usage_history_v2_export_get","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"开始日期 (YYYY-MM-DD)","title":"Start Date"},"description":"开始日期 (YYYY-MM-DD)"},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"结束日期 (YYYY-MM-DD)","title":"End Date"},"description":"结束日期 (YYYY-MM-DD)"},{"name":"event_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"事件类型过滤","title":"Event Type"},"description":"事件类型过滤"},{"name":"kind","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"事件分组过滤","title":"Kind"},"description":"事件分组过滤"},{"name":"success","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"description":"是否成功","title":"Success"},"description":"是否成功"},{"name":"billable_success","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"description":"是否可计费","title":"Billable Success"},"description":"是否可计费"},{"name":"outcome","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"执行 outcome 过滤","title":"Outcome"},"description":"执行 outcome 过滤"},{"name":"reason_code","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"执行 reason_code 过滤","title":"Reason Code"},"description":"执行 reason_code 过滤"},{"name":"has_execution_outcome","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"description":"是否存在 execution_outcome","title":"Has Execution Outcome"},"description":"是否存在 execution_outcome"},{"name":"charge_outcome","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"收费结果过滤","title":"Charge Outcome"},"description":"收费结果过滤"},{"name":"anomaly","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"异常类型过滤","title":"Anomaly"},"description":"异常类型过滤"},{"name":"search_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"search_id 聚焦过滤","title":"Search Id"},"description":"search_id 聚焦过滤"},{"name":"execution_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"execution_id 聚焦过滤","title":"Execution Id"},"description":"execution_id 聚焦过滤"},{"name":"api_key_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"description":"API Key 归因过滤","title":"Api Key Id"},"description":"API Key 归因过滤"},{"name":"oauth_client_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":2048},{"type":"null"}],"description":"OAuth client_id 归因过滤","title":"Oauth Client Id"},"description":"OAuth client_id 归因过滤"},{"name":"credential_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"description":"凭证类型过滤","title":"Credential Type"},"description":"凭证类型过滤"}],"responses":{"200":{"description":"CSV export.","content":{"text/csv":{"schema":{"type":"string","format":"binary"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}}},"x-qveris-visibility":"public","x-qveris-release-stage":"published"}},"/auth/usage/history/v2/summary":{"get":{"tags":["Account"],"summary":"Get Usage History V2 Summary","description":"获取轻量 usage events summary，用于账号页列表快速渲染。","operationId":"get_usage_history_v2_summary_api_v1_auth_usage_history_v2_summary_get","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"开始日期 (YYYY-MM-DD)","title":"Start Date"},"description":"开始日期 (YYYY-MM-DD)"},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"结束日期 (YYYY-MM-DD)","title":"End Date"},"description":"结束日期 (YYYY-MM-DD)"},{"name":"event_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"事件类型过滤","title":"Event Type"},"description":"事件类型过滤"},{"name":"kind","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"事件分组过滤","title":"Kind"},"description":"事件分组过滤"},{"name":"success","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"description":"是否成功","title":"Success"},"description":"是否成功"},{"name":"billable_success","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"description":"是否可计费","title":"Billable Success"},"description":"是否可计费"},{"name":"outcome","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"执行 outcome 过滤","title":"Outcome"},"description":"执行 outcome 过滤"},{"name":"reason_code","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"执行 reason_code 过滤","title":"Reason Code"},"description":"执行 reason_code 过滤"},{"name":"has_execution_outcome","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"description":"是否存在 execution_outcome","title":"Has Execution Outcome"},"description":"是否存在 execution_outcome"},{"name":"charge_outcome","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"收费结果过滤","title":"Charge Outcome"},"description":"收费结果过滤"},{"name":"anomaly","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"异常类型过滤","title":"Anomaly"},"description":"异常类型过滤"},{"name":"search_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"search_id 聚焦过滤","title":"Search Id"},"description":"search_id 聚焦过滤"},{"name":"execution_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"execution_id 聚焦过滤","title":"Execution Id"},"description":"execution_id 聚焦过滤"},{"name":"api_key_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"description":"API Key 归因过滤","title":"Api Key Id"},"description":"API Key 归因过滤"},{"name":"oauth_client_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":2048},{"type":"null"}],"description":"OAuth client_id 归因过滤","title":"Oauth Client Id"},"description":"OAuth client_id 归因过滤"},{"name":"credential_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"description":"凭证类型过滤","title":"Credential Type"},"description":"凭证类型过滤"},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"下一页游标","title":"Cursor"},"description":"下一页游标"},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"description":"每页数量","default":100,"title":"Page Size"},"description":"每页数量"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_UsageEventSummaryResponse_"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}}},"x-qveris-visibility":"public","x-qveris-release-stage":"published"}},"/auth/usage/history/v2/{event_id}":{"get":{"tags":["Account"],"summary":"Get Usage History V2 Entry","description":"获取单条 usage event 详情。","operationId":"get_usage_history_v2_entry_api_v1_auth_usage_history_v2__event_id__get","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Event Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_UsageEventItem_"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}}},"x-qveris-visibility":"public","x-qveris-release-stage":"published"}},"/auth/verify-token":{"post":{"tags":["Auth"],"summary":"Verify Token","description":"验证JWT token是否有效和是否过期\n\nArgs:\n    token: JWT访问令牌\n    \nReturns:\n    TokenVerificationResponse: 包含token验证结果的响应","operationId":"verify_token_api_v1_auth_verify_token_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_TokenVerificationResponse_"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}}},"security":[{"OAuth2PasswordBearer":[]}],"x-qveris-visibility":"public","x-qveris-release-stage":"published"}},"/capabilities/query":{"post":{"tags":["Capabilities"],"summary":"Execute a CAP within a credit budget","description":"Execute a CAP through capability-aware routing. `max_credits` is forwarded unchanged and excludes candidates whose upper-bound price cannot be proven within the budget. The response identifies the contract used by the actual execution.","operationId":"capabilities_query_api_v1_capabilities_query_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicCapabilityQueryResponse"},"example":{"execution_id":"exec_01HZX9R2R4S2E","capability_id":"MKT.BARS.EOD","success":true,"result":{"status_code":200,"data":[{"close":201}]},"contract_version":7,"schema_hash":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","cost":2.5,"credits_used":2.5,"remaining_credits":992.5}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"401":{"description":"Invalid API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicApiError"},"example":{"status":"failure","message":"Invalid API key"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"402":{"description":"Insufficient credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicApiError"},"example":{"status":"failure","message":"Insufficient credits"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"403":{"description":"Delegation constraint rejected","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicApiError"},"example":{"status":"failure","message":"Delegation constraint rejected"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"404":{"description":"Account unavailable during credit settlement","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicApiError"},"example":{"status":"failure","message":"Account unavailable during credit settlement"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"408":{"description":"Capabilities query request timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicApiError"},"example":{"status":"failure","message":"Capabilities query request timeout"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"422":{"description":"No candidate fits max_credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicApiError"},"example":{"status":"failure","message":"No candidate fits max_credits"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"500":{"description":"Capabilities query failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicApiError"},"example":{"status":"failure","message":"Capabilities query failed"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"503":{"description":"Capability routing unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicApiError"},"example":{"status":"failure","message":"Capability routing unavailable"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}}},"security":[{"HTTPBearer":[]}],"x-qveris-visibility":"public","x-qveris-release-stage":"published","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicCapabilityQueryRequest"},"example":{"capability_id":"MKT.BARS.EOD","parameters":{"symbol":"AAPL"},"max_credits":3.5}}}}}},"/capabilities/{capability_id}":{"get":{"tags":["Capabilities"],"summary":"Inspect a CAP contract","description":"Return the current published CAP contract. `contract_version` and `schema_hash` identify the exact contract; legacy CAP records may omit both fields. The response always discloses verification evidence and execution restrictions; only explicit execution blockers deny Call.","operationId":"capabilities_detail_api_v1_capabilities__capability_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"capability_id","in":"path","required":true,"schema":{"type":"string","minLength":1,"pattern":"\\S","title":"Capability Id"}},{"name":"run_id","in":"query","required":false,"schema":{"type":"string"},"description":"Run identifier required by constrained delegation tokens."},{"name":"provider_id","in":"query","required":false,"schema":{"type":"string"},"description":"Provider target required by constrained delegation tokens."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicCapabilityDetailResponse"},"example":{"capability_id":"MKT.BARS.EOD","name":"End-of-Day Bars","description":"Daily market bars for a symbol.","contract_version":7,"schema_hash":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","remaining_credits":995,"verification_status":"unverified","verification":{"status":"unverified","policy_version":"catalog-verification-v1","required_checks":["schema","authentication","description_contract","provider_identity","permissions","freshness","live_check"],"checks":[{"name":"schema","status":"missing","checked_at":null,"evidence_digest":null,"reason":"schema_missing"},{"name":"authentication","status":"missing","checked_at":null,"evidence_digest":null,"reason":"authentication_path_missing"},{"name":"description_contract","status":"missing","checked_at":null,"evidence_digest":null,"reason":null},{"name":"provider_identity","status":"missing","checked_at":null,"evidence_digest":null,"reason":"provider_id_missing"},{"name":"permissions","status":"missing","checked_at":null,"evidence_digest":null,"reason":null},{"name":"freshness","status":"missing","checked_at":null,"evidence_digest":null,"reason":"expires_at_missing"},{"name":"live_check","status":"missing","checked_at":null,"evidence_digest":null,"reason":"live_check_samples_missing"}],"verified_at":null,"expires_at":null,"test_run_digest":null,"quality_issues":["live_check_samples_missing","schema_missing","authentication_path_missing","provider_id_missing","permission_disclosure_incomplete","permission_disclosure_missing","verified_at_missing","expires_at_missing","test_run_digest_missing","verification_status_missing"]},"execution_restrictions":{"callable":false,"technical":"unknown","authentication":"unknown","eligibility":"unknown","license":"unknown","regions":{"allow":[],"deny":[]},"region_status":"unknown","commercial_use":"unknown","freshness":"unknown","price_certainty":"unknown","data_as_of":null,"warnings":[],"confidence":0,"allowed_actions":["discover","inspect","probe"],"blocked_actions":["execute"],"next_action":"probe","retryable":true}}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicApiError"},"example":{"status":"failure","message":"Invalid API key"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"402":{"description":"Insufficient credits","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicApiError"},"example":{"status":"failure","message":"Insufficient credits"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"403":{"description":"Delegation constraint rejected","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicApiError"},"example":{"status":"failure","message":"Delegation constraint rejected"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"404":{"description":"Capability not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicApiError"},"example":{"status":"failure","message":"Capability not found"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"408":{"description":"Request timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicApiError"},"example":{"status":"failure","message":"Capability detail request timeout"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"500":{"description":"Request failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicApiError"},"example":{"status":"failure","message":"Capability detail request failed"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}}},"x-qveris-visibility":"public","x-qveris-release-stage":"published"}},"/credits":{"get":{"tags":["Account"],"summary":"Get Current User Credits","description":"查询当前用户的积分信息，包括各类积分明细和剩余总积分。支持 API Key 和 JWT 认证。","operationId":"get_current_user_credits_api_v1_credits_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_dict_"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}}},"security":[{"OAuth2PasswordBearer":[]}],"x-qveris-visibility":"public","x-qveris-release-stage":"published"}},"/meta":{"get":{"tags":["Metadata"],"summary":"Api Metadata","description":"Return the published API contract version without authentication.","operationId":"api_metadata_api_v1_meta_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicApiMetadata"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}}},"x-qveris-visibility":"public","x-qveris-release-stage":"published","security":[]}},"/oauth/credits_ledger":{"get":{"tags":["Authentication"],"summary":"Oauth Credits Ledger","description":"Requires an Account Resource access token with the `credits_ledger` scope.","operationId":"oauth_credits_ledger_api_v1_oauth_credits_ledger_get","parameters":[{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"开始日期 (YYYY-MM-DD)","title":"Start Date"},"description":"开始日期 (YYYY-MM-DD)"},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"结束日期 (YYYY-MM-DD)","title":"End Date"},"description":"结束日期 (YYYY-MM-DD)"},{"name":"entry_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"账本事件类型","title":"Entry Type"},"description":"账本事件类型"},{"name":"scope","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"预定义账本范围，例如 account_history","title":"Scope"},"description":"预定义账本范围，例如 account_history"},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"页码","default":1,"title":"Page"},"description":"页码"},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"description":"每页数量","default":50,"title":"Page Size"},"description":"每页数量"},{"name":"min_credits","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Min Credits"}},{"name":"max_credits","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max Credits"}},{"name":"direction","in":"query","required":false,"schema":{"type":"string","default":"any","title":"Direction"}},{"name":"bucket","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bucket"}},{"name":"summary","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Summary"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":1},{"type":"null"}],"description":"摘要模式最多返回条数","title":"Limit"},"description":"摘要模式最多返回条数"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_CreditsLedgerResponse_"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}}},"x-qveris-visibility":"public","x-qveris-release-stage":"published","security":[{"OAuthAccountBearer":[]}]}},"/oauth/device/authorize":{"post":{"tags":["Authentication"],"summary":"Device Authorize","operationId":"device_authorize_api_v1_oauth_device_authorize_post","requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"properties":{"scope":{"type":"string","title":"Scope"},"resource":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Resource"},"client_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Client Id"}},"type":"object","required":["scope"],"title":"Body_device_authorize_api_v1_oauth_device_authorize_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthDeviceAuthorizationResponse"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"400":{"description":"OAuth request or grant error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthErrorResponse"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"401":{"description":"Client authentication or bearer-token error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthErrorResponse"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"403":{"description":"Subject token has insufficient scope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthErrorResponse"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"429":{"description":"Device Authorization rate limit exceeded","headers":{"X-RateLimit-Limit":{"description":"Maximum requests allowed in the current rate-limit window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests remaining in the current rate-limit window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix epoch seconds when the current rate-limit window resets.","schema":{"type":"integer"}},"Retry-After":{"description":"Seconds until the client should retry after a rate-limit response.","schema":{"type":"integer"}},"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthRateLimitResponse"}}}}},"x-qveris-visibility":"public","x-qveris-release-stage":"published","security":[{},{"OAuthClientBasic":[]}]}},"/oauth/introspect":{"post":{"tags":["Authentication"],"summary":"Introspect a QVeris resource token","description":"RFC 7662-compatible introspection for allowlisted confidential Resource Server clients. resource is mandatory and must exactly match both the client registration and token audience. Invalid, expired, revoked, or wrong-audience tokens return only {\"active\": false}.","operationId":"introspect_api_v1_oauth_introspect_post","requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"properties":{"token":{"type":"string","title":"Token"},"resource":{"type":"string","title":"Resource"},"token_type_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Token Type Hint"}},"type":"object","required":["token","resource"],"title":"Body_introspect_api_v1_oauth_introspect_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/OAuthIntrospectionActiveResponse"},{"$ref":"#/components/schemas/OAuthIntrospectionInactiveResponse"}],"title":"Response Introspect Api V1 Oauth Introspect Post"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"400":{"description":"OAuth request or grant error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthErrorResponse"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"401":{"description":"Client authentication or bearer-token error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthErrorResponse"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"403":{"description":"Subject token has insufficient scope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthErrorResponse"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}}},"x-qveris-visibility":"public","x-qveris-release-stage":"published","security":[{"OAuthClientBasic":[]}]}},"/oauth/revoke":{"post":{"tags":["Authentication"],"summary":"Revoke","operationId":"revoke_api_v1_oauth_revoke_post","requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"properties":{"token":{"type":"string","title":"Token"},"token_type_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Token Type Hint"},"client_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Client Id"},"client_assertion":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Client Assertion"},"client_assertion_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Client Assertion Type"}},"type":"object","required":["token"],"title":"Body_revoke_api_v1_oauth_revoke_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"400":{"description":"OAuth request or grant error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthErrorResponse"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"401":{"description":"Client authentication or bearer-token error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthErrorResponse"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"403":{"description":"Subject token has insufficient scope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthErrorResponse"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}}},"x-qveris-visibility":"public","x-qveris-release-stage":"published","security":[{},{"OAuthClientBasic":[]}]}},"/oauth/token":{"post":{"tags":["Authentication"],"summary":"Issue or exchange an OAuth token","description":"Supports Authorization Code, Refresh Token, Device Code, and RFC 8693 Token Exchange. Token Exchange requires HTTP Basic authentication for a registered confidential Agent Runtime. Its subject_token, subject_token_type, resource, and scope fields are required together. Delegation tokens have a maximum 600-second lifetime and never include a refresh_token.","operationId":"token_api_v1_oauth_token_post","requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"oneOf":[{"type":"object","required":["grant_type","code","redirect_uri","code_verifier"],"properties":{"grant_type":{"type":"string","const":"authorization_code"},"code":{"type":"string"},"redirect_uri":{"type":"string","format":"uri"},"code_verifier":{"type":"string","minLength":43,"maxLength":128},"client_id":{"type":"string"}}},{"type":"object","required":["grant_type","refresh_token"],"properties":{"grant_type":{"type":"string","const":"refresh_token"},"refresh_token":{"type":"string"},"client_id":{"type":"string"}}},{"type":"object","required":["grant_type","device_code"],"properties":{"grant_type":{"type":"string","const":"urn:ietf:params:oauth:grant-type:device_code"},"device_code":{"type":"string"},"client_id":{"type":"string"}}},{"type":"object","required":["grant_type","subject_token","subject_token_type","resource","scope"],"properties":{"grant_type":{"type":"string","const":"urn:ietf:params:oauth:grant-type:token-exchange"},"subject_token":{"type":"string"},"subject_token_type":{"type":"string","const":"urn:ietf:params:oauth:token-type:access_token"},"requested_token_type":{"type":"string","const":"urn:ietf:params:oauth:token-type:access_token"},"resource":{"type":"string","format":"uri"},"scope":{"type":"string"},"model":{"type":"string","maxLength":128},"run_id":{"type":"string","maxLength":128},"max_credits":{"type":"integer","minimum":1},"tool_ids":{"type":"array","items":{"type":"string"},"maxItems":100},"provider_ids":{"type":"array","items":{"type":"string"},"maxItems":100}}}]}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/OAuthAccessTokenResponse"},{"$ref":"#/components/schemas/OAuthTokenExchangeResponse"}],"title":"Response Token Api V1 Oauth Token Post"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"400":{"description":"OAuth request or grant error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthErrorResponse"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"401":{"description":"Client authentication or bearer-token error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthErrorResponse"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"403":{"description":"Subject token has insufficient scope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthErrorResponse"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}}},"x-qveris-visibility":"public","x-qveris-release-stage":"published","security":[{},{"OAuthClientBasic":[]}]}},"/oauth/usage_history":{"get":{"tags":["Authentication"],"summary":"Oauth Usage History","description":"Requires an Account Resource access token with the `usage_history` scope.","operationId":"oauth_usage_history_api_v1_oauth_usage_history_get","parameters":[{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"开始日期 (YYYY-MM-DD)","title":"Start Date"},"description":"开始日期 (YYYY-MM-DD)"},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"结束日期 (YYYY-MM-DD)","title":"End Date"},"description":"结束日期 (YYYY-MM-DD)"},{"name":"event_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"事件类型过滤","title":"Event Type"},"description":"事件类型过滤"},{"name":"kind","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"事件分组过滤","title":"Kind"},"description":"事件分组过滤"},{"name":"success","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"description":"是否成功","title":"Success"},"description":"是否成功"},{"name":"billable_success","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"description":"是否可计费","title":"Billable Success"},"description":"是否可计费"},{"name":"outcome","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"执行 outcome 过滤","title":"Outcome"},"description":"执行 outcome 过滤"},{"name":"reason_code","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"执行 reason_code 过滤","title":"Reason Code"},"description":"执行 reason_code 过滤"},{"name":"has_execution_outcome","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"description":"是否存在 execution_outcome","title":"Has Execution Outcome"},"description":"是否存在 execution_outcome"},{"name":"charge_outcome","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"收费结果过滤","title":"Charge Outcome"},"description":"收费结果过滤"},{"name":"anomaly","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"异常类型过滤","title":"Anomaly"},"description":"异常类型过滤"},{"name":"search_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"search_id 聚焦过滤","title":"Search Id"},"description":"search_id 聚焦过滤"},{"name":"execution_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"execution_id 聚焦过滤","title":"Execution Id"},"description":"execution_id 聚焦过滤"},{"name":"api_key_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"description":"API Key 归因过滤","title":"Api Key Id"},"description":"API Key 归因过滤"},{"name":"oauth_client_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":2048},{"type":"null"}],"description":"OAuth client_id 归因过滤","title":"Oauth Client Id"},"description":"OAuth client_id 归因过滤"},{"name":"credential_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"description":"凭证类型过滤","title":"Credential Type"},"description":"凭证类型过滤"},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"页码","default":1,"title":"Page"},"description":"页码"},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","maximum":50000,"minimum":1,"description":"每页数量","default":50,"title":"Page Size"},"description":"每页数量"},{"name":"include_details","in":"query","required":false,"schema":{"type":"boolean","description":"是否返回完整审计详情字段","default":false,"title":"Include Details"},"description":"是否返回完整审计详情字段"},{"name":"min_credits","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Min Credits"}},{"name":"max_credits","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max Credits"}},{"name":"bucket","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bucket"}},{"name":"summary","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Summary"}},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":1},{"type":"null"}],"description":"摘要模式最多返回条数","title":"Limit"},"description":"摘要模式最多返回条数"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_UsageEventsResponse_"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}}},"x-qveris-visibility":"public","x-qveris-release-stage":"published","security":[{"OAuthAccountBearer":[]}]}},"/providers":{"get":{"tags":["Discovery"],"summary":"Get Providers","description":"Get providers from the real API with optional filtering and pagination","operationId":"get_providers_api_v1_providers_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"categories","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Categories"}},{"name":"skip","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Skip"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}},{"name":"query","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Query"}},{"name":"sort_by","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sort By"}},{"name":"sort_order","in":"query","required":false,"schema":{"type":"string","default":"asc","title":"Sort Order"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}}},"x-qveris-visibility":"public","x-qveris-release-stage":"published"}},"/providers/categories":{"get":{"tags":["Discovery"],"summary":"Get Provider Categories","description":"Get provider category slugs from Quaestio category facets.","operationId":"get_provider_categories_api_v1_providers_categories_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}}},"security":[{"HTTPBearer":[]}],"x-qveris-visibility":"public","x-qveris-release-stage":"published"}},"/search":{"post":{"tags":["Discovery"],"summary":"Discover capabilities","description":"Find ranked capabilities from a natural-language query. Discover is free. Results include verification evidence and execution restrictions; clients must not treat any status other than `verified` as verified. Results may include `expected_cost` and `billing_rule` so clients can estimate a later Call. Explicit public-readonly mode accepts only the bounded PublicRead request schema, returns public catalog metadata without prices, balances or user activity, and uses a non-executable pub_ context. Public clients must omit cookies; unknown fields, deep pagination and mixed credentials are rejected. Authenticate and Inspect the selected tool again before a fresh quote and confirmed Call; no extra Discover is required for a known selected tool.","operationId":"search_api_v1_search_post","responses":{"200":{"description":"Successful Response","headers":{"X-RateLimit-Limit":{"description":"Maximum requests allowed in the current rate-limit window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests remaining in the current rate-limit window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix epoch seconds when the current rate-limit window resets.","schema":{"type":"integer"}},"Retry-After":{"description":"Seconds until the client should retry after a rate-limit response.","schema":{"type":"integer"}},"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicSearchResponse"},"example":{"query":"openweathermap.weather.execute.v1","search_id":"srch_01HZX9QK7J3M9T","total":1,"results":[{"tool_id":"openweathermap.weather.execute.v1","name":"Current Weather","description":"Get current weather data for a city.","provider_name":"OpenWeatherMap","params":[{"name":"q","type":"string","required":true,"description":"Location query accepted by the weather provider."}],"expected_cost":"5 credits per successful request","billing_rule":{"unit":"request","amount_credits":5},"stats":{"avg_execution_time_ms":210.7,"success_rate":0.982},"verification_status":"unverified","verification":{"status":"unverified","policy_version":"catalog-verification-v1","required_checks":["schema","authentication","description_contract","provider_identity","permissions","freshness","live_check"],"checks":[{"name":"schema","status":"missing","checked_at":null,"evidence_digest":null,"reason":null},{"name":"authentication","status":"missing","checked_at":null,"evidence_digest":null,"reason":"authentication_path_missing"},{"name":"description_contract","status":"missing","checked_at":null,"evidence_digest":null,"reason":null},{"name":"provider_identity","status":"missing","checked_at":null,"evidence_digest":null,"reason":"provider_id_missing"},{"name":"permissions","status":"missing","checked_at":null,"evidence_digest":null,"reason":null},{"name":"freshness","status":"missing","checked_at":null,"evidence_digest":null,"reason":"expires_at_missing"},{"name":"live_check","status":"missing","checked_at":null,"evidence_digest":null,"reason":"live_check_samples_missing"}],"verified_at":null,"expires_at":null,"test_run_digest":null,"quality_issues":["live_check_samples_missing","authentication_path_missing","provider_id_missing","permission_disclosure_incomplete","permission_disclosure_missing","verified_at_missing","expires_at_missing","test_run_digest_missing","verification_status_missing"]},"execution_restrictions":{"callable":false,"technical":"ready","authentication":"unknown","eligibility":"unknown","license":"unknown","regions":{"allow":[],"deny":[]},"region_status":"unknown","commercial_use":"unknown","freshness":"unknown","price_certainty":"estimated","data_as_of":null,"warnings":[],"confidence":0.125,"allowed_actions":["discover","inspect","probe","confirm_budget"],"blocked_actions":["execute"],"next_action":"confirm_budget","retryable":true}}],"elapsed_time_ms":245.6,"remaining_credits":995}}}},"401":{"description":"Unauthorized","headers":{"X-RateLimit-Limit":{"description":"Maximum requests allowed in the current rate-limit window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests remaining in the current rate-limit window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix epoch seconds when the current rate-limit window resets.","schema":{"type":"integer"}},"Retry-After":{"description":"Seconds until the client should retry after a rate-limit response.","schema":{"type":"integer"}},"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicApiError"},"example":{"status":"failure","status_code":401,"message":"Invalid API key"}}}},"402":{"description":"Insufficient credits","headers":{"X-RateLimit-Limit":{"description":"Maximum requests allowed in the current rate-limit window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests remaining in the current rate-limit window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix epoch seconds when the current rate-limit window resets.","schema":{"type":"integer"}},"Retry-After":{"description":"Seconds until the client should retry after a rate-limit response.","schema":{"type":"integer"}},"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicSearchResponse"},"example":{"query":"openweathermap.weather.execute.v1","search_id":"srch_failed","total":0,"results":[],"error_message":"Insufficient credits","remaining_credits":0}}}},"429":{"description":"Too Many Requests","headers":{"X-RateLimit-Limit":{"description":"Maximum requests allowed in the current rate-limit window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests remaining in the current rate-limit window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix epoch seconds when the current rate-limit window resets.","schema":{"type":"integer"}},"Retry-After":{"description":"Seconds until the client should retry after a rate-limit response.","schema":{"type":"integer"}},"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicApiError"},"example":{"status":"failure","status_code":429,"message":"Rate limit exceeded. Please try again later."}}}}},"security":[{"bearerAuth":[]},{}],"x-qveris-visibility":"public","x-qveris-release-stage":"published","requestBody":{"required":true,"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/PublicSearchRequest"},{"$ref":"#/components/schemas/PublicReadDiscoverRequest"}]},"example":{"query":"openweathermap.weather.execute.v1","limit":10,"session_id":"sess_7Q9m"}}}},"parameters":[{"name":"X-Qveris-Access-Mode","in":"header","required":false,"schema":{"type":"string","enum":["public-readonly"]},"description":"Explicit stateless public reads. Omit Authorization, Cookie and session proof headers; mixed identities are rejected."}]}},"/tools/by-ids":{"post":{"tags":["Tool Execution"],"summary":"Inspect capabilities by id","description":"Fetch full capability metadata for one or more tool ids. Inspect is free and returns the same capability shape as Discover, including parameter schema, verification evidence, provider access restrictions, examples, quality signals, and cost estimates. Clients must disclose restrictions before Call. Explicit public-readonly mode accepts only the bounded PublicRead request schema, returns public catalog metadata without prices, balances or user activity, and uses a non-executable pub_ context. Public clients must omit cookies; unknown fields, deep pagination and mixed credentials are rejected. Authenticate and Inspect the selected tool again before a fresh quote and confirmed Call; no extra Discover is required for a known selected tool.","operationId":"get_tools_by_ids_api_v1_tools_by_ids_post","responses":{"200":{"description":"Successful Response","headers":{"X-RateLimit-Limit":{"description":"Maximum requests allowed in the current rate-limit window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests remaining in the current rate-limit window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix epoch seconds when the current rate-limit window resets.","schema":{"type":"integer"}},"Retry-After":{"description":"Seconds until the client should retry after a rate-limit response.","schema":{"type":"integer"}},"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicInspectResponse"},"example":{"search_id":"srch_01HZX9QK7J3M9T","total":1,"results":[{"tool_id":"openweathermap.weather.execute.v1","name":"Current Weather","description":"Get current weather data for a city.","provider_name":"OpenWeatherMap","params":[{"name":"q","type":"string","required":true,"description":"Location query accepted by the weather provider."}],"expected_cost":"5 credits per successful request","billing_rule":{"unit":"request","amount_credits":5},"stats":{"avg_execution_time_ms":210.7,"success_rate":0.982},"verification_status":"unverified","verification":{"status":"unverified","policy_version":"catalog-verification-v1","required_checks":["schema","authentication","description_contract","provider_identity","permissions","freshness","live_check"],"checks":[{"name":"schema","status":"missing","checked_at":null,"evidence_digest":null,"reason":null},{"name":"authentication","status":"missing","checked_at":null,"evidence_digest":null,"reason":"authentication_path_missing"},{"name":"description_contract","status":"missing","checked_at":null,"evidence_digest":null,"reason":null},{"name":"provider_identity","status":"missing","checked_at":null,"evidence_digest":null,"reason":"provider_id_missing"},{"name":"permissions","status":"missing","checked_at":null,"evidence_digest":null,"reason":null},{"name":"freshness","status":"missing","checked_at":null,"evidence_digest":null,"reason":"expires_at_missing"},{"name":"live_check","status":"missing","checked_at":null,"evidence_digest":null,"reason":"live_check_samples_missing"}],"verified_at":null,"expires_at":null,"test_run_digest":null,"quality_issues":["live_check_samples_missing","authentication_path_missing","provider_id_missing","permission_disclosure_incomplete","permission_disclosure_missing","verified_at_missing","expires_at_missing","test_run_digest_missing"]},"execution_restrictions":{"callable":false,"technical":"ready","authentication":"unknown","eligibility":"unknown","license":"unknown","regions":{"allow":[],"deny":[]},"region_status":"unknown","commercial_use":"unknown","freshness":"unknown","price_certainty":"estimated","data_as_of":null,"warnings":[],"confidence":0.125,"allowed_actions":["discover","inspect","probe","confirm_budget"],"blocked_actions":["execute"],"next_action":"confirm_budget","retryable":true},"examples":{"sample_parameters":{"q":"London"}}}],"remaining_credits":995}}}},"401":{"description":"Unauthorized","headers":{"X-RateLimit-Limit":{"description":"Maximum requests allowed in the current rate-limit window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests remaining in the current rate-limit window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix epoch seconds when the current rate-limit window resets.","schema":{"type":"integer"}},"Retry-After":{"description":"Seconds until the client should retry after a rate-limit response.","schema":{"type":"integer"}},"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicApiError"},"example":{"status":"failure","status_code":401,"message":"Invalid API key"}}}},"429":{"description":"Too Many Requests","headers":{"X-RateLimit-Limit":{"description":"Maximum requests allowed in the current rate-limit window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests remaining in the current rate-limit window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix epoch seconds when the current rate-limit window resets.","schema":{"type":"integer"}},"Retry-After":{"description":"Seconds until the client should retry after a rate-limit response.","schema":{"type":"integer"}},"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}},"content":{"application/json":{"example":{"status":"failure","status_code":429,"message":"Rate limit exceeded. Please try again later."}}}},"504":{"description":"Upstream timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicApiError"},"example":{"error":"Request timeout","remaining_credits":995}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}}},"security":[{"bearerAuth":[]},{}],"x-qveris-visibility":"public","x-qveris-release-stage":"published","requestBody":{"required":true,"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/PublicToolsByIdsRequest"},{"$ref":"#/components/schemas/PublicReadInspectRequest"}]},"example":{"tool_ids":["openweathermap.weather.execute.v1"],"search_id":"srch_01HZX9QK7J3M9T","session_id":"sess_7Q9m"}}}},"parameters":[{"name":"X-Qveris-Access-Mode","in":"header","required":false,"schema":{"type":"string","enum":["public-readonly"]},"description":"Explicit stateless public reads. Omit Authorization, Cookie and session proof headers; mixed identities are rejected."}]}},"/tools/execute":{"post":{"tags":["Tool Execution"],"summary":"Call a capability","description":"Execute a selected capability. Call may consume credits according to the capability `billing_rule`; the response can include a pre-settlement `billing` statement, while final settlement is available through usage audit and credits ledger endpoints.","operationId":"execute_api_v1_tools_execute_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"tool_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Tool ID (optional if provided in request body)","title":"Tool Id"},"description":"Tool ID (optional if provided in request body)"},{"name":"X-QVeris-Cache-Mode","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"缓存策略：default（默认）或 bypass（跳过provider缓存）","title":"X-Qveris-Cache-Mode"},"description":"缓存策略：default（默认）或 bypass（跳过provider缓存）"},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Caller-generated key used to reconcile uncertain execution outcomes","title":"Idempotency-Key"},"description":"Caller-generated key used to reconcile uncertain execution outcomes"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicExecuteToolResponse"},"example":{"execution_id":"exec_01HZX9R2R4S2E","result":{"data":{"temperature":15.5,"description":"partly cloudy"}},"success":true,"error_message":null,"execution_time":0.211,"billing":{"summary":"5 credits per successful request","list_amount_credits":5},"cost":5,"remaining_credits":990}}},"headers":{"X-RateLimit-Limit":{"description":"Maximum requests allowed in the current rate-limit window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests remaining in the current rate-limit window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix epoch seconds when the current rate-limit window resets.","schema":{"type":"integer"}},"Retry-After":{"description":"Seconds until the client should retry after a rate-limit response.","schema":{"type":"integer"}},"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"401":{"description":"Unauthorized","headers":{"X-RateLimit-Limit":{"description":"Maximum requests allowed in the current rate-limit window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests remaining in the current rate-limit window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix epoch seconds when the current rate-limit window resets.","schema":{"type":"integer"}},"Retry-After":{"description":"Seconds until the client should retry after a rate-limit response.","schema":{"type":"integer"}},"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicApiError"},"example":{"status":"failure","status_code":401,"message":"Invalid API key","data":{"guidance":"Copy a valid API key from Account > API Keys and try again.","remaining_credits":null}}}}},"402":{"description":"Insufficient credits","headers":{"X-RateLimit-Limit":{"description":"Maximum requests allowed in the current rate-limit window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests remaining in the current rate-limit window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix epoch seconds when the current rate-limit window resets.","schema":{"type":"integer"}},"Retry-After":{"description":"Seconds until the client should retry after a rate-limit response.","schema":{"type":"integer"}},"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicExecuteToolResponse"},"example":{"execution_id":"exec_01HZX9R2R4S2E","result":{"data":{}},"success":false,"error_message":"Insufficient credits","execution_time":0.01,"remaining_credits":0}}}},"409":{"description":"Idempotency conflict or the requested exact zero-quote constraint could not be met","content":{"application/json":{"examples":{"idempotency_conflict":{"value":{"execution_id":"exec_01HZX9R2R4S2E","result":{"data":{}},"success":false,"error_code":"idempotency_key_replay","error_message":"This Idempotency-Key already identifies an execution."}},"zero_quote_required":{"value":{"execution_id":"exec_01HZX9R2R4S2E","result":{"data":{}},"success":false,"error_code":"zero_quote_required","reason_code":"admission.zero_quote_required","error_message":"This request requires an exact zero-credit quote. Review the current quote before trying again.","dispatch":false,"outcome_certainty":"not_executed","retryable":false,"next_action":"review_quote"}}}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"413":{"description":"Explicit full response exceeds the platform safety limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicExecuteToolResponse"},"example":{"execution_id":"exec_01HZX9R2R4S2E","result":{"data":{}},"success":false,"error_code":"response_too_large","error_message":"The complete response exceeds the platform safety limit.","execution_time":0.211}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicExecuteToolResponse"},"example":{"execution_id":"exec_01HZX9R2R4S2E","result":{"data":{}},"success":false,"error_message":"Request validation failed","details":[{"type":"value_error","loc":["body","respond_with"],"msg":"Invalid projection","input":"fields:"}],"execution_time":0.01}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"429":{"description":"Too Many Requests","headers":{"X-RateLimit-Limit":{"description":"Maximum requests allowed in the current rate-limit window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests remaining in the current rate-limit window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix epoch seconds when the current rate-limit window resets.","schema":{"type":"integer"}},"Retry-After":{"description":"Seconds until the client should retry after a rate-limit response.","schema":{"type":"integer"}},"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicApiError"},"example":{"status":"failure","status_code":429,"message":"Rate limit exceeded. Please try again later."}}}},"502":{"description":"Upstream result delivery violated the public contract","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicExecuteToolResponse"},"example":{"execution_id":"exec_01HZX9R2R4S2E","result":{"data":{}},"success":false,"error_code":"upstream_contract_violation","error_message":"Execute response could not be delivered safely.","execution_time":0.211}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"503":{"description":"A temporary quote service failure prevented dispatch","content":{"application/json":{"example":{"execution_id":"exec_01HZX9R2R4S2E","result":{"data":{}},"success":false,"error_code":"quote_unavailable","reason_code":"admission.quote_unavailable","dispatch":false,"outcome_certainty":"not_executed","retryable":true,"next_action":"retry"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}}},"x-qveris-visibility":"public","x-qveris-release-stage":"published","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicExecuteToolRequest"},"example":{"search_id":"srch_01HZX9QK7J3M9T","session_id":"sess_7Q9m","model":"deepseek-v4-pro","parameters":{"q":"London"},"max_response_size":20480}}}}}},"/tools/executions/by-idempotency-key":{"get":{"tags":["Tool Execution"],"summary":"Reconcile Tool Execution","description":"Read a prior paid execution without authorizing another provider call.","operationId":"reconcile_tool_execution_api_v1_tools_executions_by_idempotency_key_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"key","in":"query","required":true,"schema":{"type":"string","description":"Original Idempotency-Key value","title":"Key"},"description":"Original Idempotency-Key value"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIResponse_ToolExecutionReconciliationData_"}}},"headers":{"X-RateLimit-Limit":{"description":"Maximum requests allowed in the current rate-limit window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests remaining in the current rate-limit window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix epoch seconds when the current rate-limit window resets.","schema":{"type":"integer"}},"Retry-After":{"description":"Seconds until the client should retry after a rate-limit response.","schema":{"type":"integer"}},"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"401":{"description":"Unauthorized","headers":{"X-RateLimit-Limit":{"description":"Maximum requests allowed in the current rate-limit window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests remaining in the current rate-limit window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix epoch seconds when the current rate-limit window resets.","schema":{"type":"integer"}},"Retry-After":{"description":"Seconds until the client should retry after a rate-limit response.","schema":{"type":"integer"}},"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"402":{"description":"Insufficient credits","headers":{"X-RateLimit-Limit":{"description":"Maximum requests allowed in the current rate-limit window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests remaining in the current rate-limit window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix epoch seconds when the current rate-limit window resets.","schema":{"type":"integer"}},"Retry-After":{"description":"Seconds until the client should retry after a rate-limit response.","schema":{"type":"integer"}},"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"429":{"description":"Too Many Requests","headers":{"X-RateLimit-Limit":{"description":"Maximum requests allowed in the current rate-limit window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests remaining in the current rate-limit window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix epoch seconds when the current rate-limit window resets.","schema":{"type":"integer"}},"Retry-After":{"description":"Seconds until the client should retry after a rate-limit response.","schema":{"type":"integer"}},"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}},"content":{"application/json":{"example":{"status":"failure","status_code":429,"message":"Rate limit exceeded. Please try again later."}}}}},"x-qveris-visibility":"public","x-qveris-release-stage":"published"}},"/tools/probe":{"post":{"tags":["Tool Execution"],"summary":"Probe a capability without executing it","description":"Optionally validate candidate parameters or obtain a zero-cost quote when the task needs preflight validation or a current quote. Probe is not required before Call and a quote does not reserve price or authorize execution. The M1 `schema` and `quote` checks are implemented; `coverage` and `sample` return an explicit unknown verdict. Every successful Probe includes verification evidence and execution restrictions. Explicit blockers take precedence. Probe never executes the capability or consumes credits.","operationId":"probe_tool_api_v1_tools_probe_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"tool_id","in":"query","required":true,"schema":{"type":"string","minLength":1,"description":"Tool ID to validate","title":"Tool Id"},"description":"Tool ID to validate"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicToolProbeResponse"},"example":{"schema":{"valid":true},"quote":{"estimate_credits":5,"currency":"credits","exact":true,"basis":"per_call"},"recovery":{"missing_fields":[],"missing_field_groups":[],"safe_fixes":[],"retryable":true,"next_action":"execute","provider_fallback":false},"verification_status":"unverified","verification":{"status":"unverified","policy_version":"catalog-verification-v1","required_checks":["schema","authentication","description_contract","provider_identity","permissions","freshness","live_check"],"checks":[{"name":"schema","status":"missing","reason":"schema_missing"},{"name":"authentication","status":"missing","reason":"authentication_path_missing"},{"name":"description_contract","status":"missing","reason":"description_missing"},{"name":"provider_identity","status":"missing","reason":"provider_id_missing"},{"name":"permissions","status":"missing"},{"name":"freshness","status":"missing","reason":"expires_at_missing"},{"name":"live_check","status":"missing","reason":"live_check_samples_missing"}],"quality_issues":["live_check_samples_missing","schema_missing","authentication_path_missing","description_missing","provider_id_missing","permission_disclosure_incomplete","permission_disclosure_missing","verified_at_missing","expires_at_missing","test_run_digest_missing","verification_status_missing"]},"execution_restrictions":{"callable":true,"technical":"ready","authentication":"unknown","eligibility":"unknown","license":"unknown","regions":{"allow":[],"deny":[]},"region_status":"unknown","commercial_use":"unknown","freshness":"unknown","price_certainty":"exact","warnings":[],"confidence":0.25,"allowed_actions":["discover","inspect","probe","execute"],"blocked_actions":[],"next_action":"execute","retryable":true},"execution_constraints_supported":["require_zero_quote_v1"],"contract_features":["verification-evidence-v1","action-guidance-v1","probe-recovery-v1","execution-constraints-v1"]}}},"headers":{"X-RateLimit-Limit":{"description":"Maximum requests allowed in the current rate-limit window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests remaining in the current rate-limit window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix epoch seconds when the current rate-limit window resets.","schema":{"type":"integer"}},"Retry-After":{"description":"Seconds until the client should retry after a rate-limit response.","schema":{"type":"integer"}},"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"400":{"description":"Invalid probe request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicApiError"},"example":{"error":"ValidationError","message":"Request validation failed"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"401":{"description":"Unauthorized","headers":{"X-RateLimit-Limit":{"description":"Maximum requests allowed in the current rate-limit window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests remaining in the current rate-limit window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix epoch seconds when the current rate-limit window resets.","schema":{"type":"integer"}},"Retry-After":{"description":"Seconds until the client should retry after a rate-limit response.","schema":{"type":"integer"}},"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicApiError"},"example":{"status":"failure","status_code":401,"message":"Invalid API key"}}}},"404":{"description":"Capability not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicApiError"},"example":{"error":"HTTPException","message":"Tool not found"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"429":{"description":"Too Many Requests","headers":{"X-RateLimit-Limit":{"description":"Maximum requests allowed in the current rate-limit window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests remaining in the current rate-limit window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix epoch seconds when the current rate-limit window resets.","schema":{"type":"integer"}},"Retry-After":{"description":"Seconds until the client should retry after a rate-limit response.","schema":{"type":"integer"}},"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}},"content":{"application/json":{"example":{"status":"failure","status_code":429,"message":"Rate limit exceeded. Please try again later."}}}},"502":{"description":"Upstream unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicApiError"},"example":{"status":"failure","status_code":502,"message":"Tool probe service is temporarily unavailable"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}},"504":{"description":"Upstream timeout","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicApiError"},"example":{"status":"failure","status_code":504,"message":"Tool probe request timed out"}}},"headers":{"X-Qveris-Api-Version":{"description":"Version of the published QVeris REST API contract.","required":true,"schema":{"type":"string","const":"2026-10-29.1"}}}}},"x-qveris-visibility":"public","x-qveris-release-stage":"published","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicToolProbeRequest"},"example":{"parameters":{"q":"London"},"checks":["schema","quote"],"live_budget":"none"}}}}}}},"components":{"schemas":{"APIResponse_AgentAnonymousRegisterResponse_":{"properties":{"status":{"type":"string","title":"Status"},"message":{"type":"string","title":"Message"},"status_code":{"type":"integer","title":"Status Code","default":0},"data":{"anyOf":[{"$ref":"#/components/schemas/AgentAnonymousRegisterResponse"},{"type":"null"}]},"message_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message Key"}},"type":"object","required":["status","message"],"title":"APIResponse[AgentAnonymousRegisterResponse]"},"APIResponse_AgentClaimVerifyResponse_":{"properties":{"status":{"type":"string","title":"Status"},"message":{"type":"string","title":"Message"},"status_code":{"type":"integer","title":"Status Code","default":0},"data":{"anyOf":[{"$ref":"#/components/schemas/AgentClaimVerifyResponse"},{"type":"null"}]},"message_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message Key"}},"type":"object","required":["status","message"],"title":"APIResponse[AgentClaimVerifyResponse]"},"APIResponse_AgentTrialActivationView_":{"properties":{"status":{"type":"string","title":"Status"},"message":{"type":"string","title":"Message"},"status_code":{"type":"integer","title":"Status Code","default":0},"data":{"anyOf":[{"$ref":"#/components/schemas/AgentTrialActivationView"},{"type":"null"}]},"message_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message Key"}},"type":"object","required":["status","message"],"title":"APIResponse[AgentTrialActivationView]"},"APIResponse_BrowserTrialFailure_":{"properties":{"status":{"type":"string","title":"Status"},"message":{"type":"string","title":"Message"},"status_code":{"type":"integer","title":"Status Code","default":0},"data":{"anyOf":[{"$ref":"#/components/schemas/BrowserTrialFailure"},{"type":"null"}]},"message_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message Key"}},"type":"object","required":["status","message"],"title":"APIResponse[BrowserTrialFailure]"},"APIResponse_BrowserTrialSessionView_":{"properties":{"status":{"type":"string","title":"Status"},"message":{"type":"string","title":"Message"},"status_code":{"type":"integer","title":"Status Code","default":0},"data":{"anyOf":[{"$ref":"#/components/schemas/BrowserTrialSessionView"},{"type":"null"}]},"message_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message Key"}},"type":"object","required":["status","message"],"title":"APIResponse[BrowserTrialSessionView]"},"APIResponse_CreditsLedgerItem_":{"properties":{"status":{"type":"string","title":"Status"},"message":{"type":"string","title":"Message"},"status_code":{"type":"integer","title":"Status Code","default":0},"data":{"anyOf":[{"$ref":"#/components/schemas/CreditsLedgerItem"},{"type":"null"}]},"message_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message Key"}},"type":"object","required":["status","message"],"title":"APIResponse[CreditsLedgerItem]"},"APIResponse_CreditsLedgerReadinessResponse_":{"properties":{"status":{"type":"string","title":"Status"},"message":{"type":"string","title":"Message"},"status_code":{"type":"integer","title":"Status Code","default":0},"data":{"anyOf":[{"$ref":"#/components/schemas/CreditsLedgerReadinessResponse"},{"type":"null"}]},"message_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message Key"}},"type":"object","required":["status","message"],"title":"APIResponse[CreditsLedgerReadinessResponse]"},"APIResponse_CreditsLedgerResponse_":{"properties":{"status":{"type":"string","title":"Status"},"message":{"type":"string","title":"Message"},"status_code":{"type":"integer","title":"Status Code","default":0},"data":{"anyOf":[{"$ref":"#/components/schemas/CreditsLedgerResponse"},{"type":"null"}]},"message_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message Key"}},"type":"object","required":["status","message"],"title":"APIResponse[CreditsLedgerResponse]"},"APIResponse_SettlementHistoryResponse_":{"properties":{"status":{"type":"string","title":"Status"},"message":{"type":"string","title":"Message"},"status_code":{"type":"integer","title":"Status Code","default":0},"data":{"anyOf":[{"$ref":"#/components/schemas/SettlementHistoryResponse"},{"type":"null"}]},"message_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message Key"}},"type":"object","required":["status","message"],"title":"APIResponse[SettlementHistoryResponse]"},"APIResponse_TokenVerificationResponse_":{"properties":{"status":{"type":"string","title":"Status"},"message":{"type":"string","title":"Message"},"status_code":{"type":"integer","title":"Status Code","default":0},"data":{"anyOf":[{"$ref":"#/components/schemas/TokenVerificationResponse"},{"type":"null"}]},"message_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message Key"}},"type":"object","required":["status","message"],"title":"APIResponse[TokenVerificationResponse]"},"APIResponse_ToolExecutionReconciliationData_":{"properties":{"status":{"type":"string","title":"Status"},"message":{"type":"string","title":"Message"},"status_code":{"type":"integer","title":"Status Code","default":0},"data":{"anyOf":[{"$ref":"#/components/schemas/ToolExecutionReconciliationData"},{"type":"null"}]},"message_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message Key"}},"type":"object","required":["status","message"],"title":"APIResponse[ToolExecutionReconciliationData]"},"APIResponse_TrialClaimEmailView_":{"properties":{"status":{"type":"string","title":"Status"},"message":{"type":"string","title":"Message"},"status_code":{"type":"integer","title":"Status Code","default":0},"data":{"anyOf":[{"$ref":"#/components/schemas/TrialClaimEmailView"},{"type":"null"}]},"message_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message Key"}},"type":"object","required":["status","message"],"title":"APIResponse[TrialClaimEmailView]"},"APIResponse_TrialClaimReceiptView_":{"properties":{"status":{"type":"string","title":"Status"},"message":{"type":"string","title":"Message"},"status_code":{"type":"integer","title":"Status Code","default":0},"data":{"anyOf":[{"$ref":"#/components/schemas/TrialClaimReceiptView"},{"type":"null"}]},"message_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message Key"}},"type":"object","required":["status","message"],"title":"APIResponse[TrialClaimReceiptView]"},"APIResponse_TrialExecutionState_":{"properties":{"status":{"type":"string","title":"Status"},"message":{"type":"string","title":"Message"},"status_code":{"type":"integer","title":"Status Code","default":0},"data":{"anyOf":[{"$ref":"#/components/schemas/TrialExecutionState"},{"type":"null"}]},"message_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message Key"}},"type":"object","required":["status","message"],"title":"APIResponse[TrialExecutionState]"},"APIResponse_TrialQuoteView_":{"properties":{"status":{"type":"string","title":"Status"},"message":{"type":"string","title":"Message"},"status_code":{"type":"integer","title":"Status Code","default":0},"data":{"anyOf":[{"$ref":"#/components/schemas/TrialQuoteView"},{"type":"null"}]},"message_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message Key"}},"type":"object","required":["status","message"],"title":"APIResponse[TrialQuoteView]"},"APIResponse_Union_AgentClaimStartResponse__AgentClaimRiskBlockResponse__":{"properties":{"status":{"type":"string","title":"Status"},"message":{"type":"string","title":"Message"},"status_code":{"type":"integer","title":"Status Code","default":0},"data":{"anyOf":[{"$ref":"#/components/schemas/AgentClaimStartResponse"},{"$ref":"#/components/schemas/AgentClaimRiskBlockResponse"},{"type":"null"}],"title":"Data"},"message_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message Key"}},"type":"object","required":["status","message"],"title":"APIResponse[Union[AgentClaimStartResponse, AgentClaimRiskBlockResponse]]"},"APIResponse_Union_TrialClaimReceiptView__TrialClaimUnclaimedView__":{"properties":{"status":{"type":"string","title":"Status"},"message":{"type":"string","title":"Message"},"status_code":{"type":"integer","title":"Status Code","default":0},"data":{"anyOf":[{"$ref":"#/components/schemas/TrialClaimReceiptView"},{"$ref":"#/components/schemas/TrialClaimUnclaimedView"},{"type":"null"}],"title":"Data"},"message_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message Key"}},"type":"object","required":["status","message"],"title":"APIResponse[Union[TrialClaimReceiptView, TrialClaimUnclaimedView]]"},"APIResponse_UsageCreditsSpentResponse_":{"properties":{"status":{"type":"string","title":"Status"},"message":{"type":"string","title":"Message"},"status_code":{"type":"integer","title":"Status Code","default":0},"data":{"anyOf":[{"$ref":"#/components/schemas/UsageCreditsSpentResponse"},{"type":"null"}]},"message_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message Key"}},"type":"object","required":["status","message"],"title":"APIResponse[UsageCreditsSpentResponse]"},"APIResponse_UsageEventItem_":{"properties":{"status":{"type":"string","title":"Status"},"message":{"type":"string","title":"Message"},"status_code":{"type":"integer","title":"Status Code","default":0},"data":{"anyOf":[{"$ref":"#/components/schemas/UsageEventItem"},{"type":"null"}]},"message_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message Key"}},"type":"object","required":["status","message"],"title":"APIResponse[UsageEventItem]"},"APIResponse_UsageEventSummaryResponse_":{"properties":{"status":{"type":"string","title":"Status"},"message":{"type":"string","title":"Message"},"status_code":{"type":"integer","title":"Status Code","default":0},"data":{"anyOf":[{"$ref":"#/components/schemas/UsageEventSummaryResponse"},{"type":"null"}]},"message_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message Key"}},"type":"object","required":["status","message"],"title":"APIResponse[UsageEventSummaryResponse]"},"APIResponse_UsageEventsResponse_":{"properties":{"status":{"type":"string","title":"Status"},"message":{"type":"string","title":"Message"},"status_code":{"type":"integer","title":"Status Code","default":0},"data":{"anyOf":[{"$ref":"#/components/schemas/UsageEventsResponse"},{"type":"null"}]},"message_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message Key"}},"type":"object","required":["status","message"],"title":"APIResponse[UsageEventsResponse]"},"APIResponse_dict_":{"properties":{"status":{"type":"string","title":"Status"},"message":{"type":"string","title":"Message"},"status_code":{"type":"integer","title":"Status Code","default":0},"data":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Data"},"message_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message Key"}},"type":"object","required":["status","message"],"title":"APIResponse[dict]"},"AgentAnonymousRegisterRequest":{"properties":{"agent_name":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Agent Name","description":"Optional agent display name"}},"type":"object","title":"AgentAnonymousRegisterRequest"},"AgentAnonymousRegisterResponse":{"properties":{"agent_id":{"type":"string","title":"Agent Id"},"agent_name":{"type":"string","title":"Agent Name"},"api_key":{"type":"string","title":"Api Key"},"trial_credits":{"type":"number","title":"Trial Credits"},"claim_code":{"type":"string","title":"Claim Code"},"expires_at":{"type":"string","title":"Expires At"}},"type":"object","required":["agent_id","agent_name","api_key","trial_credits","claim_code","expires_at"],"title":"AgentAnonymousRegisterResponse"},"AgentClaimRiskBlockResponse":{"properties":{"reason":{"type":"string","const":"email_risk_blocked","title":"Reason"}},"type":"object","required":["reason"],"title":"AgentClaimRiskBlockResponse"},"AgentClaimStartRequest":{"properties":{"claim_code":{"type":"string","maxLength":128,"minLength":8,"title":"Claim Code"},"email":{"type":"string","format":"email","title":"Email"}},"type":"object","required":["claim_code","email"],"title":"AgentClaimStartRequest"},"AgentClaimStartResponse":{"properties":{"email":{"type":"string","title":"Email"}},"type":"object","required":["email"],"title":"AgentClaimStartResponse"},"AgentClaimVerifyRequest":{"properties":{"claim_code":{"type":"string","maxLength":128,"minLength":8,"title":"Claim Code"},"email":{"type":"string","format":"email","title":"Email"},"code":{"type":"string","maxLength":6,"minLength":6,"title":"Code"}},"type":"object","required":["claim_code","email","code"],"title":"AgentClaimVerifyRequest"},"AgentClaimVerifyResponse":{"properties":{"email":{"type":"string","title":"Email"},"user_id":{"type":"string","title":"User Id"}},"type":"object","required":["email","user_id"],"title":"AgentClaimVerifyResponse"},"AgentTrialActivationView":{"properties":{"state":{"type":"string","enum":["prepared","active"],"title":"State"},"expiresAt":{"type":"string","title":"Expiresat"},"balanceCredits":{"type":"string","title":"Balancecredits"},"trialCredits":{"type":"string","title":"Trialcredits"},"policyId":{"type":"string","const":"browser_trial_v1","title":"Policyid","default":"browser_trial_v1"},"canExecute":{"type":"boolean","const":false,"title":"Canexecute","default":false},"agent_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Agent Id"},"api_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Api Key","description":"Shown only on first activation. Keep it private; the saved possession token recovers the trial if this response is lost."}},"additionalProperties":false,"type":"object","required":["state","expiresAt","balanceCredits","trialCredits"],"title":"AgentTrialActivationView"},"AgentTrialIssueRequest":{"properties":{"agentName":{"type":"string","maxLength":80,"minLength":1,"title":"Agentname","default":"Agent trial"}},"additionalProperties":false,"type":"object","title":"AgentTrialIssueRequest"},"AnonymousTrialMetadata":{"properties":{"available":{"type":"boolean","title":"Available","description":"Whether anonymous agent trial registration is enabled.","default":true},"register_path":{"type":"string","title":"Register Path","default":"/api/v1/agent/anonymous-register"},"claim_path":{"type":"string","title":"Claim Path","default":"/api/v1/agent/claim"},"claim_verify_path":{"type":"string","title":"Claim Verify Path","default":"/api/v1/agent/claim-verify"},"trial_credits":{"type":"number","title":"Trial Credits","description":"Number of credits granted by the anonymous trial."},"expires_in_days":{"type":"integer","title":"Expires In Days","description":"Number of days before the anonymous trial expires."},"capabilities":{"items":{"type":"string"},"type":"array","title":"Capabilities"},"excluded":{"items":{"type":"string"},"type":"array","title":"Excluded"},"instructions":{"type":"string","title":"Instructions","default":"If no human-verified API key is available, POST to register_path to obtain a one-time api_key and claim_code. Save both. Claim the trial later with claim_path and claim_verify_path."}},"additionalProperties":false,"type":"object","title":"AnonymousTrialMetadata","description":"Machine-readable discovery metadata for the anonymous agent trial."},"BrowserTrialErrorData":{"properties":{"code":{"type":"string","title":"Code"},"message":{"type":"string","title":"Message"},"retryAfterSeconds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Retryafterseconds"}},"type":"object","required":["code","message"],"title":"BrowserTrialErrorData"},"BrowserTrialFailure":{"properties":{"error":{"$ref":"#/components/schemas/BrowserTrialErrorData"}},"type":"object","required":["error"],"title":"BrowserTrialFailure"},"BrowserTrialSessionView":{"properties":{"state":{"type":"string","enum":["prepared","active"],"title":"State"},"expiresAt":{"type":"string","title":"Expiresat"},"balanceCredits":{"type":"string","title":"Balancecredits"},"trialCredits":{"type":"string","title":"Trialcredits"},"policyId":{"type":"string","const":"browser_trial_v1","title":"Policyid","default":"browser_trial_v1"},"canExecute":{"type":"boolean","const":false,"title":"Canexecute","default":false}},"additionalProperties":false,"type":"object","required":["state","expiresAt","balanceCredits","trialCredits"],"title":"BrowserTrialSessionView"},"CreditsLedgerItem":{"properties":{"id":{"type":"string","title":"Id"},"entry_type":{"type":"string","title":"Entry Type"},"amount_credits":{"type":"number","title":"Amount Credits"},"source_system":{"type":"string","title":"Source System"},"source_ref_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Ref Type"},"source_ref_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Ref Id"},"execution_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Execution Id"},"pre_settlement_bill":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Pre Settlement Bill"},"settlement_result":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Settlement Result"},"balance_before":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Balance Before"},"balance_after":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Balance After"},"ledger_metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Ledger Metadata"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","entry_type","amount_credits","source_system","created_at"],"title":"CreditsLedgerItem"},"CreditsLedgerReadinessEntity":{"properties":{"entity_type":{"type":"string","title":"Entity Type"},"legacy_count":{"type":"integer","title":"Legacy Count"},"legacy_amount_credits":{"type":"number","title":"Legacy Amount Credits"},"ledger_count":{"type":"integer","title":"Ledger Count"},"ledger_amount_credits":{"type":"number","title":"Ledger Amount Credits"},"missing_count":{"type":"integer","title":"Missing Count"},"extra_count":{"type":"integer","title":"Extra Count"},"amount_delta_credits":{"type":"number","title":"Amount Delta Credits"},"ready":{"type":"boolean","title":"Ready"}},"type":"object","required":["entity_type","legacy_count","legacy_amount_credits","ledger_count","ledger_amount_credits","missing_count","extra_count","amount_delta_credits","ready"],"title":"CreditsLedgerReadinessEntity"},"CreditsLedgerReadinessResponse":{"properties":{"checked_at":{"type":"string","format":"date-time","title":"Checked At"},"start_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Start Date"},"end_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"End Date"},"scope":{"type":"string","title":"Scope"},"recommended_read_mode":{"type":"string","title":"Recommended Read Mode"},"ready":{"type":"boolean","title":"Ready"},"legacy_total_count":{"type":"integer","title":"Legacy Total Count"},"legacy_total_amount_credits":{"type":"number","title":"Legacy Total Amount Credits"},"ledger_total_count":{"type":"integer","title":"Ledger Total Count"},"ledger_total_amount_credits":{"type":"number","title":"Ledger Total Amount Credits"},"entities":{"items":{"$ref":"#/components/schemas/CreditsLedgerReadinessEntity"},"type":"array","title":"Entities"}},"type":"object","required":["checked_at","scope","recommended_read_mode","ready","legacy_total_count","legacy_total_amount_credits","ledger_total_count","ledger_total_amount_credits","entities"],"title":"CreditsLedgerReadinessResponse"},"CreditsLedgerResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/CreditsLedgerItem"},"type":"array","title":"Items"},"total":{"type":"integer","title":"Total"},"page":{"type":"integer","title":"Page"},"page_size":{"type":"integer","title":"Page Size"},"summary":{"anyOf":[{"$ref":"#/components/schemas/CreditsLedgerSummary"},{"type":"null"}]}},"type":"object","required":["items","total","page","page_size"],"title":"CreditsLedgerResponse"},"CreditsLedgerSummary":{"properties":{"start_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Start Date"},"end_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"End Date"},"bucket":{"type":"string","title":"Bucket"},"total_entries":{"type":"integer","title":"Total Entries"},"consume_count":{"type":"integer","title":"Consume Count"},"grant_count":{"type":"integer","title":"Grant Count"},"consumed_credits":{"type":"number","title":"Consumed Credits"},"granted_credits":{"type":"number","title":"Granted Credits"},"net_amount_credits":{"type":"number","title":"Net Amount Credits"},"max_amount_items":{"items":{"$ref":"#/components/schemas/CreditsLedgerItem"},"type":"array","title":"Max Amount Items"},"buckets":{"items":{"$ref":"#/components/schemas/CreditsLedgerSummaryBucket"},"type":"array","title":"Buckets"}},"type":"object","required":["bucket","total_entries","consume_count","grant_count","consumed_credits","granted_credits","net_amount_credits","max_amount_items","buckets"],"title":"CreditsLedgerSummary"},"CreditsLedgerSummaryBucket":{"properties":{"bucket_start":{"type":"string","format":"date-time","title":"Bucket Start"},"entry_count":{"type":"integer","title":"Entry Count"},"consume_count":{"type":"integer","title":"Consume Count"},"grant_count":{"type":"integer","title":"Grant Count"},"consumed_credits":{"type":"number","title":"Consumed Credits"},"granted_credits":{"type":"number","title":"Granted Credits"},"net_amount_credits":{"type":"number","title":"Net Amount Credits"}},"type":"object","required":["bucket_start","entry_count","consume_count","grant_count","consumed_credits","granted_credits","net_amount_credits"],"title":"CreditsLedgerSummaryBucket"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"OAuthAccessTokenResponse":{"properties":{"access_token":{"type":"string","title":"Access Token"},"token_type":{"type":"string","const":"Bearer","title":"Token Type"},"expires_in":{"type":"integer","exclusiveMinimum":0,"title":"Expires In"},"scope":{"type":"string","title":"Scope"},"resource":{"type":"string","title":"Resource"},"refresh_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Refresh Token"},"refresh_token_expires_in":{"anyOf":[{"type":"integer","exclusiveMinimum":0},{"type":"null"}],"title":"Refresh Token Expires In"},"id_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id Token"},"resource_tokens":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Resource Tokens"},"tool_api_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tool Api Key"},"tool_api_key_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tool Api Key Name"}},"type":"object","required":["access_token","token_type","expires_in","scope","resource"],"title":"OAuthAccessTokenResponse","description":"Authorization Code, Device Code, or Refresh Token success response."},"OAuthDelegationActor":{"properties":{"client_id":{"type":"string","title":"Client Id"}},"additionalProperties":false,"type":"object","required":["client_id"],"title":"OAuthDelegationActor","description":"Confidential Agent Runtime that requested a delegation token."},"OAuthDelegationConstraints":{"properties":{"model":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Model"},"tool_ids":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":100},{"type":"null"}],"title":"Tool Ids"},"provider_ids":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":100},{"type":"null"}],"title":"Provider Ids"},"run_id":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Run Id"},"max_credits":{"anyOf":[{"type":"integer","exclusiveMinimum":0},{"type":"null"}],"title":"Max Credits"}},"additionalProperties":false,"type":"object","title":"OAuthDelegationConstraints"},"OAuthDeviceAuthorizationResponse":{"properties":{"device_code":{"type":"string","title":"Device Code","description":"Secret code used only to poll the token endpoint."},"user_code":{"type":"string","title":"User Code","description":"Short code displayed to and verified by the user."},"verification_uri":{"type":"string","title":"Verification Uri","description":"Browser URL where the user approves the request."},"verification_uri_complete":{"type":"string","title":"Verification Uri Complete","description":"Verification URL with the user code prefilled."},"expires_in":{"type":"integer","exclusiveMinimum":0,"title":"Expires In","description":"Device and user code lifetime in seconds."},"interval":{"type":"integer","exclusiveMinimum":0,"title":"Interval","description":"Minimum token polling interval in seconds."}},"additionalProperties":false,"type":"object","required":["device_code","user_code","verification_uri","verification_uri_complete","expires_in","interval"],"title":"OAuthDeviceAuthorizationResponse","description":"RFC 8628 device authorization response."},"OAuthErrorResponse":{"properties":{"error":{"type":"string","title":"Error","description":"Stable OAuth error code."},"error_description":{"type":"string","title":"Error Description","description":"Human-readable error detail."},"error_uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Uri","description":"Optional error documentation URI."}},"additionalProperties":false,"type":"object","required":["error","error_description"],"title":"OAuthErrorResponse","description":"RFC 6749/RFC 8693 error response."},"OAuthIntrospectionActiveResponse":{"properties":{"active":{"type":"boolean","const":true,"title":"Active"},"token_type":{"type":"string","const":"Bearer","title":"Token Type"},"scope":{"type":"string","title":"Scope"},"client_id":{"type":"string","title":"Client Id"},"sub":{"type":"string","title":"Sub"},"token_use":{"type":"string","enum":["access","delegation"],"title":"Token Use"},"exp":{"type":"integer","title":"Exp"},"iat":{"type":"integer","title":"Iat"},"nbf":{"type":"integer","title":"Nbf"},"aud":{"type":"string","title":"Aud"},"iss":{"type":"string","title":"Iss"},"jti":{"type":"string","title":"Jti"},"actor":{"anyOf":[{"$ref":"#/components/schemas/OAuthDelegationActor"},{"type":"null"}]},"parent_jti":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Parent Jti"},"delegation":{"anyOf":[{"$ref":"#/components/schemas/OAuthDelegationConstraints"},{"type":"null"}]}},"type":"object","required":["active","token_type","scope","client_id","sub","token_use","exp","iat","nbf","aud","iss","jti"],"title":"OAuthIntrospectionActiveResponse"},"OAuthIntrospectionInactiveResponse":{"properties":{"active":{"type":"boolean","const":false,"title":"Active"}},"additionalProperties":false,"type":"object","required":["active"],"title":"OAuthIntrospectionInactiveResponse"},"OAuthRateLimitResponse":{"properties":{"status":{"type":"string","const":"failure","title":"Status"},"status_code":{"type":"integer","const":429,"title":"Status Code"},"message":{"type":"string","title":"Message"},"data":{"type":"null","title":"Data"}},"additionalProperties":false,"type":"object","required":["status","status_code","message"],"title":"OAuthRateLimitResponse","description":"Structured response returned when Device Authorization is throttled."},"OAuthTokenExchangeResponse":{"properties":{"access_token":{"type":"string","title":"Access Token"},"issued_token_type":{"type":"string","const":"urn:ietf:params:oauth:token-type:access_token","title":"Issued Token Type"},"token_type":{"type":"string","const":"Bearer","title":"Token Type"},"expires_in":{"type":"integer","maximum":600,"exclusiveMinimum":0,"title":"Expires In"},"scope":{"type":"string","title":"Scope"},"resource":{"type":"string","title":"Resource"},"constraints":{"$ref":"#/components/schemas/OAuthDelegationConstraints"}},"additionalProperties":false,"type":"object","required":["access_token","issued_token_type","token_type","expires_in","scope","resource"],"title":"OAuthTokenExchangeResponse","description":"Successful Agent-to-QVeris token exchange. This schema deliberately does not contain refresh_token: delegation tokens cannot be refreshed.","examples":[{"access_token":"eyJhbGciOiJSUzI1NiIs...","constraints":{"max_credits":25,"provider_ids":["openweathermap"],"run_id":"run-01J0QVERIS","tool_ids":["openweathermap.weather.execute.v1"]},"expires_in":600,"issued_token_type":"urn:ietf:params:oauth:token-type:access_token","resource":"https://api.qveris.ai/tools","scope":"tools.inspect tools.execute","token_type":"Bearer"}]},"PublicApiMetadata":{"properties":{"contract_version":{"type":"string","title":"Contract Version","description":"Version of the published QVeris REST API contract.","examples":["2026-10-29.1"]},"registration":{"$ref":"#/components/schemas/AnonymousTrialMetadata"}},"additionalProperties":false,"type":"object","required":["contract_version"],"title":"PublicApiMetadata","description":"Unauthenticated metadata used by API clients for compatibility checks."},"SettlementHistoryItem":{"properties":{"id":{"type":"string","title":"Id"},"source":{"type":"string","title":"Source"},"entry_type":{"type":"string","title":"Entry Type"},"amount_credits":{"type":"number","title":"Amount Credits"},"source_system":{"type":"string","title":"Source System"},"source_ref_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Ref Type"},"source_ref_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Ref Id"},"execution_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Execution Id"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"display_target":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Display Target"},"billing_summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Billing Summary"},"billing_snapshot_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Billing Snapshot Status"},"details_available":{"type":"boolean","title":"Details Available","default":true},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","source","entry_type","amount_credits","source_system","created_at"],"title":"SettlementHistoryItem"},"SettlementHistoryResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/SettlementHistoryItem"},"type":"array","title":"Items"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"},"has_more":{"type":"boolean","title":"Has More"},"page_size":{"type":"integer","title":"Page Size"}},"type":"object","required":["items","has_more","page_size"],"title":"SettlementHistoryResponse"},"TokenVerificationResponse":{"properties":{"is_valid":{"type":"boolean","title":"Is Valid"},"is_expired":{"type":"boolean","title":"Is Expired"},"payload":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Payload"}},"type":"object","required":["is_valid","is_expired"],"title":"TokenVerificationResponse"},"ToolExecutionReconciliationData":{"properties":{"status":{"type":"string","enum":["pending","completed","unavailable"],"title":"Status"},"execution_id":{"type":"string","title":"Execution Id"},"execution_state":{"type":"string","title":"Execution State"},"provider_request_dispatched":{"type":"boolean","title":"Provider Request Dispatched"},"provider_execution_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider Execution Id"},"charge_event_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Charge Event Id"},"settlement_state":{"type":"string","title":"Settlement State"},"amount_credits":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Amount Credits"},"settlement_batch_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Settlement Batch Id"},"ledger_entry_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ledger Entry Id"},"retry_disposition":{"type":"string","enum":["terminal","reconcile_first"],"title":"Retry Disposition"},"response":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Response"},"response_http_status":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Response Http Status"},"result_unavailable_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Result Unavailable Reason"}},"type":"object","required":["status","execution_id","execution_state","provider_request_dispatched","settlement_state","retry_disposition"],"title":"ToolExecutionReconciliationData","description":"Durable state returned for one caller-scoped execution key."},"TrialClaimEmailRequest":{"properties":{"email":{"type":"string","maxLength":72,"format":"email","title":"Email"}},"additionalProperties":false,"type":"object","required":["email"],"title":"TrialClaimEmailRequest"},"TrialClaimEmailView":{"properties":{"state":{"type":"string","const":"verification_sent","title":"State","default":"verification_sent"},"email":{"type":"string","maxLength":72,"format":"email","title":"Email"}},"additionalProperties":false,"type":"object","required":["email"],"title":"TrialClaimEmailView"},"TrialClaimExistingRequest":{"properties":{},"additionalProperties":false,"type":"object","title":"TrialClaimExistingRequest"},"TrialClaimReceiptView":{"properties":{"claimId":{"type":"string","format":"uuid","title":"Claimid"},"trialId":{"type":"string","format":"uuid","title":"Trialid"},"state":{"type":"string","const":"claimed","title":"State","default":"claimed"},"mode":{"type":"string","enum":["new_account","existing_account"],"title":"Mode"},"transferredCredits":{"type":"string","title":"Transferredcredits"},"trialDebtCredits":{"type":"string","title":"Trialdebtcredits"},"debtRepaidCredits":{"type":"string","title":"Debtrepaidcredits"},"debtRemainingCredits":{"type":"string","title":"Debtremainingcredits"},"loginRequired":{"type":"boolean","const":true,"title":"Loginrequired","default":true},"trialKeyRevoked":{"type":"boolean","const":true,"title":"Trialkeyrevoked","default":true}},"additionalProperties":false,"type":"object","required":["claimId","trialId","mode","transferredCredits","trialDebtCredits","debtRepaidCredits","debtRemainingCredits"],"title":"TrialClaimReceiptView"},"TrialClaimUnclaimedView":{"properties":{"state":{"type":"string","const":"unclaimed","title":"State","default":"unclaimed"},"trialId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Trialid"}},"additionalProperties":false,"type":"object","title":"TrialClaimUnclaimedView"},"TrialClaimVerifyRequest":{"properties":{"email":{"type":"string","maxLength":72,"format":"email","title":"Email"},"code":{"type":"string","pattern":"^\\d{6}$","title":"Code"},"password":{"type":"string","maxLength":32,"minLength":6,"format":"password","title":"Password","writeOnly":true}},"additionalProperties":false,"type":"object","required":["email","code","password"],"title":"TrialClaimVerifyRequest"},"TrialExecuteRequest":{"properties":{"toolId":{"type":"string","maxLength":255,"minLength":1,"title":"Toolid"},"parameters":{"additionalProperties":true,"type":"object","title":"Parameters"},"providerId":{"anyOf":[{"type":"string","maxLength":255,"minLength":1},{"type":"null"}],"title":"Providerid"},"operationId":{"type":"string","format":"uuid","title":"Operationid"},"quoteConfirmation":{"type":"string","maxLength":4096,"minLength":1,"title":"Quoteconfirmation"}},"additionalProperties":false,"type":"object","required":["toolId","parameters","operationId","quoteConfirmation"],"title":"TrialExecuteRequest"},"TrialExecutionState":{"properties":{"canExecute":{"type":"boolean","title":"Canexecute"},"owner":{"type":"string","enum":["website","unsupported"],"title":"Owner"},"issuedCredits":{"type":"string","title":"Issuedcredits"},"usedCredits":{"type":"string","title":"Usedcredits"},"toleranceCredits":{"type":"string","title":"Tolerancecredits"},"pendingExecution":{"anyOf":[{"$ref":"#/components/schemas/TrialPendingExecution"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["canExecute","owner","issuedCredits","usedCredits","toleranceCredits","pendingExecution"],"title":"TrialExecutionState"},"TrialPendingExecution":{"properties":{"operationId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Operationid"},"executionId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Executionid"},"state":{"type":"string","title":"State"},"lookupOnly":{"type":"boolean","const":true,"title":"Lookuponly","default":true}},"additionalProperties":false,"type":"object","required":["operationId","executionId","state"],"title":"TrialPendingExecution"},"TrialQuoteView":{"properties":{"toolId":{"type":"string","title":"Toolid"},"quoteCredits":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Quotecredits"},"exact":{"type":"boolean","title":"Exact"},"supported":{"type":"boolean","title":"Supported"},"reasonCode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reasoncode"},"quoteConfirmation":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Quoteconfirmation"},"confirmationExpiresAt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Confirmationexpiresat"}},"additionalProperties":false,"type":"object","required":["toolId","quoteCredits","exact","supported","reasonCode","quoteConfirmation","confirmationExpiresAt"],"title":"TrialQuoteView"},"TrialToolRequest":{"properties":{"toolId":{"type":"string","maxLength":255,"minLength":1,"title":"Toolid"},"parameters":{"additionalProperties":true,"type":"object","title":"Parameters"},"providerId":{"anyOf":[{"type":"string","maxLength":255,"minLength":1},{"type":"null"}],"title":"Providerid"}},"additionalProperties":false,"type":"object","required":["toolId","parameters"],"title":"TrialToolRequest"},"UsageCreditsSpentResponse":{"properties":{"total_credits":{"type":"number","title":"Total Credits"},"start_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Start Date"},"end_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"End Date"}},"type":"object","required":["total_credits"],"title":"UsageCreditsSpentResponse"},"UsageEventApiKey":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"masked_value":{"type":"string","title":"Masked Value"}},"type":"object","required":["id","name","masked_value"],"title":"UsageEventApiKey"},"UsageEventItem":{"properties":{"anomalies":{"anyOf":[{"items":{"type":"string","enum":["failed_charged_review","missing_ledger_link","missing_billing_snapshot"]},"type":"array"},{"type":"null"}],"title":"Anomalies"},"id":{"type":"string","title":"Id"},"event_type":{"type":"string","title":"Event Type"},"source_system":{"type":"string","title":"Source System"},"source_ref_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Ref Type"},"source_ref_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Ref Id"},"credential_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Credential Type"},"api_key":{"anyOf":[{"$ref":"#/components/schemas/UsageEventApiKey"},{"type":"null"}]},"api_key_attribution_status":{"type":"string","title":"Api Key Attribution Status","default":"historical_unknown"},"oauth_client":{"anyOf":[{"$ref":"#/components/schemas/UsageEventOAuthClient"},{"type":"null"}]},"credential_attribution_status":{"type":"string","enum":["api_key","oauth_client","user_session","non_api_key","historical_unknown"],"title":"Credential Attribution Status","default":"historical_unknown"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Id"},"search_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search Id"},"execution_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Execution Id"},"tool_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tool Id"},"model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model"},"query":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Query"},"success":{"type":"boolean","title":"Success"},"charge_outcome":{"type":"string","title":"Charge Outcome"},"error_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Message"},"duration_ms":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Duration Ms"},"request_payload":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Request Payload"},"response_payload_summary":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Response Payload Summary"},"execution_outcome":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Execution Outcome"},"outcome_schema_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Outcome Schema Version"},"transport_success":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Transport Success"},"provider_success":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Provider Success"},"result_valid":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Result Valid"},"billable_success":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Billable Success"},"outcome":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Outcome"},"outcome_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Outcome Status"},"reason_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason Code"},"outcome_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Outcome Message"},"provider_status_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider Status Code"},"provider_status_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider Status Message"},"http_status_code":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Http Status Code"},"valid_result_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Valid Result Count"},"raw_result_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Raw Result Count"},"chargeable_quantity":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Chargeable Quantity"},"retryable":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Retryable"},"display_severity":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Display Severity"},"billing_snapshot_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Billing Snapshot Status"},"billing_rule_snapshot":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Billing Rule Snapshot"},"pre_settlement_bill":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Pre Settlement Bill"},"settlement_result":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Settlement Result"},"requested_amount_credits":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Requested Amount Credits"},"actual_amount_credits":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Actual Amount Credits"},"credits_ledger_entry_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Credits Ledger Entry Id"},"charge_event_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Charge Event Id"},"settlement_state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Settlement State"},"settlement_batch_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Settlement Batch Id"},"settlement_ledger_entry_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Settlement Ledger Entry Id"},"display_target":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Display Target"},"billing_unit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Billing Unit"},"unit_price_credits":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Unit Price Credits"},"quantity":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Quantity"},"list_amount_credits":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"List Amount Credits"},"minimum_charge_credits":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Minimum Charge Credits"},"pricing_profile_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pricing Profile Id"},"billing_summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Billing Summary"},"pre_settlement_amount_credits":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Pre Settlement Amount Credits"},"settled_amount_credits":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Settled Amount Credits"},"pricing_context_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pricing Context Id"},"harbor_snapshot_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Harbor Snapshot Id"},"harbor_snapshot_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Harbor Snapshot Version"},"resolver_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Resolver Version"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","event_type","source_system","success","charge_outcome","created_at"],"title":"UsageEventItem"},"UsageEventOAuthClient":{"properties":{"id":{"type":"string","title":"Id"}},"type":"object","required":["id"],"title":"UsageEventOAuthClient"},"UsageEventSummaryItem":{"properties":{"anomalies":{"anyOf":[{"items":{"type":"string","enum":["failed_charged_review","missing_ledger_link","missing_billing_snapshot"]},"type":"array"},{"type":"null"}],"title":"Anomalies"},"id":{"type":"string","title":"Id"},"event_type":{"type":"string","title":"Event Type"},"source_system":{"type":"string","title":"Source System"},"source_ref_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Ref Type"},"source_ref_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Ref Id"},"credential_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Credential Type"},"api_key":{"anyOf":[{"$ref":"#/components/schemas/UsageEventApiKey"},{"type":"null"}]},"api_key_attribution_status":{"type":"string","title":"Api Key Attribution Status","default":"historical_unknown"},"oauth_client":{"anyOf":[{"$ref":"#/components/schemas/UsageEventOAuthClient"},{"type":"null"}]},"credential_attribution_status":{"type":"string","enum":["api_key","oauth_client","user_session","non_api_key","historical_unknown"],"title":"Credential Attribution Status","default":"historical_unknown"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Id"},"search_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search Id"},"execution_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Execution Id"},"tool_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tool Id"},"model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model"},"query":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Query"},"success":{"type":"boolean","title":"Success"},"charge_outcome":{"type":"string","title":"Charge Outcome"},"error_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Message"},"duration_ms":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Duration Ms"},"transport_success":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Transport Success"},"provider_success":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Provider Success"},"result_valid":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Result Valid"},"billable_success":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Billable Success"},"outcome":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Outcome"},"outcome_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Outcome Status"},"reason_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason Code"},"outcome_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Outcome Message"},"provider_status_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider Status Code"},"provider_status_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider Status Message"},"http_status_code":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Http Status Code"},"valid_result_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Valid Result Count"},"raw_result_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Raw Result Count"},"chargeable_quantity":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Chargeable Quantity"},"retryable":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Retryable"},"display_severity":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Display Severity"},"billing_snapshot_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Billing Snapshot Status"},"requested_amount_credits":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Requested Amount Credits"},"actual_amount_credits":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Actual Amount Credits"},"credits_ledger_entry_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Credits Ledger Entry Id"},"charge_event_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Charge Event Id"},"settlement_state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Settlement State"},"settlement_batch_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Settlement Batch Id"},"settlement_ledger_entry_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Settlement Ledger Entry Id"},"display_target":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Display Target"},"billing_unit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Billing Unit"},"unit_price_credits":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Unit Price Credits"},"quantity":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Quantity"},"list_amount_credits":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"List Amount Credits"},"minimum_charge_credits":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Minimum Charge Credits"},"pricing_profile_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pricing Profile Id"},"billing_summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Billing Summary"},"pre_settlement_amount_credits":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Pre Settlement Amount Credits"},"settled_amount_credits":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Settled Amount Credits"},"pricing_context_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pricing Context Id"},"harbor_snapshot_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Harbor Snapshot Id"},"harbor_snapshot_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Harbor Snapshot Version"},"resolver_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Resolver Version"},"details_available":{"type":"boolean","title":"Details Available","default":true},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","event_type","source_system","success","charge_outcome","created_at"],"title":"UsageEventSummaryItem"},"UsageEventSummaryResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/UsageEventSummaryItem"},"type":"array","title":"Items"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"},"has_more":{"type":"boolean","title":"Has More"},"page_size":{"type":"integer","title":"Page Size"}},"type":"object","required":["items","has_more","page_size"],"title":"UsageEventSummaryResponse"},"UsageEventsResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/UsageEventItem"},"type":"array","title":"Items"},"total":{"type":"integer","title":"Total"},"page":{"type":"integer","title":"Page"},"page_size":{"type":"integer","title":"Page Size"},"summary":{"anyOf":[{"$ref":"#/components/schemas/UsageEventsSummary"},{"type":"null"}]}},"type":"object","required":["items","total","page","page_size"],"title":"UsageEventsResponse"},"UsageEventsSummary":{"properties":{"start_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Start Date"},"end_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"End Date"},"bucket":{"type":"string","title":"Bucket"},"total_count":{"type":"integer","title":"Total Count"},"success_count":{"type":"integer","title":"Success Count"},"failure_count":{"type":"integer","title":"Failure Count"},"charge_outcome_counts":{"additionalProperties":{"type":"integer"},"type":"object","title":"Charge Outcome Counts"},"pre_settlement_credits":{"type":"number","title":"Pre Settlement Credits"},"settled_credits":{"type":"number","title":"Settled Credits"},"max_charge_items":{"items":{"$ref":"#/components/schemas/UsageEventItem"},"type":"array","title":"Max Charge Items"},"buckets":{"items":{"$ref":"#/components/schemas/UsageEventsSummaryBucket"},"type":"array","title":"Buckets"}},"type":"object","required":["bucket","total_count","success_count","failure_count","charge_outcome_counts","pre_settlement_credits","settled_credits","max_charge_items","buckets"],"title":"UsageEventsSummary"},"UsageEventsSummaryBucket":{"properties":{"bucket_start":{"type":"string","format":"date-time","title":"Bucket Start"},"total_count":{"type":"integer","title":"Total Count"},"success_count":{"type":"integer","title":"Success Count"},"failure_count":{"type":"integer","title":"Failure Count"},"charged_count":{"type":"integer","title":"Charged Count"},"included_count":{"type":"integer","title":"Included Count"},"failed_not_charged_count":{"type":"integer","title":"Failed Not Charged Count"},"failed_charged_review_count":{"type":"integer","title":"Failed Charged Review Count"},"pre_settlement_credits":{"type":"number","title":"Pre Settlement Credits"},"settled_credits":{"type":"number","title":"Settled Credits"}},"type":"object","required":["bucket_start","total_count","success_count","failure_count","charged_count","included_count","failed_not_charged_count","failed_charged_review_count","pre_settlement_credits","settled_credits"],"title":"UsageEventsSummaryBucket"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"PublicApiError":{"type":"object","title":"PublicApiError","additionalProperties":true,"properties":{"status":{"type":"string","examples":["failure"]},"status_code":{"type":"integer"},"message":{"type":"string"},"error":{"type":"string"},"error_message":{"type":"string"},"data":{"anyOf":[{"type":"object","additionalProperties":true},{"type":"null"}]},"remaining_credits":{"anyOf":[{"type":"number"},{"type":"null"}]},"search_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"execution_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"total":{"type":"integer"},"results":{"type":"array","items":{"type":"object"}}}},"PublicCapabilityDetailResponse":{"type":"object","title":"PublicCapabilityDetailResponse","additionalProperties":true,"required":["capability_id","verification_status","verification","execution_restrictions"],"dependentRequired":{"contract_version":["schema_hash"],"schema_hash":["contract_version"]},"properties":{"capability_id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"params":{"type":"array","items":{"type":"object","additionalProperties":true}},"field_spec":{"type":"object","additionalProperties":true},"contract_version":{"type":"integer","minimum":1,"description":"Published CAP contract version."},"schema_hash":{"type":"string","pattern":"^[0-9a-f]{64}$","description":"SHA-256 identity of the published CAP contract."},"verification_status":{"type":"string","enum":["unverified","verifying","verified","stale","failed","restricted"]},"verification":{"$ref":"#/components/schemas/PublicCatalogVerification"},"execution_restrictions":{"$ref":"#/components/schemas/PublicExecutionRestrictions"},"remaining_credits":{"anyOf":[{"type":"number"},{"type":"null"}]}}},"PublicCapabilityQueryRequest":{"type":"object","title":"PublicCapabilityQueryRequest","additionalProperties":false,"anyOf":[{"required":["capability_id"]},{"required":["query"]}],"properties":{"capability_id":{"type":"string","minLength":1,"pattern":"\\S"},"query":{"type":"string","minLength":1,"pattern":"\\S"},"parameters":{"type":"object","additionalProperties":true,"default":{}},"params":{"type":"object","additionalProperties":true,"default":{}},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"search_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"run_id":{"type":"string"},"provider_id":{"type":"string"},"provider_ids":{"type":"array","items":{"type":"string"}},"max_response_size":{"type":"integer","minimum":-1,"default":20480},"max_credits":{"type":"number","exclusiveMinimum":0,"description":"Maximum credits allowed for this execution. Candidates without a provable upper bound are excluded."}}},"PublicCapabilityQueryResponse":{"type":"object","title":"PublicCapabilityQueryResponse","additionalProperties":true,"required":["execution_id","success"],"dependentRequired":{"contract_version":["schema_hash"],"schema_hash":["contract_version"]},"properties":{"execution_id":{"type":"string"},"capability_id":{"type":"string"},"parameters":{"type":"object","additionalProperties":true},"result":{"type":"object","additionalProperties":true},"success":{"type":"boolean"},"error_message":{"anyOf":[{"type":"string"},{"type":"null"}]},"billing":{"type":"object","additionalProperties":true},"cost":{"anyOf":[{"type":"number"},{"type":"null"}]},"credits_used":{"anyOf":[{"type":"number"},{"type":"null"}]},"remaining_credits":{"anyOf":[{"type":"number"},{"type":"null"}]},"contract_version":{"type":"integer","minimum":1,"description":"Published CAP contract version."},"schema_hash":{"type":"string","pattern":"^[0-9a-f]{64}$","description":"SHA-256 identity of the published CAP contract."}}},"PublicSearchRequest":{"type":"object","title":"PublicSearchRequest","required":["query"],"properties":{"query":{"type":"string","description":"Natural-language capability query or an exact tool ID for deterministic lookup.","minLength":1},"limit":{"type":"integer","description":"Maximum number of ranked results to return.","default":20,"minimum":1,"maximum":100},"session_id":{"type":"string","description":"Optional tracking and pricing-context identifier. It does not promise a cache hit."},"view":{"type":"string","enum":["routing","full"],"description":"Response projection. `routing` returns compact routing cards (`tool_id`, `capability`, `cost_class`, `reliability`, `as_of_support`) plus the required verification and restriction contract; `full` or omitted returns the complete result shape."},"lang":{"type":"string","enum":["zh","en"],"description":"Response language. When omitted the service negotiates from the `Accept-Language` header."}}},"PublicToolsByIdsRequest":{"type":"object","title":"PublicToolsByIdsRequest","required":["tool_ids"],"properties":{"tool_ids":{"type":"array","items":{"type":"string"},"minItems":1,"description":"Capability ids returned by Discover."},"search_id":{"type":"string","description":"Search id that returned these capabilities, when available."},"session_id":{"type":"string","description":"Optional tracking and pricing-context identifier. It does not promise a cache hit."},"view":{"type":"string","enum":["full","lean"],"description":"Response projection. `lean` trims per-capability metadata for model context; `full` or omitted returns the complete result shape."}}},"PublicToolProbeRequest":{"type":"object","title":"PublicToolProbeRequest","properties":{"parameters":{"type":"object","additionalProperties":true,"default":{},"description":"Candidate parameters to validate without executing the capability."},"checks":{"type":"array","items":{"type":"string","enum":["schema","quote","coverage","sample"]},"minItems":1,"default":["schema"]},"live_budget":{"type":"string","enum":["none","metadata","sampled"],"default":"none","description":"M1 is zero-cost; every value avoids an upstream tool execution."},"sub_user_id":{"type":"string","minLength":1,"pattern":".*\\S.*","description":"Optional sub-user identity used for provider OAuth readiness checks."}}},"PublicProbeSchemaViolation":{"type":"object","title":"PublicProbeSchemaViolation","required":["type","message"],"additionalProperties":false,"properties":{"param":{"anyOf":[{"type":"string"},{"type":"null"}]},"required_any_of":{"description":"For one_of_required violations, supply any one non-empty parameter from this group.","anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"type":{"type":"string"},"message":{"type":"string"}}},"PublicProbeSchemaResult":{"type":"object","title":"PublicProbeSchemaResult","required":["valid"],"additionalProperties":false,"properties":{"valid":{"type":"boolean"},"violations":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/PublicProbeSchemaViolation"}},{"type":"null"}]},"note":{"anyOf":[{"type":"string"},{"type":"null"}]}}},"PublicProbeQuoteResult":{"type":"object","title":"PublicProbeQuoteResult","required":["currency","exact"],"additionalProperties":false,"properties":{"estimate_credits":{"anyOf":[{"type":"number"},{"type":"null"}]},"currency":{"type":"string","enum":["credits"]},"exact":{"type":"boolean"},"basis":{"anyOf":[{"type":"string"},{"type":"null"}]},"detail":{"anyOf":[{"type":"object","additionalProperties":true},{"type":"null"}]}}},"PublicProbeUnknownResult":{"type":"object","title":"PublicProbeUnknownResult","required":["verdict","reason"],"additionalProperties":false,"properties":{"verdict":{"type":"string","enum":["unknown"]},"reason":{"type":"string"}}},"PublicProbeRecoveryAdvice":{"type":"object","title":"PublicProbeRecoveryAdvice","additionalProperties":false,"required":["missing_fields","missing_field_groups","safe_fixes","retryable","next_action","provider_fallback"],"properties":{"missing_fields":{"type":"array","items":{"type":"string"}},"missing_field_groups":{"description":"Each group requires any one non-empty parameter, not every member.","type":"array","items":{"type":"array","items":{"type":"string"}}},"safe_fixes":{"type":"array","items":{"type":"string"}},"retryable":{"type":"boolean"},"next_action":{"type":"string","enum":["execute","inspect","probe","authorize","confirm_budget","switch_provider","retry"]},"provider_fallback":{"type":"boolean"}}},"PublicToolProbeResponse":{"type":"object","title":"PublicToolProbeResponse","additionalProperties":false,"allOf":[{"if":{"anyOf":[{"required":["exists"]},{"required":["executable"]},{"required":["status"]},{"required":["reason"]}]},"then":{"required":["exists","executable","status"],"properties":{"exists":{"const":true}}}},{"if":{"required":["executable"],"properties":{"executable":{"const":false}}},"then":{"required":["reason"]}},{"if":{"required":["executable"],"properties":{"executable":{"const":true}}},"then":{"not":{"required":["reason"]}}}],"required":["verification_status","verification","execution_restrictions","recovery"],"properties":{"exists":{"type":"boolean"},"executable":{"type":"boolean"},"status":{"type":"integer"},"reason":{"type":"string","enum":["tool_unavailable","tool_disabled","realtime_unavailable","region_restricted","insufficient_scope","delegation_budget_not_supported","oauth2_signin_required"]},"schema":{"$ref":"#/components/schemas/PublicProbeSchemaResult"},"quote":{"$ref":"#/components/schemas/PublicProbeQuoteResult"},"coverage":{"$ref":"#/components/schemas/PublicProbeUnknownResult"},"sample":{"$ref":"#/components/schemas/PublicProbeUnknownResult"},"recovery":{"$ref":"#/components/schemas/PublicProbeRecoveryAdvice"},"verification_status":{"type":"string","enum":["unverified","verifying","verified","stale","failed","restricted"]},"verification":{"$ref":"#/components/schemas/PublicCatalogVerification"},"execution_restrictions":{"$ref":"#/components/schemas/PublicExecutionRestrictions"},"execution_constraints_supported":{"type":"array","items":{"type":"string","enum":["require_zero_quote_v1"]}},"contract_features":{"type":"array","items":{"type":"string"}}}},"PublicExecuteToolRequest":{"type":"object","title":"PublicExecuteToolRequest","required":["parameters"],"properties":{"tool_id":{"type":"string","description":"Capability id. Optional when supplied as the `tool_id` query parameter."},"search_id":{"type":"string","description":"Search id that returned the selected capability."},"session_id":{"type":"string","description":"Optional tracking and pricing-context identifier. If omitted, the service may use the execution id."},"sub_user_id":{"type":"string","minLength":1,"pattern":".*\\S.*","description":"Optional sub-user identity used consistently for provider OAuth and execution."},"model":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[^\\s\\x00-\\x1f\\x7f]+$","description":"Model that selected the capability or generated its parameters."},"parameters":{"type":"object","additionalProperties":true,"description":"Capability-specific parameters validated by the selected tool schema."},"require_zero_quote":{"type":"boolean","default":false,"description":"When true, execute only if a fresh server-side quote is exact and zero credits. Positive, dynamic, or unavailable quotes are rejected before provider dispatch. A positive actual amount after execution is not charged to the user and is returned with an executed, non-retryable settlement-review status. This is a zero-quote admission constraint; it does not guarantee that the provider's actual cost is zero."},"max_response_size":{"oneOf":[{"const":-1},{"type":"integer","minimum":1}],"default":20480,"description":"Automatic inline-delivery limit, measured as the UTF-8 byte length of serialized `result.data`. The default is 20480 when omitted; use -1 for unlimited inline delivery. An explicit `respond_with: full` takes precedence over any finite value. Summary mode may preserve lossless data or a complete overflow fallback."},"respond_with":{"type":"string","pattern":"^(full|summary|fields:.+)$","description":"Result delivery mode. When omitted, the compatibility mode uses `max_response_size` (default 20480) and may return a truncated preview plus `full_content_file_url`. Explicit `full` forces the complete `result.data` inline and takes precedence over a finite `max_response_size`; if the platform hard safety limit is exceeded, the call fails with `error_code: response_too_large` instead of silently degrading. `fields:<JSONPath,...>` returns only the selected fields — JSONPath expressions are rooted at `result.data`, comma-separated, and at least one non-empty expression is required. `summary` normally returns statistics with optional schema and download URL. It preserves lossless `data` or a `truncated_content` plus `full_content_file_url` fallback when available. Check success and field availability; the mode alone does not guarantee statistics or a URL."}}},"PublicToolStats":{"type":"object","title":"PublicToolStats","properties":{"avg_execution_time_ms":{"type":["number","null"]},"success_rate":{"type":["number","null"]},"sample_count":{"type":"integer","minimum":0},"quality_sample_count":{"type":"integer","minimum":0},"metrics_sample_count":{"type":"integer","minimum":0},"success_rate_sample_count":{"type":"integer","minimum":0},"latency_sample_count":{"type":"integer","minimum":0},"minimum_sample_count":{"type":"integer","minimum":1},"success_rate_minimum_sample_count":{"type":"integer","minimum":1},"latency_minimum_sample_count":{"type":"integer","minimum":1},"data_status":{"type":"string","enum":["available","insufficient","stale","unavailable"]},"quality_data_status":{"type":"string","enum":["available","insufficient","stale","unavailable"]},"success_rate_status":{"type":"string","enum":["available","insufficient","stale","unavailable"]},"latency_status":{"type":"string","enum":["available","insufficient","stale","unavailable"]},"metric_window":{"type":"string"},"window":{"type":"string"},"window_label":{"type":"string"},"window_start":{"type":"string","format":"date-time"},"window_end":{"type":"string","format":"date-time"},"metrics_updated_at":{"type":"string","format":"date-time"},"last_checked_at":{"type":"string","format":"date-time"}}},"PublicBillingRule":{"type":"object","title":"PublicBillingRule","additionalProperties":true,"description":"Capability billing rule used for pre-call estimation. Final settlement is reflected in usage audit and credits ledger endpoints."},"PublicVerificationCheck":{"type":"object","title":"PublicVerificationCheck","additionalProperties":false,"required":["name","status"],"properties":{"name":{"type":"string","enum":["schema","authentication","description_contract","provider_identity","permissions","freshness","live_check"]},"status":{"type":"string","enum":["missing","verifying","passed","stale","failed","restricted"]},"checked_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"evidence_digest":{"anyOf":[{"type":"string"},{"type":"null"}]},"reason":{"anyOf":[{"type":"string"},{"type":"null"}]}}},"PublicCatalogVerification":{"type":"object","title":"PublicCatalogVerification","additionalProperties":false,"description":"Fail-closed catalog verification result. Only records with every required check passed, a valid test digest, and an unexpired 24-hour evidence window are verified.","required":["status","policy_version","required_checks","checks","quality_issues"],"allOf":[{"if":{"properties":{"status":{"const":"verified"}},"required":["status"]},"then":{"required":["verified_at","expires_at","test_run_digest"],"properties":{"required_checks":{"type":"array","items":{"type":"string","enum":["schema","authentication","description_contract","provider_identity","permissions","freshness","live_check"]},"minItems":7,"maxItems":7,"uniqueItems":true,"allOf":[{"contains":{"const":"schema"},"minContains":1,"maxContains":1},{"contains":{"const":"authentication"},"minContains":1,"maxContains":1},{"contains":{"const":"description_contract"},"minContains":1,"maxContains":1},{"contains":{"const":"provider_identity"},"minContains":1,"maxContains":1},{"contains":{"const":"permissions"},"minContains":1,"maxContains":1},{"contains":{"const":"freshness"},"minContains":1,"maxContains":1},{"contains":{"const":"live_check"},"minContains":1,"maxContains":1}]},"checks":{"type":"array","minItems":7,"maxItems":7,"allOf":[{"contains":{"type":"object","required":["name","status","checked_at"],"properties":{"name":{"const":"schema"},"status":{"const":"passed"},"checked_at":{"type":"string","format":"date-time"}}},"minContains":1,"maxContains":1},{"contains":{"type":"object","required":["name","status","checked_at"],"properties":{"name":{"const":"authentication"},"status":{"const":"passed"},"checked_at":{"type":"string","format":"date-time"}}},"minContains":1,"maxContains":1},{"contains":{"type":"object","required":["name","status","checked_at"],"properties":{"name":{"const":"description_contract"},"status":{"const":"passed"},"checked_at":{"type":"string","format":"date-time"}}},"minContains":1,"maxContains":1},{"contains":{"type":"object","required":["name","status","checked_at"],"properties":{"name":{"const":"provider_identity"},"status":{"const":"passed"},"checked_at":{"type":"string","format":"date-time"}}},"minContains":1,"maxContains":1},{"contains":{"type":"object","required":["name","status","checked_at"],"properties":{"name":{"const":"permissions"},"status":{"const":"passed"},"checked_at":{"type":"string","format":"date-time"}}},"minContains":1,"maxContains":1},{"contains":{"type":"object","required":["name","status","checked_at"],"properties":{"name":{"const":"freshness"},"status":{"const":"passed"},"checked_at":{"type":"string","format":"date-time"}}},"minContains":1,"maxContains":1},{"contains":{"type":"object","required":["name","status","checked_at"],"properties":{"name":{"const":"live_check"},"status":{"const":"passed"},"checked_at":{"type":"string","format":"date-time"}}},"minContains":1,"maxContains":1}]},"verified_at":{"type":"string","format":"date-time"},"expires_at":{"type":"string","format":"date-time"},"test_run_digest":{"type":"string","pattern":"^(sha256:)?[0-9a-fA-F]{64}$"}}}}],"properties":{"status":{"type":"string","enum":["unverified","verifying","verified","stale","failed","restricted"]},"policy_version":{"type":"string"},"required_checks":{"type":"array","items":{"type":"string"}},"checks":{"type":"array","items":{"$ref":"#/components/schemas/PublicVerificationCheck"}},"verified_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"test_run_digest":{"anyOf":[{"type":"string"},{"type":"null"}]},"quality_issues":{"type":"array","items":{"type":"string"}}}},"PublicRegionRestrictions":{"type":"object","title":"PublicRegionRestrictions","additionalProperties":false,"required":["allow","deny"],"properties":{"allow":{"type":"array","items":{"type":"string"}},"deny":{"type":"array","items":{"type":"string"}}}},"PublicExecutionRestrictions":{"type":"object","title":"PublicExecutionRestrictions","additionalProperties":false,"description":"Additive readiness axes and action guidance. Discovery remains available for unknown or incomplete evidence. Explicit restrictions fail closed through blocked_actions. Missing provider restriction metadata is not an execution denial: a candidate with usable input and a fixed per-call catalog price may be called directly. The catalog price is an estimate, not a reserved quote; variable pricing still requires budget confirmation. Probe is optional unless preflight validation or a current quote is needed. Call remains subject to live authorization, availability, and billing checks.","required":["callable","eligibility","license","regions","commercial_use","warnings"],"allOf":[{"if":{"properties":{"callable":{"const":true}},"required":["callable"]},"then":{"not":{"anyOf":[{"properties":{"technical":{"const":"blocked"}},"required":["technical"]},{"properties":{"authentication":{"enum":["required","blocked"]}},"required":["authentication"]},{"properties":{"eligibility":{"enum":["required","restricted"]}},"required":["eligibility"]},{"properties":{"license":{"enum":["required","restricted"]}},"required":["license"]},{"properties":{"region_status":{"const":"blocked"}},"required":["region_status"]},{"properties":{"commercial_use":{"enum":["conditional","prohibited"]}},"required":["commercial_use"]}]}}}],"properties":{"callable":{"type":"boolean"},"eligibility":{"type":"string","enum":["unknown","not_required","required","restricted"]},"license":{"type":"string","enum":["unknown","not_required","required","approved","restricted"]},"regions":{"$ref":"#/components/schemas/PublicRegionRestrictions"},"commercial_use":{"type":"string","enum":["unknown","allowed","conditional","prohibited"]},"data_as_of":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"warnings":{"type":"array","items":{"type":"string"}},"technical":{"type":"string","enum":["unknown","ready","blocked"]},"authentication":{"type":"string","enum":["unknown","ready","required","blocked"]},"region_status":{"type":"string","enum":["unknown","ready","conditional","blocked"]},"freshness":{"type":"string","enum":["unknown","fresh","stale","failed"]},"price_certainty":{"type":"string","enum":["unknown","estimated","exact"]},"confidence":{"type":"number","minimum":0,"maximum":1},"allowed_actions":{"type":"array","items":{"type":"string"}},"blocked_actions":{"type":"array","items":{"type":"string"}},"next_action":{"type":"string"},"retryable":{"type":"boolean"}}},"PublicToolCategory":{"type":"object","title":"PublicToolCategory","additionalProperties":true,"description":"Category/tag attached to a capability.","properties":{"slug":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"}}},"PublicCapabilityTag":{"type":"object","title":"PublicCapabilityTag","additionalProperties":true,"description":"Coverage tag attached to a capability descriptor (e.g. market coverage).","properties":{"id":{"type":"string"},"name":{"type":"string"},"type":{"type":"string"},"description":{"type":"string"}}},"PublicToolCapability":{"type":"object","title":"PublicToolCapability","additionalProperties":true,"description":"Standardized capability descriptor attached to a capability result (e.g. MKT.BARS.ADJUSTED with market coverage tags).","properties":{"id":{"type":"string"},"tag":{"type":"array","items":{"$ref":"#/components/schemas/PublicCapabilityTag"}}}},"PublicCapabilityResult":{"type":"object","title":"PublicCapabilityResult","additionalProperties":false,"required":["tool_id","verification_status","verification","execution_restrictions"],"properties":{"tool_id":{"type":"string"},"name":{"type":"string"},"tool_name":{"type":"string"},"description":{"type":"string"},"updated_at":{"type":"string","description":"Catalog update timestamp when provided by the source."},"provider_id":{"type":"string"},"provider_name":{"anyOf":[{"type":"string"},{"type":"object","minProperties":1,"additionalProperties":{"type":"string"}}],"description":"Provider display name as text or a locale-keyed text map."},"provider_description":{"type":"string"},"category":{"type":"string"},"categories":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/PublicToolCategory"},{"type":"string"}]},"description":"Categories/tags attached to the capability. Current responses return category objects; legacy responses returned plain strings."},"capabilities":{"type":"array","items":{"$ref":"#/components/schemas/PublicToolCapability"},"description":"Standardized capability descriptors with coverage tags."},"catalog_capabilities":{"type":"array","maxItems":2000,"description":"Evaluated directory relationships returned by Inspect, using the same visibility and coverage rules as capability coverage. Empty means no relationships; omitted means unavailable. Independent of skill capability descriptors.","items":{"type":"object","required":["capability_id","name"],"additionalProperties":false,"properties":{"capability_id":{"type":"string","minLength":1,"maxLength":256,"pattern":"^[^/\\\\\\x00-\\x1f\\x7f]+$"},"name":{"type":"object","required":["en","zh"],"additionalProperties":false,"properties":{"en":{"type":"string"},"zh":{"type":"string"}}}}}},"catalog_capabilities_warning":{"type":"string","enum":["unavailable"],"description":"Directory relationships could not be resolved. Do not interpret missing relationships as a confirmed empty result."},"region":{"type":"string"},"score":{"type":"number"},"why_recommended":{"type":"string","description":"Human-readable explanation of why this capability was recommended for the query. Returned by Discover."},"params":{"type":["object","array","string","number","boolean","null"],"additionalProperties":{},"items":{},"description":"Provider parameter contract preserved for catalog inspection."},"parameters":{"type":["object","array","string","number","boolean","null"],"additionalProperties":{},"items":{},"description":"Alternative public input contract when supplied by the provider."},"input_schema":{"type":["object","array","string","number","boolean","null"],"additionalProperties":{},"items":{},"description":"Provider input schema used by catalog verification."},"parameters_schema":{"type":["object","array","string","number","boolean","null"],"additionalProperties":{},"items":{},"description":"Provider parameter schema used by catalog verification."},"query_params":{"type":["object","array","string","number","boolean","null"],"additionalProperties":{},"items":{},"description":"Provider query-parameter contract used by catalog verification."},"body_params":{"type":["object","array","string","number","boolean","null"],"additionalProperties":{},"items":{},"description":"Provider request-body parameter contract used by catalog verification."},"requestBody":{"type":["object","array","string","number","boolean","null"],"additionalProperties":{},"items":{},"description":"OpenAPI request body contract used by catalog verification."},"output_schema":{"type":["object","array","string","number","boolean","null"],"additionalProperties":{},"items":{},"description":"Public output schema advertised by the capability when available."},"examples":{"type":"object","additionalProperties":true},"stats":{"$ref":"#/components/schemas/PublicToolStats"},"has_last_execution":{"type":"boolean","description":"Whether the capability has a recorded execution used as a bounded verification signal."},"expected_cost":{"type":"string","description":"Pre-call cost estimate returned by Discover/Inspect when available."},"cost":{"anyOf":[{"type":"number"},{"type":"string"}],"description":"Legacy cost estimate. Prefer `expected_cost` and `billing_rule` for pre-call display."},"billing_rule":{"$ref":"#/components/schemas/PublicBillingRule"},"calls_count":{"type":"string"},"verification_status":{"type":"string","enum":["unverified","verifying","verified","stale","failed","restricted"]},"verification":{"$ref":"#/components/schemas/PublicCatalogVerification"},"execution_restrictions":{"$ref":"#/components/schemas/PublicExecutionRestrictions"},"capability":{"type":"string","description":"Compact capability summary. Returned instead of the full descriptor fields when the request sets `view: routing`."},"cost_class":{"type":"string","description":"Coarse cost tier (e.g. `low`). Returned by the `routing` view."},"reliability":{"type":"string","description":"Coarse reliability grade (e.g. `A`). Returned by the `routing` view."},"as_of_support":{"type":"boolean","description":"Whether the capability supports as-of/point-in-time queries. Returned by the `routing` view."}}},"PublicSearchResponse":{"type":"object","title":"PublicSearchResponse","additionalProperties":false,"required":["query","search_id","total","results"],"properties":{"query":{"type":"string"},"search_id":{"type":"string"},"total":{"type":"integer"},"results":{"type":"array","items":{"$ref":"#/components/schemas/PublicCapabilityResult"}},"elapsed_time_ms":{"type":"number"},"remaining_credits":{"anyOf":[{"type":"number"},{"type":"null"}]},"error_message":{"anyOf":[{"type":"string"},{"type":"null"}]},"contract_warnings":{"type":"array","items":{"type":"string"}},"contract_features":{"type":"array","items":{"type":"string"}}}},"PublicInspectResponse":{"type":"object","title":"PublicInspectResponse","additionalProperties":false,"required":["search_id","total","results"],"properties":{"search_id":{"type":"string"},"total":{"type":"integer"},"results":{"type":"array","items":{"$ref":"#/components/schemas/PublicCapabilityResult"}},"elapsed_time_ms":{"type":"number"},"remaining_credits":{"anyOf":[{"type":"number"},{"type":"null"}]},"error_message":{"anyOf":[{"type":"string"},{"type":"null"}]},"contract_warnings":{"type":"array","items":{"type":"string"}},"contract_features":{"type":"array","items":{"type":"string"}}}},"PublicExecuteResult":{"type":"object","title":"PublicExecuteResult","additionalProperties":true,"allOf":[{"if":{"required":["respond_with"],"properties":{"respond_with":{"const":"summary"}}},"then":{"anyOf":[{"required":["summary"]},{"required":["data"]},{"required":["truncated_content","full_content_file_url"]}]}},{"if":{"required":["respond_with"],"properties":{"respond_with":{"type":"string","pattern":"^fields:"}}},"then":{"oneOf":[{"required":["data"],"not":{"anyOf":[{"required":["truncated_content"]},{"required":["full_content_file_url"]}]}},{"required":["truncated_content","full_content_file_url"],"not":{"required":["data"]}}]}}],"properties":{"data":{},"message":{"type":"string"},"truncated_content":{"type":"string","description":"UTF-8-safe preview used by automatic, oversized fields, or summary fallback delivery; never present on a successful explicit full response."},"full_content_file_url":{"type":"string","format":"uri","description":"Temporary signed URL used by automatic overflow, fields overflow, or summary delivery; never substitutes for data on a successful explicit full response."},"content_schema":{"type":"object","additionalProperties":true},"respond_with":{"type":"string","description":"Echo of the requested projection mode when `respond_with` was set (e.g. `summary`)."},"summary":{"type":"object","additionalProperties":true,"description":"Size and shape statistics returned by the `summary` projection.","properties":{"size_bytes":{"type":"integer"},"row_count":{"type":"integer"},"fields":{"type":"array","items":{"type":"string"}}}}}},"PublicCompactBillingStatement":{"type":"object","title":"PublicCompactBillingStatement","additionalProperties":false,"properties":{"summary":{"type":"string"},"list_amount_credits":{"type":"number"},"final_amount_credits":{"type":"number"},"recorded_amount_credits":{"type":"number"},"settlement_state":{"type":"string"},"settlement_status":{"type":"string"},"execution_intent_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"charge_event_id":{"anyOf":[{"type":"string"},{"type":"null"}]}}},"PublicZeroQuoteSettlementReview":{"type":"object","title":"PublicZeroQuoteSettlementReview","additionalProperties":false,"required":["execution_status","settlement_status","reason_code","quoted_amount_credits","reported_actual_amount_credits","user_charge_amount_credits","settlement_owner","retryable","next_action"],"properties":{"execution_status":{"const":"executed"},"settlement_status":{"const":"review_required"},"reason_code":{"const":"settlement.zero_quote_actual_positive"},"quoted_amount_credits":{"type":"string"},"reported_actual_amount_credits":{"type":"string"},"user_charge_amount_credits":{"type":"string"},"settlement_owner":{"type":"string","enum":["legacy","billing","website_usage"]},"retryable":{"const":false},"next_action":{"const":"manual_settlement_review"}}},"PublicExecuteToolResponse":{"type":"object","title":"PublicExecuteToolResponse","additionalProperties":false,"required":["execution_id","result","success"],"properties":{"execution_id":{"type":"string"},"result":{"description":"Capability result. Projected responses use the documented object shape; default/full responses may contain any JSON value.","anyOf":[{"$ref":"#/components/schemas/PublicExecuteResult"},{"type":"array","items":{}},{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"}]},"success":{"type":"boolean","description":"Reports whether provider execution succeeded. When settlement_review is present, clients must keep the request in manual review instead of marking the task complete or retrying it."},"error_code":{"type":"string","description":"Stable machine-readable failure code, including `response_too_large` when explicit full exceeds the platform hard safety limit."},"error_message":{"anyOf":[{"type":"string"},{"type":"null"}]},"execution_time":{"type":"number"},"elapsed_time_ms":{"type":"number"},"billing":{"$ref":"#/components/schemas/PublicCompactBillingStatement"},"settlement_review":{"anyOf":[{"$ref":"#/components/schemas/PublicZeroQuoteSettlementReview"},{"type":"null"}],"default":null,"description":"Present when a zero-quote admitted execution reports a positive actual amount and requires manual settlement review."},"cost":{"type":"number"},"remaining_credits":{"anyOf":[{"type":"number"},{"type":"null"}]},"details":{"type":"array","description":"Field-level validation failures. Present when a request parameter or projection such as `respond_with` is invalid.","items":{"$ref":"#/components/schemas/ValidationError"}}}},"PublicReadDiscoverRequest":{"additionalProperties":false,"properties":{"query":{"maxLength":1024,"minLength":1,"title":"Query","type":"string"},"limit":{"default":10,"maximum":20,"minimum":1,"title":"Limit","type":"integer"},"view":{"default":"full","pattern":"^(full|routing)$","title":"View","type":"string"}},"required":["query"],"title":"PublicDiscoverRequest","type":"object"},"PublicReadInspectRequest":{"additionalProperties":false,"properties":{"tool_ids":{"items":{"type":"string"},"maxItems":10,"minItems":1,"title":"Tool Ids","type":"array"},"search_id":{"anyOf":[{"pattern":"^pub_[0-9a-f-]{36}$","type":"string"},{"type":"null"}],"default":null,"title":"Search Id"},"view":{"default":"full","pattern":"^(full|routing)$","title":"View","type":"string"}},"required":["tool_ids"],"title":"PublicInspectRequest","type":"object"}},"securitySchemes":{"OAuth2PasswordBearer":{"type":"oauth2","flows":{"password":{"scopes":{},"tokenUrl":"/api/v1/auth/login"}}},"HTTPBearer":{"type":"http","scheme":"bearer"},"AgentTrialPossession":{"type":"http","description":"A privately persisted 32-byte base64url Agent trial possession token; not an API key, OAuth token or browser cookie.","scheme":"bearer"},"OAuthClientBasic":{"type":"http","scheme":"basic","description":"HTTP Basic client authentication. Required for Token Exchange and Introspection; supported by confidential clients on Device Authorization and Revocation."},"OAuthAccountBearer":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"OAuth Account Resource Access Token. The token audience must be the configured Account Resource. Audit endpoints require their dedicated `usage_history` or `credits_ledger` scope as documented by the operation."}}},"servers":[{"url":"https://qveris.ai/api/v1","description":"QVeris API"}],"tags":[{"name":"Metadata","description":"Unauthenticated API contract metadata for client compatibility checks."},{"name":"Discovery","description":"Search and provider discovery APIs that are released for enterprise integration."},{"name":"Tool Execution","description":"Tool metadata lookup and execution."},{"name":"Capabilities","description":"Stable CAP contract inspection and budget-aware execution."},{"name":"Account","description":"Credits, usage audit, and billing ledger APIs."},{"name":"Authentication","description":"OAuth Device Flow, token issuance and exchange, introspection, and revocation."},{"name":"Agent Lifecycle","description":"Anonymous agent trial registration and claim operations."}],"x-qveris-route-count":44,"x-qveris-public-operation-count":44,"x-qveris-private-operation-count":0,"x-qveris-generation-source":"Filtered from qveris-internal-api.openapi.json"}