{"openapi":"3.1.0","info":{"title":"OneShot Agent API","version":"1.0.0","description":"Tools, payments, and compute orchestration for autonomous AI agents.\n\n## Authentication\n\n- **`x402Payment`** — paid tool endpoints use the [x402 payment protocol](https://x402.io).\n  First call returns `402 Payment Required` with a quote; sign and resend the request\n  with `payment-signature: <base64 x402 payment>` and `X-Quote-ID: <quote_id>`.\n- **`agentId`** — free read-only endpoints accept `X-Agent-ID: <wallet>` (0x… address).\n- **`soulKey`** — soul marketplace seller dashboard uses `Authorization: Bearer soul_…`\n  (issued by `POST /v1/soul/register`).\n- **`acpBearer`** — Stripe ACP checkout sessions use a separate bearer token plus the\n  `API-Version: 2026-01-30` header.\n\n## Async tools & polling\n\nMost tool endpoints return `202 Accepted` with `{ request_id, tool, status }`. Poll\n`GET /v1/requests/{id}` (with the same `X-Agent-ID`) to retrieve the final result.\nA WebSocket fallback is available at `wss://<host>/v1/requests/subscribe`.\n\n## Pricing\n\nPrices are listed at [docs.oneshotagent.com/pricing](https://docs.oneshotagent.com/pricing).\nA wallet (x402) call returns its exact price in the 402 quote before anything is charged.\nCalls paid from prepaid credits (access-token sessions, and the phone number purchase at\n`POST /v1/tools/voice/numbers`) debit the credit balance when the request is accepted, before the work runs\n(`200` for a synchronous lookup, `201` for the number purchase, `202` for a queued job),\nand answer `402 insufficient_credits` with nothing charged or bought when the balance cannot cover it.\n\n## Error format\n\n`{ \"error\": \"<machine_code>\", \"message\": \"<human readable>\", \"details\": <optional> }`.\nValidation errors include a `details` field with the failing field paths.\n\nStaging requires approved X-Staging-Key access, with a daily usage cap per tester and across all testers, valued at production prices. Sepolia charges remain unchanged. Use HTTP job polling; wallet-only WebSocket subscriptions are disabled.","x-guidance":"POST JSON to a tool endpoint. The first call returns 402 Payment Required with the price; sign the x402 USDC payment and resend. Most tools answer 202 with a request_id: poll GET /v1/requests/{id} for the result.","contact":{"name":"OneShot","url":"https://oneshotagent.com","email":"support@oneshotagent.com"},"license":{"name":"LicenseRef-Proprietary","url":"https://oneshotagent.com/terms"},"termsOfService":"https://oneshotagent.com/terms"},"servers":[{"url":"https://api-stg.oneshotagent.com","description":"Staging (Base Sepolia; approved access required)"}],"tags":[{"name":"Email","description":"Send and receive email"},{"name":"SMS","description":"Send and receive SMS"},{"name":"Voice","description":"AI voice calls"},{"name":"Research","description":"Web research and people/company discovery"},{"name":"Enrichment","description":"Profile and contact enrichment"},{"name":"Verification","description":"Email and identity verification"},{"name":"Search","description":"Web search and page reading"},{"name":"Lookups","description":"Single-call lookups of public records and reference data"},{"name":"Commerce","description":"Product search and purchase"},{"name":"Build","description":"Generate websites and digital assets"},{"name":"Browser","description":"Browser automation and persistent profiles"},{"name":"Connected systems","description":"Reads on business systems the customer connected"},{"name":"Balance","description":"Agent balance and credits"},{"name":"Notifications","description":"Agent notifications"},{"name":"Budgets","description":"Per-agent spend caps and alerts"},{"name":"Access Tokens","description":"Revocable, credits-only credentials for hosted agents"},{"name":"MCP","description":"Hosted Model Context Protocol endpoint (Streamable HTTP)"},{"name":"Inbox","description":"Inbound email and SMS"},{"name":"Soul Marketplace","description":"Browse souls, hire services, manage your soul"},{"name":"Compute","description":"Multi-step goal orchestration"},{"name":"Credits","description":"Prepaid credit balance used by access-token sessions"},{"name":"Analytics","description":"Spend, ROCS, and receipts"},{"name":"Audit","description":"Authenticated receipt exports for audit and compliance"},{"name":"Jobs","description":"Async job status polling"},{"name":"Stripe ACP","description":"Stripe Agent Commerce Protocol checkout"},{"name":"Meta","description":"Health and stats"},{"name":"Staging","description":"Apply, poll approval and obtain staging credentials"}],"externalDocs":{"description":"OneShot documentation","url":"https://docs.oneshotagent.com"},"components":{"securitySchemes":{"x402Payment":{"type":"apiKey","in":"header","name":"payment-signature","description":"x402 payment proof. Send `payment-signature: <base64 x402 payment>` and `X-Quote-ID: <quote_id>` after first calling the endpoint to receive a 402 quote. See https://x402.io for the protocol spec."},"soulKey":{"type":"http","scheme":"bearer","bearerFormat":"soul_key","description":"Soul seller API key. Format: `Authorization: Bearer soul_<key>`. Obtained via POST /v1/soul/register."},"accessToken":{"type":"http","scheme":"bearer","bearerFormat":"oneshot_<64 hex>","description":"Agent access token: `Authorization: Bearer oneshot_<64 hex>`. A revocable, credits-only credential for agents that run where the wallet key cannot be (hosted MCP clients, cloud runners). Minted by the wallet holder via POST /v1/agents/me/access-tokens. Identifies the agent on every /v1 route in place of X-Agent-ID + x-agent-proof; paid calls are billed to the agent's credit balance (402 `insufficient_credits` when it cannot cover the price) and count against the stored daily budget. Cannot change budgets or mint other tokens."},"agentId":{"type":"apiKey","in":"header","name":"X-Agent-ID","description":"Agent wallet address (0x…) or agent UUID. Used for free read-only endpoints."},"agentProof":{"type":"apiKey","in":"header","name":"x-agent-proof","description":"Base64 JSON `{ agent, scope, issuedAt, nonce, signature }` where `signature` is an EIP-712 signature (domain `{ name: \"OneShot Agent Auth\", version: \"1\" }`, type `AgentReadAuth { agent: address, scope: string, issuedAt: uint256, nonce: bytes32 }`) by the `X-Agent-ID` wallet. `scope` is `read` for reads and `write` for mutations. Proves wallet ownership — the address alone is public. Single-use nonce, 5-minute freshness. The SDKs sign this automatically (TypeScript ≥ 0.25.0, Python ≥ 0.17.0; compute goal routes need TypeScript ≥ 0.44.0, Python ≥ 0.34.0). Required: a request without a valid proof (or an access token) is rejected with 401 `proof_required`. When the single-use nonce store is unavailable the proof cannot be checked and the request is refused with 503 `proof_store_unavailable` (`Retry-After` set); retry shortly. See https://docs.oneshotagent.com/sdk/overview#read-authentication"},"acpBearer":{"type":"http","scheme":"bearer","description":"Stripe Agent Commerce Protocol bearer token. Format: `Authorization: Bearer <your ACP token>`. ACP routes also require an `API-Version` header (currently `2026-01-30`)."},"stagingKey":{"type":"apiKey","in":"header","name":"X-Staging-Key","description":"Staging access key. Access must be approved and it expires. Usage is limited to $2/day per tester by default and $10/day across all testers, counted at production prices. What you pay on Sepolia is unchanged."}},"schemas":{"PersonDossierCompleted":{"type":"object","properties":{"status":{"type":"string","enum":["completed"]},"result":{"type":"object","properties":{"profile":{"type":"object","properties":{"state":{"type":"string","enum":["found"]},"data":{"type":"object","properties":{"full_name":{"type":["string","null"]},"first_name":{"type":["string","null"]},"last_name":{"type":["string","null"]},"title":{"type":["string","null"]},"company":{"type":["string","null"]},"company_domain":{"type":["string","null"]},"linkedin_url":{"type":["string","null"]},"location":{"type":["string","null"]},"email":{"type":["string","null"]},"phone":{"type":["string","null"]},"summary":{"type":["string","null"]},"social_accounts":{"type":"array","items":{"type":"object","properties":{"platform":{"type":"string"},"url":{"type":"string"},"handle":{"type":["string","null"]}},"required":["platform","url","handle"],"additionalProperties":false}}},"required":["full_name","first_name","last_name","title","company","company_domain","linkedin_url","location","email","phone","summary","social_accounts"],"description":"The same fields returned by person_profile; linkedin_url remains in place."}},"required":["state","data"],"additionalProperties":false},"social_accounts":{"type":"object","properties":{"state":{"type":"string","enum":["found","none","unavailable"]},"data":{"type":"array","items":{"type":"object","properties":{"platform":{"type":"string"},"url":{"type":"string"},"handle":{"type":["string","null"]}},"required":["platform","url","handle"],"additionalProperties":false}}},"required":["state","data"],"additionalProperties":false},"articles":{"type":"object","properties":{"state":{"type":"string","enum":["found","none","unavailable"]},"data":{"type":"array","items":{"type":"object","properties":{"title":{"type":["string","null"]},"url":{"type":["string","null"]},"source":{"type":["string","null"]},"published_date":{"type":["string","null"]},"snippet":{"type":["string","null"]}},"required":["title","url","source","published_date","snippet"],"additionalProperties":false}}},"required":["state","data"],"additionalProperties":false},"posts":{"type":"object","properties":{"state":{"type":"string","enum":["found","none","unavailable"]},"data":{"type":"array","items":{"type":"object","properties":{"platform":{"type":["string","null"]},"content":{"type":["string","null"]},"url":{"type":["string","null"]},"posted_at":{"type":["string","null"]}}},"maxItems":10}},"required":["state","data"],"additionalProperties":false},"summary":{"type":"string","minLength":1,"description":"Written only from these four sections, with section citations. One line when only the profile was found. Summary unavailable if the model fails."}},"required":["profile","social_accounts","articles","posts","summary"],"additionalProperties":false},"request_id":{"type":["string","null"]},"completed_at":{"type":"string"},"receipt_id":{"type":"string"},"cost":{"type":"number"},"memo":{"type":"string"},"decisionContext":{"type":"object","additionalProperties":{}}},"required":["status","result","request_id","completed_at"],"additionalProperties":false},"CompanyDossierCompleted":{"type":"object","properties":{"request_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"completed_at":{"type":"string"},"partial":{"type":"boolean","description":"true when the goal ended (deadline or budget) before submitting a complete result: this is the best valid result it submitted"},"end_reason":{"type":"string","description":"Why the goal ended: check_passed for a complete result, otherwise deadline_passed, budget_exhausted, check_failed or planner_failed"},"result":{"type":"object","properties":{"identifiers":{"anyOf":[{"type":"object","properties":{"state":{"type":"string","enum":["found"]},"legal_name":{"type":["string","null"]},"domain":{"type":["string","null"]},"lei":{"type":["string","null"],"description":"Legal entity identifier"},"usdot":{"type":["string","null"],"description":"USDOT number"},"mc":{"type":["string","null"],"description":"Motor carrier (MC) number"},"sec_cik":{"type":["string","null"],"description":"SEC Central Index Key"},"sam_uei":{"type":["string","null"],"description":"Unique entity id of federal awards"},"state_registry":{"type":["array","null"],"items":{"type":"object","properties":{"state":{"type":"string","pattern":"^[A-Z]{2}$"},"number":{"type":"string","minLength":1}},"required":["state","number"],"additionalProperties":false},"minItems":1,"maxItems":20,"description":"State business registry numbers, one per state"},"sources":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"minItems":1,"maxItems":50,"description":"The source id of each lookup, or the URL of each page read, the identifiers come from"}},"required":["state","legal_name","domain","lei","usdot","mc","sec_cik","sam_uei","state_registry","sources"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","enum":["ambiguous"]},"candidates":{"type":"array","items":{"type":"object","properties":{"legal_name":{"type":"string","minLength":1},"state":{"type":["string","null"],"pattern":"^[A-Z]{2}$"},"domain":{"type":["string","null"]},"identifiers":{"type":"object","properties":{"lei":{"type":["string","null"],"description":"Legal entity identifier"},"usdot":{"type":["string","null"],"description":"USDOT number"},"mc":{"type":["string","null"],"description":"Motor carrier (MC) number"},"sec_cik":{"type":["string","null"],"description":"SEC Central Index Key"},"sam_uei":{"type":["string","null"],"description":"Unique entity id of federal awards"},"state_registry":{"type":["array","null"],"items":{"type":"object","properties":{"state":{"type":"string","pattern":"^[A-Z]{2}$"},"number":{"type":"string","minLength":1}},"required":["state","number"],"additionalProperties":false},"minItems":1,"maxItems":20,"description":"State business registry numbers, one per state"}},"required":["lei","usdot","mc","sec_cik","sam_uei","state_registry"],"additionalProperties":false},"sources":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"minItems":1,"maxItems":50}},"required":["legal_name","state","domain","identifiers","sources"],"additionalProperties":false},"minItems":2,"maxItems":10,"description":"Each plausible company the name matched"},"sources":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"minItems":1,"maxItems":50}},"required":["state","candidates","sources"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","enum":["unavailable"]},"sources":{"type":"array","items":{"type":"string"},"maxItems":0}},"required":["state","sources"],"additionalProperties":false}],"description":"The company's identifiers. State: found when one company was resolved, ambiguous when more than one plausible company matched (every other section is then none), unavailable when resolution could not run."},"identity":{"anyOf":[{"type":"object","properties":{"state":{"type":"string","enum":["found"]},"data":{"type":"object","properties":{"legal_name":{"type":"string","minLength":1},"other_names":{"type":"array","items":{"type":"string"},"maxItems":20},"domain":{"type":["string","null"]},"phone":{"type":["string","null"]},"entity_type":{"type":["string","null"],"description":"Corporation, LLC, partnership and so on"},"state_of_formation":{"type":["string","null"]}},"required":["legal_name","other_names","domain","phone","entity_type","state_of_formation"],"additionalProperties":false},"sources":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"minItems":1,"maxItems":50,"description":"The source id of each lookup (its step on the request's receipt), or the URL of each page read, the record comes from"}},"required":["state","data","sources"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","enum":["none","unavailable"]},"data":{"type":"null"},"sources":{"type":"array","items":{"type":"string"},"maxItems":0}},"required":["state","data","sources"],"additionalProperties":false}],"description":"Who the company is. State: found when the section has entries, none when the lookups ran and found nothing, unavailable when they could not run."},"locations":{"anyOf":[{"type":"object","properties":{"state":{"type":"string","enum":["found"]},"entries":{"type":"array","items":{"type":"object","properties":{"address":{"type":"string","minLength":1},"latitude":{"type":["number","null"]},"longitude":{"type":["number","null"]},"county":{"type":["string","null"]},"kind":{"type":"string","enum":["head_office","site","yard"]},"matched_on":{"type":"array","items":{"type":"string","enum":["domain","lei","usdot","mc","sec_cik","sam_uei","state_registry","address","name_and_state"]},"maxItems":9,"description":"What ties this entry to the company: identifiers it shares with `identifiers` (domain, lei, usdot, mc, sec_cik, sam_uei, state_registry), address (never in locations) when its address is that of a listed location tied by an identifier, and name_and_state only in news beside another basis"}},"required":["address","latitude","longitude","county","kind","matched_on"],"additionalProperties":false},"minItems":1,"maxItems":50},"sources":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"minItems":1,"maxItems":50,"description":"The source id of each lookup (its step on the request's receipt), or the URL of each page read, the entries come from"}},"required":["state","entries","sources"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","enum":["none","unavailable"]},"entries":{"type":"array","items":{"type":"object","properties":{"address":{"type":"string","minLength":1},"latitude":{"type":["number","null"]},"longitude":{"type":["number","null"]},"county":{"type":["string","null"]},"kind":{"type":"string","enum":["head_office","site","yard"]},"matched_on":{"type":"array","items":{"type":"string","enum":["domain","lei","usdot","mc","sec_cik","sam_uei","state_registry","address","name_and_state"]},"maxItems":9,"description":"What ties this entry to the company: identifiers it shares with `identifiers` (domain, lei, usdot, mc, sec_cik, sam_uei, state_registry), address (never in locations) when its address is that of a listed location tied by an identifier, and name_and_state only in news beside another basis"}},"required":["address","latitude","longitude","county","kind","matched_on"],"additionalProperties":false},"maxItems":0},"sources":{"type":"array","items":{"type":"string"},"maxItems":0}},"required":["state","entries","sources"],"additionalProperties":false}],"description":"Where it is. Each entry lists in matched_on what ties it to the company. State: found when the section has entries, none when the lookups ran and found nothing, unavailable when they could not run."},"operations":{"anyOf":[{"type":"object","properties":{"state":{"type":"string","enum":["found"]},"data":{"type":"object","properties":{"industry":{"type":["string","null"]},"description":{"type":["string","null"],"description":"What it does, in one sentence"},"employees":{"type":["integer","null"],"minimum":0},"fleet_size":{"type":["integer","null"],"minimum":0}},"required":["industry","description","employees","fleet_size"],"additionalProperties":false},"sources":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"minItems":1,"maxItems":50,"description":"The source id of each lookup (its step on the request's receipt), or the URL of each page read, the record comes from"}},"required":["state","data","sources"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","enum":["none","unavailable"]},"data":{"type":"null"},"sources":{"type":"array","items":{"type":"string"},"maxItems":0}},"required":["state","data","sources"],"additionalProperties":false}],"description":"What it does and how big it is. State: found when the section has entries, none when the lookups ran and found nothing, unavailable when they could not run."},"licences_and_registrations":{"anyOf":[{"type":"object","properties":{"state":{"type":"string","enum":["found"]},"entries":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","minLength":1},"number":{"type":["string","null"]},"issuer":{"type":["string","null"]},"status":{"type":["string","null"]},"expiry":{"type":["string","null"]},"address":{"type":["string","null"],"description":"The company address this record gives, required when matched_on lists address"},"matched_on":{"type":"array","items":{"type":"string","enum":["domain","lei","usdot","mc","sec_cik","sam_uei","state_registry","address","name_and_state"]},"maxItems":9,"description":"What ties this entry to the company: identifiers it shares with `identifiers` (domain, lei, usdot, mc, sec_cik, sam_uei, state_registry), address (never in locations) when its address is that of a listed location tied by an identifier, and name_and_state only in news beside another basis"}},"required":["kind","number","issuer","status","expiry","matched_on"],"additionalProperties":false},"minItems":1,"maxItems":75},"sources":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"minItems":1,"maxItems":100,"description":"The source id of each lookup (its step on the request's receipt), or the URL of each page read, the entries come from"}},"required":["state","entries","sources"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","enum":["none","unavailable"]},"entries":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","minLength":1},"number":{"type":["string","null"]},"issuer":{"type":["string","null"]},"status":{"type":["string","null"]},"expiry":{"type":["string","null"]},"address":{"type":["string","null"],"description":"The company address this record gives, required when matched_on lists address"},"matched_on":{"type":"array","items":{"type":"string","enum":["domain","lei","usdot","mc","sec_cik","sam_uei","state_registry","address","name_and_state"]},"maxItems":9,"description":"What ties this entry to the company: identifiers it shares with `identifiers` (domain, lei, usdot, mc, sec_cik, sam_uei, state_registry), address (never in locations) when its address is that of a listed location tied by an identifier, and name_and_state only in news beside another basis"}},"required":["kind","number","issuer","status","expiry","matched_on"],"additionalProperties":false},"maxItems":0},"sources":{"type":"array","items":{"type":"string"},"maxItems":0}},"required":["state","entries","sources"],"additionalProperties":false}],"description":"Licences and registrations it holds. Resolved identifiers are added automatically. Each entry lists in matched_on what ties it to the company. State: found when the section has entries, none when the lookups ran and found nothing, unavailable when they could not run."},"legal":{"anyOf":[{"type":"object","properties":{"state":{"type":"string","enum":["found"]},"entries":{"type":"array","items":{"type":"object","properties":{"court":{"type":["string","null"]},"date":{"type":["string","null"]},"case_name":{"type":"string","minLength":1},"docket":{"type":["string","null"]},"url":{"type":["string","null"]},"address":{"type":["string","null"],"description":"The company address this record gives, required when matched_on lists address"},"matched_on":{"type":"array","items":{"type":"string","enum":["domain","lei","usdot","mc","sec_cik","sam_uei","state_registry","address","name_and_state"]},"maxItems":9,"description":"What ties this entry to the company: identifiers it shares with `identifiers` (domain, lei, usdot, mc, sec_cik, sam_uei, state_registry), address (never in locations) when its address is that of a listed location tied by an identifier, and name_and_state only in news beside another basis"}},"required":["court","date","case_name","docket","url","matched_on"],"additionalProperties":false},"minItems":1,"maxItems":50},"sources":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"minItems":1,"maxItems":50,"description":"The source id of each lookup (its step on the request's receipt), or the URL of each page read, the entries come from"}},"required":["state","entries","sources"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","enum":["none","unavailable"]},"entries":{"type":"array","items":{"type":"object","properties":{"court":{"type":["string","null"]},"date":{"type":["string","null"]},"case_name":{"type":"string","minLength":1},"docket":{"type":["string","null"]},"url":{"type":["string","null"]},"address":{"type":["string","null"],"description":"The company address this record gives, required when matched_on lists address"},"matched_on":{"type":"array","items":{"type":"string","enum":["domain","lei","usdot","mc","sec_cik","sam_uei","state_registry","address","name_and_state"]},"maxItems":9,"description":"What ties this entry to the company: identifiers it shares with `identifiers` (domain, lei, usdot, mc, sec_cik, sam_uei, state_registry), address (never in locations) when its address is that of a listed location tied by an identifier, and name_and_state only in news beside another basis"}},"required":["court","date","case_name","docket","url","matched_on"],"additionalProperties":false},"maxItems":0},"sources":{"type":"array","items":{"type":"string"},"maxItems":0}},"required":["state","entries","sources"],"additionalProperties":false}],"description":"Court cases naming it. Each entry lists in matched_on what ties it to the company. State: found when the section has entries, none when the lookups ran and found nothing, unavailable when they could not run."},"regulatory":{"anyOf":[{"type":"object","properties":{"state":{"type":"string","enum":["found"]},"entries":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["environmental_compliance","safety_rating","sanctions"]},"finding":{"type":"string","minLength":1},"as_of":{"type":["string","null"]},"address":{"type":["string","null"],"description":"The company address this record gives, required when matched_on lists address"},"matched_on":{"type":"array","items":{"type":"string","enum":["domain","lei","usdot","mc","sec_cik","sam_uei","state_registry","address","name_and_state"]},"maxItems":9,"description":"What ties this entry to the company: identifiers it shares with `identifiers` (domain, lei, usdot, mc, sec_cik, sam_uei, state_registry), address (never in locations) when its address is that of a listed location tied by an identifier, and name_and_state only in news beside another basis"}},"required":["kind","finding","as_of","matched_on"],"additionalProperties":false},"minItems":1,"maxItems":50},"sources":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"minItems":1,"maxItems":50,"description":"The source id of each lookup (its step on the request's receipt), or the URL of each page read, the entries come from"}},"required":["state","entries","sources"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","enum":["none","unavailable"]},"entries":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["environmental_compliance","safety_rating","sanctions"]},"finding":{"type":"string","minLength":1},"as_of":{"type":["string","null"]},"address":{"type":["string","null"],"description":"The company address this record gives, required when matched_on lists address"},"matched_on":{"type":"array","items":{"type":"string","enum":["domain","lei","usdot","mc","sec_cik","sam_uei","state_registry","address","name_and_state"]},"maxItems":9,"description":"What ties this entry to the company: identifiers it shares with `identifiers` (domain, lei, usdot, mc, sec_cik, sam_uei, state_registry), address (never in locations) when its address is that of a listed location tied by an identifier, and name_and_state only in news beside another basis"}},"required":["kind","finding","as_of","matched_on"],"additionalProperties":false},"maxItems":0},"sources":{"type":"array","items":{"type":"string"},"maxItems":0}},"required":["state","entries","sources"],"additionalProperties":false}],"description":"Environmental compliance, safety rating and sanctions results. Each entry lists in matched_on what ties it to the company. State: found when the section has entries, none when the lookups ran and found nothing, unavailable when they could not run."},"people":{"anyOf":[{"type":"object","properties":{"state":{"type":"string","enum":["found"]},"entries":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"name":{"type":"string","minLength":1},"title":{"type":["string","null"]},"seniority":{"type":["string","null"],"description":"One of owner, founder, c_suite, vp"},"profile_url":{"type":["string","null"]},"matched_on":{"type":"array","items":{"type":"string","enum":["domain","sec_cik","lei"]},"maxItems":3,"description":"What ties this person to the company: domain when their employer domain is identifiers.domain, sec_cik or lei when their employer record carries that identifier of `identifiers`. Never their name"},"email":{"type":"string","minLength":3,"maxLength":320,"description":"Work email"},"email_status":{"type":"string","enum":["valid","catch_all","unknown","unchecked"],"description":"valid when deliverable, catch_all when the domain accepts every address, unknown when the check was inconclusive, unchecked when no status check ran"}},"required":["name","title","seniority","profile_url","matched_on","email","email_status"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string","minLength":1},"title":{"type":["string","null"]},"seniority":{"type":["string","null"],"description":"One of owner, founder, c_suite, vp"},"profile_url":{"type":["string","null"]},"matched_on":{"type":"array","items":{"type":"string","enum":["domain","sec_cik","lei"]},"maxItems":3,"description":"What ties this person to the company: domain when their employer domain is identifiers.domain, sec_cik or lei when their employer record carries that identifier of `identifiers`. Never their name"},"email":{"type":"null"},"email_status":{"type":"null"}},"required":["name","title","seniority","profile_url","matched_on","email","email_status"],"additionalProperties":false}]},"minItems":1,"maxItems":5},"sources":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"minItems":1,"maxItems":50,"description":"The source id of each lookup (its step on the request's receipt), or the URL of each page read, the entries come from"}},"required":["state","entries","sources"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","enum":["none","unavailable"]},"entries":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"name":{"type":"string","minLength":1},"title":{"type":["string","null"]},"seniority":{"type":["string","null"],"description":"One of owner, founder, c_suite, vp"},"profile_url":{"type":["string","null"]},"matched_on":{"type":"array","items":{"type":"string","enum":["domain","sec_cik","lei"]},"maxItems":3,"description":"What ties this person to the company: domain when their employer domain is identifiers.domain, sec_cik or lei when their employer record carries that identifier of `identifiers`. Never their name"},"email":{"type":"string","minLength":3,"maxLength":320,"description":"Work email"},"email_status":{"type":"string","enum":["valid","catch_all","unknown","unchecked"],"description":"valid when deliverable, catch_all when the domain accepts every address, unknown when the check was inconclusive, unchecked when no status check ran"}},"required":["name","title","seniority","profile_url","matched_on","email","email_status"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string","minLength":1},"title":{"type":["string","null"]},"seniority":{"type":["string","null"],"description":"One of owner, founder, c_suite, vp"},"profile_url":{"type":["string","null"]},"matched_on":{"type":"array","items":{"type":"string","enum":["domain","sec_cik","lei"]},"maxItems":3,"description":"What ties this person to the company: domain when their employer domain is identifiers.domain, sec_cik or lei when their employer record carries that identifier of `identifiers`. Never their name"},"email":{"type":"null"},"email_status":{"type":"null"}},"required":["name","title","seniority","profile_url","matched_on","email","email_status"],"additionalProperties":false}]},"maxItems":0},"sources":{"type":"array","items":{"type":"string"},"maxItems":0}},"required":["state","entries","sources"],"additionalProperties":false}],"description":"Key people, the most senior first, with their work email. Left out when include_people is false. Each entry lists in matched_on what ties it to the company. State: found when the section has entries, none when the lookups ran and found nothing, unavailable when they could not run."},"news":{"anyOf":[{"type":"object","properties":{"state":{"type":"string","enum":["found"]},"entries":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string","minLength":1},"date":{"type":["string","null"]},"url":{"type":"string","minLength":1},"address":{"type":["string","null"],"description":"The company address this record gives, required when matched_on lists address"},"matched_on":{"type":"array","items":{"type":"string","enum":["domain","lei","usdot","mc","sec_cik","sam_uei","state_registry","address","name_and_state"]},"maxItems":9,"description":"What ties this entry to the company: identifiers it shares with `identifiers` (domain, lei, usdot, mc, sec_cik, sam_uei, state_registry), address (never in locations) when its address is that of a listed location tied by an identifier, and name_and_state only in news beside another basis"}},"required":["title","date","url","matched_on"],"additionalProperties":false},"minItems":1,"maxItems":50},"sources":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"minItems":1,"maxItems":50,"description":"The source id of each lookup (its step on the request's receipt), or the URL of each page read, the entries come from"}},"required":["state","entries","sources"],"additionalProperties":false},{"type":"object","properties":{"state":{"type":"string","enum":["none","unavailable"]},"entries":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string","minLength":1},"date":{"type":["string","null"]},"url":{"type":"string","minLength":1},"address":{"type":["string","null"],"description":"The company address this record gives, required when matched_on lists address"},"matched_on":{"type":"array","items":{"type":"string","enum":["domain","lei","usdot","mc","sec_cik","sam_uei","state_registry","address","name_and_state"]},"maxItems":9,"description":"What ties this entry to the company: identifiers it shares with `identifiers` (domain, lei, usdot, mc, sec_cik, sam_uei, state_registry), address (never in locations) when its address is that of a listed location tied by an identifier, and name_and_state only in news beside another basis"}},"required":["title","date","url","matched_on"],"additionalProperties":false},"maxItems":0},"sources":{"type":"array","items":{"type":"string"},"maxItems":0}},"required":["state","entries","sources"],"additionalProperties":false}],"description":"Recent news about it. Each entry lists in matched_on what ties it to the company. State: found when the section has entries, none when the lookups ran and found nothing, unavailable when they could not run."},"summary":{"type":"string","minLength":1,"maxLength":2000,"description":"A few sentences written only from the sections whose state is found"}},"required":["identifiers","identity","locations","operations","licences_and_registrations","legal","regulatory","news","summary"],"additionalProperties":false},"receipt_id":{"type":"string"},"cost":{"type":"number"},"memo":{"type":"string"},"decisionContext":{"type":"object","additionalProperties":{}}},"required":["request_id","status","completed_at","partial","end_reason","result"],"additionalProperties":false},"BrowserResult":{"type":"object","properties":{"output":{},"success":{"type":["boolean","null"]},"steps":{"type":"array","items":{"type":"object","properties":{"number":{"type":"integer"},"goal":{"type":"string"},"url":{"type":"string"}},"required":["number","goal","url"]}},"step_count":{"type":"integer","minimum":0},"steps_incomplete":{"type":"boolean"},"final_url":{"type":"string"},"cost":{"type":["number","null"],"minimum":0},"total_cost_usd":{"type":["number","null"],"minimum":0},"billed_cost":{"type":["number","null"],"minimum":0},"session_id":{"type":["string","null"]},"error_reason":{"type":"string"},"error_ref":{"type":"string"}},"required":["steps","step_count","steps_incomplete","cost","total_cost_usd"]},"QuoteRequiredResponse":{"type":"object","properties":{"error":{"type":"string","enum":["payment_required"]},"code":{"type":"number","enum":[402]},"message":{"type":"string"},"quote_id":{"type":"string"},"amount_usdc":{"type":"string"},"pay_to":{"type":"string"},"network":{"type":"string"},"expires_at":{"type":"string","format":"date-time"}},"required":["error","code","message"]},"ErrorResponse":{"type":"object","properties":{"error":{"type":"string","description":"Machine-readable error code"},"message":{"type":"string","description":"Human-readable error message"},"details":{}},"required":["error","message"]},"JobAcceptedResponse":{"type":"object","properties":{"request_id":{"type":"string","description":"Use to poll GET /v1/requests/:id"},"tool":{"type":"string"},"status":{"type":"string","enum":["queued","processing","accepted","pending","active"]},"receipt_id":{"type":"string","description":"Receipt id for the charged tool call"},"settlement_status":{"type":"string","description":"Payment state, independent of job execution"},"idempotency_key":{"type":"string","description":"Durable submission recovery key"},"message":{"type":"string"},"goal_id":{"type":"string","description":"Returned by /v1/compute (the orchestrator goal id)"}},"required":["request_id"]},"InsufficientCreditsResponse":{"type":"object","properties":{"error":{"type":"string","enum":["insufficient_credits"]},"message":{"type":"string"},"required_usdc":{"type":"string","description":"Gross price of the call, USDC"},"credits_balance":{"type":"string","description":"Current credit balance, USDC"},"shortfall_usdc":{"type":"string","description":"required − reserved-on-quote − balance, floored at 0"},"credits_reserved_on_quote":{"type":"string","description":"Credits the quote already holds (quote retries only)"},"quote_id":{"type":["string","null"]},"top_up":{"type":"object","properties":{"message":{"type":"string"},"docs_url":{"type":"string"}},"required":["message","docs_url"]},"starter_credit":{"type":"object","properties":{"status":{"type":"string","enum":["available"]},"claim_url":{"type":"string","description":"Console page where an organization admin claims it"}},"required":["status","claim_url"],"description":"Present when an admin of the agent's organization has starter credit left to claim. Tell your user, then retry after they claim it."}},"required":["error","message","required_usdc","credits_balance","shortfall_usdc","credits_reserved_on_quote","quote_id","top_up"]},"BudgetExceededResponse":{"type":"object","properties":{"error":{"type":"string","enum":["budget_exceeded"]},"message":{"type":"string"},"budget":{"type":"object","properties":{"reason":{"type":"string","enum":["daily","per_transaction"]},"cap":{"type":"string","description":"The cap that was hit, USDC"},"spent":{"type":"string","description":"Today's spend counted against the cap (ledger + in-flight)"},"in_flight":{"type":"string","description":"Reserved by concurrent paid calls not yet receipted"},"charge":{"type":"string","description":"The charge that was rejected"},"resets_at":{"type":"string"}},"required":["reason","cap","spent","in_flight","charge"]}},"required":["error","message","budget"]},"ProvisionedVoiceNumber":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"phone_number":{"type":"string"},"voice_capable":{"type":"boolean"},"sms_capable":{"type":"boolean"},"inbound_configured":{"type":"boolean"},"inbound_enabled":{"type":"boolean"},"is_new":{"type":"boolean","description":"True only on the request that bought the number"},"charged":{"type":"string","description":"Amount debited from credits by this request (\"0.000000\" for an existing number)"},"receipt_id":{"type":["string","null"]}},"required":["id","phone_number","voice_capable","sms_capable","inbound_configured","inbound_enabled","is_new","charged","receipt_id"]},"VoiceNumberList":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"numbers":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"phone_number":{"type":"string"},"status":{"type":"string"},"voice_capable":{"type":"boolean"},"sms_capable":{"type":"boolean"},"inbound_enabled":{"type":"boolean"},"last_used_at":{"type":["string","null"]}},"required":["id","phone_number","status","voice_capable","sms_capable","inbound_enabled","last_used_at"]}}},"required":["numbers"]}},"required":["success","data"]},"InboundConfigResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"phone_number":{"type":"string"},"phone_number_id":{"type":"string","format":"uuid"},"enabled":{"type":"boolean"},"webhook_url":{"type":["string","null"]},"webhook_secret":{"type":"string","description":"Returned once, when webhook_url is first set or changed."},"updated_at":{"type":"string"}},"required":["phone_number","phone_number_id","enabled","webhook_url","updated_at"]}},"required":["success","data"]},"InboundConfigRequest":{"type":"object","properties":{"prompt":{"type":"string","maxLength":8000,"description":"How the assistant answers this number."},"first_message":{"type":"string","maxLength":500},"voice_id":{"type":"string","description":"Voice id. Omit for the default voice."},"language":{"type":"string","enum":["en","es","fr","de","pt","it","nl","multi"]},"allowed_tools":{"type":"array","items":{"type":"string","enum":["transfer_call","end_call"]}},"transfer_number":{"type":"string","description":"E.164. Required with transfer_call or after_hours: transfer."},"business_hours":{"$ref":"#/components/schemas/InboundBusinessHours"},"after_hours":{"type":"string","enum":["take_message","transfer","decline"]},"after_hours_message":{"type":"string","maxLength":500},"max_minutes":{"type":"integer","minimum":1,"maximum":60},"webhook_url":{"type":["string","null"],"format":"uri","description":"HTTPS, public host. Receives a signed voice.inbound.completed event after each call."},"enabled":{"type":"boolean"}},"required":["prompt"]},"InboundBusinessHours":{"type":["object","null"],"properties":{"timezone":{"type":"string","example":"America/New_York"},"windows":{"type":"array","items":{"type":"object","properties":{"days":{"type":"array","items":{"type":"string","enum":["mon","tue","wed","thu","fri","sat","sun"]}},"start":{"type":"string","example":"09:00"},"end":{"type":"string","example":"17:00"}},"required":["days","start","end"]},"minItems":1,"maxItems":14}},"required":["timezone","windows"],"description":"Omit or null for always open."},"InboundCallList":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"calls":{"type":"array","items":{"$ref":"#/components/schemas/InboundCall"}}},"required":["calls"]}},"required":["success","data"]},"InboundCall":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"phone_number_id":{"type":["string","null"],"format":"uuid"},"from":{"type":"string"},"to":{"type":"string"},"status":{"type":"string"},"mode":{"type":["string","null"]},"started_at":{"type":["string","null"]},"ended_at":{"type":["string","null"]},"duration_seconds":{"type":"number"},"summary":{"type":["string","null"]},"transcript":{"type":["string","null"]},"recording_url":{"type":["string","null"]},"charge_usdc":{"type":["string","null"]},"receipt_id":{"type":["string","null"]},"created_at":{"type":"string"}},"required":["id","phone_number_id","from","to","status","mode","started_at","ended_at","duration_seconds","summary","charge_usdc","receipt_id","created_at"]},"LookupPlaceCameraSnapshotResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["place_camera_snapshot"]},"result":{"type":"object","properties":{"cameras":{"type":"array","items":{"type":"object","properties":{"observed":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"direction":{"type":["string","null"]},"latitude":{"type":["number","null"]},"longitude":{"type":["number","null"]},"source_position":{"type":["object","null"],"properties":{"x":{"type":"number"},"y":{"type":"number"},"crs":{"type":"string"}},"required":["x","y","crs"]},"frame_url":{"type":"string"},"frame_captured_at":{"type":["string","null"]},"frame_checked_at":{"type":["string","null"]},"frame_fetch_status":{"type":"string","enum":["succeeded","failed","not_fetched"]},"attribution":{"type":"string"}},"required":["id","name","direction","latitude","longitude","source_position","frame_url","frame_captured_at","frame_checked_at","frame_fetch_status","attribution"]},"derived":{"type":"object","properties":{"latitude":{"type":"object","properties":{"value":{"type":"number"},"rule":{"type":"string","minLength":1},"from":{"type":"array","items":{"type":"string"},"minItems":1}},"required":["value","rule","from"]},"longitude":{"type":"object","properties":{"value":{"type":"number"},"rule":{"type":"string","minLength":1},"from":{"type":"array","items":{"type":"string"},"minItems":1}},"required":["value","rule","from"]},"distance_km":{"type":"object","properties":{"value":{"type":"number"},"rule":{"type":"string","minLength":1},"from":{"type":"array","items":{"type":"string"},"minItems":1}},"required":["value","rule","from"]},"frame_age_s":{"type":"object","properties":{"value":{"type":["number","null"]},"rule":{"type":"string","minLength":1},"from":{"type":"array","items":{"type":"string"},"minItems":1}},"required":["value","rule","from"]},"offline":{"type":"object","properties":{"value":{"type":["boolean","null"]},"rule":{"type":"string","minLength":1},"from":{"type":"array","items":{"type":"string"},"minItems":1}},"required":["value","rule","from"]}},"required":["distance_km","frame_age_s","offline"]}},"required":["observed","derived"]}},"coverage":{"type":"object","properties":{"cameras_in_range":{"type":"integer","minimum":0},"catalogue_available":{"type":"boolean"},"networks_loaded":{"type":"array","items":{"type":"string"}}},"required":["cameras_in_range","catalogue_available","networks_loaded"]},"total":{"type":"integer"},"returned":{"type":"integer"},"truncated":{"type":"boolean"}},"required":["cameras","coverage","total","returned","truncated"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"place_camera_snapshot","result":{"cameras":[{"observed":{"id":"tfl:JamCams_00002.00865","name":"A406 Billet Upass E","direction":"West","latitude":51.60067,"longitude":-0.01594,"source_position":null,"frame_url":"https://s3-eu-west-1.amazonaws.com/jamcams.tfl.gov.uk/00002.00865.jpg","frame_captured_at":"2026-10-28T12:55:16.000Z","frame_checked_at":"2026-10-28T12:55:56.489Z","frame_fetch_status":"succeeded","attribution":"Powered by TfL Open Data"},"derived":{"distance_km":{"value":0,"rule":"haversine_km","from":["observed.latitude","observed.longitude","input.latitude","input.longitude"]},"frame_age_s":{"value":40.489,"rule":"elapsed_seconds_since_capture","from":["observed.frame_captured_at","observed.frame_checked_at"]},"offline":{"value":false,"rule":"frame_fetch_failed_or_age_over_30_minutes","from":["observed.frame_fetch_status","observed.frame_captured_at","observed.frame_checked_at"]}}}],"coverage":{"cameras_in_range":1,"catalogue_available":true,"networks_loaded":["tfl"]},"total":1,"returned":1,"truncated":false},"evidence":{"source":"Public transport authorities","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupEvidence":{"type":"object","properties":{"source":{"type":["string","null"],"description":"The public body whose data this is; null when it comes from a commercial provider"},"source_kind":{"type":"string","enum":["public","commercial"],"description":"\"public\" when `source` names a public body, otherwise \"commercial\""},"retrieved_at":{"type":"string","format":"date-time","description":"Source acquisition time; stored reads retain the original acquisition time"},"calls":{"type":"array","items":{"type":"object","properties":{"retrieved_at":{"type":"string","format":"date-time"}},"required":["retrieved_at"]},"description":"Calls made by this lookup, including any follow-up; empty on a published read"},"as_of":{"type":["string","null"],"description":"When the source says the fact was last updated (ISO 8601 date or datetime); null when its answer does not say"},"read":{"type":"object","properties":{"strategy":{"type":"string","enum":["published"]},"dataset":{"type":"string"},"run_id":{"type":"number"},"source_version":{"type":"string"},"scope":{"type":"string"},"read_at":{"type":"string","format":"date-time"}},"required":["strategy","dataset","run_id","source_version","scope","read_at"],"description":"Published read provenance. Scope and source_version bound both matches and not-found results"}},"required":["source","source_kind","retrieved_at","calls","as_of"],"example":{"source":"US National Highway Traffic Safety Administration","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}},"LookupPlaceFloodZoneResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["place_flood_zone"]},"result":{"type":"object","properties":{"notice":{"type":"string","description":"The notice FEMA requires with its data; keep it with the data"},"mapped":{"type":"boolean","description":"True when a published flood hazard map covers the point"},"zone":{"type":["string","null"],"description":"Flood hazard zone, e.g. X, AE or VE"},"zone_subtype":{"type":["string","null"],"description":"Zone subtype, e.g. AREA OF MINIMAL FLOOD HAZARD"},"special_flood_hazard_area":{"type":["boolean","null"],"description":"True when the point is in a special flood hazard area"},"base_flood_elevation_ft":{"type":["number","null"],"description":"Base flood elevation in feet, null when none is stated"},"map_id":{"type":["string","null"],"description":"Identifier of the flood map the zone comes from"},"overlapping_zones":{"type":"integer","description":"Number of zones the point falls in, present only when more than one. The zone reported is then the special flood hazard area, if any of them is one"}},"required":["notice","mapped","zone","zone_subtype","special_flood_hazard_area","base_flood_elevation_ft","map_id"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"place_flood_zone","result":{"notice":"This product uses the Federal Emergency Management Agency’s OpenFEMA API, but is not endorsed by FEMA. The Federal Government or FEMA cannot vouch for the data or analyses derived from these data after the data have been retrieved from the Agency's website(s).","mapped":true,"zone":"X","zone_subtype":"AREA OF MINIMAL FLOOD HAZARD","special_flood_hazard_area":false,"base_flood_elevation_ft":null,"map_id":"48201C"},"evidence":{"source":"US Federal Emergency Management Agency","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupPlaceHazardRiskResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["place_hazard_risk"]},"result":{"type":"object","properties":{"found":{"type":"boolean"},"level":{"type":"string","enum":["county","tract"]},"nri_id":{"type":["string","null"]},"state":{"type":["string","null"]},"county":{"type":["string","null"]},"county_type":{"type":["string","null"]},"county_fips":{"type":["string","null"]},"census_tract":{"type":["string","null"]},"population":{"type":["number","null"]},"building_value_usd":{"type":["number","null"]},"risk_score":{"type":["number","null"],"description":"National percentile among counties or tracts"},"risk_rating":{"type":["string","null"]},"expected_annual_loss_usd":{"type":["number","null"]},"expected_annual_loss_score":{"type":["number","null"]},"expected_annual_loss_rating":{"type":["string","null"]},"social_vulnerability_score":{"type":["number","null"]},"social_vulnerability_rating":{"type":["string","null"]},"community_resilience_score":{"type":["number","null"]},"community_resilience_rating":{"type":["string","null"]},"hazards":{"type":"array","items":{"type":"object","properties":{"hazard":{"type":"string"},"risk_score":{"type":["number","null"]},"risk_rating":{"type":["string","null"]},"expected_annual_loss_usd":{"type":["number","null"]},"expected_annual_loss_rating":{"type":["string","null"]},"annual_frequency":{"type":["number","null"]}},"required":["hazard","risk_score","risk_rating","expected_annual_loss_usd","expected_annual_loss_rating","annual_frequency"]}},"version":{"type":["string","null"]},"overlapping_tracts":{"type":"integer"}},"required":["found","level","nri_id","state","county","county_type","county_fips","census_tract","population","building_value_usd","risk_score","risk_rating","expected_annual_loss_usd","expected_annual_loss_score","expected_annual_loss_rating","social_vulnerability_score","social_vulnerability_rating","community_resilience_score","community_resilience_rating","hazards","version"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"place_hazard_risk","result":{"found":true,"level":"county","nri_id":"C48201","state":"TX","county":"Harris","county_type":"County","county_fips":"48201","census_tract":null,"population":4726200,"building_value_usd":838838945279,"risk_score":99.93638676844783,"risk_rating":"Very High","expected_annual_loss_usd":2217702382.779429,"expected_annual_loss_score":99.90717821782178,"expected_annual_loss_rating":"Very High","social_vulnerability_score":67.9389313,"social_vulnerability_rating":"Relatively High","community_resilience_score":17.87531806615776,"community_resilience_rating":"Very Low","hazards":[{"hazard":"avalanche","risk_score":null,"risk_rating":"Not Applicable","expected_annual_loss_usd":null,"expected_annual_loss_rating":"Not Applicable","annual_frequency":null},{"hazard":"coastal_flooding","risk_score":83.2,"risk_rating":"Relatively High","expected_annual_loss_usd":2501580.4020847282,"expected_annual_loss_rating":"Relatively Moderate","annual_frequency":3.760667716463098},{"hazard":"cold_wave","risk_score":99.90458015267176,"risk_rating":"Very High","expected_annual_loss_usd":118128453.7285045,"expected_annual_loss_rating":"Very High","annual_frequency":0.4811618571410316},{"hazard":"drought","risk_score":75.06361323155217,"risk_rating":"Relatively Moderate","expected_annual_loss_usd":549870.3762470942,"expected_annual_loss_rating":"Relatively Moderate","annual_frequency":15.944165834952052},{"hazard":"earthquake","risk_score":92.14376590330788,"risk_rating":"Relatively Moderate","expected_annual_loss_usd":5909098.613325508,"expected_annual_loss_rating":"Relatively Moderate","annual_frequency":0.00053},{"hazard":"hail","risk_score":91.98473282442748,"risk_rating":"Relatively Moderate","expected_annual_loss_usd":1595706.8971803342,"expected_annual_loss_rating":"Relatively Moderate","annual_frequency":2.3500474546274432},{"hazard":"heat_wave","risk_score":99.71098265895954,"risk_rating":"Very High","expected_annual_loss_usd":80363788.04972051,"expected_annual_loss_rating":"Relatively High","annual_frequency":14.860648870418725},{"hazard":"hurricane","risk_score":100,"risk_rating":"Very High","expected_annual_loss_usd":457859275.1658155,"expected_annual_loss_rating":"Very High","annual_frequency":0.18361075931264648},{"hazard":"ice_storm","risk_score":99.56681106297901,"risk_rating":"Very High","expected_annual_loss_usd":4126929.0112194596,"expected_annual_loss_rating":"Very High","annual_frequency":0.905122323859159},{"hazard":"inland_flooding","risk_score":99.96819338422391,"risk_rating":"Very High","expected_annual_loss_usd":1122079278.4198725,"expected_annual_loss_rating":"Very High","annual_frequency":5.142857142857143},{"hazard":"landslide","risk_score":88.39058524173028,"risk_rating":"Relatively Moderate","expected_annual_loss_usd":36555.25125684555,"expected_annual_loss_rating":"Relatively Low","annual_frequency":0.23829879276},{"hazard":"lightning","risk_score":99.90458015267176,"risk_rating":"Very High","expected_annual_loss_usd":8587007.197935572,"expected_annual_loss_rating":"Very High","annual_frequency":74.62496045494136},{"hazard":"strong_wind","risk_score":99.26844783715013,"risk_rating":"Very High","expected_annual_loss_usd":7718810.6693513,"expected_annual_loss_rating":"Very High","annual_frequency":1.5226933311028772},{"hazard":"tornado","risk_score":100,"risk_rating":"Very High","expected_annual_loss_usd":407387921.4650874,"expected_annual_loss_rating":"Very High","annual_frequency":1.6096473278810632},{"hazard":"tsunami","risk_score":null,"risk_rating":"Insufficient Data","expected_annual_loss_usd":null,"expected_annual_loss_rating":"Insufficient Data","annual_frequency":null},{"hazard":"volcanic_activity","risk_score":null,"risk_rating":"Not Applicable","expected_annual_loss_usd":null,"expected_annual_loss_rating":"Not Applicable","annual_frequency":null},{"hazard":"wildfire","risk_score":85.43256997455471,"risk_rating":"Relatively Low","expected_annual_loss_usd":562160.6032783592,"expected_annual_loss_rating":"Relatively Low","annual_frequency":0.0011170935049198358},{"hazard":"winter_weather","risk_score":88.82877148313176,"risk_rating":"Relatively High","expected_annual_loss_usd":295946.92854926415,"expected_annual_loss_rating":"Relatively High","annual_frequency":1.1209441209500433}],"version":"December 2025"},"evidence":{"source":"US Federal Emergency Management Agency","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupPlaceFloodClaimsResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["place_flood_claims"]},"result":{"type":"object","properties":{"area":{"type":"object","properties":{"kind":{"type":"string","enum":["zip_code","county","census_tract"]},"id":{"type":"string"}},"required":["kind","id"]},"total":{"type":"number","description":"All claims matching the area and dates, not just the returned page"},"claims":{"type":"array","items":{"type":"object","properties":{"claim_id":{"type":["number","null"]},"loss_date":{"type":["string","null"]},"loss_year":{"type":["number","null"]},"flood_event":{"type":["string","null"]},"event_designation":{"type":["string","null"]},"cause_code":{"type":["string","null"]},"cause":{"type":["string","null"]},"rated_flood_zone":{"type":["string","null"]},"current_flood_zone":{"type":["string","null"]},"building_paid_usd":{"type":["number","null"]},"contents_paid_usd":{"type":["number","null"]},"compliance_paid_usd":{"type":["number","null"]},"building_damage_usd":{"type":["number","null"]},"contents_damage_usd":{"type":["number","null"]},"occupancy_code":{"type":["number","null"]},"occupancy":{"type":["string","null"]},"primary_residence":{"type":["boolean","null"]},"state":{"type":["string","null"]},"county_fips":{"type":["string","null"]},"zip_code":{"type":["string","null"]},"census_tract":{"type":["string","null"]},"latitude":{"type":["number","null"]},"longitude":{"type":["number","null"]}},"required":["claim_id","loss_date","loss_year","flood_event","event_designation","cause_code","cause","rated_flood_zone","current_flood_zone","building_paid_usd","contents_paid_usd","compliance_paid_usd","building_damage_usd","contents_damage_usd","occupancy_code","occupancy","primary_residence","state","county_fips","zip_code","census_tract","latitude","longitude"]}}},"required":["area","total","claims"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"place_flood_claims","result":{"area":{"kind":"zip_code","id":"23452"},"total":1691,"claims":[{"claim_id":6088518,"loss_date":"2025-09-16","loss_year":2025,"flood_event":null,"event_designation":null,"cause_code":"4","cause":"accumulation of rainfall or snowmelt","rated_flood_zone":"AE","current_flood_zone":null,"building_paid_usd":22850.59,"contents_paid_usd":0,"compliance_paid_usd":0,"building_damage_usd":23512,"contents_damage_usd":0,"occupancy_code":11,"occupancy":"single-family residential","primary_residence":true,"state":"VA","county_fips":"51810","zip_code":"23452","census_tract":"51810045414","latitude":36.8,"longitude":-76.1},{"claim_id":6599786,"loss_date":"2025-09-16","loss_year":2025,"flood_event":null,"event_designation":null,"cause_code":"4","cause":"accumulation of rainfall or snowmelt","rated_flood_zone":"AE","current_flood_zone":null,"building_paid_usd":0,"contents_paid_usd":0,"compliance_paid_usd":0,"building_damage_usd":0,"contents_damage_usd":0,"occupancy_code":11,"occupancy":"single-family residential","primary_residence":true,"state":"VA","county_fips":"51810","zip_code":"23452","census_tract":"51810045415","latitude":36.8,"longitude":-76.1}]},"evidence":{"source":"US Federal Emergency Management Agency","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupPlaceOpportunityZoneResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["place_opportunity_zone"]},"result":{"type":"object","properties":{"designated":{"type":"boolean"},"designation_round":{"type":"string","enum":["2018"]},"census_tract":{"type":["string","null"]},"state":{"type":["string","null"]},"state_name":{"type":["string","null"]},"county_fips":{"type":["string","null"]},"rural":{"type":["boolean","null"]},"overlapping_tracts":{"type":"integer"}},"required":["designated","designation_round","census_tract","state","state_name","county_fips","rural"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"place_opportunity_zone","result":{"designated":true,"designation_round":"2018","census_tract":"48201532800","state":"TX","state_name":"Texas","county_fips":"48201","rural":false},"evidence":{"source":"US Department of the Treasury","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupPlaceHospitalsResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["place_hospitals"]},"result":{"type":"object","properties":{"total":{"type":"number","description":"How many hospitals the source lists in the ZIP code"},"hospitals":{"type":"array","items":{"type":"object","properties":{"facility_id":{"type":"string","description":"The hospital's Medicare provider number"},"name":{"type":"string","description":"The hospital's name"},"address":{"type":"string","description":"Street address"},"city":{"type":"string","description":"City or town"},"state":{"type":"string","description":"Two-letter state code"},"zip_code":{"type":"string","description":"ZIP code"},"county":{"type":"string","description":"County or parish"},"phone":{"type":"string","description":"The hospital's published main telephone line"},"type":{"type":"string","description":"Kind of hospital, for example Acute Care Hospitals"},"ownership":{"type":"string","description":"Who owns the hospital, for example Voluntary non-profit - Private"},"emergency_services":{"type":["boolean","null"],"description":"Whether the hospital has emergency services, or null when the source gives no answer"},"overall_rating":{"type":["number","null"],"description":"Overall quality rating from 1 to 5, or null when the source gives no number"}},"required":["facility_id","name","address","city","state","zip_code","county","phone","type","ownership","emergency_services","overall_rating"]},"description":"The hospitals in the ZIP code, up to the limit. Empty when none is registered"}},"required":["total","hospitals"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"place_hospitals","result":{"total":2,"hospitals":[{"facility_id":"36003F","name":"CINCINNATI VA MEDICAL CENTER","address":"3200 VINE STREET","city":"CINCINNATI","state":"OH","zip_code":"45220","county":"HAMILTON","phone":"(513) 861-3100","type":"Acute Care - Veterans Administration","ownership":"Veterans Health Administration","emergency_services":true,"overall_rating":4},{"facility_id":"360134","name":"GOOD SAMARITAN HOSPITAL","address":"375 DIXMYTH AVENUE","city":"CINCINNATI","state":"OH","zip_code":"45220","county":"HAMILTON","phone":"(513) 862-2601","type":"Acute Care Hospitals","ownership":"Voluntary non-profit - Private","emergency_services":true,"overall_rating":4}]},"evidence":{"source":"US Centers for Medicare & Medicaid Services","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupPlaceWildfiresResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["place_wildfires"]},"result":{"type":"object","properties":{"wildfires":{"type":"array","items":{"type":"object","properties":{"name":{"type":["string","null"],"description":"The incident name"},"acres":{"type":["number","null"],"description":"Size of the fire in acres"},"percent_contained":{"type":["number","null"],"description":"Percent of the fire perimeter contained, 0 to 100; null when none is stated"},"discovered_on":{"type":["string","null"],"description":"Date the fire was discovered, YYYY-MM-DD (UTC)"},"state":{"type":["string","null"],"description":"Two-letter state code where the fire started"},"county":{"type":["string","null"],"description":"County where the fire started"}},"required":["name","acres","percent_contained","discovered_on","state","county"]}},"more":{"type":"boolean","description":"True when the source held more fires in range than were returned"}},"required":["wildfires","more"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"place_wildfires","result":{"wildfires":[{"name":"Crosswhite","acres":342923,"percent_contained":100,"discovered_on":"2026-07-16","state":"OR","county":"Wheeler"}],"more":true},"evidence":{"source":"US National Interagency Fire Center","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupVehicleComplaintsResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["vehicle_complaints"]},"result":{"type":"object","properties":{"make":{"type":"string"},"model":{"type":"string"},"model_year":{"type":"number"},"total":{"type":"number","description":"How many complaints were filed for the model, including any beyond `limit`"},"crashes":{"type":"number","description":"How many of all the complaints say a crash was involved"},"fires":{"type":"number","description":"How many of all the complaints say a fire was involved"},"injuries":{"type":"number","description":"The injuries reported across all the complaints"},"deaths":{"type":"number","description":"The deaths reported across all the complaints"},"components":{"type":"array","items":{"type":"object","properties":{"component":{"type":"string","description":"The vehicle component named in the complaints"},"complaints":{"type":"number","description":"How many of all the complaints name it"}},"required":["component","complaints"]},"description":"The five components named most often, across all the complaints"},"complaints":{"type":"array","items":{"type":"object","properties":{"id":{"type":["number","null"],"description":"The agency complaint number"},"filed_on":{"type":["string","null"],"description":"The date the complaint was filed, YYYY-MM-DD"},"incident_on":{"type":["string","null"],"description":"The date of the incident the owner describes, YYYY-MM-DD"},"components":{"type":"array","items":{"type":"string"},"description":"The components the owner names"},"crash":{"type":"boolean","description":"True when the owner reports a crash"},"fire":{"type":"boolean","description":"True when the owner reports a fire"},"injuries":{"type":"number"},"deaths":{"type":"number"},"summary":{"type":["string","null"],"description":"The owner's account, cut to 500 characters"}},"required":["id","filed_on","incident_on","components","crash","fire","injuries","deaths","summary"]},"description":"The newest complaints, up to `limit`"}},"required":["make","model","model_year","total","crashes","fires","injuries","deaths","components","complaints"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"vehicle_complaints","result":{"make":"Fiat","model":"124 Spider","model_year":2019,"total":9,"crashes":0,"fires":0,"injuries":0,"deaths":0,"components":[{"component":"SEAT BELTS","complaints":3},{"component":"FUEL/PROPULSION SYSTEM","complaints":2},{"component":"ENGINE","complaints":1},{"component":"FUEL SYSTEM, GASOLINE","complaints":1},{"component":"UNKNOWN OR OTHER","complaints":1}],"complaints":[{"id":11578356,"filed_on":"2024-03-19","incident_on":"2024-03-19","components":["SEAT BELTS"],"crash":false,"fire":false,"injuries":0,"deaths":0,"summary":"The seat belts do not retract properly, causing a loose seat belt. The vehicle has 10,000 miles on it. This is a common problem with all 2017 to 2020 Fiat Spiders. Replacement seat belt retractors have the same problem."}]},"evidence":{"source":"US National Highway Traffic Safety Administration","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupVehicleCrashRatingsResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["vehicle_crash_ratings"]},"result":{"type":"object","properties":{"variants":{"type":"array","items":{"type":"object","properties":{"vehicle_id":{"type":"number","description":"The identifier the source gives this rated variant"},"description":{"type":"string","description":"The variant as the source describes it, for example 2024 Toyota CAMRY 4 DR FWD"}},"required":["vehicle_id","description"]},"description":"Every rated variant of the model year, in the order the source lists them"},"rated":{"type":"boolean","description":"True when a variant was rated and the fields below describe it"},"vehicle_id":{"type":["number","null"],"description":"The identifier of the rated variant"},"description":{"type":["string","null"],"description":"The rated variant as the source describes it"},"overall_rating":{"type":["integer","null"],"minimum":1,"maximum":5,"description":"Overall stars, 1 to 5"},"front_crash_rating":{"type":["integer","null"],"minimum":1,"maximum":5,"description":"Frontal crash stars, 1 to 5"},"front_driver_rating":{"type":["integer","null"],"minimum":1,"maximum":5,"description":"Frontal crash stars for the driver, 1 to 5"},"front_passenger_rating":{"type":["integer","null"],"minimum":1,"maximum":5,"description":"Frontal crash stars for the front passenger, 1 to 5"},"side_crash_rating":{"type":["integer","null"],"minimum":1,"maximum":5,"description":"Side crash stars, 1 to 5"},"side_driver_rating":{"type":["integer","null"],"minimum":1,"maximum":5,"description":"Side barrier crash stars for the driver, 1 to 5"},"side_passenger_rating":{"type":["integer","null"],"minimum":1,"maximum":5,"description":"Side barrier crash stars for the rear passenger, 1 to 5"},"side_pole_rating":{"type":["integer","null"],"minimum":1,"maximum":5,"description":"Side pole crash stars, 1 to 5"},"rollover_rating":{"type":["integer","null"],"minimum":1,"maximum":5,"description":"Rollover resistance stars, 1 to 5"},"rollover_risk":{"type":["number","null"],"description":"The chance of rollover in a single-vehicle crash, as a fraction (0.099 is 9.9 percent)"},"tip_result":{"type":["string","null"],"description":"The outcome of the dynamic rollover test, for example No Tip"},"electronic_stability_control":{"type":["string","null"],"enum":["Standard","Optional","No",null],"description":"Whether electronic stability control is fitted: Standard, Optional or No"},"forward_collision_warning":{"type":["string","null"],"enum":["Standard","Optional","No",null],"description":"Whether forward collision warning is fitted: Standard, Optional or No"},"lane_departure_warning":{"type":["string","null"],"enum":["Standard","Optional","No",null],"description":"Whether lane departure warning is fitted: Standard, Optional or No"},"complaints_count":{"type":["number","null"],"description":"How many owner complaints the source attaches to the variant"},"recalls_count":{"type":["number","null"],"description":"How many recalls the source attaches to the variant"},"investigations_count":{"type":["number","null"],"description":"How many investigations the source attaches to the variant"}},"required":["variants","rated","vehicle_id","description","overall_rating","front_crash_rating","front_driver_rating","front_passenger_rating","side_crash_rating","side_driver_rating","side_passenger_rating","side_pole_rating","rollover_rating","rollover_risk","tip_result","electronic_stability_control","forward_collision_warning","lane_departure_warning","complaints_count","recalls_count","investigations_count"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"vehicle_crash_ratings","result":{"variants":[{"vehicle_id":19427,"description":"2024 Toyota CAMRY 4 DR AWD"},{"vehicle_id":19426,"description":"2024 Toyota CAMRY 4 DR FWD"}],"rated":true,"vehicle_id":19426,"description":"2024 Toyota CAMRY 4 DR FWD","overall_rating":5,"front_crash_rating":5,"front_driver_rating":5,"front_passenger_rating":5,"side_crash_rating":5,"side_driver_rating":5,"side_passenger_rating":5,"side_pole_rating":5,"rollover_rating":5,"rollover_risk":0.099,"tip_result":"No Tip","electronic_stability_control":"Standard","forward_collision_warning":"Standard","lane_departure_warning":"Standard","complaints_count":51,"recalls_count":1,"investigations_count":0},"evidence":{"source":"US National Highway Traffic Safety Administration","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupVehicleFuelEconomyResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["vehicle_fuel_economy"]},"result":{"type":"object","properties":{"options":{"type":"array","items":{"type":"object","properties":{"vehicle_id":{"type":"integer","exclusiveMinimum":0,"description":"The source identifier of this engine and transmission option"},"description":{"type":"string","description":"The option text as the source lists it"}},"required":["vehicle_id","description"]},"description":"Available options in source order"},"matched":{"type":"boolean","description":"True when an option was fetched and the fields below describe it"},"vehicle_id":{"type":["number","null"],"description":"The source identifier of the selected vehicle option"},"year":{"type":["number","null"],"description":"The model year"},"make":{"type":["string","null"],"description":"The vehicle make"},"model":{"type":["string","null"],"description":"The model as the source names it"},"vehicle_class":{"type":["string","null"],"description":"The federal vehicle class"},"drive":{"type":["string","null"],"description":"The drive configuration"},"transmission":{"type":["string","null"],"description":"The transmission"},"cylinders":{"type":["number","null"],"description":"The engine cylinder count; null when inapplicable"},"displacement_liters":{"type":["number","null"],"description":"The engine displacement in liters; null when inapplicable"},"fuel_type":{"type":["string","null"],"description":"The primary fuel"},"fuel_type_secondary":{"type":["string","null"],"description":"The secondary fuel; null when blank"},"city_mpg":{"type":["number","null"],"description":"City miles per gallon, or miles per gallon equivalent for an electric vehicle"},"highway_mpg":{"type":["number","null"],"description":"Highway miles per gallon, or miles per gallon equivalent for an electric vehicle"},"combined_mpg":{"type":["number","null"],"description":"Combined miles per gallon, or miles per gallon equivalent for an electric vehicle"},"combined_kwh_per_100_miles":{"type":["number","null"],"description":"Combined electricity use in kWh per 100 miles; null for a non-electric vehicle"},"electric_range_miles":{"type":["number","null"],"description":"Electric range in miles; null when the source reports zero"},"annual_fuel_cost_usd":{"type":["number","null"],"description":"Estimated annual fuel cost in US dollars"},"five_year_cost_vs_average_usd":{"type":["number","null"],"description":"US dollars over five years versus the average new vehicle: positive is money saved, negative is money spent"},"co2_grams_per_mile":{"type":["number","null"],"description":"Tailpipe CO2 emissions in grams per mile"},"fuel_economy_score":{"type":["integer","null"],"minimum":1,"maximum":10,"description":"Fuel economy score, 1 to 10; null when unavailable"},"greenhouse_gas_score":{"type":["integer","null"],"minimum":1,"maximum":10,"description":"Greenhouse gas score, 1 to 10; null when unavailable"},"updated_on":{"type":["string","null"],"description":"The record modification date, YYYY-MM-DD"}},"required":["options","matched","vehicle_id","year","make","model","vehicle_class","drive","transmission","cylinders","displacement_liters","fuel_type","fuel_type_secondary","city_mpg","highway_mpg","combined_mpg","combined_kwh_per_100_miles","electric_range_miles","annual_fuel_cost_usd","five_year_cost_vs_average_usd","co2_grams_per_mile","fuel_economy_score","greenhouse_gas_score","updated_on"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"vehicle_fuel_economy","result":{"options":[{"vehicle_id":42011,"description":"Auto (S8), 6 cyl, 3.5 L"},{"vehicle_id":42015,"description":"Auto (S8), 4 cyl, 2.5 L"}],"matched":true,"vehicle_id":42015,"year":2020,"make":"Toyota","model":"Camry","vehicle_class":"Midsize Cars","drive":"Front-Wheel Drive","transmission":"Automatic (S8)","cylinders":4,"displacement_liters":2.5,"fuel_type":"Regular Gasoline","fuel_type_secondary":null,"city_mpg":29,"highway_mpg":41,"combined_mpg":34,"combined_kwh_per_100_miles":null,"electric_range_miles":null,"annual_fuel_cost_usd":1900,"five_year_cost_vs_average_usd":2000,"co2_grams_per_mile":264,"fuel_economy_score":8,"greenhouse_gas_score":8,"updated_on":"2019-11-08"},"evidence":{"source":"US Department of Energy and US Environmental Protection Agency","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupVehicleIdentificationResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["vehicle_identification"]},"result":{"type":"object","properties":{"vin":{"type":"string"},"decoded":{"type":"boolean","description":"True when the number resolved to a make and model year"},"check_digit_valid":{"type":"boolean","description":"True when position 9 matches the checksum of the other characters"},"make":{"type":["string","null"]},"model":{"type":["string","null"]},"model_year":{"type":["number","null"]},"trim":{"type":["string","null"]},"series":{"type":["string","null"]},"body_class":{"type":["string","null"]},"vehicle_type":{"type":["string","null"]},"doors":{"type":["number","null"]},"drive_type":{"type":["string","null"]},"engine_cylinders":{"type":["number","null"]},"engine_displacement_l":{"type":["number","null"]},"engine_horsepower":{"type":["number","null"]},"fuel_type":{"type":["string","null"]},"transmission":{"type":["string","null"]},"gross_vehicle_weight_rating":{"type":["string","null"]},"manufacturer":{"type":["string","null"]},"plant_city":{"type":["string","null"]},"plant_state":{"type":["string","null"]},"plant_country":{"type":["string","null"]},"suggested_vin":{"type":["string","null"],"description":"A corrected number, when the decoder could infer one"},"notes":{"type":"array","items":{"type":"string"},"description":"Decoder messages: what was wrong with the number, if anything"}},"required":["vin","decoded","check_digit_valid","make","model","model_year","trim","series","body_class","vehicle_type","doors","drive_type","engine_cylinders","engine_displacement_l","engine_horsepower","fuel_type","transmission","gross_vehicle_weight_rating","manufacturer","plant_city","plant_state","plant_country","suggested_vin","notes"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"vehicle_identification","result":{"vin":"1HGCM82633A004352","decoded":true,"check_digit_valid":true,"make":"HONDA","model":"Accord","model_year":2003,"trim":"EX-V6","series":null,"body_class":"Coupe","vehicle_type":"PASSENGER CAR","doors":2,"drive_type":null,"engine_cylinders":6,"engine_displacement_l":3,"engine_horsepower":240,"fuel_type":"Gasoline","transmission":"Automatic","gross_vehicle_weight_rating":"Class 1C: 4,001 - 5,000 lb (1,814 - 2,268 kg)","manufacturer":"AMERICAN HONDA MOTOR CO., INC.","plant_city":"MARYSVILLE","plant_state":"OHIO","plant_country":"UNITED STATES (USA)","suggested_vin":null,"notes":[]},"evidence":{"source":"US National Highway Traffic Safety Administration","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupAircraftRegistrationResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["aircraft_registration"]},"result":{"type":"object","properties":{"found":{"type":"boolean"},"aircraft":{"type":"array","items":{"type":"object","properties":{"observed":{"type":"object","properties":{"registration":{"type":"string"},"icao24":{"type":["string","null"]},"serial_number":{"type":["string","null"]},"manufacturer":{"type":["string","null"]},"model":{"type":["string","null"]},"type_aircraft":{"type":["string","null"]},"year":{"type":["integer","null"]},"registrant_type":{"type":["string","null"]},"registrant_name":{"type":["string","null"]},"registrant_city":{"type":["string","null"]},"registrant_state":{"type":["string","null"]},"registrant_country":{"type":["string","null"]},"status":{"type":["string","null"]},"certificate_issued":{"type":["string","null"]},"expiration":{"type":["string","null"]}},"required":["registration","icao24","serial_number","manufacturer","model","type_aircraft","year","registrant_type","registrant_name","registrant_city","registrant_state","registrant_country","status","certificate_issued","expiration"]},"derived":{"type":"object","properties":{}}},"required":["observed","derived"]}},"total":{"type":"integer"},"returned":{"type":"integer"},"truncated":{"type":"boolean"},"coverage":{"type":"object","properties":{"available":{"type":"boolean"},"as_of":{"type":["string","null"]},"scope":{"type":"string"},"reason":{"type":["string","null"]}},"required":["available","as_of","scope","reason"]}},"required":["found","aircraft","total","returned","truncated","coverage"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"aircraft_registration","result":{"found":false,"aircraft":[],"total":0,"returned":0,"truncated":false,"coverage":{"available":true,"as_of":"2026-10-27T04:30:00.000Z","scope":"US civil aircraft in the FAA releasable registry","reason":null}},"evidence":{"source":"US Federal Aviation Administration","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupVehicleRecallsResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["vehicle_recalls"]},"result":{"type":"object","properties":{"make":{"type":"string"},"model":{"type":"string"},"model_year":{"type":"number"},"total":{"type":"number","description":"How many recalls were issued for the model, including any beyond `limit`"},"recalls":{"type":"array","items":{"type":"object","properties":{"campaign_number":{"type":["string","null"],"description":"The agency campaign number"},"reported_on":{"type":["string","null"],"description":"The date the manufacturer reported the recall, YYYY-MM-DD"},"component":{"type":["string","null"]},"summary":{"type":["string","null"],"description":"What is wrong"},"consequence":{"type":["string","null"],"description":"The risk to the driver"},"remedy":{"type":["string","null"],"description":"What the manufacturer will do about it"},"notes":{"type":["string","null"]},"manufacturer":{"type":["string","null"]},"park_it":{"type":"boolean","description":"True when owners are told not to drive the vehicle"},"park_outside":{"type":"boolean","description":"True when owners are told to park the vehicle outside"},"over_the_air_fix":{"type":"boolean","description":"True when the remedy is a software update sent to the vehicle"}},"required":["campaign_number","reported_on","component","summary","consequence","remedy","notes","manufacturer","park_it","park_outside","over_the_air_fix"]}}},"required":["make","model","model_year","total","recalls"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"vehicle_recalls","result":{"make":"Honda","model":"CR-V","model_year":2019,"total":8,"recalls":[{"campaign_number":"19V865000","reported_on":"2019-12-05","component":"STRUCTURE:FRAME AND MEMBERS","summary":"Honda (American Honda Motor Co.) is recalling certain 2019-2020 CR-V vehicles. The rear subframe bolts were improperly manufactured and may loosen, allowing the rear subframe to separate.","consequence":"A separated rear subframe reduces vehicle handling and can suddenly disable the vehicle, increasing the risk of a crash.","remedy":"Honda will notify owners, and dealers will inspect the rear subframe bolts and retorque them or replace them, as necessary, free of charge.","notes":"Owners may also contact the National Highway Traffic Safety Administration Vehicle Safety Hotline at 1-888-327-4236.","manufacturer":"Honda (American Honda Motor Co.)","park_it":false,"park_outside":false,"over_the_air_fix":false}]},"evidence":{"source":"US National Highway Traffic Safety Administration","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupPlaceDisastersResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["place_disasters"]},"result":{"type":"object","properties":{"notice":{"type":"string","description":"The notice FEMA requires with its data; keep it with the data"},"state":{"type":"string"},"county":{"type":"string"},"total":{"type":"number","description":"Every declaration matching the search, not only the ones returned"},"declarations":{"type":"array","items":{"type":"object","properties":{"declaration_id":{"type":["string","null"],"description":"The FEMA declaration number, for example DR-4798-TX"},"kind":{"type":["string","null"],"description":"major_disaster, emergency, fire_management, or the raw declaration code"},"declared_on":{"type":["string","null"],"description":"YYYY-MM-DD"},"incident_type":{"type":["string","null"]},"title":{"type":["string","null"]},"incident_began_on":{"type":["string","null"],"description":"YYYY-MM-DD"},"incident_ended_on":{"type":["string","null"],"description":"YYYY-MM-DD; null while the incident is open"},"area":{"type":["string","null"],"description":"The designated area as FEMA names it, for example Harris (County) or Statewide"},"statewide":{"type":"boolean","description":"True when the declaration covers the whole state"},"individual_assistance":{"type":["boolean","null"],"description":"Assistance to individuals declared (Individual Assistance or Individuals and Households program)"},"public_assistance":{"type":["boolean","null"],"description":"Public assistance program declared"},"hazard_mitigation":{"type":["boolean","null"],"description":"Hazard mitigation program declared"}},"required":["declaration_id","kind","declared_on","incident_type","title","incident_began_on","incident_ended_on","area","statewide","individual_assistance","public_assistance","hazard_mitigation"]}}},"required":["notice","state","county","total","declarations"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"place_disasters","result":{"notice":"This product uses the Federal Emergency Management Agency’s OpenFEMA API, but is not endorsed by FEMA. The Federal Government or FEMA cannot vouch for the data or analyses derived from these data after the data have been retrieved from the Agency's website(s).","state":"TX","county":"Harris","total":4,"declarations":[{"declaration_id":"DR-4798-TX","kind":"major_disaster","declared_on":"2024-07-09","incident_type":"Hurricane","title":"HURRICANE BERYL","incident_began_on":"2024-07-05","incident_ended_on":"2024-07-09","area":"Harris (County)","statewide":false,"individual_assistance":true,"public_assistance":true,"hazard_mitigation":true}]},"evidence":{"source":"US Federal Emergency Management Agency","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupPlaceEarthquakesResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["place_earthquakes"]},"result":{"type":"object","properties":{"earthquakes":{"type":"array","items":{"type":"object","properties":{"id":{"type":["string","null"],"description":"The source's event id"},"magnitude":{"type":["number","null"]},"magnitude_type":{"type":["string","null"],"description":"How the magnitude was measured, for example md or mw"},"place":{"type":["string","null"],"description":"The nearest named place, as the source words it"},"occurred_at":{"type":["string","null"],"description":"ISO 8601, UTC"},"latitude":{"type":["number","null"]},"longitude":{"type":["number","null"]},"depth_km":{"type":["number","null"],"description":"Depth below the surface in kilometres"},"felt_reports":{"type":["number","null"],"description":"Number of people who reported feeling it; null when none were collected"},"alert":{"type":["string","null"],"description":"The source's impact alert level (green, yellow, orange, red); null when none was issued"},"tsunami":{"type":"boolean","description":"True when the source flagged a tsunami"},"url":{"type":["string","null"],"description":"The source's page for the event"}},"required":["id","magnitude","magnitude_type","place","occurred_at","latitude","longitude","depth_km","felt_reports","alert","tsunami","url"]}}},"required":["earthquakes"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"place_earthquakes","result":{"earthquakes":[{"id":"nc75444432","magnitude":2.51,"magnitude_type":"md","place":"5 km W of Yountville, CA","occurred_at":"2026-09-29T16:06:37.440Z","latitude":38.3978333333333,"longitude":-122.4235,"depth_km":7.89,"felt_reports":51,"alert":null,"tsunami":false,"url":"https://earthquake.usgs.gov/earthquakes/eventpage/nc75444432"}]},"evidence":{"source":"US Geological Survey","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupPlaceStormEventsResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["place_storm_events"]},"result":{"type":"object","properties":{"county_found":{"type":"boolean","description":"False when the source does not list the county for the state; then `events` is empty and `counties` lists the names it accepts"},"state":{"type":"string","description":"The source's state name used"},"county":{"type":["string","null"],"description":"The county as the source spells it; null when not found"},"counties":{"type":"array","items":{"type":"string"},"description":"When the county was not found, the source's county names for the state, in its order; otherwise empty"},"total":{"type":"number","description":"Events the source returned for the range, before `limit`"},"truncated":{"type":"boolean","description":"True when the source returned its row cap: older events in the range were cut"},"events":{"type":"array","items":{"type":"object","properties":{"event_id":{"type":"number","description":"The source's event id"},"episode_id":{"type":["number","null"],"description":"The source's id for the episode the event belongs to"},"event_type":{"type":"string","description":"As the source words it, for example Tornado, Thunderstorm Wind or Hurricane (Typhoon)"},"begin_at":{"type":["string","null"],"description":"ISO 8601 with the offset the source states; null when it does not parse"},"end_at":{"type":["string","null"],"description":"ISO 8601 with the offset the source states; null when it does not parse"},"time_zone":{"type":["string","null"],"description":"The source's zone label, for example CST-6"},"location":{"type":["string","null"],"description":"The place where the event began, as the source words it"},"area":{"type":["string","null"],"description":"The county or forecast zone the event is recorded on, for example CLEVELAND CO. or CLEVELAND (ZONE)"},"area_type":{"type":"string","enum":["county","zone"]},"magnitude":{"type":["string","null"],"description":"As the source gives it: hail size in inches, wind in knots (EG estimated gust, MG measured gust), tornado EF scale"},"deaths":{"type":["number","null"],"description":"Direct deaths"},"injuries":{"type":["number","null"],"description":"Direct injuries"},"damage_property_usd":{"type":["number","null"],"description":"Property damage in US dollars; null when not reported, never zero"},"damage_crops_usd":{"type":["number","null"],"description":"Crop damage in US dollars; null when not reported, never zero"},"url":{"type":"string","description":"The source's page for the event"}},"required":["event_id","episode_id","event_type","begin_at","end_at","time_zone","location","area","area_type","magnitude","deaths","injuries","damage_property_usd","damage_crops_usd","url"]}}},"required":["county_found","state","county","counties","total","truncated","events"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"place_storm_events","result":{"county_found":true,"state":"Oklahoma","county":"Cleveland","counties":[],"total":1,"truncated":false,"events":[{"event_id":451572,"episode_id":74673,"event_type":"Tornado","begin_at":"2013-05-20T14:04:00-06:00","end_at":"2013-05-20T14:35:00-06:00","time_zone":"CST-6","location":"MOORE","area":"CLEVELAND CO.","area_type":"county","magnitude":"EF5","deaths":24,"injuries":207,"damage_property_usd":2000000000,"damage_crops_usd":0,"url":"https://www.ncei.noaa.gov/access/storm-events-database/event-details/451572"}]},"evidence":{"source":"US National Oceanic and Atmospheric Administration","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupPlaceHailWindReportsResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["place_hail_wind_reports"]},"result":{"type":"object","properties":{"total":{"type":"number","description":"Number of reports returned"},"truncated":{"type":"boolean","description":"True when more reports matched than `limit`"},"reports":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"As the source words it, for example Hail, Tstm Wnd Gst or Tornado"},"category":{"type":"string","enum":["hail","wind","tornado"]},"reported_at":{"type":"string","description":"ISO 8601, UTC"},"magnitude":{"type":["number","null"],"description":"Hail size or wind speed; null when the report carries none"},"magnitude_units":{"type":["string","null"],"description":"inch or mph"},"location":{"type":["string","null"],"description":"The source's short place text, for example 3 SW Santa Fe"},"state":{"type":["string","null"]},"latitude":{"type":["number","null"]},"longitude":{"type":["number","null"]},"office":{"type":["string","null"],"description":"The forecast office that filed it, for example Albuquerque NM"},"office_id":{"type":["string","null"],"description":"The office code, for example ABQ"},"remarks":{"type":["string","null"]}},"required":["type","category","reported_at","magnitude","magnitude_units","location","state","latitude","longitude","office","office_id","remarks"]}}},"required":["total","truncated","reports"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"place_hail_wind_reports","result":{"total":2,"truncated":true,"reports":[{"type":"Tstm Wnd Dmg","category":"wind","reported_at":"2026-10-25T01:10:00.000Z","magnitude":null,"magnitude_units":null,"location":"3 SW Santa Fe","state":"NM","latitude":35.64000576594535,"longitude":-105.980009920355,"office":"Albuquerque NM","office_id":"ABQ","remarks":"A large mature tree, with a 1-2' trunk, was uprooted. A branch burst through a window of a residence."},{"type":"Hail","category":"hail","reported_at":"2026-10-25T01:05:00.000Z","magnitude":1,"magnitude_units":"inch","location":"1 SW Santa Fe","state":"NM","latitude":35.67000577078422,"longitude":-105.97000992132457,"office":"Albuquerque NM","office_id":"ABQ","remarks":"Dime to quarter size hail."}]},"evidence":{"source":"US National Weather Service","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"ResolvePlaceResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["place_resolve"]},"result":{"type":"object","properties":{"found":{"type":"boolean","description":"False when the source matched no address"},"matched_address":{"type":["string","null"],"description":"The address as the source matched it, for example 1600 PENNSYLVANIA AVE NW, WASHINGTON, DC, 20500"},"latitude":{"type":["number","null"]},"longitude":{"type":["number","null"]},"street":{"type":["string","null"],"description":"House number and street of the matched address"},"city":{"type":["string","null"]},"state":{"type":["string","null"],"description":"Two-letter state postal code"},"postal_code":{"type":["string","null"]},"state_code":{"type":["string","null"],"description":"Two-digit state FIPS code, for example 11"},"county_code":{"type":["string","null"],"description":"Three-digit county FIPS code within the state, for example 001"},"county_name":{"type":["string","null"]},"county_id":{"type":["string","null"],"description":"Five-digit county code (state + county), for example 11001"},"tract_id":{"type":["string","null"],"description":"Eleven-digit census tract code, for example 11001980000"},"block_id":{"type":["string","null"],"description":"Fifteen-digit census block code"},"place_name":{"type":["string","null"],"description":"The incorporated place (city, town) the address is in; null outside one"},"entity_id":{"type":["string","null"],"description":"The OneShot place id, for example place_… (38 characters), the same for every resolve of the same matched address; null when the address matched nothing or the source gave no complete geography"},"candidates":{"type":"number","description":"How many matches the source offered; only the first is returned"}},"required":["found","matched_address","latitude","longitude","street","city","state","postal_code","state_code","county_code","county_name","county_id","tract_id","block_id","place_name","entity_id","candidates"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"place_resolve","result":{"found":true,"matched_address":"1600 PENNSYLVANIA AVE NW, WASHINGTON, DC, 20500","latitude":38.898702605245,"longitude":-77.035189204737,"street":"1600 PENNSYLVANIA AVE NW","city":"WASHINGTON","state":"DC","postal_code":"20500","state_code":"11","county_code":"001","county_name":"District of Columbia","county_id":"11001","tract_id":"11001980000","block_id":"110019800001034","place_name":"Washington city","entity_id":"place_4df4e8296ac5a78ac3c6f52b450a97a9","candidates":1},"evidence":{"source":"US Census Bureau","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupPlaceWeatherAlertsResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["place_weather_alerts"]},"result":{"type":"object","properties":{"total":{"type":"number","description":"Number of alerts returned: those active at the point, including issued alerts whose event has not begun"},"alerts":{"type":"array","items":{"type":"object","properties":{"event":{"type":["string","null"],"description":"The alert type, for example Flood Warning or Winter Weather Advisory"},"severity":{"type":["string","null"],"description":"Extreme, Severe, Moderate, Minor or Unknown"},"certainty":{"type":["string","null"],"description":"Observed, Likely, Possible, Unlikely or Unknown"},"urgency":{"type":["string","null"],"description":"Immediate, Expected, Future, Past or Unknown"},"headline":{"type":["string","null"]},"description":{"type":["string","null"]},"instruction":{"type":["string","null"],"description":"What the issuer advises people to do; null when none is given"},"area":{"type":["string","null"],"description":"The area the alert covers, as the issuer names it"},"sender":{"type":["string","null"],"description":"The issuing forecast office, for example NWS Lake Charles LA"},"effective_at":{"type":["string","null"],"description":"ISO 8601, as the source gives it"},"onset_at":{"type":["string","null"],"description":"ISO 8601, as the source gives it"},"expires_at":{"type":["string","null"],"description":"ISO 8601, as the source gives it"},"ends_at":{"type":["string","null"],"description":"ISO 8601, as the source gives it; null when the event has no set end"}},"required":["event","severity","certainty","urgency","headline","description","instruction","area","sender","effective_at","onset_at","expires_at","ends_at"]}}},"required":["total","alerts"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"place_weather_alerts","result":{"total":1,"alerts":[{"event":"Flood Warning","severity":"Severe","certainty":"Observed","urgency":"Immediate","headline":"Flood Warning issued October 12 at 10:35AM CDT by NWS Lake Charles LA","description":"The Flood Warning is extended for the following rivers.","instruction":"Turn around, do not drown when encountering flooded roads.","area":"Hardin, TX; Jasper, TX; Jefferson, TX; Orange, TX","sender":"NWS Lake Charles LA","effective_at":"2026-10-12T10:35:00-05:00","onset_at":"2026-10-12T10:35:00-05:00","expires_at":"2026-10-13T01:00:00-05:00","ends_at":null}]},"evidence":{"source":"US National Weather Service","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupPlaceTropicalCyclonesResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["place_tropical_cyclones"]},"result":{"type":"object","properties":{"coverage":{"type":"object","properties":{"covered":{"type":"boolean"},"basins":{"type":"array","items":{"type":"string","enum":["atlantic","east_pacific","central_pacific"]}},"latest_advisory_at":{"type":["string","null"]}},"required":["covered","basins","latest_advisory_at"]},"total":{"type":"integer"},"returned":{"type":"integer"},"truncated":{"type":"boolean"},"storms":{"type":"array","items":{"type":"object","properties":{"observed":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"classification":{"type":"string"},"intensity_kt":{"type":["number","null"]},"pressure_mb":{"type":["number","null"]},"latitude":{"type":"number"},"longitude":{"type":"number"},"movement_deg":{"type":["number","null"]},"movement_mph":{"type":["number","null"]},"position_at":{"type":"string"},"advisory_number":{"type":"string"},"issued_at":{"type":"string"},"advisory_url":{"type":["string","null"]},"forecast":{"type":"array","items":{"type":"object","properties":{"valid_at":{"type":"string"},"latitude":{"type":"number"},"longitude":{"type":"number"},"max_wind_kt":{"type":["number","null"]}},"required":["valid_at","latitude","longitude","max_wind_kt"]}}},"required":["id","name","classification","intensity_kt","pressure_mb","latitude","longitude","movement_deg","movement_mph","position_at","advisory_number","issued_at","advisory_url","forecast"]},"derived":{"type":"object","properties":{"movement_kt":{"type":"object","properties":{"value":{"type":["number","null"]},"rule":{"type":"string","minLength":1},"from":{"type":"array","items":{"type":"string"},"minItems":1}},"required":["value","rule","from"]},"distance_km":{"type":"object","properties":{"value":{"type":["number","null"]},"rule":{"type":"string","minLength":1},"from":{"type":"array","items":{"type":"string"},"minItems":1}},"required":["value","rule","from"]},"closest_approach_km":{"type":"object","properties":{"value":{"type":["number","null"]},"rule":{"type":"string","minLength":1},"from":{"type":"array","items":{"type":"string"},"minItems":1}},"required":["value","rule","from"]},"closest_approach_at":{"type":"object","properties":{"value":{"type":["string","null"]},"rule":{"type":"string","minLength":1},"from":{"type":"array","items":{"type":"string"},"minItems":1}},"required":["value","rule","from"]}},"required":["movement_kt"]}},"required":["observed","derived"]}}},"required":["coverage","total","returned","truncated","storms"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"place_tropical_cyclones","result":{"coverage":{"covered":true,"basins":["atlantic","east_pacific","central_pacific"],"latest_advisory_at":null},"total":0,"returned":0,"truncated":false,"storms":[]},"evidence":{"source":"US National Hurricane Center","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupPlaceRecentImageryResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["place_recent_imagery"]},"result":{"type":"object","properties":{"coverage":{"type":"object","properties":{"since":{"type":"string","description":"The first UTC day searched"},"products":{"type":"array","items":{"type":"string","enum":["landsat","sentinel2"]}},"scenes_in_window":{"type":"integer","description":"How many passes the catalogue holds in the window across both products, whatever their cloud, by its own count"},"scenes_considered":{"type":"integer","description":"Passes examined, whatever their cloud: every pass in the window when complete is true, otherwise the newest 200 per product"},"scenes_too_cloudy":{"type":"integer","description":"Examined passes above max_cloud_pct"},"scenes_cloud_unknown":{"type":"integer","description":"Examined passes the source gave no cloud figure for; never listed as clear"},"complete":{"type":"boolean","description":"True when every pass in the window was examined and the counts are exact; false when a product had more passes than one page, so scenes_considered, scenes_too_cloudy, scenes_cloud_unknown and total are lower bounds covering the newest passes only"}},"required":["since","products","scenes_in_window","scenes_considered","scenes_too_cloudy","scenes_cloud_unknown","complete"]},"total":{"type":"integer","description":"Clear scenes among the examined passes, including any beyond limit; exact when coverage.complete is true, otherwise a lower bound"},"returned":{"type":"integer","description":"Scenes listed"},"truncated":{"type":"boolean","description":"True when clear scenes beyond limit were left out, or when coverage.complete is false"},"scenes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"The granule name, for example HLS.L30.T11SLT.2026297T182822.v2.0"},"product":{"type":"string","enum":["landsat","sentinel2"],"description":"landsat (HLS L30, Landsat 8/9) or sentinel2 (HLS S30, Sentinel-2)"},"acquired_at":{"type":"string","description":"Sensing start, ISO 8601 UTC"},"cloud_pct":{"type":["number","null"],"description":"Scene cloud cover the source reported, 0 to 100; null when it reported none"},"browse_url":{"type":"string","description":"A JPEG the caller can open without a login: the granule browse image for landsat, a GIBS snapshot of the scene footprint on the acquisition day for sentinel2"},"granule_url":{"type":"string","description":"The granule record in the NASA Common Metadata Repository"}},"required":["id","product","acquired_at","cloud_pct","browse_url","granule_url"]}},"latest":{"type":["object","null"],"properties":{"id":{"type":"string","description":"The granule name, for example HLS.L30.T11SLT.2026297T182822.v2.0"},"product":{"type":"string","enum":["landsat","sentinel2"],"description":"landsat (HLS L30, Landsat 8/9) or sentinel2 (HLS S30, Sentinel-2)"},"acquired_at":{"type":"string","description":"Sensing start, ISO 8601 UTC"},"cloud_pct":{"type":["number","null"],"description":"Scene cloud cover the source reported, 0 to 100; null when it reported none"},"browse_url":{"type":"string","description":"A JPEG the caller can open without a login: the granule browse image for landsat, a GIBS snapshot of the scene footprint on the acquisition day for sentinel2"},"granule_url":{"type":"string","description":"The granule record in the NASA Common Metadata Repository"}},"required":["id","product","acquired_at","cloud_pct","browse_url","granule_url"],"description":"The first scene, or null"},"derived":{"type":"object","properties":{"latest":{"type":"object","properties":{"value":{"type":["string","null"],"description":"The id of latest"},"rule":{"type":"string","minLength":1},"from":{"type":"array","items":{"type":"string"},"minItems":1}},"required":["value","rule","from"]}},"required":["latest"]}},"required":["coverage","total","returned","truncated","scenes","latest","derived"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"place_recent_imagery","result":{"coverage":{"since":"2026-09-28","products":["landsat","sentinel2"],"scenes_in_window":10,"scenes_considered":10,"scenes_too_cloudy":0,"scenes_cloud_unknown":0,"complete":true},"total":10,"returned":2,"truncated":true,"scenes":[{"id":"HLS.S30.T11SLT.2026297T183431.v2.0","product":"sentinel2","acquired_at":"2026-10-24T18:45:02.186Z","cloud_pct":0,"browse_url":"https://wvs.earthdata.nasa.gov/api/v1/snapshot?REQUEST=GetSnapshot&LAYERS=HLS_S30_Nadir_BRDF_Adjusted_Reflectance&CRS=EPSG%3A4326&TIME=2026-10-24&BBOX=33.3328%2C-119.1738%2C34.3377%2C-117.9694&WIDTH=1024&HEIGHT=1024&FORMAT=image%2Fjpeg","granule_url":"https://cmr.earthdata.nasa.gov/search/concepts/G4388800812-LPCLOUD.umm_json"},{"id":"HLS.L30.T11SLT.2026297T182822.v2.0","product":"landsat","acquired_at":"2026-10-24T18:28:22.778Z","cloud_pct":0,"browse_url":"https://data.lpdaac.earthdatacloud.nasa.gov/lp-prod-public/HLSL30.020/HLS.L30.T11SLT.2026297T182822.v2.0/HLS.L30.T11SLT.2026297T182822.v2.0.jpg","granule_url":"https://cmr.earthdata.nasa.gov/search/concepts/G4388797587-LPCLOUD.umm_json"}],"latest":{"id":"HLS.S30.T11SLT.2026297T183431.v2.0","product":"sentinel2","acquired_at":"2026-10-24T18:45:02.186Z","cloud_pct":0,"browse_url":"https://wvs.earthdata.nasa.gov/api/v1/snapshot?REQUEST=GetSnapshot&LAYERS=HLS_S30_Nadir_BRDF_Adjusted_Reflectance&CRS=EPSG%3A4326&TIME=2026-10-24&BBOX=33.3328%2C-119.1738%2C34.3377%2C-117.9694&WIDTH=1024&HEIGHT=1024&FORMAT=image%2Fjpeg","granule_url":"https://cmr.earthdata.nasa.gov/search/concepts/G4388800812-LPCLOUD.umm_json"},"derived":{"latest":{"value":"HLS.S30.T11SLT.2026297T183431.v2.0","rule":"newest_scene_at_or_under_max_cloud_pct","from":["scenes.acquired_at","scenes.cloud_pct","input.max_cloud_pct"]}}},"evidence":{"source":"US National Aeronautics and Space Administration","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"ListPlaceRadarImageryResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["place_radar_imagery"]},"result":{"type":"object","properties":{"scenes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"acquired_at":{"type":"string"},"beam_mode":{"type":["string","null"]},"polarization":{"type":["string","null"]},"flight_direction":{"type":"string","enum":["ascending","descending"]},"relative_orbit":{"type":"integer"},"browse_url":{"type":["string","null"],"description":"Public ASF browse JPEG, or null when no verified public link is supplied"},"scene_url":{"type":"string","description":"ASF catalogue page; full data downloads may require Earthdata credentials"},"observed":{"type":"object","properties":{"flight_direction":{"type":"string","enum":["ASCENDING","DESCENDING"]}},"required":["flight_direction"]},"derived":{"type":"object","properties":{"flight_direction":{"type":"object","properties":{"value":{"type":"string","enum":["ascending","descending"]},"rule":{"type":"string","minLength":1},"from":{"type":"array","items":{"type":"string"},"minItems":1}},"required":["value","rule","from"]},"scene_url":{"type":"object","properties":{"value":{"type":"string"},"rule":{"type":"string","minLength":1},"from":{"type":"array","items":{"type":"string"},"minItems":1}},"required":["value","rule","from"]}},"required":["flight_direction","scene_url"]}},"required":["id","acquired_at","beam_mode","polarization","flight_direction","relative_orbit","browse_url","scene_url","observed","derived"]}},"latest":{"type":["object","null"],"properties":{"id":{"type":"string"},"acquired_at":{"type":"string"},"beam_mode":{"type":["string","null"]},"polarization":{"type":["string","null"]},"flight_direction":{"type":"string","enum":["ascending","descending"]},"relative_orbit":{"type":"integer"},"browse_url":{"type":["string","null"],"description":"Public ASF browse JPEG, or null when no verified public link is supplied"},"scene_url":{"type":"string","description":"ASF catalogue page; full data downloads may require Earthdata credentials"},"observed":{"type":"object","properties":{"flight_direction":{"type":"string","enum":["ASCENDING","DESCENDING"]}},"required":["flight_direction"]},"derived":{"type":"object","properties":{"flight_direction":{"type":"object","properties":{"value":{"type":"string","enum":["ascending","descending"]},"rule":{"type":"string","minLength":1},"from":{"type":"array","items":{"type":"string"},"minItems":1}},"required":["value","rule","from"]},"scene_url":{"type":"object","properties":{"value":{"type":"string"},"rule":{"type":"string","minLength":1},"from":{"type":"array","items":{"type":"string"},"minItems":1}},"required":["value","rule","from"]}},"required":["flight_direction","scene_url"]}},"required":["id","acquired_at","beam_mode","polarization","flight_direction","relative_orbit","browse_url","scene_url","observed","derived"]},"coverage":{"type":"object","properties":{"catalogue_available":{"type":"boolean","enum":[true],"description":"The catalogue returned a valid response; failures are typed errors, never empty results"},"since":{"type":"string"},"until":{"type":"string","description":"Last UTC date searched, inclusive"},"scenes_considered":{"type":"integer","description":"Acquisitions in the fetched page, including the extra scene used to detect truncation"},"complete":{"type":"boolean","description":"False when more scenes exist than limit; total is then a lower bound"}},"required":["catalogue_available","since","until","scenes_considered","complete"]},"observed":{"type":"object","properties":{"scenes":{"type":"array","items":{"type":"object","properties":{"sceneName":{"type":"string","pattern":"^[A-Za-z0-9_.-]{1,160}$"},"startTime":{"type":"string","format":"date-time"},"beamModeType":{"type":["string","null"],"minLength":1},"polarization":{"type":["string","null"],"minLength":1},"flightDirection":{"type":"string","enum":["ASCENDING","DESCENDING"]},"pathNumber":{"type":"integer","minimum":1,"maximum":175},"browse":{"type":"array","items":{"type":"string"},"default":[]}},"required":["sceneName","startTime","beamModeType","polarization","flightDirection","pathNumber"]}}},"required":["scenes"]},"total":{"type":"integer"},"returned":{"type":"integer"},"truncated":{"type":"boolean"},"derived":{"type":"object","properties":{"latest":{"type":"object","properties":{"value":{"type":["string","null"]},"rule":{"type":"string","minLength":1},"from":{"type":"array","items":{"type":"string"},"minItems":1}},"required":["value","rule","from"]},"coverage":{"type":"object","properties":{"value":{"type":"object","properties":{"catalogue_available":{"type":"boolean","enum":[true],"description":"The catalogue returned a valid response; failures are typed errors, never empty results"},"since":{"type":"string"},"until":{"type":"string","description":"Last UTC date searched, inclusive"},"scenes_considered":{"type":"integer","description":"Acquisitions in the fetched page, including the extra scene used to detect truncation"},"complete":{"type":"boolean","description":"False when more scenes exist than limit; total is then a lower bound"}},"required":["catalogue_available","since","until","scenes_considered","complete"]},"rule":{"type":"string","minLength":1},"from":{"type":"array","items":{"type":"string"},"minItems":1}},"required":["value","rule","from"]},"total":{"type":"object","properties":{"value":{"type":"integer"},"rule":{"type":"string","minLength":1},"from":{"type":"array","items":{"type":"string"},"minItems":1}},"required":["value","rule","from"]},"returned":{"type":"object","properties":{"value":{"type":"integer"},"rule":{"type":"string","minLength":1},"from":{"type":"array","items":{"type":"string"},"minItems":1}},"required":["value","rule","from"]},"truncated":{"type":"object","properties":{"value":{"type":"boolean"},"rule":{"type":"string","minLength":1},"from":{"type":"array","items":{"type":"string"},"minItems":1}},"required":["value","rule","from"]}},"required":["latest","coverage","total","returned","truncated"]}},"required":["scenes","latest","coverage","observed","total","returned","truncated","derived"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"place_radar_imagery","result":{"scenes":[{"id":"S1D_IW_GRDH_1SDV_20261026T135159_20261026T135224_005187_009D92_9FF7","acquired_at":"2026-10-26T13:51:59Z","beam_mode":"IW","polarization":"VV+VH","flight_direction":"descending","relative_orbit":71,"browse_url":"https://datapool.asf.alaska.edu/BROWSE/SD/S1D_IW_GRDH_1SDV_20261026T135159_20261026T135224_005187_009D92_9FF7.jpg","scene_url":"https://search.asf.alaska.edu/#/?granule=S1D_IW_GRDH_1SDV_20261026T135159_20261026T135224_005187_009D92_9FF7","observed":{"flight_direction":"DESCENDING"},"derived":{"flight_direction":{"value":"descending","rule":"lowercase_source_direction","from":["observed.flight_direction"]},"scene_url":{"value":"https://search.asf.alaska.edu/#/?granule=S1D_IW_GRDH_1SDV_20261026T135159_20261026T135224_005187_009D92_9FF7","rule":"vertex_granule_link","from":["id"]}}}],"latest":{"id":"S1D_IW_GRDH_1SDV_20261026T135159_20261026T135224_005187_009D92_9FF7","acquired_at":"2026-10-26T13:51:59Z","beam_mode":"IW","polarization":"VV+VH","flight_direction":"descending","relative_orbit":71,"browse_url":"https://datapool.asf.alaska.edu/BROWSE/SD/S1D_IW_GRDH_1SDV_20261026T135159_20261026T135224_005187_009D92_9FF7.jpg","scene_url":"https://search.asf.alaska.edu/#/?granule=S1D_IW_GRDH_1SDV_20261026T135159_20261026T135224_005187_009D92_9FF7","observed":{"flight_direction":"DESCENDING"},"derived":{"flight_direction":{"value":"descending","rule":"lowercase_source_direction","from":["observed.flight_direction"]},"scene_url":{"value":"https://search.asf.alaska.edu/#/?granule=S1D_IW_GRDH_1SDV_20261026T135159_20261026T135224_005187_009D92_9FF7","rule":"vertex_granule_link","from":["id"]}}},"coverage":{"since":"2026-09-29","until":"2026-10-29","scenes_considered":1,"complete":true,"catalogue_available":true},"total":1,"returned":1,"truncated":false,"observed":{"scenes":[{"sceneName":"S1D_IW_GRDH_1SDV_20261026T135159_20261026T135224_005187_009D92_9FF7","startTime":"2026-10-26T13:51:59Z","beamModeType":"IW","polarization":"VV+VH","flightDirection":"DESCENDING","pathNumber":71,"browse":["https://datapool.asf.alaska.edu/BROWSE/SD/S1D_IW_GRDH_1SDV_20261026T135159_20261026T135224_005187_009D92_9FF7.jpg"]}]},"derived":{"latest":{"value":"S1D_IW_GRDH_1SDV_20261026T135159_20261026T135224_005187_009D92_9FF7","rule":"newest_acquisition_then_id","from":["observed.scenes.startTime","observed.scenes.sceneName"]},"coverage":{"value":{"since":"2026-09-29","until":"2026-10-29","scenes_considered":1,"complete":true,"catalogue_available":true},"rule":"validated_catalogue_window_and_count_received","from":["input.since","input.limit","evidence.retrieved_at","observed.scenes"]},"total":{"value":1,"rule":"count_received_scenes_lower_bound_if_capped","from":["observed.scenes"]},"returned":{"value":1,"rule":"count_listed_scenes","from":["scenes"]},"truncated":{"value":false,"rule":"received_limit_plus_one","from":["observed.scenes","input.limit"]}}},"evidence":{"source":"Alaska Satellite Facility","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupPlaceSatellitePassesResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["place_satellite_passes"]},"result":{"type":"object","properties":{"coverage":{"type":"object","properties":{"window_start":{"type":"string","description":"Start of the window, ISO 8601 UTC"},"window_end":{"type":"string","description":"End of the window, ISO 8601 UTC"},"kind":{"type":"string","enum":["imaging","all"]},"groups":{"type":"array","items":{"type":"string","enum":["resource","weather","sentinel-1"]},"description":"The catalogues read"},"satellites":{"type":"array","items":{"type":"object","properties":{"satellite":{"type":"string"},"norad_id":{"type":"integer"},"epoch":{"type":"string","description":"The element epoch, ISO 8601 UTC: when the orbit was last measured"},"sensor":{"type":["string","null"],"description":"The imaging sensor from the swath table, or null for a satellite whose swath is not tabled"},"swath_km":{"type":["number","null"],"description":"The sensor swath on the ground, or null when not tabled"}},"required":["satellite","norad_id","epoch","sensor","swath_km"]},"description":"Every satellite whose orbit was propagated over the window"},"not_published":{"type":"array","items":{"type":"object","properties":{"satellite":{"type":"string"},"norad_id":{"type":"integer"}},"required":["satellite","norad_id"]},"description":"Swath-table satellites the source did not list, so their passes are unknown"},"too_far_from_epoch":{"type":"integer","description":"Passes left out because they lie more than 3 days from the element epoch"},"high_orbit_left_out":{"type":"integer","description":"Satellites in the catalogues read that do not pass over a point (geosynchronous and higher)"}},"required":["window_start","window_end","kind","groups","satellites","not_published","too_far_from_epoch","high_orbit_left_out"]},"total":{"type":"integer","description":"Passes in the window, including any beyond limit"},"returned":{"type":"integer"},"truncated":{"type":"boolean","description":"True when passes beyond limit were left out"},"passes":{"type":"array","items":{"type":"object","properties":{"observed":{"type":"object","properties":{"satellite":{"type":"string","description":"The satellite name as the catalogue spells it"},"norad_id":{"type":"integer","description":"The satellite catalogue number"},"epoch":{"type":"string","description":"The element epoch, ISO 8601 UTC: when the source last measured this orbit"},"mean_motion_rev_per_day":{"type":"number","description":"Revolutions per day, as the element set states"},"inclination_deg":{"type":"number","description":"Orbital inclination in degrees, as the element set states"}},"required":["satellite","norad_id","epoch","mean_motion_rev_per_day","inclination_deg"],"description":"What the source published about the satellite: its identity and the orbit the pass is computed from"},"derived":{"type":"object","properties":{"rise_at":{"type":"object","properties":{"value":{"type":"string"},"rule":{"type":"string","minLength":1},"from":{"type":"array","items":{"type":"string"},"minItems":1}},"required":["value","rule","from"],"description":"When the satellite rose above min_elevation_deg at the point, ISO 8601 UTC, computed by SGP4; from when the pass was in progress at from"},"culminate_at":{"type":"object","properties":{"value":{"type":"string"},"rule":{"type":"string","minLength":1},"from":{"type":"array","items":{"type":"string"},"minItems":1}},"required":["value","rule","from"],"description":"When it was highest in the sky at the point, ISO 8601 UTC, computed by SGP4"},"set_at":{"type":"object","properties":{"value":{"type":"string"},"rule":{"type":"string","minLength":1},"from":{"type":"array","items":{"type":"string"},"minItems":1}},"required":["value","rule","from"],"description":"When it dropped below min_elevation_deg, ISO 8601 UTC, computed by SGP4; to when the pass was still in progress at to"},"max_elevation_deg":{"type":"object","properties":{"value":{"type":"number"},"rule":{"type":"string","minLength":1},"from":{"type":"array","items":{"type":"string"},"minItems":1}},"required":["value","rule","from"],"description":"Elevation above the horizon at culmination, in degrees, computed by SGP4"},"daynight":{"type":"object","properties":{"value":{"type":"string","enum":["day","night"]},"rule":{"type":"string","minLength":1},"from":{"type":"array","items":{"type":"string"},"minItems":1}},"required":["value","rule","from"],"description":"day when the Sun was above the horizon at the point at culmination, otherwise night"},"cut_by_window":{"type":"object","properties":{"value":{"type":"boolean"},"rule":{"type":"string","minLength":1},"from":{"type":"array","items":{"type":"string"},"minItems":1}},"required":["value","rule","from"],"description":"True when the pass was in progress at from or at to, so rise_at or set_at is the window edge"},"track_distance_km":{"type":"object","properties":{"value":{"type":["number","null"]},"rule":{"type":"string","minLength":1},"from":{"type":"array","items":{"type":"string"},"minItems":1}},"required":["value","rule","from"],"description":"The least kilometres from the point to the ground track anywhere in the pass, to 0.1 km; null when the orbit could not be propagated over the pass"},"in_swath":{"type":"object","properties":{"value":{"type":["boolean","null"]},"rule":{"type":"string","minLength":1},"from":{"type":"array","items":{"type":"string"},"minItems":1}},"required":["value","rule","from"],"description":"True when the unrounded least track distance is within half the sensor swath, false when outside it, null for a satellite whose swath is not in the sensor table or without a track distance"}},"required":["rise_at","culminate_at","set_at","max_elevation_deg","daynight","cut_by_window","track_distance_km","in_swath"],"description":"Every value OneShot computes from the published orbit; each names its rule and the fields it reads"}},"required":["observed","derived"]},"description":"In time order of rise_at"}},"required":["coverage","total","returned","truncated","passes"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"place_satellite_passes","result":{"coverage":{"window_start":"2026-10-27T12:00:00.000Z","window_end":"2026-10-29T12:00:00.000Z","kind":"imaging","groups":["resource","weather","sentinel-1"],"satellites":[{"satellite":"TECHSAT 1B (GO-32)","norad_id":25397,"epoch":"2026-10-27T23:06:52.684Z","sensor":null,"swath_km":null},{"satellite":"DLR-TUBSAT","norad_id":25757,"epoch":"2026-10-27T23:23:54.700Z","sensor":null,"swath_km":null},{"satellite":"TERRA","norad_id":25994,"epoch":"2026-10-27T22:47:34.154Z","sensor":"MODIS","swath_km":2330},{"satellite":"MAROC-TUBSAT","norad_id":27004,"epoch":"2026-10-27T23:30:06.475Z","sensor":null,"swath_km":null},{"satellite":"AQUA","norad_id":27424,"epoch":"2026-10-27T22:45:17.531Z","sensor":"MODIS","swath_km":2330},{"satellite":"DMSP 5D-3 F16 (USA 172)","norad_id":28054,"epoch":"2026-10-28T00:02:10.992Z","sensor":null,"swath_km":null},{"satellite":"SHIYAN-1 (SY-1)","norad_id":28220,"epoch":"2026-10-27T17:56:29.628Z","sensor":null,"swath_km":null},{"satellite":"AURA","norad_id":28376,"epoch":"2026-10-27T21:09:14.394Z","sensor":null,"swath_km":null},{"satellite":"IRS-P5 (CARTOSAT-1)","norad_id":28649,"epoch":"2026-10-27T22:34:17.780Z","sensor":null,"swath_km":null},{"satellite":"SINAH 1","norad_id":28893,"epoch":"2026-10-27T23:17:31.102Z","sensor":null,"swath_km":null},{"satellite":"RESURS-DK 1","norad_id":29228,"epoch":"2026-10-27T21:12:13.619Z","sensor":null,"swath_km":null},{"satellite":"ARIRANG-2 (KOMPSAT-2)","norad_id":29268,"epoch":"2026-10-27T23:29:30.740Z","sensor":null,"swath_km":null},{"satellite":"DMSP 5D-3 F17 (USA 191)","norad_id":29522,"epoch":"2026-10-27T23:09:01.285Z","sensor":null,"swath_km":null},{"satellite":"LAPAN-TUBSAT","norad_id":29709,"epoch":"2026-10-27T23:20:16.470Z","sensor":null,"swath_km":null},{"satellite":"HAIYANG-1B","norad_id":31113,"epoch":"2026-10-27T22:07:23.466Z","sensor":null,"swath_km":null},{"satellite":"COSMO-SKYMED 1","norad_id":31598,"epoch":"2026-10-27T23:37:20.139Z","sensor":null,"swath_km":null},{"satellite":"TERRASAR-X","norad_id":31698,"epoch":"2026-10-27T12:30:26.251Z","sensor":null,"swath_km":null},{"satellite":"WORLDVIEW-1 (WV-1)","norad_id":32060,"epoch":"2026-10-27T22:52:57.888Z","sensor":null,"swath_km":null},{"satellite":"YAOGAN-3","norad_id":32289,"epoch":"2026-10-28T00:09:48.588Z","sensor":null,"swath_km":null},{"satellite":"COSMO-SKYMED 2","norad_id":32376,"epoch":"2026-10-27T22:54:17.193Z","sensor":null,"swath_km":null},{"satellite":"RADARSAT-2","norad_id":32382,"epoch":"2026-10-27T23:34:49.096Z","sensor":null,"swath_km":null},{"satellite":"CARTOSAT-2A","norad_id":32783,"epoch":"2026-10-27T23:02:32.030Z","sensor":null,"swath_km":null},{"satellite":"FENGYUN 3A","norad_id":32958,"epoch":"2026-10-27T20:05:34.391Z","sensor":null,"swath_km":null},{"satellite":"HUANJING 1A (HJ-1A)","norad_id":33320,"epoch":"2026-10-27T22:03:54.807Z","sensor":null,"swath_km":null},{"satellite":"HUANJING 1B (HJ-1B)","norad_id":33321,"epoch":"2026-10-27T22:48:48.886Z","sensor":null,"swath_km":null},{"satellite":"GEOEYE 1","norad_id":33331,"epoch":"2026-10-27T22:57:07.121Z","sensor":null,"swath_km":null},{"satellite":"THEOS","norad_id":33396,"epoch":"2026-10-27T23:43:48.698Z","sensor":null,"swath_km":null},{"satellite":"COSMO-SKYMED 3","norad_id":33412,"epoch":"2026-10-27T21:54:42.736Z","sensor":null,"swath_km":null},{"satellite":"YAOGAN-4","norad_id":33446,"epoch":"2026-10-27T18:57:03.019Z","sensor":null,"swath_km":null},{"satellite":"GOSAT (IBUKI)","norad_id":33492,"epoch":"2026-10-27T21:20:28.615Z","sensor":null,"swath_km":null},{"satellite":"DEIMOS-1","norad_id":35681,"epoch":"2026-10-27T22:02:46.244Z","sensor":null,"swath_km":null},{"satellite":"DUBAISAT-1","norad_id":35682,"epoch":"2026-10-27T21:29:26.618Z","sensor":null,"swath_km":null},{"satellite":"OCEANSAT-2","norad_id":35931,"epoch":"2026-10-27T22:45:35.221Z","sensor":null,"swath_km":null},{"satellite":"WORLDVIEW-2 (WV-2)","norad_id":35946,"epoch":"2026-10-27T22:22:48.422Z","sensor":null,"swath_km":null},{"satellite":"DMSP 5D-3 F18 (USA 210)","norad_id":35951,"epoch":"2026-10-27T22:37:18.219Z","sensor":null,"swath_km":null},{"satellite":"SMOS","norad_id":36036,"epoch":"2026-10-27T22:15:07.068Z","sensor":null,"swath_km":null},{"satellite":"YAOGAN-7","norad_id":36110,"epoch":"2026-10-27T15:21:24.497Z","sensor":null,"swath_km":null},{"satellite":"TANDEM-X","norad_id":36605,"epoch":"2026-10-27T12:30:26.168Z","sensor":null,"swath_km":null},{"satellite":"CARTOSAT-2B","norad_id":36795,"epoch":"2026-10-27T21:44:56.213Z","sensor":null,"swath_km":null},{"satellite":"YAOGAN-10","norad_id":36834,"epoch":"2026-10-27T23:36:00.800Z","sensor":null,"swath_km":null},{"satellite":"FENGYUN 3B","norad_id":37214,"epoch":"2026-10-27T23:20:35.669Z","sensor":null,"swath_km":null},{"satellite":"COSMO-SKYMED 4","norad_id":37216,"epoch":"2026-10-27T23:12:30.500Z","sensor":null,"swath_km":null},{"satellite":"RESOURCESAT-2","norad_id":37387,"epoch":"2026-10-27T21:37:22.005Z","sensor":null,"swath_km":null},{"satellite":"RASAT","norad_id":37791,"epoch":"2026-10-27T22:42:29.827Z","sensor":null,"swath_km":null},{"satellite":"SUOMI NPP","norad_id":37849,"epoch":"2026-10-27T23:51:40.517Z","sensor":"VIIRS","swath_km":3000},{"satellite":"PLEIADES 1A","norad_id":38012,"epoch":"2026-10-27T23:02:02.406Z","sensor":null,"swath_km":null},{"satellite":"ZIYUAN 1-02C (ZY 1-02C)","norad_id":38038,"epoch":"2026-10-27T23:21:41.653Z","sensor":null,"swath_km":null},{"satellite":"ARIRANG-3 (KOMPSAT-3)","norad_id":38338,"epoch":"2026-10-27T22:05:24.879Z","sensor":null,"swath_km":null},{"satellite":"SPOT 6","norad_id":38755,"epoch":"2026-10-27T22:37:38.570Z","sensor":null,"swath_km":null},{"satellite":"METOP-B","norad_id":38771,"epoch":"2026-10-27T22:41:49.063Z","sensor":null,"swath_km":null},{"satellite":"PLEIADES 1B","norad_id":39019,"epoch":"2026-10-27T23:03:25.128Z","sensor":null,"swath_km":null},{"satellite":"GOKTURK 2","norad_id":39030,"epoch":"2026-10-27T23:44:58.919Z","sensor":null,"swath_km":null},{"satellite":"LANDSAT 8","norad_id":39084,"epoch":"2026-10-27T21:37:16.430Z","sensor":"Landsat OLI","swath_km":185},{"satellite":"GAOFEN-1","norad_id":39150,"epoch":"2026-10-27T22:54:52.497Z","sensor":null,"swath_km":null},{"satellite":"VNREDSAT 1","norad_id":39160,"epoch":"2026-10-27T22:50:43.029Z","sensor":null,"swath_km":null},{"satellite":"ARIRANG-5 (KOMPSAT-5)","norad_id":39227,"epoch":"2026-10-27T23:36:13.726Z","sensor":null,"swath_km":null},{"satellite":"FENGYUN 3C","norad_id":39260,"epoch":"2026-10-27T21:48:54.880Z","sensor":null,"swath_km":null},{"satellite":"SKYSAT-A","norad_id":39418,"epoch":"2026-10-27T16:51:10.384Z","sensor":null,"swath_km":null},{"satellite":"DUBAISAT-2","norad_id":39419,"epoch":"2026-10-27T22:48:28.067Z","sensor":null,"swath_km":null},{"satellite":"GPM-CORE","norad_id":39574,"epoch":"2026-10-27T21:54:54.515Z","sensor":null,"swath_km":null},{"satellite":"SENTINEL-1A","norad_id":39634,"epoch":"2026-10-27T22:51:48.225Z","sensor":"Sentinel-1 IW","swath_km":250},{"satellite":"KAZEOSAT 1","norad_id":39731,"epoch":"2026-10-27T23:09:04.853Z","sensor":null,"swath_km":null},{"satellite":"ALOS-2","norad_id":39766,"epoch":"2026-10-27T21:39:30.122Z","sensor":null,"swath_km":null},{"satellite":"KAZEOSAT 2","norad_id":40010,"epoch":"2026-10-27T22:10:30.086Z","sensor":null,"swath_km":null},{"satellite":"HODOYOSHI-4","norad_id":40011,"epoch":"2026-10-27T22:56:16.024Z","sensor":null,"swath_km":null},{"satellite":"DEIMOS-2","norad_id":40013,"epoch":"2026-10-27T22:34:32.348Z","sensor":null,"swath_km":null},{"satellite":"HODOYOSHI-3","norad_id":40015,"epoch":"2026-10-27T22:45:37.521Z","sensor":null,"swath_km":null},{"satellite":"SPOT 7","norad_id":40053,"epoch":"2026-10-27T21:49:02.541Z","sensor":null,"swath_km":null},{"satellite":"METEOR-M 2","norad_id":40069,"epoch":"2026-10-27T21:35:34.836Z","sensor":null,"swath_km":null},{"satellite":"SKYSAT-B","norad_id":40072,"epoch":"2026-10-27T22:03:15.656Z","sensor":null,"swath_km":null},{"satellite":"WORLDVIEW-3 (WV-3)","norad_id":40115,"epoch":"2026-10-27T23:11:07.749Z","sensor":null,"swath_km":null},{"satellite":"GAOFEN-2","norad_id":40118,"epoch":"2026-10-27T22:33:47.675Z","sensor":null,"swath_km":null},{"satellite":"YAOGAN-21","norad_id":40143,"epoch":"2026-10-27T23:32:45.560Z","sensor":null,"swath_km":null},{"satellite":"YAOGAN-22","norad_id":40275,"epoch":"2026-10-27T15:59:32.857Z","sensor":null,"swath_km":null},{"satellite":"ASNARO","norad_id":40298,"epoch":"2026-10-27T21:53:07.849Z","sensor":null,"swath_km":null},{"satellite":"YAOGAN-24","norad_id":40310,"epoch":"2026-10-27T22:33:33.871Z","sensor":null,"swath_km":null},{"satellite":"CBERS 4","norad_id":40336,"epoch":"2026-10-27T22:59:32.392Z","sensor":null,"swath_km":null},{"satellite":"YAOGAN-26","norad_id":40362,"epoch":"2026-10-27T22:33:59.518Z","sensor":null,"swath_km":null},{"satellite":"SMAP","norad_id":40376,"epoch":"2026-10-27T22:25:33.899Z","sensor":null,"swath_km":null},{"satellite":"KOMPSAT-3A","norad_id":40536,"epoch":"2026-10-27T23:42:21.445Z","sensor":null,"swath_km":null},{"satellite":"SENTINEL-2A","norad_id":40697,"epoch":"2026-10-27T22:36:15.895Z","sensor":"Sentinel-2 MSI","swath_km":290},{"satellite":"GAOFEN-8","norad_id":40701,"epoch":"2026-10-27T23:19:42.103Z","sensor":null,"swath_km":null},{"satellite":"CARBONITE 1 (CBNT-1)","norad_id":40718,"epoch":"2026-10-27T23:12:51.354Z","sensor":null,"swath_km":null},{"satellite":"YAOGAN-27","norad_id":40878,"epoch":"2026-10-27T23:43:31.112Z","sensor":null,"swath_km":null},{"satellite":"GAOFEN-9 01","norad_id":40894,"epoch":"2026-10-27T23:37:26.194Z","sensor":null,"swath_km":null},{"satellite":"YAOGAN-28","norad_id":41026,"epoch":"2026-10-27T23:36:32.249Z","sensor":null,"swath_km":null},{"satellite":"YAOGAN-29","norad_id":41038,"epoch":"2026-10-27T22:49:31.529Z","sensor":null,"swath_km":null},{"satellite":"KENT RIDGE 1","norad_id":41167,"epoch":"2026-10-27T19:22:43.692Z","sensor":null,"swath_km":null},{"satellite":"SENTINEL-3A","norad_id":41335,"epoch":"2026-10-27T21:39:12.358Z","sensor":null,"swath_km":null},{"satellite":"SENTINEL-1B","norad_id":41456,"epoch":"2026-10-27T22:17:54.437Z","sensor":null,"swath_km":null},{"satellite":"ZIYUAN 3-02 (ZY 3-02)","norad_id":41556,"epoch":"2026-10-27T23:41:44.282Z","sensor":null,"swath_km":null},{"satellite":"CARTOSAT-2C","norad_id":41599,"epoch":"2026-10-27T21:47:49.420Z","sensor":null,"swath_km":null},{"satellite":"SKYSAT-C1","norad_id":41601,"epoch":"2026-10-27T14:45:24.068Z","sensor":null,"swath_km":null},{"satellite":"LAPAN-A3","norad_id":41603,"epoch":"2026-10-27T23:34:59.829Z","sensor":null,"swath_km":null},{"satellite":"GAOFEN-3","norad_id":41727,"epoch":"2026-10-28T00:17:14.925Z","sensor":null,"swath_km":null},{"satellite":"SKYSAT-C4","norad_id":41771,"epoch":"2026-10-27T22:56:28.318Z","sensor":null,"swath_km":null},{"satellite":"SKYSAT-C5","norad_id":41772,"epoch":"2026-10-27T19:53:12.264Z","sensor":null,"swath_km":null},{"satellite":"SKYSAT-C2","norad_id":41773,"epoch":"2026-10-27T20:16:04.388Z","sensor":null,"swath_km":null},{"satellite":"SKYSAT-C3","norad_id":41774,"epoch":"2026-10-27T14:54:53.107Z","sensor":null,"swath_km":null},{"satellite":"ALSAT-1B","norad_id":41785,"epoch":"2026-10-27T23:14:58.939Z","sensor":null,"swath_km":null},{"satellite":"PATHFINDER 1","norad_id":41787,"epoch":"2026-10-27T22:31:30.298Z","sensor":null,"swath_km":null},{"satellite":"GOKTURK 1A","norad_id":41875,"epoch":"2026-10-27T22:47:33.946Z","sensor":null,"swath_km":null},{"satellite":"RESOURCESAT-2A","norad_id":41877,"epoch":"2026-10-27T22:51:46.149Z","sensor":null,"swath_km":null},{"satellite":"CARTOSAT-2D","norad_id":41948,"epoch":"2026-10-27T22:32:28.511Z","sensor":null,"swath_km":null},{"satellite":"SENTINEL-2B","norad_id":42063,"epoch":"2026-10-27T22:26:05.822Z","sensor":"Sentinel-2 MSI","swath_km":290},{"satellite":"CARTOSAT-2E","norad_id":42767,"epoch":"2026-10-27T22:58:48.769Z","sensor":null,"swath_km":null},{"satellite":"FORMOSAT-5","norad_id":42920,"epoch":"2026-10-27T22:40:13.857Z","sensor":null,"swath_km":null},{"satellite":"SENTINEL-5P","norad_id":42969,"epoch":"2026-10-27T20:32:56.835Z","sensor":null,"swath_km":null},{"satellite":"SKYSAT-C11","norad_id":42987,"epoch":"2026-10-26T22:41:14.817Z","sensor":null,"swath_km":null},{"satellite":"SKYSAT-C10","norad_id":42988,"epoch":"2026-10-27T22:55:53.187Z","sensor":null,"swath_km":null},{"satellite":"SKYSAT-C9","norad_id":42989,"epoch":"2026-10-27T22:05:35.848Z","sensor":null,"swath_km":null},{"satellite":"SKYSAT-C8","norad_id":42990,"epoch":"2026-10-27T23:26:01.801Z","sensor":null,"swath_km":null},{"satellite":"SKYSAT-C7","norad_id":42991,"epoch":"2026-10-27T21:49:43.137Z","sensor":null,"swath_km":null},{"satellite":"SKYSAT-C6","norad_id":42992,"epoch":"2026-10-27T22:39:08.484Z","sensor":null,"swath_km":null},{"satellite":"FENGYUN 3D","norad_id":43010,"epoch":"2026-10-27T22:05:53.678Z","sensor":null,"swath_km":null},{"satellite":"NOAA 20 (JPSS-1)","norad_id":43013,"epoch":"2026-10-27T22:30:11.856Z","sensor":"VIIRS","swath_km":3000},{"satellite":"CARTOSAT-2F","norad_id":43111,"epoch":"2026-10-27T23:48:01.529Z","sensor":null,"swath_km":null},{"satellite":"GAOFEN-1 02","norad_id":43259,"epoch":"2026-10-27T22:12:54.113Z","sensor":null,"swath_km":null},{"satellite":"GAOFEN-1 03","norad_id":43260,"epoch":"2026-10-27T23:18:52.218Z","sensor":null,"swath_km":null},{"satellite":"GAOFEN-1 04","norad_id":43262,"epoch":"2026-10-27T22:44:00.360Z","sensor":null,"swath_km":null},{"satellite":"SENTINEL-3B","norad_id":43437,"epoch":"2026-10-27T19:19:31.503Z","sensor":null,"swath_km":null},{"satellite":"GAOFEN-5 01","norad_id":43461,"epoch":"2026-10-27T21:21:05.715Z","sensor":null,"swath_km":null},{"satellite":"GAOFEN-6","norad_id":43484,"epoch":"2026-10-27T23:19:11.063Z","sensor":null,"swath_km":null},{"satellite":"GAOFEN-11 01","norad_id":43585,"epoch":"2026-10-27T22:39:00.508Z","sensor":null,"swath_km":null},{"satellite":"METOP-C","norad_id":43689,"epoch":"2026-10-27T21:21:46.633Z","sensor":null,"swath_km":null},{"satellite":"HYSIS","norad_id":43719,"epoch":"2026-10-27T23:32:04.991Z","sensor":null,"swath_km":null},{"satellite":"KAZSTSAT","norad_id":43783,"epoch":"2026-10-27T20:20:12.088Z","sensor":null,"swath_km":null},{"satellite":"SAUDISAT 5A","norad_id":43831,"epoch":"2026-10-27T22:01:55.197Z","sensor":null,"swath_km":null},{"satellite":"SAUDISAT 5B","norad_id":43833,"epoch":"2026-10-27T23:34:51.380Z","sensor":null,"swath_km":null},{"satellite":"METEOR-M2 2","norad_id":44387,"epoch":"2026-10-27T22:31:06.106Z","sensor":null,"swath_km":null},{"satellite":"GAOFEN-10R","norad_id":44622,"epoch":"2026-10-27T23:52:17.078Z","sensor":null,"swath_km":null},{"satellite":"CARTOSAT-3","norad_id":44804,"epoch":"2026-10-27T22:31:12.139Z","sensor":null,"swath_km":null},{"satellite":"GAOFEN-12 01","norad_id":44819,"epoch":"2026-10-27T22:53:04.077Z","sensor":null,"swath_km":null},{"satellite":"CSG-1","norad_id":44873,"epoch":"2026-10-27T23:30:47.077Z","sensor":null,"swath_km":null},{"satellite":"NEMO-HD","norad_id":46277,"epoch":"2026-10-27T23:07:47.277Z","sensor":null,"swath_km":null},{"satellite":"ARKTIKA-M 1","norad_id":47719,"epoch":"2026-10-27T01:48:51.347Z","sensor":null,"swath_km":null},{"satellite":"CAS500-1","norad_id":47932,"epoch":"2026-10-27T23:06:24.458Z","sensor":null,"swath_km":null},{"satellite":"GAOFEN-12 02","norad_id":48079,"epoch":"2026-10-27T23:29:33.989Z","sensor":null,"swath_km":null},{"satellite":"PLEIADES NEO 3","norad_id":48268,"epoch":"2026-10-27T22:54:24.494Z","sensor":null,"swath_km":null},{"satellite":"FENGYUN 3E","norad_id":49008,"epoch":"2026-10-27T23:03:44.584Z","sensor":null,"swath_km":null},{"satellite":"PLEIADES NEO 4","norad_id":49070,"epoch":"2026-10-27T22:05:46.010Z","sensor":null,"swath_km":null},{"satellite":"LANDSAT 9","norad_id":49260,"epoch":"2026-10-27T22:26:42.046Z","sensor":"Landsat OLI","swath_km":185},{"satellite":"CSG-2","norad_id":51444,"epoch":"2026-10-27T22:42:06.831Z","sensor":null,"swath_km":null},{"satellite":"GAOFEN-12 03","norad_id":52912,"epoch":"2026-10-27T23:07:55.433Z","sensor":null,"swath_km":null},{"satellite":"NOAA 21 (JPSS-2)","norad_id":54234,"epoch":"2026-10-27T21:32:53.268Z","sensor":"VIIRS","swath_km":3000},{"satellite":"FENGYUN 3G","norad_id":56232,"epoch":"2026-10-27T20:09:50.978Z","sensor":null,"swath_km":null},{"satellite":"METEOR-M2 3","norad_id":57166,"epoch":"2026-10-27T23:08:12.827Z","sensor":null,"swath_km":null},{"satellite":"FENGYUN 3F","norad_id":57490,"epoch":"2026-10-27T22:35:35.226Z","sensor":null,"swath_km":null},{"satellite":"GAOFEN-12 04","norad_id":57654,"epoch":"2026-10-28T00:01:22.480Z","sensor":null,"swath_km":null},{"satellite":"METEOR-M2 4","norad_id":59051,"epoch":"2026-10-27T22:02:12.615Z","sensor":null,"swath_km":null},{"satellite":"PARS 1","norad_id":59065,"epoch":"2026-10-27T21:58:55.252Z","sensor":null,"swath_km":null},{"satellite":"RESURS-P 4","norad_id":59371,"epoch":"2026-10-27T22:43:45.315Z","sensor":null,"swath_km":null},{"satellite":"LEGION 1","norad_id":59625,"epoch":"2026-10-27T22:28:21.134Z","sensor":null,"swath_km":null},{"satellite":"LEGION 2","norad_id":59626,"epoch":"2026-10-27T21:38:49.776Z","sensor":null,"swath_km":null},{"satellite":"ALOS-4 (DAICHI-4)","norad_id":60182,"epoch":"2026-10-27T20:29:59.214Z","sensor":null,"swath_km":null},{"satellite":"LEGION 3","norad_id":60452,"epoch":"2026-10-27T15:53:46.435Z","sensor":null,"swath_km":null},{"satellite":"LEGION 4","norad_id":60453,"epoch":"2026-10-27T22:11:36.102Z","sensor":null,"swath_km":null},{"satellite":"SENTINEL-2C","norad_id":60989,"epoch":"2026-10-27T19:55:00.698Z","sensor":"Sentinel-2 MSI","swath_km":290},{"satellite":"SENTINEL-1C","norad_id":62261,"epoch":"2026-10-27T22:55:53.969Z","sensor":"Sentinel-1 IW","swath_km":250},{"satellite":"PRSC-EO1","norad_id":62725,"epoch":"2026-10-27T23:34:03.770Z","sensor":null,"swath_km":null},{"satellite":"BIOMASS","norad_id":63772,"epoch":"2026-10-27T12:24:46.788Z","sensor":null,"swath_km":null},{"satellite":"GOSAT-GW (IBUKI GW)","norad_id":64694,"epoch":"2026-10-27T22:32:57.255Z","sensor":null,"swath_km":null},{"satellite":"MICROCARB","norad_id":64899,"epoch":"2026-10-27T23:11:21.313Z","sensor":null,"swath_km":null},{"satellite":"CO3D 3","norad_id":64900,"epoch":"2026-10-27T22:51:01.569Z","sensor":null,"swath_km":null},{"satellite":"CO3D 4","norad_id":64901,"epoch":"2026-10-27T22:51:23.016Z","sensor":null,"swath_km":null},{"satellite":"CO3D 2","norad_id":64902,"epoch":"2026-10-27T22:03:17.715Z","sensor":null,"swath_km":null},{"satellite":"CO3D 1","norad_id":64903,"epoch":"2026-10-27T22:03:26.112Z","sensor":null,"swath_km":null},{"satellite":"PRSC-S1","norad_id":65055,"epoch":"2026-10-27T22:49:35.008Z","sensor":null,"swath_km":null},{"satellite":"METOP-SGA1","norad_id":65159,"epoch":"2026-10-27T22:11:16.253Z","sensor":null,"swath_km":null},{"satellite":"FENGYUN 3H","norad_id":65815,"epoch":"2026-10-27T19:09:53.363Z","sensor":null,"swath_km":null},{"satellite":"SENTINEL-1D","norad_id":66315,"epoch":"2026-10-27T22:06:44.601Z","sensor":"Sentinel-1 IW","swath_km":250},{"satellite":"CAS500-3","norad_id":66655,"epoch":"2026-10-27T19:02:03.932Z","sensor":null,"swath_km":null},{"satellite":"CSG-3","norad_id":67304,"epoch":"2026-10-27T12:28:29.233Z","sensor":null,"swath_km":null},{"satellite":"PRSC-E03","norad_id":68835,"epoch":"2026-10-27T09:10:56.106Z","sensor":null,"swath_km":null},{"satellite":"CAS500-2","norad_id":69013,"epoch":"2026-10-27T23:05:20.497Z","sensor":null,"swath_km":null}],"not_published":[],"too_far_from_epoch":0,"high_orbit_left_out":23},"total":1177,"returned":2,"truncated":true,"passes":[{"observed":{"satellite":"AURA","norad_id":28376,"epoch":"2026-10-27T21:09:14.394Z","mean_motion_rev_per_day":14.61492977,"inclination_deg":98.3601},"derived":{"rise_at":{"value":"2026-10-27T12:00:00.000Z","rule":"sgp4_first_instant_at_or_above_min_elevation_in_window","from":["observed.norad_id","observed.epoch","input.latitude","input.longitude","input.min_elevation_deg","input.from"]},"culminate_at":{"value":"2026-10-27T12:00:00.000Z","rule":"sgp4_instant_of_greatest_elevation_in_pass","from":["observed.norad_id","observed.epoch","input.latitude","input.longitude","derived.rise_at","derived.set_at"]},"set_at":{"value":"2026-10-27T12:00:25.000Z","rule":"sgp4_last_instant_at_or_above_min_elevation_in_window","from":["observed.norad_id","observed.epoch","input.latitude","input.longitude","input.min_elevation_deg","input.to"]},"max_elevation_deg":{"value":11.9,"rule":"sgp4_elevation_at_culmination","from":["observed.norad_id","observed.epoch","input.latitude","input.longitude","derived.culminate_at"]},"daynight":{"value":"night","rule":"sun_above_horizon_at_point_at_culmination","from":["input.latitude","input.longitude","derived.culminate_at"]},"cut_by_window":{"value":true,"rule":"pass_in_progress_at_window_edge","from":["derived.rise_at","derived.set_at","input.from","input.to"]},"track_distance_km":{"value":1789.7,"rule":"least_great_circle_km_from_point_to_ground_track_in_pass","from":["observed.norad_id","observed.epoch","input.latitude","input.longitude","derived.rise_at","derived.set_at"]},"in_swath":{"value":null,"rule":"track_distance_km_within_half_sensor_swath","from":["derived.track_distance_km","observed.norad_id"]}}},{"observed":{"satellite":"CARBONITE 1 (CBNT-1)","norad_id":40718,"epoch":"2026-10-27T23:12:51.354Z","mean_motion_rev_per_day":14.83931501,"inclination_deg":97.6563},"derived":{"rise_at":{"value":"2026-10-27T12:00:00.000Z","rule":"sgp4_first_instant_at_or_above_min_elevation_in_window","from":["observed.norad_id","observed.epoch","input.latitude","input.longitude","input.min_elevation_deg","input.from"]},"culminate_at":{"value":"2026-10-27T12:02:58.000Z","rule":"sgp4_instant_of_greatest_elevation_in_pass","from":["observed.norad_id","observed.epoch","input.latitude","input.longitude","derived.rise_at","derived.set_at"]},"set_at":{"value":"2026-10-27T12:06:49.000Z","rule":"sgp4_last_instant_at_or_above_min_elevation_in_window","from":["observed.norad_id","observed.epoch","input.latitude","input.longitude","input.min_elevation_deg","input.to"]},"max_elevation_deg":{"value":30.8,"rule":"sgp4_elevation_at_culmination","from":["observed.norad_id","observed.epoch","input.latitude","input.longitude","derived.culminate_at"]},"daynight":{"value":"night","rule":"sun_above_horizon_at_point_at_culmination","from":["input.latitude","input.longitude","derived.culminate_at"]},"cut_by_window":{"value":true,"rule":"pass_in_progress_at_window_edge","from":["derived.rise_at","derived.set_at","input.from","input.to"]},"track_distance_km":{"value":866.3,"rule":"least_great_circle_km_from_point_to_ground_track_in_pass","from":["observed.norad_id","observed.epoch","input.latitude","input.longitude","derived.rise_at","derived.set_at"]},"in_swath":{"value":null,"rule":"track_distance_km_within_half_sensor_swath","from":["derived.track_distance_km","observed.norad_id"]}}}]},"evidence":{"source":"CelesTrak","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupCompanyFilingsResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["company_filings"]},"result":{"type":"object","properties":{"found":{"type":"boolean","description":"False when the identifier is not in the register; every other field is then empty"},"cik":{"type":["string","null"],"description":"The identifier, padded to 10 digits"},"name":{"type":["string","null"]},"entity_type":{"type":["string","null"]},"industry_code":{"type":["string","null"],"description":"Standard Industrial Classification (SIC) code"},"industry":{"type":["string","null"]},"tickers":{"type":"array","items":{"type":"string"}},"exchanges":{"type":"array","items":{"type":"string"}},"state_of_incorporation":{"type":["string","null"]},"fiscal_year_end":{"type":["string","null"],"description":"MMDD"},"website":{"type":["string","null"]},"phone":{"type":["string","null"]},"former_names":{"type":"array","items":{"type":"string"}},"street":{"type":["string","null"]},"city":{"type":["string","null"]},"state":{"type":["string","null"]},"postal_code":{"type":["string","null"]},"filings":{"type":"array","items":{"type":"object","properties":{"form":{"type":"string","description":"Form type, for example 10-K, 10-Q, 8-K, 4"},"filed_on":{"type":["string","null"],"description":"Date the filing was made, YYYY-MM-DD"},"period_end":{"type":["string","null"],"description":"Period the filing reports on, YYYY-MM-DD, when it has one"},"description":{"type":["string","null"]},"accession_number":{"type":"string","description":"The filing identifier, with dashes"},"url":{"type":["string","null"],"description":"Link to the primary document"}},"required":["form","filed_on","period_end","description","accession_number","url"]},"description":"Newest first"}},"required":["found","cik","name","entity_type","industry_code","industry","tickers","exchanges","state_of_incorporation","fiscal_year_end","website","phone","former_names","street","city","state","postal_code","filings"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"company_filings","result":{"found":true,"cik":"0000320193","name":"Apple Inc.","entity_type":"operating","industry_code":"3571","industry":"Electronic Computers","tickers":["AAPL"],"exchanges":["Nasdaq"],"state_of_incorporation":"CA","fiscal_year_end":"0926","website":null,"phone":"(408) 996-1010","former_names":["APPLE INC","APPLE COMPUTER INC","APPLE COMPUTER INC/ FA"],"street":"ONE APPLE PARK WAY","city":"CUPERTINO","state":"CA","postal_code":"95014","filings":[{"form":"8-K","filed_on":"2026-07-30","period_end":"2026-07-30","description":"8-K","accession_number":"0000320193-26-000018","url":"https://www.sec.gov/Archives/edgar/data/320193/000032019326000018/aapl-20260730.htm"}]},"evidence":{"source":"US Securities and Exchange Commission","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupCompanyLobbyingResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["company_lobbying"]},"result":{"type":"object","properties":{"total":{"type":"number","description":"Total filings matching the search, including those beyond limit"},"filings":{"type":"array","items":{"type":"object","properties":{"filing_id":{"type":"string"},"filing_type":{"type":["string","null"],"description":"Display text for the filing type"},"year":{"type":"integer"},"period":{"type":["string","null"]},"registrant":{"type":["string","null"],"description":"The lobbying firm"},"client":{"type":["string","null"]},"client_id":{"type":"integer","description":"Source client identifier, unique across lobbying firms; use it to distinguish matched clients"},"income_usd":{"type":["number","null"]},"expenses_usd":{"type":["number","null"]},"posted_at":{"type":["string","null"]},"document_url":{"type":["string","null"]},"issues":{"type":"array","items":{"type":"object","properties":{"code":{"type":["string","null"]},"area":{"type":["string","null"]},"description":{"type":["string","null"]},"government_entities":{"type":"array","items":{"type":["string","null"]},"description":"Entity names as filed; an unnamed entity is null"},"lobbyist_count":{"type":"integer","minimum":0}},"required":["code","area","description","government_entities","lobbyist_count"]}}},"required":["filing_id","filing_type","year","period","registrant","client","client_id","income_usd","expenses_usd","posted_at","document_url","issues"]}}},"required":["total","filings"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"company_lobbying","result":{"total":12,"filings":[{"filing_id":"aec4d962-2a56-4872-82ed-d36d6fd3302e","filing_type":"2nd Quarter - Report","year":2026,"period":"2nd Quarter (Apr 1 - June 30)","registrant":"THE VOGEL GROUP","client":"NVIDIA","client_id":68434,"income_usd":60000,"expenses_usd":null,"posted_at":"2026-07-20T22:07:55-04:00","document_url":"https://lda.gov/filings/public/filing/aec4d962-2a56-4872-82ed-d36d6fd3302e/print/","issues":[{"code":"DEF","area":"Defense","description":"Issues related to semiconductor design & fabrication, and artificial intelligence ...","government_entities":["HOUSE OF REPRESENTATIVES","SENATE"],"lobbyist_count":5}]}]},"evidence":{"source":"US Senate Office of Public Records","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupCompanyFederalAwardsResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["company_federal_awards"]},"result":{"type":"object","properties":{"kind":{"type":"string","enum":["contracts","grants"]},"has_more":{"type":"boolean","description":"True when more awards matched than were returned"},"awards":{"type":"array","items":{"type":"object","properties":{"award_id":{"type":["string","null"],"description":"The award's identifier (contract number or assistance award number)"},"recipient_name":{"type":["string","null"],"description":"The recipient as named on the award; a name search also returns similarly named recipients"},"recipient_uei":{"type":["string","null"],"description":"The recipient's Unique Entity Identifier; use it to tell recipients apart"},"amount_usd":{"type":["number","null"],"description":"Total value of the award in US dollars"},"start_on":{"type":["string","null"],"description":"Start date of the award, YYYY-MM-DD"},"end_on":{"type":["string","null"],"description":"End date of the award, YYYY-MM-DD, when it has one"},"agency":{"type":["string","null"],"description":"Awarding agency"},"sub_agency":{"type":["string","null"],"description":"Awarding sub-agency"},"description":{"type":["string","null"]},"industry_code":{"type":["string","null"],"description":"NAICS code (contracts only)"},"industry":{"type":["string","null"],"description":"NAICS description (contracts only)"},"product_code":{"type":["string","null"],"description":"Product or service code, PSC (contracts only)"},"product":{"type":["string","null"],"description":"Product or service description (contracts only)"},"url":{"type":["string","null"],"description":"Link to the award record"}},"required":["award_id","recipient_name","recipient_uei","amount_usd","start_on","end_on","agency","sub_agency","description","industry_code","industry","product_code","product","url"]},"description":"Largest first; empty when the recipient holds none in the period"}},"required":["kind","has_more","awards"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"company_federal_awards","result":{"kind":"contracts","has_more":true,"awards":[{"award_id":"N0001917C0001","recipient_name":"LOCKHEED MARTIN CORPORATION","recipient_uei":"EXAMPLEUEI01","amount_usd":35135514910.2,"start_on":"2017-11-17","end_on":"2031-03-31","agency":"Department of Defense","sub_agency":"Department of the Navy","description":"F-35 lightning II aircraft","industry_code":"336411","industry":"Aircraft Manufacturing","product_code":"1510","product":"Aircraft, Fixed Wing","url":"https://www.usaspending.gov/award/CONT_AWD_N0001917C0001_9700_-NONE-_-NONE-"}]},"evidence":{"source":"US Department of the Treasury","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupCompanyLegalIdentifierResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["company_legal_identifier"]},"result":{"type":"object","properties":{"total":{"type":"integer","description":"How many entities matched in all; may be more than were returned"},"entities":{"type":"array","items":{"type":"object","properties":{"lei":{"type":"string","description":"The 20-character Legal Entity Identifier; use it to tell similarly named entities apart"},"legal_name":{"type":["string","null"],"description":"The legal name as registered"},"other_names":{"type":"array","items":{"type":"string"},"description":"Other registered names of the entity"},"entity_status":{"type":["string","null"],"description":"Status of the legal entity, for example ACTIVE"},"jurisdiction":{"type":["string","null"],"description":"Jurisdiction of formation, for example US-MD"},"legal_form_code":{"type":["string","null"],"description":"Code of the legal form, from the source's legal form list"},"registered_as":{"type":["string","null"],"description":"The entity's registration number at its business register"},"created_on":{"type":["string","null"],"description":"Date the entity was created, YYYY-MM-DD"},"registration_status":{"type":["string","null"],"description":"Status of the identifier's registration, for example ISSUED or LAPSED"},"registered_on":{"type":["string","null"],"description":"Date the identifier was first registered, YYYY-MM-DD"},"last_updated_on":{"type":["string","null"],"description":"Date the registration record was last updated, YYYY-MM-DD"},"next_renewal_on":{"type":["string","null"],"description":"Date the registration is next due for renewal, YYYY-MM-DD"},"corroboration":{"type":["string","null"],"description":"How well the record is corroborated by the business register, for example FULLY_CORROBORATED"},"legal_address":{"type":["object","null"],"properties":{"lines":{"type":"array","items":{"type":"string"},"description":"Street lines, as registered"},"city":{"type":["string","null"]},"region":{"type":["string","null"],"description":"Region code, for example US-MD"},"country":{"type":["string","null"],"description":"Two-letter country code"},"postal_code":{"type":["string","null"]}},"required":["lines","city","region","country","postal_code"]},"headquarters_address":{"type":["object","null"],"properties":{"lines":{"type":"array","items":{"type":"string"},"description":"Street lines, as registered"},"city":{"type":["string","null"]},"region":{"type":["string","null"],"description":"Region code, for example US-MD"},"country":{"type":["string","null"],"description":"Two-letter country code"},"postal_code":{"type":["string","null"]}},"required":["lines","city","region","country","postal_code"]}},"required":["lei","legal_name","other_names","entity_status","jurisdiction","legal_form_code","registered_as","created_on","registration_status","registered_on","last_updated_on","next_renewal_on","corroboration","legal_address","headquarters_address"]},"description":"Matching entities; empty when none match"}},"required":["total","entities"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"company_legal_identifier","result":{"total":1,"entities":[{"lei":"DPRBOZP0K5RM2YE8UU08","legal_name":"LOCKHEED MARTIN CORPORATION","other_names":[],"entity_status":"ACTIVE","jurisdiction":"US-MD","legal_form_code":"HLR4","registered_as":"D03964756","created_on":"1994-08-29","registration_status":"ISSUED","registered_on":"2012-06-06","last_updated_on":"2026-05-06","next_renewal_on":"2027-05-29","corroboration":"FULLY_CORROBORATED","legal_address":{"lines":["C/O CSC-LAWYERS INCORPORATING SERVICE COMPANY","7 ST. PAUL STREET","SUITE 820"],"city":"BALTIMORE","region":"US-MD","country":"US","postal_code":"21202"},"headquarters_address":{"lines":["6801 ROCKLEDGE DR"],"city":"BETHESDA","region":"US-MD","country":"US","postal_code":"20817"}}]},"evidence":{"source":"Global Legal Entity Identifier Foundation","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupCompanyDomainRegistrationResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["company_domain_registration"]},"result":{"type":"object","properties":{"domain":{"type":"string","description":"The domain name asked for, in lower-case ASCII"},"rdap_available":{"type":"boolean","description":"Whether the IANA RDAP directory lists a registry server over https for the top-level domain; false means the tool could not ask, not that the name is free"},"found":{"type":"boolean","description":"Whether the registry has a registration for this exact name"},"unicode_name":{"type":["string","null"],"description":"The name in Unicode, when the registry gives one"},"registry_domain_id":{"type":["string","null"],"description":"The registry's id for the registration; null when the registry does not publish it"},"registrar":{"type":["object","null"],"properties":{"name":{"type":["string","null"],"description":"The registrar's name as the registry lists it"},"iana_id":{"type":["string","null"],"description":"The registrar's IANA id; null for a registry whose registrars have none"}},"required":["name","iana_id"]},"status":{"type":"array","items":{"type":"string"},"description":"Status codes in the registry's words, for example client transfer prohibited"},"registered_on":{"type":["string","null"],"description":"Registration date, YYYY-MM-DD UTC"},"expires_on":{"type":["string","null"],"description":"Expiry date, YYYY-MM-DD UTC"},"last_changed_on":{"type":["string","null"],"description":"Date the record last changed, YYYY-MM-DD UTC"},"last_transferred_on":{"type":["string","null"],"description":"Date of the last transfer between registrars, YYYY-MM-DD UTC; null when never transferred or not stated"},"nameservers":{"type":"array","items":{"type":"string"},"description":"Nameserver host names, lower case, sorted"},"dnssec_signed":{"type":["boolean","null"],"description":"Whether the delegation is DNSSEC signed; null when not stated"}},"required":["domain","rdap_available","found","unicode_name","registry_domain_id","registrar","status","registered_on","expires_on","last_changed_on","last_transferred_on","nameservers","dnssec_signed"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"company_domain_registration","result":{"domain":"lockheedmartin.com","rdap_available":true,"found":true,"unicode_name":null,"registry_domain_id":"92520_DOMAIN_COM-VRSN","registrar":{"name":"CSC Corporate Domains, Inc.","iana_id":"299"},"status":["client transfer prohibited","server delete prohibited","server transfer prohibited","server update prohibited"],"registered_on":"1996-10-12","expires_on":"2032-10-11","last_changed_on":"2022-10-20","last_transferred_on":null,"nameservers":["ns1.lmco.com","ns2.lmco.com","ns3.lmco.com"],"dnssec_signed":false},"evidence":{"source":"Domain name registry for .com (RDAP)","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupCompanyConsumerComplaintsResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["company_consumer_complaints"]},"result":{"type":"object","properties":{"total":{"type":"number","description":"Complaints matching the name (and `since`, when given)"},"companies":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"The company name as the source holds it"},"count":{"type":"number"}},"required":["name","count"]},"description":"The five most matched company names, so the caller can see whether the name was ambiguous"},"by_product":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"count":{"type":"number"}},"required":["name","count"]},"description":"The five largest groups by financial product"},"by_response":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"count":{"type":"number"}},"required":["name","count"]},"description":"The five largest groups by how the company answered"},"complaints":{"type":"array","items":{"type":"object","properties":{"id":{"type":["string","null"],"description":"The source's complaint id"},"company":{"type":["string","null"],"description":"The company name as the source holds it"},"product":{"type":["string","null"]},"sub_product":{"type":["string","null"]},"issue":{"type":["string","null"]},"sub_issue":{"type":["string","null"]},"state":{"type":["string","null"],"description":"US state of the consumer"},"received_on":{"type":["string","null"],"description":"Date the source received the complaint, YYYY-MM-DD"},"response":{"type":["string","null"],"description":"How the company answered, for example Closed with explanation"},"public_response":{"type":["string","null"],"description":"The company's public statement, when it gave one"},"timely":{"type":"boolean","description":"True when the company answered within the time allowed"}},"required":["id","company","product","sub_product","issue","sub_issue","state","received_on","response","public_response","timely"]},"description":"The newest complaints first"}},"required":["total","companies","by_product","by_response","complaints"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"company_consumer_complaints","result":{"total":176252,"companies":[{"name":"WELLS FARGO & COMPANY","count":176252}],"by_product":[{"name":"Mortgage","count":49852}],"by_response":[{"name":"Closed with explanation","count":139770}],"complaints":[{"id":"29372201","company":"WELLS FARGO & COMPANY","product":"Credit reporting or other personal consumer reports","sub_product":"Other personal consumer report","issue":"Identity theft protection or other monitoring services","sub_issue":"Problem canceling credit monitoring or identify theft protection service","state":"CA","received_on":"2026-10-07","response":"Closed with explanation","public_response":"Company has responded to the consumer and the CFPB and chooses not to provide a public response","timely":true}]},"evidence":{"source":"US Consumer Financial Protection Bureau","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupCompanyBankProfileResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["company_bank_profile"]},"result":{"type":"object","properties":{"total":{"type":"integer","description":"How many institutions matched in all; may be more than were returned"},"banks":{"type":"array","items":{"type":"object","properties":{"name":{"type":["string","null"],"description":"The institution's name as the source holds it"},"fdic_certificate":{"type":["integer","null"],"description":"The FDIC certificate number; use it to tell similarly named banks apart"},"active":{"type":"boolean","description":"True when the institution is currently open and insured by the FDIC"},"city":{"type":["string","null"]},"state":{"type":["string","null"],"description":"Two-letter state code"},"regulator":{"type":["string","null"],"description":"Primary federal regulator code: OCC, FDIC, FED or STATE"},"charter_class":{"type":["string","null"],"description":"The FDIC institution class code, for example N for a national commercial bank"},"established_on":{"type":["string","null"],"description":"Date the institution began operations, YYYY-MM-DD"},"website":{"type":["string","null"]},"total_assets_usd":{"type":["number","null"],"description":"Total assets in US dollars, as of `reported_on`"},"total_deposits_usd":{"type":["number","null"],"description":"Total deposits in US dollars, as of `reported_on`"},"reported_on":{"type":["string","null"],"description":"End date of the reporting period the assets and deposits are from, YYYY-MM-DD"}},"required":["name","fdic_certificate","active","city","state","regulator","charter_class","established_on","website","total_assets_usd","total_deposits_usd","reported_on"]},"description":"Matching institutions, best match first; empty when none match"}},"required":["total","banks"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"company_bank_profile","result":{"total":1,"banks":[{"name":"Grasshopper Bank, N.A.","fdic_certificate":59113,"active":true,"city":"New York","state":"NY","regulator":"OCC","charter_class":"N","established_on":"2019-05-13","website":"www.grasshopper.bank","total_assets_usd":1603727000,"total_deposits_usd":1436779000,"reported_on":"2026-06-30"}]},"evidence":{"source":"US Federal Deposit Insurance Corporation","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupCompanyAdviserRegistrationResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["company_adviser_registration"]},"result":{"type":"object","properties":{"total":{"type":"integer","description":"How many register records matched; may be more than were returned"},"matches":{"type":"array","items":{"type":"object","properties":{"crd":{"type":"integer","description":"The firm's CRD number; use it to call again for the full profile"},"name":{"type":["string","null"],"description":"The firm's current name as the register holds it"},"other_names":{"type":"array","items":{"type":"string"},"description":"Former and other business names"},"adviser_status":{"type":"string","enum":["active","inactive"],"description":"`inactive` means no longer registered or reporting; such firms stay listed for ten years"},"sec_file_number":{"type":["string","null"],"description":"The SEC file number, 801- for a registered adviser or 802- for an exempt reporting adviser; null for a state-registered firm"},"has_disclosures":{"type":["boolean","null"],"description":"True when the firm's Form ADV reports disciplinary or other disclosure events"},"branch_count":{"type":["integer","null"],"description":"Number of branch offices the firm reports"},"city":{"type":["string","null"]},"state":{"type":["string","null"],"description":"Two-letter state code of the main office"},"country":{"type":["string","null"]}},"required":["crd","name","other_names","adviser_status","sec_file_number","has_disclosures","branch_count","city","state","country"]},"description":"Firms matching a name, best match first; empty for a CRD number"},"profile":{"type":["object","null"],"properties":{"crd":{"type":"integer","description":"The firm's CRD number; use it to call again for the full profile"},"name":{"type":["string","null"],"description":"The firm's current name as the register holds it"},"other_names":{"type":"array","items":{"type":"string"},"description":"Former and other business names"},"adviser_status":{"type":"string","enum":["active","inactive"],"description":"`inactive` means no longer registered or reporting; such firms stay listed for ten years"},"sec_file_number":{"type":["string","null"],"description":"The SEC file number, 801- for a registered adviser or 802- for an exempt reporting adviser; null for a state-registered firm"},"has_disclosures":{"type":["boolean","null"],"description":"True when the firm's Form ADV reports disciplinary or other disclosure events"},"branch_count":{"type":["integer","null"],"description":"Number of branch offices the firm reports"},"city":{"type":["string","null"]},"state":{"type":["string","null"],"description":"Two-letter state code of the main office"},"country":{"type":["string","null"]},"sec_registered":{"type":"boolean","description":"True when registered with the SEC"},"state_registered":{"type":"boolean","description":"True when registered with one or more states"},"exempt_reporting_adviser":{"type":"boolean","description":"True when the firm files as an exempt reporting adviser rather than registering"},"registrations":{"type":"array","items":{"type":"object","properties":{"jurisdiction":{"type":["string","null"],"description":"`SEC` or a state name"},"status":{"type":["string","null"],"description":"The register's status word, for example Approved or Terminated"},"effective_on":{"type":["string","null"],"description":"YYYY-MM-DD"}},"required":["jurisdiction","status","effective_on"]},"description":"Each SEC or state registration with its status and effective date"},"exempt_reporting":{"type":"array","items":{"type":"object","properties":{"jurisdiction":{"type":["string","null"],"description":"`SEC` or a state name"},"status":{"type":["string","null"],"description":"The register's status word, for example Approved or Terminated"},"effective_on":{"type":["string","null"],"description":"YYYY-MM-DD"}},"required":["jurisdiction","status","effective_on"]},"description":"Each exempt reporting filing with the SEC or a state, in the same shape"},"notice_filings":{"type":"array","items":{"type":"object","properties":{"jurisdiction":{"type":["string","null"],"description":"The state where the SEC-registered adviser has notice filed"},"effective_on":{"type":["string","null"],"description":"YYYY-MM-DD"}},"required":["jurisdiction","effective_on"]},"description":"States where an SEC-registered adviser has notice filed"},"latest_form_adv_filed_on":{"type":["string","null"],"description":"Date of the most recent Form ADV the register displays, YYYY-MM-DD"},"street":{"type":["string","null"]},"street2":{"type":["string","null"]},"postal_code":{"type":["string","null"]},"register_url":{"type":"string","description":"The firm's page on the public register"}},"required":["crd","name","other_names","adviser_status","sec_file_number","has_disclosures","branch_count","city","state","country","sec_registered","state_registered","exempt_reporting_adviser","registrations","exempt_reporting","notice_filings","latest_form_adv_filed_on","street","street2","postal_code","register_url"],"description":"The firm with the given CRD number; null for a name, or when the number is not an investment adviser in the register"}},"required":["total","matches","profile"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"company_adviser_registration","result":{"total":1,"matches":[],"profile":{"crd":149117,"name":"BETTERMENT","other_names":["BETTERMENT","BETTERMENT LLC (NEW LEGAL NAME)","BETTERMENT LLC","BETTERMENT ADIVSORS LLC"],"adviser_status":"active","sec_file_number":"801-70171","has_disclosures":true,"branch_count":8,"city":"NEW YORK","state":"NY","country":"United States","sec_registered":true,"state_registered":false,"exempt_reporting_adviser":false,"registrations":[{"jurisdiction":"SEC","status":"Approved","effective_on":"2009-05-21"}],"exempt_reporting":[],"notice_filings":[{"jurisdiction":"Alabama","effective_on":"2011-02-18"},{"jurisdiction":"Alaska","effective_on":"2011-03-31"},{"jurisdiction":"Arizona","effective_on":"2010-05-28"}],"latest_form_adv_filed_on":"2026-07-31","street":"450 WEST 33RD STREET","street2":"FLOOR 11","postal_code":"10001","register_url":"https://adviserinfo.sec.gov/firm/summary/149117"}},"evidence":{"source":"US Securities and Exchange Commission","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupCompanyNonprofitStatusResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["company_nonprofit_status"]},"result":{"type":"object","properties":{"total":{"type":"integer","description":"How many organizations matched; may be more than were returned"},"matches":{"type":"array","items":{"type":"object","properties":{"ein":{"type":"string","description":"The employer identification number, nine digits"},"name":{"type":["string","null"]},"dba":{"type":["string","null"],"description":"A doing-business-as name, when the source lists one"},"city":{"type":["string","null"]},"state":{"type":["string","null"],"description":"Two-letter state code"},"country":{"type":["string","null"]},"listed_in":{"type":"array","items":{"type":"string","enum":["publication_78","auto_revocation","determination_letters","form_990n","returns"]},"description":"Which of the source's lists name the organization: `publication_78` (eligible for deductible gifts), `auto_revocation`, `determination_letters`, `form_990n` and `returns`"}},"required":["ein","name","dba","city","state","country","listed_in"]},"description":"Organizations matching a name, alphabetical; empty for an EIN"},"profile":{"type":["object","null"],"properties":{"ein":{"type":"string","description":"The employer identification number, nine digits"},"name":{"type":["string","null"]},"dba":{"type":["string","null"],"description":"A doing-business-as name, when the source lists one"},"city":{"type":["string","null"]},"state":{"type":["string","null"],"description":"Two-letter state code"},"country":{"type":["string","null"]},"listed_in":{"type":"array","items":{"type":"string","enum":["publication_78","auto_revocation","determination_letters","form_990n","returns"]},"description":"Which of the source's lists name the organization: `publication_78` (eligible for deductible gifts), `auto_revocation`, `determination_letters`, `form_990n` and `returns`"},"publication_78":{"type":["object","null"],"properties":{"deductibility_code":{"type":["string","null"],"description":"The source's deductibility code, for example PC for a public charity or PF for a private foundation"}},"required":["deductibility_code"],"description":"Present when the organization is listed as eligible to receive tax-deductible contributions; null when it is not listed"},"revocations":{"type":"array","items":{"type":"object","properties":{"revoked_on":{"type":["string","null"],"description":"Date the exemption was automatically revoked, YYYY-MM-DD"},"posted_on":{"type":["string","null"],"description":"Date the revocation was posted, YYYY-MM-DD"},"reinstated_on":{"type":["string","null"],"description":"Date the exemption was reinstated, YYYY-MM-DD; null when it has not been"},"exemption_subsection":{"type":["string","null"],"description":"The subsection of section 501(c) the exemption was under, for example 03"}},"required":["revoked_on","posted_on","reinstated_on","exemption_subsection"]},"description":"Automatic revocations of exemption for not filing, newest first; check `reinstated_on` before treating one as current"},"form_990n_filings":{"type":"array","items":{"type":"object","properties":{"tax_year":{"type":["integer","null"]},"period_start":{"type":["string","null"],"description":"YYYY-MM-DD"},"period_end":{"type":["string","null"],"description":"YYYY-MM-DD"},"gross_receipts_under_50k":{"type":"boolean","description":"True when the filer declared gross receipts normally under 50,000 dollars"},"terminated":{"type":"boolean","description":"True when the filing says the organization has terminated"}},"required":["tax_year","period_start","period_end","gross_receipts_under_50k","terminated"]},"description":"The newest Form 990-N (e-Postcard) filings, at most 5, newest first"},"returns":{"type":"array","items":{"type":"object","properties":{"tax_period":{"type":["string","null"],"description":"The period the return covers, YYYY-MM (its last month)"},"form":{"type":["string","null"],"description":"The form filed: 990, 990EZ, 990PF or 990T"},"filed_electronically":{"type":"boolean"},"published_on":{"type":["string","null"],"description":"Date the public copy was published, YYYY-MM-DD"},"url":{"type":["string","null"],"description":"The public copy of the return on the source's site"}},"required":["tax_period","form","filed_electronically","published_on","url"]},"description":"The newest filed returns with public copies, at most 10, newest first"}},"required":["ein","name","dba","city","state","country","listed_in","publication_78","revocations","form_990n_filings","returns"],"description":"The organization with the given EIN; null for a name, or when the EIN is in none of the source's lists"}},"required":["total","matches","profile"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"company_nonprofit_status","result":{"total":1,"matches":[],"profile":{"ein":"530196605","name":"American National Red Cross","dba":null,"city":"Washington","state":"DC","country":"US","listed_in":["publication_78","returns"],"publication_78":{"deductibility_code":"PC"},"revocations":[],"form_990n_filings":[],"returns":[{"tax_period":"2025-06","form":"990","filed_electronically":true,"published_on":"2026-08-28","url":"https://apps.irs.gov/pub/epostcard/cor/530196605_202506_990_2026072824433471.pdf"},{"tax_period":"2025-06","form":"990T","filed_electronically":true,"published_on":"2026-07-08","url":"https://apps.irs.gov/pub/epostcard/cor/530196605_202506_990T_2026050624154274.pdf"},{"tax_period":"2024-06","form":"990","filed_electronically":true,"published_on":"2026-02-25","url":"https://apps.irs.gov/pub/epostcard/cor/530196605_202406_990_2025051223427881.pdf"}]}},"evidence":{"source":"US Internal Revenue Service","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupCompanyMotorCarrierResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["company_motor_carrier"]},"result":{"type":"object","properties":{"total":{"type":"integer","description":"How many carriers were returned, at most 5"},"carriers":{"type":"array","items":{"type":"object","properties":{"dot_number":{"type":["string","null"],"description":"The US Department of Transportation number"},"mc_number":{"type":["string","null"],"description":"The motor carrier (MC) number, or null when the carrier has none"},"legal_name":{"type":["string","null"],"description":"The carrier's legal name"},"dba_name":{"type":["string","null"],"description":"The name it trades under, or null when it gives none"},"status":{"type":["string","null"],"description":"active, inactive or pending"},"entity_form":{"type":["string","null"],"description":"The legal form, for example CORPORATION"},"address":{"type":"object","properties":{"street":{"type":["string","null"]},"city":{"type":["string","null"]},"state":{"type":["string","null"],"description":"Two-letter state code"},"postal_code":{"type":["string","null"]},"country":{"type":["string","null"]}},"required":["street","city","state","postal_code","country"],"description":"The physical address as registered"},"phone":{"type":["string","null"],"description":"The telephone number as registered"},"operation":{"type":["string","null"],"description":"interstate, intrastate hazardous material or intrastate non-hazardous material"},"classes":{"type":"array","items":{"type":"string"},"description":"The kinds of operation it registered, for example authorized for hire"},"cargo":{"type":"array","items":{"type":"string"},"description":"What it says it carries, for example general freight"},"power_units":{"type":["number","null"],"description":"Number of power units (trucks, tractors, buses)"},"drivers":{"type":["number","null"],"description":"Number of drivers"},"cdl_drivers":{"type":["number","null"],"description":"Number of drivers with a commercial driver's licence"},"annual_mileage":{"type":["number","null"],"description":"Miles driven in `mileage_year`, as the carrier reported them"},"mileage_year":{"type":["number","null"],"description":"The year of `annual_mileage`"},"hazardous_materials":{"type":["boolean","null"],"description":"Whether it carries hazardous materials, or null when the source gives no answer"},"safety_rating":{"type":["string","null"],"description":"satisfactory, conditional or unsatisfactory; null when it has never been rated"},"safety_rating_date":{"type":["string","null"],"description":"Date of the safety rating, YYYY-MM-DD"},"last_review_date":{"type":["string","null"],"description":"Date of the carrier's latest safety review, YYYY-MM-DD"},"registration_updated_on":{"type":["string","null"],"description":"Date the carrier last updated its registration, YYYY-MM-DD"}},"required":["dot_number","mc_number","legal_name","dba_name","status","entity_form","address","phone","operation","classes","cargo","power_units","drivers","cdl_drivers","annual_mileage","mileage_year","hazardous_materials","safety_rating","safety_rating_date","last_review_date","registration_updated_on"]},"description":"The matching carriers; empty when none matches"}},"required":["total","carriers"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"company_motor_carrier","result":{"total":1,"carriers":[{"dot_number":"44110","mc_number":"1515","legal_name":"GREYHOUND LINES INC","dba_name":"BOLT BUS","status":"active","entity_form":"CORPORATION","address":{"street":"9773 HARRY HINES BLVD","city":"DALLAS","state":"TX","postal_code":"75220-5441","country":"US"},"phone":"2147776005","operation":"interstate","classes":["private passenger, business","private passenger, non-business","authorized for hire"],"cargo":["general freight","passengers","package express"],"power_units":683,"drivers":905,"cdl_drivers":905,"annual_mileage":66149781,"mileage_year":2025,"hazardous_materials":false,"safety_rating":"satisfactory","safety_rating_date":"2026-07-08","last_review_date":"2026-07-03","registration_updated_on":"2026-04-28"}]},"evidence":{"source":"US Department of Transportation","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupCompanyEnvironmentalComplianceResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["company_environmental_compliance"]},"result":{"type":"object","properties":{"total_facilities":{"type":"number","description":"How many facilities the search matched to the name, including any beyond `limit`; a count of matches, not of facilities verified to belong to the named company"},"total_penalties_usd":{"type":["number","null"],"description":"Penalties from formal enforcement actions in the last five years, in US dollars, summed over every facility the search matched, whether or not it belongs to the named company"},"facilities":{"type":"array","items":{"type":"object","properties":{"name":{"type":["string","null"],"description":"The facility name as the source records it"},"street":{"type":["string","null"],"description":"Street address"},"city":{"type":["string","null"],"description":"City"},"state":{"type":["string","null"],"description":"Two-letter state code"},"zip":{"type":["string","null"],"description":"ZIP code"},"registry_id":{"type":["string","null"],"description":"The identifier the source gives the facility across every program"},"naics_codes":{"type":"array","items":{"type":"string"},"description":"The NAICS industry codes recorded for the facility"},"compliance_status":{"type":["string","null"],"description":"The overall compliance status the source records, for example Significant Violation, Violation Identified or No Violation Identified"},"significant_violator":{"type":["boolean","null"],"description":"True when the source currently designates the facility a high priority violator under the Clean Air Act, in significant noncompliance under the Clean Water Act or the hazardous waste program, or a serious violator under the Safe Drinking Water Act"},"quarters_in_violation":{"type":["integer","null"],"description":"How many of the last twelve quarters the facility had a violation identified, was in noncompliance, or was a significant or high priority violator"},"inspections":{"type":["integer","null"],"description":"Compliance monitoring activities at the facility in the last five years"},"last_inspected_on":{"type":["string","null"],"description":"When the most recent compliance monitoring activity took place, YYYY-MM-DD"},"formal_actions":{"type":["integer","null"],"description":"Formal enforcement actions taken against the facility in the last five years"},"penalties_usd":{"type":["number","null"],"description":"Penalties assessed against the facility in the last five years, in US dollars"},"last_penalty_on":{"type":["string","null"],"description":"When the most recent penalty was assessed, YYYY-MM-DD"}},"required":["name","street","city","state","zip","registry_id","naics_codes","compliance_status","significant_violator","quarters_in_violation","inspections","last_inspected_on","formal_actions","penalties_usd","last_penalty_on"]},"description":"The matching facilities, in the order the source lists them, at most `limit`"}},"required":["total_facilities","total_penalties_usd","facilities"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"company_environmental_compliance","result":{"total_facilities":28,"total_penalties_usd":275000,"facilities":[{"name":"TESLA MOTORS INC DBA TESLA MOTORS SERVICE CENTER","street":"9250 TRADE PL","city":"SAN DIEGO","state":"CA","zip":"92126","registry_id":"110070414218","naics_codes":["811111"],"compliance_status":"No Violation Identified","significant_violator":false,"quarters_in_violation":0,"inspections":0,"last_inspected_on":null,"formal_actions":0,"penalties_usd":0,"last_penalty_on":null},{"name":"TESLA COLLISION - CA - W VALLEY BLVD","street":"3880 W VALLEY BLVD","city":"WALNUT","state":"CA","zip":"91789","registry_id":"110070483024","naics_codes":["811121"],"compliance_status":"No Violation Identified","significant_violator":false,"quarters_in_violation":2,"inspections":3,"last_inspected_on":"2025-08-22","formal_actions":0,"penalties_usd":0,"last_penalty_on":null},{"name":"TESLA FREEMONT SPINNAKER (R&D)","street":"3777 SPINNAKER CT","city":"FREMONT","state":"CA","zip":"94538","registry_id":"110066953871","naics_codes":["336110","811111"],"compliance_status":"No Violation Identified","significant_violator":false,"quarters_in_violation":0,"inspections":0,"last_inspected_on":null,"formal_actions":0,"penalties_usd":0,"last_penalty_on":null}]},"evidence":{"source":"US Environmental Protection Agency","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupPlaceEnvironmentalSitesResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["place_environmental_sites"]},"result":{"type":"object","properties":{"total_facilities":{"type":"number","description":"Every facility the search matched, including any beyond limit"},"by_program":{"type":"object","properties":{"air":{"type":"number"},"water_dischargers":{"type":"number"},"hazardous_waste":{"type":"number"},"toxic_releases":{"type":"number"}},"required":["air","water_dischargers","hazardous_waste","toxic_releases"],"description":"Matched facility counts by program; a facility can be in several programs"},"significant_violators":{"type":"number","description":"Matched facilities currently designated significant violators"},"in_violation_now":{"type":"number","description":"Matched facilities currently in violation"},"with_violations_3yr":{"type":"number","description":"Matched facilities with violations in the last three years"},"with_formal_actions_5yr":{"type":"number","description":"Matched facilities with formal enforcement actions in the last five years"},"inspected_5yr":{"type":"number","description":"Matched facilities inspected in the last five years"},"total_penalties_usd":{"type":["number","null"],"description":"Penalties from formal enforcement actions in the last five years, in US dollars, summed over every matched facility"},"facilities":{"type":"array","items":{"type":"object","properties":{"name":{"type":["string","null"],"description":"The facility name as the source records it"},"street":{"type":["string","null"],"description":"Street address"},"city":{"type":["string","null"],"description":"City"},"state":{"type":["string","null"],"description":"Two-letter state code"},"zip":{"type":["string","null"],"description":"ZIP code"},"county":{"type":["string","null"],"description":"County name as recorded; may differ from the county searched"},"registry_id":{"type":["string","null"],"description":"The identifier the source gives the facility across every program"},"latitude":{"type":["number","null"],"description":"Facility latitude in decimal degrees"},"longitude":{"type":["number","null"],"description":"Facility longitude in decimal degrees"},"distance_km":{"type":["number","null"],"description":"Great-circle distance from the input point in kilometres, rounded to two decimals; null for ZIP or county searches or missing coordinates"},"active":{"type":"boolean","description":"True when the source marks the facility active or operating"},"programs":{"type":"array","items":{"type":"string"},"description":"Programs whose source flag is Y, in air, water discharger, hazardous waste, drinking water, toxic releases, greenhouse gas and Superfund order"},"superfund_site_ids":{"type":"array","items":{"type":"string"},"description":"Superfund site identifiers recorded for this facility"},"compliance_status":{"type":["string","null"],"description":"The overall compliance status the source records, for example Significant Violation, Violation Identified or No Violation Identified"},"significant_violator":{"type":["boolean","null"],"description":"True when the source currently designates the facility a high priority violator under the Clean Air Act, in significant noncompliance under the Clean Water Act or the hazardous waste program, or a serious violator under the Safe Drinking Water Act"},"quarters_in_violation":{"type":["integer","null"],"description":"How many of the last twelve quarters the facility had a violation identified, was in noncompliance, or was a significant or high priority violator"},"formal_actions":{"type":["integer","null"],"description":"Formal enforcement actions taken against the facility in the last five years"},"penalties_usd":{"type":["number","null"],"description":"Penalties assessed against the facility in the last five years, in US dollars"},"last_inspected_on":{"type":["string","null"],"description":"When the most recent compliance monitoring activity took place, YYYY-MM-DD"},"toxic_releases_and_transfers_lb":{"type":["number","null"],"description":"Combined on-site chemical releases and off-site transfers, in pounds, reported to the Toxics Release Inventory by the facility for the most recent reporting year; not a measure of on-site releases alone"}},"required":["name","street","city","state","zip","county","registry_id","latitude","longitude","distance_km","active","programs","superfund_site_ids","compliance_status","significant_violator","quarters_in_violation","formal_actions","penalties_usd","last_inspected_on","toxic_releases_and_transfers_lb"]},"description":"Matching facilities in the requested order, at most limit"}},"required":["total_facilities","by_program","significant_violators","in_violation_now","with_violations_3yr","with_formal_actions_5yr","inspected_5yr","total_penalties_usd","facilities"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"place_environmental_sites","result":{"total_facilities":112,"by_program":{"air":8,"water_dischargers":14,"hazardous_waste":103,"toxic_releases":2},"significant_violators":0,"in_violation_now":1,"with_violations_3yr":8,"with_formal_actions_5yr":0,"inspected_5yr":13,"total_penalties_usd":0,"facilities":[{"name":"NIAGARA COUNTY SEWER DISTRICT #1 WWTP","street":"7346 LIBERTY DRIVE","city":"NIAGARA FALLS","state":"NY","zip":"14304","county":"NIAGARA","registry_id":"110000735045","latitude":43.070086,"longitude":-78.922768,"distance_km":2.47,"active":true,"programs":["air","water_discharger","hazardous_waste"],"superfund_site_ids":[],"compliance_status":"Violation Identified","significant_violator":false,"quarters_in_violation":12,"formal_actions":0,"penalties_usd":0,"last_inspected_on":"2025-08-26","toxic_releases_and_transfers_lb":null},{"name":"GRAND ISLAND WASTEWATER TREATMENT PLANT","street":"3500 BASELINE RD","city":"GRAND ISLAND","state":"NY","zip":"14072","county":"ERIE","registry_id":"110000552081","latitude":43.05739,"longitude":-78.96687,"distance_km":2.86,"active":true,"programs":["water_discharger","hazardous_waste"],"superfund_site_ids":[],"compliance_status":"No Violation Identified","significant_violator":false,"quarters_in_violation":7,"formal_actions":0,"penalties_usd":0,"last_inspected_on":"2025-06-26","toxic_releases_and_transfers_lb":null},{"name":"ENERPLATE LLC","street":"2250 LIBERT DR","city":"WHEATFIELD","state":"NY","zip":"14304","county":"NIAGARA","registry_id":"110071307855","latitude":43.073,"longitude":-78.924,"distance_km":2.25,"active":true,"programs":["water_discharger","hazardous_waste"],"superfund_site_ids":[],"compliance_status":"No Violation Identified","significant_violator":false,"quarters_in_violation":5,"formal_actions":0,"penalties_usd":0,"last_inspected_on":"2023-08-02","toxic_releases_and_transfers_lb":null}]},"evidence":{"source":"US Environmental Protection Agency","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupPlaceDrinkingWaterResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["place_drinking_water"]},"result":{"type":"object","properties":{"total_systems":{"type":"number","description":"Every matched system, including any beyond limit"},"enforcement_priority_systems":{"type":"number","description":"Matched systems designated enforcement priorities"},"systems_in_violation_now":{"type":"number","description":"Matched systems currently in violation"},"systems_with_violations_3yr":{"type":"number","description":"Matched systems with violations in the last three years"},"systems":{"type":"array","items":{"type":"object","properties":{"pwsid":{"type":"string","description":"Public water system identifier"},"name":{"type":["string","null"],"description":"System name as recorded"},"state":{"type":["string","null"],"description":"Two-letter state code"},"counties_served":{"type":["string","null"],"description":"Counties served, as recorded"},"cities_served":{"type":["string","null"],"description":"Cities served, as recorded; some states leave this blank"},"registry_id":{"type":["string","null"],"description":"The identifier the source gives the facility across every program"},"type":{"type":["string","null"],"description":"Public water system type description"},"primary_source":{"type":["string","null"],"description":"Primary water source description"},"owner_type":{"type":["string","null"],"description":"Owner type description"},"population_served":{"type":["integer","null"],"description":"The estimated average daily population served by a system"},"active":{"type":"boolean","description":"True when the source activity code is A (active)"},"enforcement_priority":{"type":["boolean","null"],"description":"True indicates a public water system with unresolved serious, multiple, and/or continuing violations, a priority candidate for formal enforcement"},"quarters_in_violation":{"type":["integer","null"],"description":"How many of the last twelve quarters the system was in violation"},"quarters_as_enforcement_priority":{"type":["integer","null"],"description":"How many of the last twelve quarters the system was an enforcement priority"},"health_based_violation":{"type":["boolean","null"],"description":"Violations of maximum contaminant levels, maximum residual disinfectant levels or treatment technique rules flagged in the source's current compliance summary"},"monitoring_violation":{"type":["boolean","null"],"description":"Failure to monitor or report flagged in the source's current compliance summary"},"public_notice_violation":{"type":["boolean","null"],"description":"Public notification requirements violations flagged in the source's current compliance summary"},"other_violation":{"type":["boolean","null"],"description":"Other violations, for example consumer confidence reports or records, flagged in the source's current compliance summary"},"rules_violated_3yr":{"type":["integer","null"],"description":"Rules violated in the last three years"},"rules_violated_now":{"type":["integer","null"],"description":"Rules violated as of the latest official quarter"},"violation_points_5yr":{"type":["integer","null"],"description":"Violation points accrued over the last five years"},"uncorrected_violation_points":{"type":["integer","null"],"description":"Violation points remaining uncorrected"},"violation_categories":{"type":"array","items":{"type":"string"},"description":"Violation categories recorded for the system"},"contaminants_in_violation_3yr":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"}},"required":["code","name"]},"description":"Contaminants or rules in violation in the last three years"},"contaminants_in_violation_now":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"}},"required":["code","name"]},"description":"Contaminants or rules in violation as of the latest official quarter"},"lead_action_level_exceedances_5yr":{"type":["integer","null"],"description":"Lead action level exceedances in the last five years: 90th percentile over 0.015 mg/L"},"copper_action_level_exceedances_5yr":{"type":["integer","null"],"description":"Copper action level exceedances in the last five years: 90th percentile over 1.3 mg/L"},"significant_deficiencies_5yr":{"type":["integer","null"],"description":"Significant deficiencies from sanitary surveys in the last five years"},"last_formal_action_on":{"type":["string","null"],"description":"Most recent formal enforcement action date, YYYY-MM-DD"},"last_site_visit_on":{"type":["string","null"],"description":"Most recent site visit date, YYYY-MM-DD"}},"required":["pwsid","name","state","counties_served","cities_served","registry_id","type","primary_source","owner_type","population_served","active","enforcement_priority","quarters_in_violation","quarters_as_enforcement_priority","health_based_violation","monitoring_violation","public_notice_violation","other_violation","rules_violated_3yr","rules_violated_now","violation_points_5yr","uncorrected_violation_points","violation_categories","contaminants_in_violation_3yr","contaminants_in_violation_now","lead_action_level_exceedances_5yr","copper_action_level_exceedances_5yr","significant_deficiencies_5yr","last_formal_action_on","last_site_visit_on"]},"description":"Matching systems, largest population served first, at most limit"}},"required":["total_systems","enforcement_priority_systems","systems_in_violation_now","systems_with_violations_3yr","systems"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"place_drinking_water","result":{"total_systems":45,"enforcement_priority_systems":2,"systems_in_violation_now":11,"systems_with_violations_3yr":32,"systems":[{"pwsid":"MI0002310","name":"FLINT, CITY OF","state":"MI","counties_served":"Genesee","cities_served":"FLINT","registry_id":"110013122281","type":"Community water system","primary_source":"Surface water purchased","owner_type":"Local government","population_served":81252,"active":true,"enforcement_priority":false,"quarters_in_violation":2,"quarters_as_enforcement_priority":0,"health_based_violation":false,"monitoring_violation":false,"public_notice_violation":false,"other_violation":false,"rules_violated_3yr":1,"rules_violated_now":0,"violation_points_5yr":5,"uncorrected_violation_points":0,"violation_categories":["Treatment Technique Violation"],"contaminants_in_violation_3yr":[],"contaminants_in_violation_now":[],"lead_action_level_exceedances_5yr":null,"copper_action_level_exceedances_5yr":null,"significant_deficiencies_5yr":5,"last_formal_action_on":"2016-11-17","last_site_visit_on":"2026-01-21"},{"pwsid":"MI0002615","name":"GENESEE COUNTY WATER SYSTEM","state":"MI","counties_served":"Genesee","cities_served":null,"registry_id":"110013123173","type":"Community water system","primary_source":"Surface water purchased","owner_type":"Local government","population_served":73726,"active":true,"enforcement_priority":false,"quarters_in_violation":0,"quarters_as_enforcement_priority":0,"health_based_violation":false,"monitoring_violation":false,"public_notice_violation":false,"other_violation":false,"rules_violated_3yr":0,"rules_violated_now":0,"violation_points_5yr":1,"uncorrected_violation_points":0,"violation_categories":[],"contaminants_in_violation_3yr":[],"contaminants_in_violation_now":[],"lead_action_level_exceedances_5yr":null,"copper_action_level_exceedances_5yr":null,"significant_deficiencies_5yr":null,"last_formal_action_on":null,"last_site_visit_on":"2026-01-27"},{"pwsid":"MI0001010","name":"BURTON, CITY OF","state":"MI","counties_served":"Genesee","cities_served":"BURTON","registry_id":"110013129738","type":"Community water system","primary_source":"Surface water purchased","owner_type":"Local government","population_served":21000,"active":true,"enforcement_priority":false,"quarters_in_violation":2,"quarters_as_enforcement_priority":0,"health_based_violation":false,"monitoring_violation":false,"public_notice_violation":false,"other_violation":false,"rules_violated_3yr":1,"rules_violated_now":0,"violation_points_5yr":6,"uncorrected_violation_points":5,"violation_categories":["Treatment Technique Violation"],"contaminants_in_violation_3yr":[{"code":"5000","name":"Lead and Copper Rule"}],"contaminants_in_violation_now":[{"code":"5000","name":"Lead and Copper Rule"}],"lead_action_level_exceedances_5yr":null,"copper_action_level_exceedances_5yr":null,"significant_deficiencies_5yr":null,"last_formal_action_on":null,"last_site_visit_on":"2024-08-07"}]},"evidence":{"source":"US Environmental Protection Agency","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupPlaceJobsWagesResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["place_jobs_wages"]},"result":{"type":"object","properties":{"found":{"type":"boolean","description":"Whether the source has any series for the area, ownership and industry"},"area_fips":{"type":"string","description":"The area code asked for"},"ownership":{"type":"string","description":"The ownership asked for"},"industry":{"type":"string","description":"The industry asked for"},"quarters":{"type":"array","items":{"type":"object","properties":{"period":{"type":"string","description":"The quarter, for example 2026-Q1"},"year":{"type":"number","description":"Calendar year"},"quarter":{"type":"number","description":"Quarter of the year, 1 to 4"},"preliminary":{"type":"boolean","description":"True when any value of the quarter is preliminary"},"establishments":{"type":["number","null"],"description":"Number of establishments"},"employment_month_1":{"type":["number","null"],"description":"Employment in the first month of the quarter"},"employment_month_2":{"type":["number","null"],"description":"Employment in the second month of the quarter"},"employment_month_3":{"type":["number","null"],"description":"Employment in the third month of the quarter"},"total_wages_thousands":{"type":["number","null"],"description":"Total wages paid in the quarter, thousands of dollars"},"average_weekly_wage":{"type":["number","null"],"description":"Average weekly wage, dollars"}},"required":["period","year","quarter","preliminary","establishments","employment_month_1","employment_month_2","employment_month_3","total_wages_thousands","average_weekly_wage"]},"description":"One entry per published quarter, newest first"},"annual_pay":{"type":"array","items":{"type":"object","properties":{"year":{"type":"number","description":"Calendar year"},"average_annual_pay":{"type":["number","null"],"description":"Average annual pay, dollars"},"preliminary":{"type":"boolean","description":"True when the value is preliminary"}},"required":["year","average_annual_pay","preliminary"]},"description":"Average annual pay by year, newest first"}},"required":["found","area_fips","ownership","industry","quarters","annual_pay"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"place_jobs_wages","result":{"found":true,"area_fips":"26163","ownership":"total","industry":"all","quarters":[{"period":"2026-Q1","year":2026,"quarter":1,"preliminary":true,"establishments":37839,"employment_month_1":720803,"employment_month_2":716326,"employment_month_3":718144,"total_wages_thousands":15729948,"average_weekly_wage":1684},{"period":"2025-Q4","year":2025,"quarter":4,"preliminary":false,"establishments":38398,"employment_month_1":723714,"employment_month_2":725372,"employment_month_3":726125,"total_wages_thousands":14760231,"average_weekly_wage":1566}],"annual_pay":[{"year":2025,"average_annual_pay":79422,"preliminary":false},{"year":2024,"average_annual_pay":76411,"preliminary":false}]},"evidence":{"source":"US Bureau of Labor Statistics","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupPlaceHomePriceIndexResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["place_home_price_index"]},"result":{"type":"object","properties":{"found":{"type":"boolean","description":"Whether at least one area matched"},"geography":{"type":"string","enum":["state","metro","division"],"description":"Which list was read"},"index":{"type":"string","description":"Which index the changes come from"},"ranked_among":{"type":"number","description":"How many areas are in the source's list, so the rank can be read"},"areas":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"The area's name as the source writes it"},"rank":{"type":["number","null"],"description":"Rank by one-year change, 1 for the largest rise; null for the nation"},"change_1_quarter_pct":{"type":["number","null"],"description":"Percent change over the latest quarter"},"change_1_year_pct":{"type":["number","null"],"description":"Percent change over one year"},"change_5_year_pct":{"type":["number","null"],"description":"Percent change over five years"},"change_since_1991_pct":{"type":["number","null"],"description":"Percent change since 1991"}},"required":["name","rank","change_1_quarter_pct","change_1_year_pct","change_5_year_pct","change_since_1991_pct"]},"description":"The matching areas in rank order, up to 10"},"more":{"type":"boolean","description":"True when more than 10 metros matched"},"notice":{"type":"string","description":"The notice the source requires every answer to carry"}},"required":["found","geography","index","ranked_among","areas","more","notice"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"place_home_price_index","result":{"found":true,"geography":"state","index":"purchase-only, seasonally adjusted","ranked_among":51,"areas":[{"name":"Michigan","rank":14,"change_1_quarter_pct":0.39,"change_1_year_pct":3.8,"change_5_year_pct":38.8,"change_since_1991_pct":292.88}],"more":false,"notice":"This product uses FHFA Data but is neither endorsed nor certified by FHFA."},"evidence":{"source":"US Federal Housing Finance Agency","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupPlaceSchoolsResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["place_schools"]},"result":{"type":"object","properties":{"school_type":{"type":"string","enum":["public","private"],"description":"The collection searched"},"total":{"type":"number","description":"Schools the source returned for the point or district, at most 2,000"},"more":{"type":"boolean","description":"True when more schools were returned than listed, or the source held more than 2,000"},"schools":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"The NCES school id (public) or private school id"},"name":{"type":"string","description":"The school's name"},"district_id":{"type":["string","null"],"description":"The NCES district id; null for private"},"district_name":{"type":["string","null"],"description":"The district's name; null for private"},"address":{"type":["string","null"],"description":"Street address"},"city":{"type":["string","null"],"description":"City or town"},"state":{"type":["string","null"],"description":"Two-letter state code"},"zip_code":{"type":["string","null"],"description":"ZIP code"},"county":{"type":["string","null"],"description":"County"},"phone":{"type":["string","null"],"description":"Telephone; null for private"},"level":{"type":["string","null"],"description":"School level, for example Elementary; null for private"},"kind":{"type":["string","null"],"description":"Kind of school, for example Regular School; null for private"},"charter":{"type":["boolean","null"],"description":"Whether the school is a charter school; null when not stated"},"virtual":{"type":["string","null"],"description":"Virtual status, for example Not Virtual"},"lowest_grade":{"type":["string","null"],"description":"Lowest grade offered, for example KG"},"highest_grade":{"type":["string","null"],"description":"Highest grade offered, for example 05"},"status":{"type":["string","null"],"description":"Status this school year, for example Open; null for private"},"enrolment":{"type":["number","null"],"description":"Students enrolled, excluding adult education; null for private or when suppressed"},"teachers_fte":{"type":["number","null"],"description":"Full-time-equivalent teachers; null when not stated"},"student_teacher_ratio":{"type":["number","null"],"description":"Students per teacher; null when not stated"},"latitude":{"type":["number","null"],"description":"Latitude of the school"},"longitude":{"type":["number","null"],"description":"Longitude of the school"},"distance_km":{"type":["number","null"],"description":"Distance from the point in kilometres; null for a district search"},"school_year":{"type":["string","null"],"description":"The school year the row describes, for example 2024-2025"}},"required":["id","name","district_id","district_name","address","city","state","zip_code","county","phone","level","kind","charter","virtual","lowest_grade","highest_grade","status","enrolment","teachers_fte","student_teacher_ratio","latitude","longitude","distance_km","school_year"]},"description":"The schools, nearest first for a point, in name order for a district, up to the limit"}},"required":["school_type","total","more","schools"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"place_schools","result":{"school_type":"public","total":6,"more":true,"schools":[{"id":"260282004033","name":"Community High School","district_id":"2602820","district_name":"Ann Arbor Public Schools","address":"401 N DIVISION ST","city":"ANN ARBOR","state":"MI","zip_code":"48104","county":"Washtenaw County","phone":"(734) 994-2021","level":"High","kind":"Regular School","charter":false,"virtual":"Supplemental Virtual","lowest_grade":"09","highest_grade":"12","status":"Open","enrolment":513,"teachers_fte":34,"student_teacher_ratio":15.09,"latitude":42.2839,"longitude":-83.7443,"distance_km":0.36,"school_year":"2024-2025"}]},"evidence":{"source":"US National Center for Education Statistics","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupCompanyContractorLicenseResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["company_contractor_license"]},"result":{"type":"object","properties":{"state":{"type":"string","enum":["WA"],"description":"The state asked for"},"licenses":{"type":"array","items":{"type":"object","properties":{"license_number":{"type":"string","description":"The state contractor licence number"},"business_name":{"type":["string","null"],"description":"The business name on the licence"},"license_type":{"type":["string","null"],"description":"The licence type in the state's words, for example CONSTRUCTION CONTRACTOR"},"status":{"type":["string","null"],"description":"The licence status in the state's words, for example ACTIVE or RE-LICENSED"},"active":{"type":"boolean","description":"Whether the state marks the licence active"},"effective_on":{"type":["string","null"],"description":"Licence effective date, YYYY-MM-DD or null"},"expires_on":{"type":["string","null"],"description":"Licence expiration date, YYYY-MM-DD or null"},"suspended_on":{"type":["string","null"],"description":"Licence suspension date, YYYY-MM-DD, or null when not suspended"},"business_type":{"type":["string","null"],"description":"The business structure, for example Corporation or Individual"},"specialties":{"type":"array","items":{"type":"string"},"description":"The licensed specialties, for example GENERAL or HVAC/RFRG; empty when none are stated"},"ubi":{"type":["string","null"],"description":"The state business identifier, for joining with other state records"},"principal_name":{"type":["string","null"],"description":"The primary principal named on the licence"},"address":{"type":"object","properties":{"street":{"type":["string","null"],"description":"Street line, or null for an individual (sole proprietor), whose street may be a home"},"city":{"type":["string","null"],"description":"City"},"state":{"type":["string","null"],"description":"State"},"postal_code":{"type":["string","null"],"description":"ZIP code"}},"required":["street","city","state","postal_code"],"description":"The address on the licence; the phone number is not returned"}},"required":["license_number","business_name","license_type","status","active","effective_on","expires_on","suspended_on","business_type","specialties","ubi","principal_name","address"]},"description":"Matching licences, newest effective date first; empty when none matched"}},"required":["state","licenses"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"company_contractor_license","result":{"state":"WA","licenses":[{"license_number":"ABSHEC*345PS","business_name":"ABSHER CONSTRUCTION CO","license_type":"CONSTRUCTION CONTRACTOR","status":"ACTIVE","active":true,"effective_on":"1966-10-10","expires_on":"2027-01-08","suspended_on":null,"business_type":"Corporation","specialties":["GENERAL"],"ubi":"275003716","principal_name":"ABSHER, THOMAS LOWELL","address":{"street":"1001 Shaw Rd","city":"Puyallup","state":"WA","postal_code":"98372"}}]},"evidence":{"source":"Washington State Department of Labor & Industries","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupBusinessHealthInspectionsResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["business_health_inspections"]},"result":{"type":"object","properties":{"establishments":{"type":"array","items":{"type":"object","properties":{"establishment_id":{"type":"string","description":"The city's establishment id (CAMIS)"},"name":{"type":["string","null"],"description":"The trade name"},"address":{"type":["string","null"],"description":"Building number and street"},"borough":{"type":["string","null"],"description":"The borough, for example Manhattan"},"zipcode":{"type":["string","null"],"description":"Five-digit ZIP code"},"cuisine":{"type":["string","null"],"description":"The cuisine the city records, for example Sandwiches"},"latitude":{"type":["number","null"],"description":"Latitude, or null when the city could not place the address"},"longitude":{"type":["number","null"],"description":"Longitude, or null when the city could not place the address"},"inspections":{"type":"array","items":{"type":"object","properties":{"date":{"type":"string","description":"Date of the inspection, YYYY-MM-DD"},"type":{"type":["string","null"],"description":"Program and kind of inspection, for example Cycle Inspection / Initial Inspection"},"score":{"type":["number","null"],"description":"Points for the violations found (lower is better), or null when the inspection was not scored"},"grade":{"type":["string","null"],"description":"Letter grade given at this inspection: A, B or C; N not yet graded; Z grade pending; P grade pending on reopening after a closure. Null when none was given"},"grade_date":{"type":["string","null"],"description":"Date of the grade, YYYY-MM-DD, or null"},"action":{"type":["string","null"],"description":"What the city did at the inspection, in its words"},"violations":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","description":"The violation code the city uses, for example 04N"},"description":{"type":["string","null"],"description":"What the inspector cited, in the city's words"},"critical":{"type":"boolean","description":"Whether the city flags the violation as critical"}},"required":["code","description","critical"]},"description":"The violations cited, by code; empty when none was recorded"}},"required":["date","type","score","grade","grade_date","action","violations"]},"description":"Inspections, newest first (same-day inspections by type), at most `limit`; empty when the establishment has not been inspected yet"}},"required":["establishment_id","name","address","borough","zipcode","cuisine","latitude","longitude","inspections"]},"description":"The matching establishments, the most recently inspected first, then those not inspected yet; empty when none matches"}},"required":["establishments"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"business_health_inspections","result":{"establishments":[{"establishment_id":"40732665","name":"KATZ'S DELICATESSEN","address":"205 EAST HOUSTON STREET","borough":"Manhattan","zipcode":"10002","cuisine":"Sandwiches","latitude":40.72250411745,"longitude":-73.987300961167,"inspections":[{"date":"2026-09-30","type":"Inter-Agency Task Force / Initial Inspection","score":0,"grade":null,"grade_date":null,"action":"No violations were recorded at the time of this inspection.","violations":[]},{"date":"2026-07-13","type":"Administrative Miscellaneous / Initial Inspection","score":null,"grade":null,"grade_date":null,"action":"No violations were recorded at the time of this inspection.","violations":[]},{"date":"2026-07-13","type":"Cycle Inspection / Initial Inspection","score":20,"grade":null,"grade_date":null,"action":"Violations were cited in the following area(s).","violations":[{"code":"04H","description":"Raw, cooked or prepared food is adulterated, contaminated, cross-contaminated, or not discarded in accordance with HACCP plan.","critical":true},{"code":"04K","description":"Evidence of rats or live rats in establishment's food or non-food areas.","critical":true},{"code":"04N","description":"Filth flies or food/refuse/sewage associated with (FRSA) flies or other nuisance pests in establishment’s food and/or non-food areas. FRSA flies include house flies, blow flies, bottle flies, flesh flies, drain flies, Phorid flies and fruit flies.","critical":true},{"code":"08A","description":"Establishment is not free of harborage or conditions conducive to rodents, insects or other pests.","critical":false},{"code":"10B","description":"Anti-siphonage or back-flow prevention device not provided where required; equipment or floor not properly drained; sewage disposal system in disrepair or not functioning properly. Condensation or liquid waste improperly disposed of.","critical":false},{"code":"10F","description":"Non-food contact surface or equipment made of unacceptable material, not kept clean, or not properly sealed, raised, spaced or movable to allow accessibility for cleaning on all sides, above and underneath the unit.","critical":false},{"code":"28-05","description":"Food adulterated or misbranded. Adulterated or misbranded food possessed, being manufactured, produced, packed, sold, offered for sale, delivered or given away","critical":false}]}]}]},"evidence":{"source":"New York City Department of Health and Mental Hygiene","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupBusinessLiquorLicenseResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["business_liquor_license"]},"result":{"type":"object","properties":{"state":{"type":"string","enum":["NY"],"description":"The state asked for"},"licenses":{"type":"array","items":{"type":"object","properties":{"license_id":{"type":"string","description":"The source licence identifier"},"legal_name":{"type":["string","null"],"description":"The legal name on the licence"},"trade_name":{"type":["string","null"],"description":"The trade name (DBA), or null when absent"},"description":{"type":["string","null"],"description":"The licence type in the authority's words"},"class":{"type":["string","null"],"description":"The licence class code, retaining leading zeros"},"address":{"type":["string","null"],"description":"The actual address of the premises, or null when absent"},"city":{"type":["string","null"],"description":"The city of the premises, or null when absent"},"county":{"type":["string","null"],"description":"The county of the premises"},"zipcode":{"type":["string","null"],"description":"The ZIP code of the premises"},"original_issue_date":{"type":["string","null"],"description":"Original issue date, YYYY-MM-DD or null"},"last_issue_date":{"type":["string","null"],"description":"Most recent issue date, YYYY-MM-DD or null"},"effective_date":{"type":["string","null"],"description":"Effective date, YYYY-MM-DD or null"},"expiration_date":{"type":["string","null"],"description":"Expiration date, YYYY-MM-DD or null"},"latitude":{"type":["number","null"],"description":"Latitude of the premises, or null when absent"},"longitude":{"type":["number","null"],"description":"Longitude of the premises, or null when absent"}},"required":["license_id","legal_name","trade_name","description","class","address","city","county","zipcode","original_issue_date","last_issue_date","effective_date","expiration_date","latitude","longitude"]},"description":"Matching active licences, newest last issue date first; empty when none matched"},"total":{"type":"integer","description":"Rows returned, not a count of all matches; the source does not send a count"}},"required":["state","licenses","total"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"business_liquor_license","result":{"state":"NY","total":1,"licenses":[{"license_id":"0138-21-123999","legal_name":"MC SORLEYS OLD ALE HOUSE INC","trade_name":"MC SORLEYS OLD ALE HOUSE","description":"Food & Beverage Business","class":"0138","address":"15 E 7TH STREET","city":"NEW YORK","county":"New York","zipcode":"10003","original_issue_date":"2025-04-03","last_issue_date":"2025-04-03","effective_date":"2024-07-01","expiration_date":"2027-06-30","latitude":40.72868,"longitude":-73.98976}]},"evidence":{"source":"New York State Liquor Authority","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupPersonHealthProviderResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["person_health_provider"]},"result":{"type":"object","properties":{"total":{"type":"number","description":"Number of providers returned"},"providers":{"type":"array","items":{"type":"object","properties":{"npi":{"type":"string","description":"The 10-digit provider number"},"first_name":{"type":["string","null"]},"last_name":{"type":["string","null"]},"credential":{"type":["string","null"],"description":"Credential as registered, such as MD"},"active":{"type":"boolean","description":"True when the registration is active"},"registered_on":{"type":["string","null"],"description":"Date the 10-digit number was issued, YYYY-MM-DD"},"last_updated_on":{"type":["string","null"],"description":"Date the registry last updated the record, YYYY-MM-DD"},"specialties":{"type":"array","items":{"type":"object","properties":{"code":{"type":["string","null"],"description":"Taxonomy code"},"description":{"type":["string","null"]},"primary":{"type":"boolean"},"license_state":{"type":["string","null"]},"license_number":{"type":["string","null"]}},"required":["code","description","primary","license_state","license_number"]}},"practice_address":{"type":["object","null"],"properties":{"street":{"type":["string","null"]},"city":{"type":["string","null"]},"state":{"type":["string","null"]},"postal_code":{"type":["string","null"]},"phone":{"type":["string","null"]}},"required":["street","city","state","postal_code","phone"],"description":"Where they practise, as registered"},"mailing_address":{"type":["object","null"],"properties":{"street":{"type":["string","null"]},"city":{"type":["string","null"]},"state":{"type":["string","null"]},"postal_code":{"type":["string","null"]},"phone":{"type":["string","null"]}},"required":["street","city","state","postal_code","phone"],"description":"Where they receive mail, as registered"}},"required":["npi","first_name","last_name","credential","active","registered_on","last_updated_on","specialties","practice_address","mailing_address"]}}},"required":["total","providers"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"person_health_provider","result":{"total":1,"providers":[{"npi":"1245319599","first_name":"LAURA","last_name":"SAMPLE","credential":"MD","active":true,"registered_on":"2006-11-06","last_updated_on":"2025-10-17","specialties":[{"code":"207Q00000X","description":"Family Medicine","primary":true,"license_state":"VA","license_number":"0101244988"}],"practice_address":{"street":"1080 FIRST COLONIAL RD, SUITE 200","city":"VIRGINIA BEACH","state":"VA","postal_code":"23454-2406","phone":"757-395-6070"},"mailing_address":{"street":"620 JOHN PAUL JONES CIR","city":"PORTSMOUTH","state":"VA","postal_code":"23708-2111","phone":"757-953-0831"}}]},"evidence":{"source":"US Centers for Medicare & Medicaid Services","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupCompanyHealthProviderResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["company_health_provider"]},"result":{"type":"object","properties":{"total":{"type":"number","description":"Number of providers returned"},"providers":{"type":"array","items":{"type":"object","properties":{"npi":{"type":"string","description":"The 10-digit provider number"},"organization_name":{"type":["string","null"]},"other_names":{"type":"array","items":{"type":"string"}},"subpart":{"type":"boolean","description":"True when registered as an organisational subpart"},"active":{"type":"boolean","description":"True when the registration is active"},"registered_on":{"type":["string","null"],"description":"Date the 10-digit number was issued, YYYY-MM-DD"},"last_updated_on":{"type":["string","null"],"description":"Date the registry last updated the record, YYYY-MM-DD"},"specialties":{"type":"array","items":{"type":"object","properties":{"code":{"type":["string","null"],"description":"Taxonomy code"},"description":{"type":["string","null"]},"primary":{"type":"boolean"},"license_state":{"type":["string","null"]},"license_number":{"type":["string","null"]}},"required":["code","description","primary","license_state","license_number"]}},"practice_address":{"type":["object","null"],"properties":{"street":{"type":["string","null"]},"city":{"type":["string","null"]},"state":{"type":["string","null"]},"postal_code":{"type":["string","null"]},"phone":{"type":["string","null"]}},"required":["street","city","state","postal_code","phone"],"description":"Where they practise, as registered"},"mailing_address":{"type":["object","null"],"properties":{"street":{"type":["string","null"]},"city":{"type":["string","null"]},"state":{"type":["string","null"]},"postal_code":{"type":["string","null"]},"phone":{"type":["string","null"]}},"required":["street","city","state","postal_code","phone"],"description":"Where they receive mail, as registered"},"authorized_official":{"type":"object","properties":{"name":{"type":["string","null"]},"title":{"type":["string","null"]}},"required":["name","title"]}},"required":["npi","organization_name","other_names","subpart","active","registered_on","last_updated_on","specialties","practice_address","mailing_address","authorized_official"]}}},"required":["total","providers"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"company_health_provider","result":{"total":1,"providers":[{"npi":"1881018208","organization_name":"MAYO CLINIC","other_names":[],"active":true,"subpart":false,"registered_on":"2014-02-05","last_updated_on":"2021-04-12","specialties":[{"code":"261QM1300X","description":"Clinic/Center, Multi-Specialty","primary":true,"license_state":null,"license_number":null}],"practice_address":{"street":"200 1ST ST SW","city":"ROCHESTER","state":"MN","postal_code":"55905-0001","phone":"507-284-2511"},"mailing_address":{"street":"200 1ST ST SW","city":"ROCHESTER","state":"MN","postal_code":"55905-0001","phone":"507-284-2511"},"authorized_official":{"name":"Mr. DENNIS DAHLEN","title":"Chief Financial Officer"}}]},"evidence":{"source":"US Centers for Medicare & Medicaid Services","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupCompanyMedicareOwnershipResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["company_medicare_ownership"]},"result":{"type":"object","properties":{"facility_type":{"type":"string","enum":["hospital","skilled_nursing","home_health","hospice","health_center","rural_health_clinic"]},"release_file_date":{"type":["string","null"],"description":"Date of the register release that answered, YYYY-MM-DD"},"truncated":{"type":"boolean","description":"True when the source page was full, so the last facility listed may be missing owners and further facilities were not read"},"facilities":{"type":"array","items":{"type":"object","properties":{"enrollment_id":{"type":"string"},"organization_name":{"type":["string","null"]},"associate_id":{"type":["string","null"],"description":"The facility record id at the source"},"owners":{"type":"array","items":{"type":"object","properties":{"owner_associate_id":{"type":["string","null"],"description":"The owner record id at the source, the same across facilities the owner holds"},"owner_type":{"type":"string","enum":["organization","individual"]},"name":{"type":["string","null"],"description":"The organisation name, or the individual first and last name"},"doing_business_as":{"type":["string","null"]},"title":{"type":["string","null"],"description":"The title an individual holds at the facility, as reported"},"role":{"type":["string","null"],"description":"The reported relationship, such as a direct or indirect ownership interest, officer, director or managing employee"},"role_code":{"type":["string","null"]},"ownership_percent":{"type":["number","null"],"description":"Share held, when the role carries one"},"associated_on":{"type":["string","null"],"description":"Date the owner joined, YYYY-MM-DD"},"city":{"type":["string","null"]},"state":{"type":["string","null"]},"flags":{"type":"array","items":{"type":"string"},"description":"Owner types reported as yes, such as holding_company, private_equity_company or reit, plus any other type text"}},"required":["owner_associate_id","owner_type","name","doing_business_as","title","role","role_code","ownership_percent","associated_on","city","state","flags"]}}},"required":["enrollment_id","organization_name","associate_id","owners"]}}},"required":["facility_type","release_file_date","truncated","facilities"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"company_medicare_ownership","result":{"facility_type":"hospital","release_file_date":"2026-09-29","truncated":false,"facilities":[{"enrollment_id":"O20020812000015","organization_name":"SOUTHERN TENNESSEE MEDICAL CENTER LLC","associate_id":"5193632180","owners":[{"owner_associate_id":"6305296492","owner_type":"organization","name":"HIGHPOINT HEALTHCARE, LLC","doing_business_as":null,"title":null,"role":"5% OR GREATER DIRECT OWNERSHIP INTEREST","role_code":"34","ownership_percent":100,"associated_on":"2025-02-28","city":"BRENTWOOD","state":"TN","flags":["llc"]},{"owner_associate_id":"0244144871","owner_type":"organization","name":"LIFEPOINT HOLDINGS 2 LLC","doing_business_as":null,"title":null,"role":"5% OR GREATER INDIRECT OWNERSHIP INTEREST","role_code":"35","ownership_percent":80,"associated_on":"2025-03-01","city":"BRENTWOOD","state":"TN","flags":["for_profit"]},{"owner_associate_id":"2466598503","owner_type":"individual","name":"WILLIAM HAUGH","doing_business_as":null,"title":"PRESIDENT","role":"CORPORATE OFFICER","role_code":"40","ownership_percent":0,"associated_on":"2022-01-25","city":null,"state":null,"flags":[]},{"owner_associate_id":"0446239073","owner_type":"organization","name":"LIFEPOINT CORPORATE SERVICES GENERAL PARTNERSHIP","doing_business_as":null,"title":null,"role":"OPERATIONAL/MANAGERIAL CONTROL","role_code":"43","ownership_percent":null,"associated_on":"2015-01-01","city":"BRENTWOOD","state":"TN","flags":["GENERAL PARTNERSHIP"]}]}]},"evidence":{"source":"US Centers for Medicare & Medicaid Services","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupCompanyCareQualityResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["company_care_quality"]},"result":{"type":"object","properties":{"facility_type":{"type":"string","enum":["hospital","nursing_home","home_health","hospice","dialysis"]},"rating_name":{"type":"string"},"has_more":{"type":"boolean"},"facilities":{"type":"array","items":{"type":"object","properties":{"ccn":{"type":"string"},"name":{"type":"string"},"city":{"type":["string","null"]},"state":{"type":["string","null"]},"zip_code":{"type":["string","null"]},"ownership":{"type":["string","null"]},"chain":{"type":["string","null"]},"overall_rating":{"type":["integer","null"],"minimum":1,"maximum":5},"overall_rating_footnote":{"type":["string","null"]},"component_ratings":{"type":["object","null"],"properties":{"health_inspection":{"type":["integer","null"],"minimum":1,"maximum":5},"quality_measures":{"type":["integer","null"],"minimum":1,"maximum":5},"long_stay_quality":{"type":["integer","null"],"minimum":1,"maximum":5},"short_stay_quality":{"type":["integer","null"],"minimum":1,"maximum":5},"staffing":{"type":["integer","null"],"minimum":1,"maximum":5}},"required":["health_inspection","quality_measures","long_stay_quality","short_stay_quality","staffing"]},"special_focus_status":{"type":["string","null"]},"abuse_cited":{"type":["boolean","null"]},"rating_period":{"type":["string","null"]}},"required":["ccn","name","city","state","zip_code","ownership","chain","overall_rating","overall_rating_footnote","component_ratings","special_focus_status","abuse_cited","rating_period"]}}},"required":["facility_type","rating_name","has_more","facilities"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"company_care_quality","result":{"facility_type":"hospital","rating_name":"Overall hospital quality star rating","has_more":false,"facilities":[{"ccn":"240010","name":"MAYO CLINIC HOSPITAL ROCHESTER","city":"ROCHESTER","state":"MN","zip_code":"55902","ownership":"Voluntary non-profit - Church","chain":null,"overall_rating":5,"overall_rating_footnote":null,"component_ratings":null,"special_focus_status":null,"abuse_cited":null,"rating_period":null}]},"evidence":{"source":"US Centers for Medicare & Medicaid Services","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupCompanySbaLoansResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["company_sba_loans"]},"result":{"type":"object","properties":{"has_more":{"type":"boolean"},"loans":{"type":"array","items":{"type":"object","properties":{"program":{"type":"string","enum":["504","7a"]},"borrower_name":{"type":["string","null"]},"borrower_city":{"type":["string","null"]},"borrower_state":{"type":["string","null"]},"borrower_zip":{"type":["string","null"]},"business_type":{"type":["string","null"]},"amount_usd":{"type":["number","null"]},"sba_guaranteed_usd":{"type":["number","null"]},"approved_on":{"type":"string","format":"date"},"approval_fiscal_year":{"type":"integer"},"first_disbursed_on":{"type":["string","null"]},"lender_name":{"type":["string","null"]},"lender_fdic_certificate":{"type":["string","null"]},"third_party_lender_name":{"type":["string","null"]},"third_party_amount_usd":{"type":["number","null"]},"processing_method":{"type":["string","null"]},"interest_rate_percent":{"type":["number","null"]},"rate_type":{"type":["string","null"],"enum":["fixed","variable",null]},"term_months":{"type":["integer","null"]},"industry_code":{"type":["string","null"]},"industry":{"type":["string","null"]},"franchise_name":{"type":["string","null"]},"status":{"type":"string","enum":["paid_in_full","charged_off","cancelled","undisbursed","active_not_disclosed","closed","other"]},"status_code":{"type":"string"},"paid_in_full_on":{"type":["string","null"]},"charged_off_on":{"type":["string","null"]},"charged_off_usd":{"type":["number","null"]},"jobs_supported":{"type":["number","null"]}},"required":["program","borrower_name","borrower_city","borrower_state","borrower_zip","business_type","amount_usd","sba_guaranteed_usd","approved_on","approval_fiscal_year","first_disbursed_on","lender_name","lender_fdic_certificate","third_party_lender_name","third_party_amount_usd","processing_method","interest_rate_percent","rate_type","term_months","industry_code","industry","franchise_name","status","status_code","paid_in_full_on","charged_off_on","charged_off_usd","jobs_supported"]}}},"required":["has_more","loans"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"company_sba_loans","result":{"has_more":false,"loans":[{"program":"7a","borrower_name":"Faster Cajun LLC","borrower_city":"LAKE ARTHUR","borrower_state":"LA","borrower_zip":"70549","business_type":"CORPORATION","amount_usd":2530000,"sba_guaranteed_usd":1897500,"approved_on":"2026-05-06","approval_fiscal_year":2026,"first_disbursed_on":"2026-05-19","lender_name":"Live Oak Banking Company","lender_fdic_certificate":"58665","third_party_lender_name":null,"third_party_amount_usd":null,"processing_method":"Preferred Lenders Program","interest_rate_percent":8.35,"rate_type":"variable","term_months":156,"industry_code":"517111","industry":"Wired Telecommunications Carriers","franchise_name":null,"status":"active_not_disclosed","status_code":"EXEMPT","paid_in_full_on":null,"charged_off_on":null,"charged_off_usd":0,"jobs_supported":11},{"program":"7a","borrower_name":"Faster Cajun LLC","borrower_city":"LAKE ARTHUR","borrower_state":"LA","borrower_zip":"70549","business_type":"CORPORATION","amount_usd":150000,"sba_guaranteed_usd":75000,"approved_on":"2026-05-04","approval_fiscal_year":2026,"first_disbursed_on":"2026-05-19","lender_name":"Live Oak Banking Company","lender_fdic_certificate":"58665","third_party_lender_name":null,"third_party_amount_usd":null,"processing_method":"SBA Express Program","interest_rate_percent":9.75,"rate_type":"variable","term_months":120,"industry_code":"517111","industry":"Wired Telecommunications Carriers","franchise_name":null,"status":"active_not_disclosed","status_code":"EXEMPT","paid_in_full_on":null,"charged_off_on":null,"charged_off_usd":0,"jobs_supported":11},{"program":"7a","borrower_name":"Faster Cajun Networks","borrower_city":"LAKE ARTHUR","borrower_state":"LA","borrower_zip":"70549","business_type":"CORPORATION","amount_usd":1335000,"sba_guaranteed_usd":1001250,"approved_on":"2024-06-14","approval_fiscal_year":2024,"first_disbursed_on":"2024-07-11","lender_name":"Live Oak Banking Company","lender_fdic_certificate":"58665","third_party_lender_name":null,"third_party_amount_usd":null,"processing_method":"Preferred Lenders Program","interest_rate_percent":10.35,"rate_type":"variable","term_months":180,"industry_code":"517111","industry":"Wired Telecommunications Carriers","franchise_name":null,"status":"active_not_disclosed","status_code":"EXEMPT","paid_in_full_on":null,"charged_off_on":null,"charged_off_usd":0,"jobs_supported":10}]},"evidence":{"source":"US Small Business Administration","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupProductDutyRateResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["product_duty_rate"]},"result":{"type":"object","properties":{"total":{"type":"number","description":"How many lines of the schedule the source matched, before the limit"},"lines":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","description":"Tariff line number, such as 7408.11.30.00; a heading has fewer segments"},"description":{"type":"string"},"indent":{"type":"number","description":"Depth in the schedule tree. In a heading lookup a line sits beneath the nearest earlier line with a lower indent; in a keyword search the ancestors are absent, so indent is depth only"},"general_rate":{"type":["string","null"],"description":"General (column 1) scheduled rate, as written; null on a heading"},"special_rate":{"type":["string","null"],"description":"Special scheduled rate with its program codes, as written"},"other_rate":{"type":["string","null"],"description":"Column 2 scheduled rate, as written"},"units":{"type":"array","items":{"type":"string"},"description":"Units of quantity reported for the line"},"footnotes":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string","description":"The footnote, as the schedule gives it"},"columns":{"type":"array","items":{"type":"string"},"description":"Which column(s) of the line it qualifies, as the schedule names them: general, special, other or units; empty when it names none"}},"required":["text","columns"]},"description":"Footnotes on the line, each with the rate column(s) it qualifies"},"additional_duties":{"type":["string","null"],"description":"Additional-duties note, as the schedule gives it"}},"required":["code","description","indent","general_rate","special_rate","other_rate","units","footnotes","additional_duties"]},"description":"Matching lines in schedule order, cut to the limit"}},"required":["total","lines"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"product_duty_rate","result":{"total":3,"lines":[{"code":"7408.11","description":"Of which the maximum cross-sectional dimension exceeds 6 mm:","indent":2,"general_rate":null,"special_rate":null,"other_rate":null,"units":[],"footnotes":[],"additional_duties":null},{"code":"7408.11.30.00","description":"With a maximum cross-sectional dimension over 9.5 mm","indent":3,"general_rate":"1%","special_rate":"Free (A,AU,BH,CL,CO,D,E,IL,JO,KR,MA,OM,P,PA,PE,S,SG)","other_rate":"7%","units":["kg"],"footnotes":[],"additional_duties":null}]},"evidence":{"source":"US International Trade Commission","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupProductRecallsResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["product_recalls"]},"result":{"type":"object","properties":{"category":{"type":"string","enum":["consumer","food","drug","device"],"description":"The category asked for"},"total":{"type":"number","description":"How many recalls matched, including any beyond `limit`"},"recalls":{"type":"array","items":{"type":"object","properties":{"recall_number":{"type":["string","null"],"description":"The regulator's recall number"},"status":{"type":["string","null"],"description":"Whether the recall is ongoing, completed or terminated. Null for consumer"},"classification":{"type":["string","null"],"description":"Class I, II or III, as the regulator classed the hazard. Null for consumer"},"distribution":{"type":["string","null"],"description":"Where the product was distributed. Null for consumer"},"recalled_on":{"type":["string","null"],"description":"The date the recall was announced, YYYY-MM-DD"},"last_published_on":{"type":["string","null"],"description":"The date the notice was last published, YYYY-MM-DD"},"title":{"type":["string","null"],"description":"The recall title"},"description":{"type":["string","null"],"description":"What was recalled"},"url":{"type":["string","null"],"description":"The recall notice"},"products":{"type":"array","items":{"type":"object","properties":{"name":{"type":["string","null"],"description":"The product name"},"model":{"type":["string","null"],"description":"The model"},"units":{"type":["string","null"],"description":"How many units, as the notice states it"}},"required":["name","model","units"]},"description":"The products recalled"},"hazards":{"type":"array","items":{"type":"string"},"description":"The hazards"},"remedies":{"type":"array","items":{"type":"string"},"description":"What consumers are told to do"},"remedy_options":{"type":"array","items":{"type":"string"},"description":"The kinds of remedy, such as Repair or Refund"},"injuries":{"type":"array","items":{"type":"string"},"description":"The injuries reported"},"manufacturers":{"type":"array","items":{"type":"string"},"description":"The manufacturers"},"retailers":{"type":"array","items":{"type":"string"},"description":"Where it was sold"}},"required":["recall_number","status","classification","distribution","recalled_on","last_published_on","title","description","url","products","hazards","remedies","remedy_options","injuries","manufacturers","retailers"]},"description":"The matching recalls, newest first"}},"required":["category","total","recalls"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"product_recalls","result":{"category":"consumer","total":1,"recalls":[{"recall_number":"26661","status":null,"classification":null,"distribution":null,"recalled_on":"2026-08-06","last_published_on":"2026-08-07","title":"Louisville Ladder Recalls Over One Million Attic Stairway Ladders Due to Risk of Serious Injury or Death from Fall Hazard","description":"This recall involves Louisville, Featherlite, Lite & Century Attic Stairway Ladders with gas struts only.","url":"https://www.cpsc.gov/Recalls/2026/Louisville-Ladder-Recalls-Over-One-Million-Attic-Stairway-Ladders-Due-to-Risk-of-Serious-Injury-or-Death-from-Fall-Hazard","products":[{"name":"Louisville, Featherlite, Lite & Century Attic Stairway Ladders with gas struts","model":null,"units":"1,770,000 (In addition, about 13,054 were sold in Canada)"}],"hazards":["The bolts on the attic stairway ladders can break while in use, posing a risk of serious injury or death from fall hazard."],"remedies":["Consumers should stop using the recalled ladders immediately and register to receive a free repair kit."],"remedy_options":["Repair"],"injuries":["The firm has received 11 reports of a bolt breaking, including one report of an injury to the neck, head and back."],"manufacturers":[],"retailers":["The Home Depot, Lowe's, Do It Best, Orgill, and other retailers nationwide and on-line at Amazon.com"]}]},"evidence":{"source":"US Consumer Product Safety Commission","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupProductDrugShortagesResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["product_drug_shortages"]},"result":{"type":"object","properties":{"total":{"type":"number","description":"How many presentations matched, including any beyond `limit`"},"shortages":{"type":"array","items":{"type":"object","properties":{"generic_name":{"type":["string","null"],"description":"The generic name, with the dosage form"},"brand_names":{"type":"array","items":{"type":"string"},"description":"The brand names"},"company":{"type":["string","null"],"description":"The company that makes it"},"status":{"type":["string","null"],"description":"Current, To Be Discontinued or Resolved"},"availability":{"type":["string","null"],"description":"Whether it is available, for example Unavailable or Limited Availability"},"dosage_form":{"type":["string","null"],"description":"The dosage form, for example Tablet"},"presentation":{"type":["string","null"],"description":"The strength and package"},"package_ndc":{"type":["string","null"],"description":"The package National Drug Code"},"therapeutic_categories":{"type":"array","items":{"type":"string"},"description":"The therapeutic categories"},"reason":{"type":["string","null"],"description":"Why it is short. Null when the source gives none"},"related_info":{"type":["string","null"],"description":"Related information from the source"},"first_posted_on":{"type":["string","null"],"description":"The date it was first posted, YYYY-MM-DD"},"updated_on":{"type":["string","null"],"description":"The date it was last updated, YYYY-MM-DD"}},"required":["generic_name","brand_names","company","status","availability","dosage_form","presentation","package_ndc","therapeutic_categories","reason","related_info","first_posted_on","updated_on"]},"description":"The matching presentations, most recently updated first"}},"required":["total","shortages"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"product_drug_shortages","result":{"total":22,"shortages":[{"generic_name":"Quinapril Hydrochloride Tablet","brand_names":["QUINAPRIL"],"company":"Aurobindo Pharma USA","status":"Current","availability":"Unavailable","dosage_form":"Tablet","presentation":"Quinapril Hydrochloride, Tablet, 40 mg (NDC 65862-620-90)","package_ndc":"65862-620-90","therapeutic_categories":["Cardiovascular"],"reason":"Discontinuation of the manufacture of the drug","related_info":"Discontinuation of the manufacture of the drug","first_posted_on":"2023-01-19","updated_on":"2025-10-02"}]},"evidence":{"source":"US Food and Drug Administration","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupVariantClinicalSignificanceResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["variant_clinical_significance"]},"result":{"type":"object","properties":{"variants":{"type":"array","items":{"type":"object","properties":{"vcv":{"type":"string","pattern":"^VCV\\d{9}$"},"version":{"type":"string","description":"Versioned ClinVar accession"},"title":{"type":"string"},"variant_type":{"type":"string"},"genes":{"type":"array","items":{"type":"object","properties":{"symbol":{"type":"string"},"gene_id":{"type":"string"}},"required":["symbol","gene_id"]}},"protein_change":{"type":["string","null"]},"molecular_consequences":{"type":"array","items":{"type":"string"}},"rsid":{"type":["string","null"]},"germline":{"type":["object","null"],"properties":{"classification":{"type":"string"},"review_status":{"type":"string"},"last_evaluated":{"type":["string","null"],"description":"Last evaluated date, YYYY-MM-DD, or null"},"conditions":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"ids":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string"},"id":{"type":"string"}},"required":["source","id"]}}},"required":["name","ids"]}}},"required":["classification","review_status","last_evaluated","conditions"]},"somatic_clinical_impact":{"type":["object","null"],"properties":{"classification":{"type":"string"},"review_status":{"type":"string"},"last_evaluated":{"type":["string","null"],"description":"Last evaluated date, YYYY-MM-DD, or null"},"conditions":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"ids":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string"},"id":{"type":"string"}},"required":["source","id"]}}},"required":["name","ids"]}}},"required":["classification","review_status","last_evaluated","conditions"]},"oncogenicity":{"type":["object","null"],"properties":{"classification":{"type":"string"},"review_status":{"type":"string"},"last_evaluated":{"type":["string","null"],"description":"Last evaluated date, YYYY-MM-DD, or null"},"conditions":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"ids":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string"},"id":{"type":"string"}},"required":["source","id"]}}},"required":["name","ids"]}}},"required":["classification","review_status","last_evaluated","conditions"]},"page_url":{"type":"string"}},"required":["vcv","version","title","variant_type","genes","protein_change","molecular_consequences","rsid","germline","somatic_clinical_impact","oncogenicity","page_url"]},"description":"Up to five variations carrying the requested identifier"}},"required":["variants"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"variant_clinical_significance","result":{"variants":[{"vcv":"VCV000017677","version":"VCV000017677.176","title":"NM_007294.4(BRCA1):c.5266dup (p.Gln1756fs)","variant_type":"Duplication","genes":[{"symbol":"BRCA1","gene_id":"672"}],"protein_change":"Q1756fs, Q1777fs, Q652fs, Q1709fs","molecular_consequences":["frameshift variant","non-coding transcript variant"],"rsid":"rs80357906","germline":{"classification":"Pathogenic","review_status":"reviewed by expert panel","last_evaluated":"2016-04-22","conditions":[{"name":"Breast-ovarian cancer, familial, susceptibility to, 1","ids":[{"source":"Orphanet","id":"145"},{"source":"MedGen","id":"C2676676"},{"source":"MONDO","id":"MONDO:0011450"},{"source":"OMIM","id":"604370"}]}]},"somatic_clinical_impact":null,"oncogenicity":null,"page_url":"https://www.ncbi.nlm.nih.gov/clinvar/variation/17677/"}]},"evidence":{"source":"US National Center for Biotechnology Information (ClinVar)","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupVariantFrequencyResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["variant_frequency"]},"result":{"type":"object","properties":{"found":{"type":"boolean"},"note":{"type":["string","null"]},"variant_id":{"type":["string","null"]},"rsids":{"type":"array","items":{"type":"string"}},"reference_genome":{"type":["string","null"]},"chrom":{"type":["string","null"]},"pos":{"type":["integer","null"],"minimum":0},"ref":{"type":["string","null"]},"alt":{"type":["string","null"]},"exome":{"type":["object","null"],"properties":{"allele_count":{"type":"integer","minimum":0},"allele_number":{"type":"integer","minimum":0},"allele_frequency":{"type":["number","null"],"minimum":0},"homozygotes":{"type":"integer","minimum":0},"hemizygotes":{"type":"integer","minimum":0},"filters":{"type":"array","items":{"type":"string"},"description":"Empty means it passed quality filters"},"populations":{"type":"array","items":{"type":"object","properties":{"group":{"type":"string"},"allele_count":{"type":"integer","minimum":0},"allele_number":{"type":"integer","minimum":0},"allele_frequency":{"type":["number","null"],"minimum":0},"homozygotes":{"type":"integer","minimum":0}},"required":["group","allele_count","allele_number","allele_frequency","homozygotes"]}}},"required":["allele_count","allele_number","allele_frequency","homozygotes","hemizygotes","filters","populations"]},"genome":{"type":["object","null"],"properties":{"allele_count":{"type":"integer","minimum":0},"allele_number":{"type":"integer","minimum":0},"allele_frequency":{"type":["number","null"],"minimum":0},"homozygotes":{"type":"integer","minimum":0},"hemizygotes":{"type":"integer","minimum":0},"filters":{"type":"array","items":{"type":"string"},"description":"Empty means it passed quality filters"},"populations":{"type":"array","items":{"type":"object","properties":{"group":{"type":"string"},"allele_count":{"type":"integer","minimum":0},"allele_number":{"type":"integer","minimum":0},"allele_frequency":{"type":["number","null"],"minimum":0},"homozygotes":{"type":"integer","minimum":0}},"required":["group","allele_count","allele_number","allele_frequency","homozygotes"]}}},"required":["allele_count","allele_number","allele_frequency","homozygotes","hemizygotes","filters","populations"]}},"required":["found","note","variant_id","rsids","reference_genome","chrom","pos","ref","alt","exome","genome"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"variant_frequency","result":{"found":true,"note":null,"variant_id":"1-55051215-G-GA","rsids":["rs527413419"],"reference_genome":"GRCh38","chrom":"1","pos":55051215,"ref":"G","alt":"GA","exome":{"allele_count":192,"allele_number":303936,"allele_frequency":0.0006317119393556538,"homozygotes":2,"hemizygotes":0,"filters":[],"populations":[{"group":"remaining","allele_count":16,"allele_number":14228,"allele_frequency":0.001124543154343548,"homozygotes":0},{"group":"amr","allele_count":19,"allele_number":27270,"allele_frequency":0.0006967363403006967,"homozygotes":0},{"group":"fin","allele_count":0,"allele_number":12364,"allele_frequency":0,"homozygotes":0},{"group":"mid","allele_count":5,"allele_number":2782,"allele_frequency":0.0017972681524083393,"homozygotes":0},{"group":"nfe","allele_count":7,"allele_number":158924,"allele_frequency":0.00004404621076741084,"homozygotes":0},{"group":"sas","allele_count":2,"allele_number":59744,"allele_frequency":0.000033476164970540974,"homozygotes":0},{"group":"asj","allele_count":0,"allele_number":10788,"allele_frequency":0,"homozygotes":0},{"group":"eas","allele_count":0,"allele_number":9210,"allele_frequency":0,"homozygotes":0},{"group":"afr","allele_count":143,"allele_number":8626,"allele_frequency":0.016577788082541154,"homozygotes":2}]},"genome":{"allele_count":727,"allele_number":152324,"allele_frequency":0.004772721304587589,"homozygotes":9,"hemizygotes":0,"filters":[],"populations":[{"group":"remaining","allele_count":10,"allele_number":2114,"allele_frequency":0.004730368968779565,"homozygotes":0},{"group":"amr","allele_count":27,"allele_number":15296,"allele_frequency":0.0017651673640167365,"homozygotes":0},{"group":"fin","allele_count":0,"allele_number":10630,"allele_frequency":0,"homozygotes":0},{"group":"ami","allele_count":0,"allele_number":912,"allele_frequency":0,"homozygotes":0},{"group":"eas","allele_count":0,"allele_number":5176,"allele_frequency":0,"homozygotes":0},{"group":"mid","allele_count":0,"allele_number":294,"allele_frequency":0,"homozygotes":0},{"group":"sas","allele_count":1,"allele_number":4834,"allele_frequency":0.0002068680182043856,"homozygotes":0},{"group":"asj","allele_count":0,"allele_number":3472,"allele_frequency":0,"homozygotes":0},{"group":"afr","allele_count":683,"allele_number":41568,"allele_frequency":0.016430908391070052,"homozygotes":9},{"group":"nfe","allele_count":6,"allele_number":68028,"allele_frequency":0.00008819897689186806,"homozygotes":0}]}},"evidence":{"source":"Genome Aggregation Database (gnomAD), Broad Institute","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupProteinDomainsResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["protein_domains"]},"result":{"type":"object","properties":{"accession":{"type":"string"},"protein_length":{"type":["integer","null"],"exclusiveMinimum":0},"entries":{"type":"array","items":{"type":"object","properties":{"interpro_id":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","enum":["family","domain","homologous_superfamily","repeat","conserved_site","active_site","binding_site","ptm"]},"go_terms":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"category":{"type":"string","enum":["molecular_function","biological_process","cellular_component"]}},"required":["id","name","category"]}},"locations":{"type":"array","items":{"type":"object","properties":{"start":{"type":"integer","exclusiveMinimum":0},"end":{"type":"integer","exclusiveMinimum":0},"discontinuous":{"type":"boolean"}},"required":["start","end","discontinuous"]}},"page_url":{"type":"string"}},"required":["interpro_id","name","type","go_terms","locations","page_url"]}},"truncated":{"type":"boolean"}},"required":["accession","protein_length","entries","truncated"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"protein_domains","result":{"accession":"P04637","protein_length":393,"entries":[{"interpro_id":"IPR057064","name":"p53, central conserved site","type":"conserved_site","go_terms":[],"locations":[{"start":237,"end":249,"discontinuous":false}],"page_url":"https://www.ebi.ac.uk/interpro/entry/InterPro/IPR057064/"}],"truncated":false},"evidence":{"source":"InterPro (EMBL-EBI)","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupProteinFunctionResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["protein_function"]},"result":{"type":"object","properties":{"protein":{"type":["object","null"],"properties":{"accession":{"type":["string","null"]},"entry_name":{"type":["string","null"]},"reviewed":{"type":["boolean","null"]},"protein_name":{"type":["string","null"]},"alternative_names":{"type":["array","null"],"items":{"type":"string"}},"genes":{"type":["array","null"],"items":{"type":"object","properties":{"name":{"type":["string","null"]},"synonyms":{"type":["array","null"],"items":{"type":"string"}}},"required":["name","synonyms"]}},"organism":{"type":["object","null"],"properties":{"scientific_name":{"type":["string","null"]},"taxon_id":{"type":["number","null"]}},"required":["scientific_name","taxon_id"]},"length":{"type":["number","null"]},"function":{"type":["array","null"],"items":{"type":"string"},"description":"FUNCTION comment texts, retaining the source’s literature citations"},"evidence_pubmed_ids":{"type":["array","null"],"items":{"type":"string"},"description":"Distinct PubMed identifiers from FUNCTION text evidences"},"subcellular_locations":{"type":["array","null"],"items":{"type":"object","properties":{"location":{"type":["string","null"]},"isoform":{"type":["string","null"]}},"required":["location","isoform"]}},"catalytic_activities":{"type":["array","null"],"items":{"type":"object","properties":{"reaction":{"type":["string","null"]},"ec":{"type":["string","null"]}},"required":["reaction","ec"]}},"ec_numbers":{"type":["array","null"],"items":{"type":"string"}},"keywords":{"type":["array","null"],"items":{"type":"object","properties":{"id":{"type":["string","null"]},"category":{"type":["string","null"]},"name":{"type":["string","null"]}},"required":["id","category","name"]}},"annotation_score":{"type":["number","null"]},"last_updated":{"type":["string","null"],"description":"Last annotation update date, YYYY-MM-DD"},"sequence":{"type":["string","null"],"description":"Amino-acid sequence, only when requested"}},"required":["accession","entry_name","reviewed","protein_name","alternative_names","genes","organism","length","function","evidence_pubmed_ids","subcellular_locations","catalytic_activities","ec_numbers","keywords","annotation_score","last_updated","sequence"]},"inactive_reason":{"type":["object","null"],"properties":{"reason_type":{"type":["string","null"],"description":"The source’s reason for inactivation, for example DELETED or DEMERGED"},"replacement_accessions":{"type":["array","null"],"items":{"type":"string"},"description":"Replacement accessions for a demerged entry"}},"required":["reason_type","replacement_accessions"]}},"required":["protein","inactive_reason"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"protein_function","result":{"protein":null,"inactive_reason":{"reason_type":"DEMERGED","replacement_accessions":["P68251","P68250"]}},"evidence":{"source":"UniProt Consortium","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupProteinInteractionsResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["protein_interactions"]},"result":{"type":"object","properties":{"protein":{"type":["object","null"],"properties":{"string_id":{"type":"string","description":"The query protein’s identifier in the source network"},"name":{"type":"string","description":"The query protein’s preferred name"},"taxon_id":{"type":"integer","description":"NCBI Taxonomy ID of the organism"}},"required":["string_id","name","taxon_id"],"description":"The query protein as the source resolved it; null when there are no partners"},"partners":{"type":"array","items":{"type":"object","properties":{"string_id":{"type":"string","description":"The partner’s identifier in the source network"},"name":{"type":"string","description":"The partner’s preferred name"},"score":{"type":"number","description":"Combined confidence score, 0 to 1"},"evidence":{"type":"object","properties":{"experiments":{"type":"number","description":"Experimental evidence score"},"databases":{"type":"number","description":"Curated database evidence score"},"text_mining":{"type":"number","description":"Text-mining evidence score"},"coexpression":{"type":"number","description":"Co-expression evidence score"},"neighborhood":{"type":"number","description":"Genomic neighborhood evidence score"},"gene_fusion":{"type":"number","description":"Gene fusion evidence score"},"cooccurrence":{"type":"number","description":"Phylogenetic co-occurrence evidence score"}},"required":["experiments","databases","text_mining","coexpression","neighborhood","gene_fusion","cooccurrence"]}},"required":["string_id","name","score","evidence"]},"description":"Partners in the source’s order, highest combined score first"},"page_url":{"type":["string","null"],"format":"uri","description":"The query protein’s network page; null when there are no partners"}},"required":["protein","partners","page_url"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"protein_interactions","result":{"protein":{"string_id":"9606.ENSP00000269305","name":"TP53","taxon_id":9606},"partners":[{"string_id":"9606.ENSP00000212015","name":"SIRT1","score":0.999,"evidence":{"experiments":0.999,"databases":0.9,"text_mining":0.886,"coexpression":0,"neighborhood":0,"gene_fusion":0,"cooccurrence":0}}],"page_url":"https://string-db.org/network/9606.ENSP00000269305"},"evidence":{"source":"STRING consortium","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupProteinSequenceResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["protein_sequence"]},"result":{"type":"object","properties":{"protein":{"type":["object","null"],"properties":{"accession":{"type":["string","null"]},"entry_name":{"type":["string","null"]},"reviewed":{"type":"boolean"},"is_isoform":{"type":"boolean"},"gene":{"type":["string","null"]},"organism":{"type":"object","properties":{"scientific_name":{"type":["string","null"]},"taxon_id":{"type":["number","null"]}},"required":["scientific_name","taxon_id"]},"sequence":{"type":["string","null"],"description":"One-letter amino-acid sequence"},"length":{"type":["number","null"]},"molecular_weight_da":{"type":["number","null"]},"crc64":{"type":["string","null"]},"md5":{"type":["string","null"]},"sequence_version":{"type":["number","null"],"description":"The entry’s sequence version"},"last_sequence_update":{"type":["string","null"],"description":"The date the entry’s sequence last changed, YYYY-MM-DD"},"isoforms":{"type":"array","items":{"type":"object","properties":{"accession":{"type":["string","null"]},"name":{"type":["string","null"]},"synonyms":{"type":"array","items":{"type":"string"}},"status":{"type":["string","null"],"description":"Isoform sequence status, lower-cased: displayed, described or another source value"}},"required":["accession","name","synonyms","status"]}}},"required":["accession","entry_name","reviewed","is_isoform","gene","organism","sequence","length","molecular_weight_da","crc64","md5","sequence_version","last_sequence_update","isoforms"]},"inactive":{"type":["object","null"],"properties":{"reason":{"type":["string","null"],"description":"The source’s reason for inactivation, lower-cased: merged, demerged or deleted"},"replaced_by":{"type":"array","items":{"type":"string"}}},"required":["reason","replaced_by"]}},"required":["protein","inactive"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"protein_sequence","result":{"protein":null,"inactive":{"reason":"demerged","replaced_by":["P99999","P99998"]}},"evidence":{"source":"UniProt Consortium","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"ResolveProteinResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["protein_resolve"]},"result":{"type":"object","properties":{"matches":{"type":"array","items":{"type":"object","properties":{"accession":{"type":["string","null"]},"entry_name":{"type":["string","null"]},"reviewed":{"type":["boolean","null"]},"protein_name":{"type":["string","null"],"description":"The recommended full protein name"},"gene":{"type":["string","null"],"description":"The primary gene name"},"gene_synonyms":{"type":"array","items":{"type":"string"}},"organism":{"type":"object","properties":{"scientific_name":{"type":["string","null"]},"taxon_id":{"type":["number","null"]}},"required":["scientific_name","taxon_id"]},"annotation_score":{"type":["number","null"]},"matched_on":{"type":"string","enum":["entry_name","gene","gene_synonym","protein_name"]},"page_url":{"type":["string","null"]}},"required":["accession","entry_name","reviewed","protein_name","gene","gene_synonyms","organism","annotation_score","matched_on","page_url"]},"description":"Matching proteins, reviewed first then source order, up to limit"},"ambiguous":{"type":"boolean","description":"Multiple kept matches and no entry-name or primary-gene match"},"total":{"type":"integer","minimum":0,"description":"Sum of source totals for the searches made; unreviewed entries are counted only when needed to fill limit"}},"required":["matches","ambiguous","total"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"protein_resolve","result":{"matches":[{"accession":"P04637","entry_name":"P53_HUMAN","reviewed":true,"protein_name":"Cellular tumor antigen p53","gene":"TP53","gene_synonyms":["P53"],"organism":{"scientific_name":"Homo sapiens","taxon_id":9606},"annotation_score":5,"matched_on":"gene","page_url":"https://www.uniprot.org/uniprotkb/P04637/entry"}],"ambiguous":false,"total":1},"evidence":{"source":"UniProt Consortium","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupProductDrugAdverseEventsResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["product_drug_adverse_events"]},"result":{"type":"object","properties":{"drug_name":{"type":"string","description":"The drug name as given"},"reactions":{"type":"array","items":{"type":"object","properties":{"reaction":{"type":"string","description":"The reaction, in the source's term, in sentence case"},"reports":{"type":"number","description":"How many reports name the reaction"}},"required":["reaction","reports"]},"description":"The reactions named in the reports, most reported first. Empty when no report names the drug"}},"required":["drug_name","reactions"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"product_drug_adverse_events","result":{"drug_name":"Ozempic","reactions":[{"reaction":"Nausea","reports":9751},{"reaction":"Off label use","reports":6949},{"reaction":"Vomiting","reports":6341}]},"evidence":{"source":"US Food and Drug Administration","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupProductDeviceAdverseEventsResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["product_device_adverse_events"]},"result":{"type":"object","properties":{"total_reports":{"type":"number","description":"Sum of the report counts by event type"},"event_types":{"type":"object","properties":{"death":{"type":"number"},"injury":{"type":"number"},"malfunction":{"type":"number"},"other":{"type":"number"},"not_stated":{"type":"number"}},"required":["death","injury","malfunction","other","not_stated"]},"problem_kind":{"type":"string","enum":["patient","device"]},"problems":{"type":"array","items":{"type":"object","properties":{"problem":{"type":"string"},"reports":{"type":"number"}},"required":["problem","reports"]}}},"required":["total_reports","event_types","problem_kind","problems"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"product_device_adverse_events","result":{"total_reports":1335953,"event_types":{"death":373,"injury":148951,"malfunction":1186534,"other":92,"not_stated":3},"problem_kind":"patient","problems":[{"problem":"No Clinical Signs, Symptoms or Conditions","reports":998251},{"problem":"Hyperglycemia","reports":254634},{"problem":"Hypoglycemia","reports":52338},{"problem":"No Consequences Or Impact To Patient","reports":24736},{"problem":"Elevated Ketones/ Diabetic Ketoacidosis","reports":13403},{"problem":"Vomiting","reports":5877},{"problem":"Erythema","reports":4994},{"problem":"Nausea","reports":4614},{"problem":"Pain","reports":4334},{"problem":"Hemorrhage/Blood Loss/Bleeding","reports":4276}]},"evidence":{"source":"US Food and Drug Administration","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupProductCosmeticAdverseEventsResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["product_cosmetic_adverse_events"]},"result":{"type":"object","properties":{"product_name":{"type":"string"},"reactions":{"type":"array","items":{"type":"object","properties":{"reaction":{"type":"string"},"reports":{"type":"number"}},"required":["reaction","reports"]}},"outcomes":{"type":"array","items":{"type":"object","properties":{"outcome":{"type":"string"},"reports":{"type":"number"}},"required":["outcome","reports"]}}},"required":["product_name","reactions","outcomes"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"product_cosmetic_adverse_events","result":{"product_name":"dry shampoo","reactions":[{"reaction":"Alopecia","reports":55},{"reaction":"Pruritus","reports":42},{"reaction":"Headache","reports":17},{"reaction":"Rash","reports":14},{"reaction":"Dry Skin","reports":12},{"reaction":"Erythema","reports":12},{"reaction":"Pain","reports":11},{"reaction":"Skin Ulcer","reports":10},{"reaction":"Burning Sensation","reports":9},{"reaction":"Dyspnoea","reports":9}],"outcomes":[{"outcome":"Other Serious or Important Medical Event","reports":28},{"outcome":"Hospitalization","reports":10},{"outcome":"Disability","reports":8},{"outcome":"Life Threatening","reports":4},{"outcome":"Required Intervention","reports":3},{"outcome":"Death","reports":2}]},"evidence":{"source":"US Food and Drug Administration","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupProductDrugLabelResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["product_drug_label"]},"result":{"type":"object","properties":{"found":{"type":"boolean"},"total":{"type":"number"},"products":{"type":"array","items":{"type":"object","properties":{"product_ndc":{"type":["string","null"]},"brand_name":{"type":["string","null"]},"generic_name":{"type":["string","null"]},"labeler":{"type":["string","null"]},"active_ingredients":{"type":"array","items":{"type":"object","properties":{"name":{"type":["string","null"]},"strength":{"type":["string","null"]}},"required":["name","strength"]}},"dosage_form":{"type":["string","null"]},"routes":{"type":"array","items":{"type":"string"}},"product_type":{"type":["string","null"]},"marketing_category":{"type":["string","null"]},"application_number":{"type":["string","null"]},"marketing_start":{"type":["string","null"]},"marketing_end":{"type":["string","null"]},"listing_expires":{"type":["string","null"]},"dea_schedule":{"type":["string","null"]},"pharm_classes":{"type":"array","items":{"type":"string"}},"upcs":{"type":"array","items":{"type":"string"}},"rxcuis":{"type":"array","items":{"type":"string"}},"set_id":{"type":["string","null"]},"packages":{"type":"array","items":{"type":"object","properties":{"package_ndc":{"type":["string","null"]},"description":{"type":["string","null"]},"marketing_start":{"type":["string","null"]},"marketing_end":{"type":["string","null"]},"sample":{"type":"boolean"}},"required":["package_ndc","description","marketing_start","marketing_end","sample"]}}},"required":["product_ndc","brand_name","generic_name","labeler","active_ingredients","dosage_form","routes","product_type","marketing_category","application_number","marketing_start","marketing_end","listing_expires","dea_schedule","pharm_classes","upcs","rxcuis","set_id","packages"]}},"label":{"type":["object","null"],"properties":{"set_id":{"type":["string","null"]},"document_id":{"type":["string","null"]},"version":{"type":["number","null"]},"effective_date":{"type":["string","null"]},"sections":{"type":"object","properties":{"boxed_warning":{"type":["string","null"]},"indications_and_usage":{"type":["string","null"]},"dosage_and_administration":{"type":["string","null"]},"contraindications":{"type":["string","null"]},"warnings":{"type":["string","null"]},"active_ingredient":{"type":["string","null"]},"purpose":{"type":["string","null"]},"inactive_ingredient":{"type":["string","null"]}},"required":["boxed_warning","indications_and_usage","dosage_and_administration","contraindications","warnings","active_ingredient","purpose","inactive_ingredient"]},"cut_sections":{"type":"array","items":{"type":"string"}}},"required":["set_id","document_id","version","effective_date","sections","cut_sections"]}},"required":["found","total","products","label"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"product_drug_label","result":{"found":true,"total":1,"products":[{"product_ndc":"70247-019","brand_name":"Metformin Hydrochloride","generic_name":"Metformin Hydrochloride Extended-Release Tablets","labeler":"Qingdao BAHEAL Pharmaceutical Co. Ltd.","active_ingredients":[{"name":"METFORMIN HYDROCHLORIDE","strength":"500 mg/1"}],"dosage_form":"TABLET, FILM COATED, EXTENDED RELEASE","routes":["ORAL"],"product_type":"HUMAN PRESCRIPTION DRUG","marketing_category":"ANDA","application_number":"ANDA209993","marketing_start":"2018-12-27","marketing_end":null,"listing_expires":"2027-12-31","dea_schedule":null,"pharm_classes":["Biguanide [EPC]","Biguanides [CS]"],"upcs":["0370247018602","0370247019609"],"rxcuis":["1807894","1807917"],"set_id":"7ea6e623-4073-4671-e053-2a91aa0a3ca3","packages":[{"package_ndc":"70247-019-60","description":"60 TABLET, FILM COATED, EXTENDED RELEASE in 1 BOTTLE, PLASTIC (70247-019-60)","marketing_start":"2018-12-27","marketing_end":null,"sample":false}]}],"label":{"set_id":"7ea6e623-4073-4671-e053-2a91aa0a3ca3","document_id":"53f09425-9050-34b0-e063-6394a90a3fb7","version":5,"effective_date":"2026-06-10","sections":{"boxed_warning":"WARNING: LACTIC ACIDOSIS Post-marketing cases of metformin-associated lactic acidosis have resulted in death, hypothermia, hypotension, and resistant bradyarrhythmias. The onset of metformin-associated lactic acidosis is often subtle, accompanied only by nonspecific symptoms such as malaise, myalgias, respiratory distress, somnolence, and abdominal pain. Metformin-associated lactic acidosis was characterized by elevated blood lactate levels (> 5 mmol/Liter), anion gap acidosis (without evidence of ketonuria or ketonemia), an increased lactate/pyruvate ratio; and metformin plasma levels generally >5 mcg/mL [ see Warnings and Precautions (5.1) ]. Risk factors for metformin-associated lactic acidosis include renal impairment, concomitant use of certain drugs (e.g., carbonic anhydrase inhibitors such as topiramate), age 65 years old or greater, having a radiological study with contrast, surgery and other procedures, hypoxic states (e.g., acute congestive heart failure), excessive alcohol intake, hepatic impairment, and mitochondrial diseases [see Warnings and precaytions (5.1) ] . Steps to reduce the risk of and manage metformin-associated lactic acidosis in these high risk groups are provided [ see Dosage and Administration (2.2) , Contraindications (4) , Warnings and precaytions (5.1) ]. If metformin-associated lactic acidosis is suspected, immediately discontinue metformin hydrochloride extended-release tablets and institute general supportive measures in a hospital setting. Prompt hemodialysis is recommended [ see Warnings and Precautions(5.1) ]. WARNING: LACTIC ACIDOSIS See full prescribing information for complete boxed warning. Postmarketing cases of metformin-associated lactic acidosis have resulted in death, hypothermia, hypotension, and resistant bradyarrhythmias. Symptoms included malaise, myalgias, respiratory distress, somnolence, and abdominal pain. Laboratory abnormalities included elevated blood lactate levels, anion gap acidosis, increased...","indications_and_usage":"1 INDICATIONS AND USAGE Metformin hydrochloride extended-release tablets are indicated as an adjunct to diet and exercise to improve glycemic control in adults with type 2 diabetes mellitus. Metformin hydrochloride extended-release tablets are biguanide indicated as an adjunct to diet and exercise to improve glycemic control in adults with type 2 diabetes mellitus. (1)","dosage_and_administration":"2 DOSAGE AND ADMINISTRATION Swallow metformin hydrochloride extended-release tablets whole and never crush, cut or chew (2.1) Starting dose: 500 mg orally once daily with the evening meal (2.1) Increase the dose in increments of 500 mg weekly, up to a maximum of 2,000 mg once daily with the evening meal (2.1) Patients receiving metformin hydrochloride (HCl) tablets may be switched to metformin hydrochloride extended-release tablets once daily at the same total daily dose, up to 2,000 mg once daily (2.1) Renal Impairment: Prior to initiation, assess renal function with estimated glomerular filtration rate (eGFR) (2.2) o Do not use in patients with eGFR below 30 mL/minute/1.73 m 2 (2.2) o Initiation is not recommended in patients with eGFR between 30 to 45 mL/minute/1.73 m 2 (2.2) o Assess risk/benefit of continuing if eGFR falls below 45 mL/minute/1.73 m 2 (2.2) o Discontinue if eGFR falls below 30 mL/minute/1.73 m 2 (2.2) Discontinuation for Iodinated Contrast Imaging Procedures: Metformin hydrochloride extended-release tablets may need to be discontinued at time of, or prior to, iodinated contrast imaging procedures (2.3) 2.1 Adult Dosage and Administration Swallow metformin hydrochloride extended-release tablets whole and never crush, cut or chew. The recommended starting dose of metformin hydrochloride extended-release tablets is 500 mg orally once daily with the evening meal. Increase the dose in increments of 500 mg weekly on the basis of glycemic control and tolerability, up to a maximum of 2,000 mg once daily with the evening meal. If glycemic control is not achieved with metformin hydrochloride extended-release tablets 2,000 mg once daily, consider a trial of metformin hydrochloride extended-release tablets 1,000 mg twice daily. Patients receiving metformin hydrochloride (HCl) may be switched to metformin hydrochloride extended-release tablets once daily at the same total daily dose, up to 2,000 mg once daily. 2.2 Recommendations for Use in Renal Impairment...","contraindications":"4 CONTRAINDICATIONS Metformin hydrochloride extended-release tablets are contraindicated in patients with: Severe renal impairment (eGFR below 30 mL/min/1.73m 2 ) [ see Warnings and Precautions (5.1) ]. Hypersensitivity to metformin. Acute or chronic metabolic acidosis, including diabetic ketoacidosis, with or without coma. Severe renal impairment (eGFR below 30 mL/min/1.73 m 2 ) (4, 5.1) Hypersensitivity to metformin (4) Acute or chronic metabolic acidosis, including diabetic ketoacidosis, with or without coma. (4)","warnings":"5 WARNINGS AND PRECAUTIONS Lactic Acidosis: See boxed warning. (5.1) Vitamin B12 Deficiency: Metformin may lower vitamin B12 levels. Measure hematological parameters annually and vitamin B12 at 2 to 3 year intervals and manage any abnormalities. (5.2) Hypoglycemia with Concomitant Use with Insulin and Insulin Secretagogues: Increased risk of hypoglycemia when used in combination with insulin and/or an insulin secretagogue. Lower dose of insulin or insulin secretagogue may be required. (5.3) 5.1 Lactic Acidosis There have been postmarketing cases of metformin-associated lactic acidosis, including fatal cases. These cases had a subtle onset and were accompanied by nonspecific symptoms such as malaise, myalgias, abdominal pain, respiratory distress, or increased somnolence; however, hypotension and resistant bradyarrhythmias have occurred with severe acidosis. Metformin-associated lactic acidosis was characterized by elevated blood lactate concentrations (> 5 mmol/L), anion gap acidosis (without evidence of ketonuria or ketonemia), and an increased lactate: pyruvate ratio; metformin plasma levels were generally > 5 mcg/mL. Metformin decreases liver uptake of lactate increasing lactate blood levels which may increase the risk of lactic acidosis, especially in patients at risk. If metformin-associated lactic acidosis is suspected, general supportive measures should be instituted promptly in a hospital setting, along with immediate discontinuation of metformin hydrochloride extended-release tablets. In metformin hydrochloride extended-release tablets treated patients with a diagnosis or strong suspicion of lactic acidosis, prompt hemodialysis is recommended to correct the acidosis and remove accumulated metformin (metformin HCl is dialyzable with a clearance of up to 170 mL/min under good hemodynamic conditions). Hemodialysis has often resulted in reversal of symptoms and recovery. Educate patients and their families about the symptoms of lactic acidosis and, if these...","active_ingredient":null,"purpose":null,"inactive_ingredient":null},"cut_sections":["boxed_warning","dosage_and_administration","warnings"]}},"evidence":{"source":"US Food and Drug Administration","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupProductDrugEquivalentsResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["product_drug_equivalents"]},"result":{"type":"object","properties":{"found":{"type":"boolean"},"matched_brand":{"type":["string","null"]},"ingredients":{"type":"array","items":{"type":"string"}},"total_records":{"type":"number"},"truncated":{"type":"boolean"},"groups":{"type":"array","items":{"type":"object","properties":{"strength":{"type":"string"},"dosage_form":{"type":["string","null"]},"route":{"type":["string","null"]},"reference_drug":{"type":["object","null"],"properties":{"brand_name":{"type":["string","null"]},"applicant":{"type":["string","null"]},"application_number":{"type":["string","null"]},"product_number":{"type":["string","null"]}},"required":["brand_name","applicant","application_number","product_number"]},"products":{"type":"array","items":{"type":"object","properties":{"brand_name":{"type":["string","null"]},"applicant":{"type":["string","null"]},"application_number":{"type":["string","null"]},"product_number":{"type":["string","null"]},"te_codes":{"type":"array","items":{"type":"string"}},"reference_listed_drug":{"type":"boolean"},"reference_standard":{"type":"boolean"},"marketing_status":{"type":["string","null"]},"approval_date":{"type":["string","null"]},"exclusivity":{"type":"array","items":{"type":"object","properties":{"code":{"type":["string","null"]},"expires":{"type":["string","null"]}},"required":["code","expires"]}},"patents":{"type":"array","items":{"type":"object","properties":{"number":{"type":["string","null"]},"expires":{"type":["string","null"]},"drug_substance":{"type":"boolean"},"drug_product":{"type":"boolean"},"use_code":{"type":["string","null"]}},"required":["number","expires","drug_substance","drug_product","use_code"]}}},"required":["brand_name","applicant","application_number","product_number","te_codes","reference_listed_drug","reference_standard","marketing_status","approval_date","exclusivity","patents"]}}},"required":["strength","dosage_form","route","reference_drug","products"]}}},"required":["found","matched_brand","ingredients","total_records","truncated","groups"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"product_drug_equivalents","result":{"found":true,"matched_brand":null,"ingredients":["apixaban"],"total_records":30,"truncated":false,"groups":[{"strength":"APIXABAN 0.15MG","dosage_form":"FOR SUSPENSION","route":"ORAL","reference_drug":{"brand_name":"ELIQUIS SPRINKLE","applicant":"BRISTOL MYERS SQUIBB CO","application_number":"N220073","product_number":"001"},"products":[{"brand_name":"ELIQUIS SPRINKLE","applicant":"BRISTOL MYERS SQUIBB CO","application_number":"N220073","product_number":"001","te_codes":[],"reference_listed_drug":true,"reference_standard":true,"marketing_status":"HUMAN PRESCRIPTION DRUG","approval_date":"2025-04-17","exclusivity":[{"code":"NP","expires":"2028-04-17"},{"code":"PED","expires":"2028-10-17"}],"patents":[{"number":"11896586","expires":"2040-11-22","drug_substance":false,"drug_product":true,"use_code":"U-4180"},{"number":"11896586*PED","expires":"2041-05-22","drug_substance":false,"drug_product":false,"use_code":null},{"number":"6967208","expires":"2026-11-21","drug_substance":true,"drug_product":true,"use_code":"U-4180"},{"number":"6967208*PED","expires":"2027-05-21","drug_substance":false,"drug_product":false,"use_code":null}]}]},{"strength":"APIXABAN 2.5MG","dosage_form":"TABLET","route":"ORAL","reference_drug":{"brand_name":"ELIQUIS","applicant":"BRISTOL MYERS SQUIBB CO PHARMACEUTICAL RESEARCH INSTITUTE","application_number":"N202155","product_number":"001"},"products":[{"brand_name":"ELIQUIS","applicant":"BRISTOL MYERS SQUIBB CO PHARMACEUTICAL RESEARCH INSTITUTE","application_number":"N202155","product_number":"001","te_codes":["AB"],"reference_listed_drug":true,"reference_standard":false,"marketing_status":"HUMAN PRESCRIPTION DRUG","approval_date":"2012-12-28","exclusivity":[{"code":"NPP","expires":"2028-04-17"},{"code":"PED","expires":"2028-10-17"}],"patents":[{"number":"6967208","expires":"2026-11-21","drug_substance":true,"drug_product":true,"use_code":"U-1729"},{"number":"6967208*PED","expires":"2027-05-21","drug_substance":false,"drug_product":false,"use_code":null},{"number":"9326945","expires":"2031-02-24","drug_substance":false,"drug_product":true,"use_code":null},{"number":"9326945*PED","expires":"2031-08-24","drug_substance":false,"drug_product":false,"use_code":null}]},{"brand_name":"APIXABAN","applicant":"REGCON HOLDINGS LLC","application_number":"A209898","product_number":"001","te_codes":["AB"],"reference_listed_drug":false,"reference_standard":false,"marketing_status":"HUMAN PRESCRIPTION DRUG","approval_date":"2020-09-11","exclusivity":[],"patents":[]},{"brand_name":"APIXABAN","applicant":"ACCORD HEALTHCARE INC","application_number":"A210180","product_number":"001","te_codes":["AB"],"reference_listed_drug":false,"reference_standard":false,"marketing_status":"HUMAN PRESCRIPTION DRUG","approval_date":"2020-07-28","exclusivity":[],"patents":[]}]},{"strength":"APIXABAN 5MG","dosage_form":"TABLET","route":"ORAL","reference_drug":{"brand_name":"ELIQUIS","applicant":"BRISTOL MYERS SQUIBB CO PHARMACEUTICAL RESEARCH INSTITUTE","application_number":"N202155","product_number":"002"},"products":[{"brand_name":"ELIQUIS","applicant":"BRISTOL MYERS SQUIBB CO PHARMACEUTICAL RESEARCH INSTITUTE","application_number":"N202155","product_number":"002","te_codes":["AB"],"reference_listed_drug":true,"reference_standard":true,"marketing_status":"HUMAN PRESCRIPTION DRUG","approval_date":"2012-12-28","exclusivity":[{"code":"NPP","expires":"2028-04-17"},{"code":"PED","expires":"2028-10-17"}],"patents":[{"number":"6967208","expires":"2026-11-21","drug_substance":true,"drug_product":true,"use_code":"U-1200"},{"number":"6967208*PED","expires":"2027-05-21","drug_substance":false,"drug_product":false,"use_code":null},{"number":"9326945","expires":"2031-02-24","drug_substance":false,"drug_product":true,"use_code":null},{"number":"9326945*PED","expires":"2031-08-24","drug_substance":false,"drug_product":false,"use_code":null}]},{"brand_name":"APIXABAN","applicant":"REGCON HOLDINGS LLC","application_number":"A209898","product_number":"002","te_codes":["AB"],"reference_listed_drug":false,"reference_standard":false,"marketing_status":"HUMAN PRESCRIPTION DRUG","approval_date":"2020-09-11","exclusivity":[],"patents":[]},{"brand_name":"APIXABAN","applicant":"ACCORD HEALTHCARE INC","application_number":"A210180","product_number":"002","te_codes":["AB"],"reference_listed_drug":false,"reference_standard":false,"marketing_status":"HUMAN PRESCRIPTION DRUG","approval_date":"2020-07-28","exclusivity":[],"patents":[]}]},{"strength":"APIXABAN 0.5MG","dosage_form":"TABLET, FOR SUSPENSION","route":"ORAL","reference_drug":{"brand_name":"ELIQUIS","applicant":"BRISTOL MYERS SQUIBB CO PHARMACEUTICAL RESEARCH INSTITUTE","application_number":"N202155","product_number":"003"},"products":[{"brand_name":"ELIQUIS","applicant":"BRISTOL MYERS SQUIBB CO PHARMACEUTICAL RESEARCH INSTITUTE","application_number":"N202155","product_number":"003","te_codes":[],"reference_listed_drug":true,"reference_standard":true,"marketing_status":"HUMAN PRESCRIPTION DRUG","approval_date":"2025-04-17","exclusivity":[{"code":"NS","expires":"2028-04-17"},{"code":"PED","expires":"2028-10-17"}],"patents":[{"number":"6967208","expires":"2026-11-21","drug_substance":true,"drug_product":true,"use_code":"U-4179"},{"number":"6967208*PED","expires":"2027-05-21","drug_substance":false,"drug_product":false,"use_code":null},{"number":"9326945","expires":"2031-02-24","drug_substance":false,"drug_product":true,"use_code":null},{"number":"9326945*PED","expires":"2031-08-24","drug_substance":false,"drug_product":false,"use_code":null}]}]}]},"evidence":{"source":"US Food and Drug Administration","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupProductDeviceClearancesResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["product_device_clearances"]},"result":{"type":"object","properties":{"total":{"type":"number","description":"How many clearances matched, including any beyond limit"},"clearances":{"type":"array","items":{"type":"object","properties":{"k_number":{"type":["string","null"],"description":"The clearance number"},"device_name":{"type":["string","null"],"description":"The device name on the clearance"},"applicant":{"type":["string","null"],"description":"The company that applied"},"city":{"type":["string","null"],"description":"The applicant city"},"state":{"type":["string","null"],"description":"The applicant state"},"country_code":{"type":["string","null"],"description":"The applicant country code"},"product_code":{"type":["string","null"],"description":"The FDA product code"},"device_class":{"type":["string","null"],"description":"The device class"},"regulation_number":{"type":["string","null"],"description":"The device regulation number"},"medical_specialty":{"type":["string","null"],"description":"The medical specialty"},"decision":{"type":["string","null"],"description":"The decision description"},"decision_code":{"type":["string","null"],"description":"The decision code"},"decision_date":{"type":["string","null"],"description":"The decision date"},"received_date":{"type":["string","null"],"description":"The date the application was received"},"clearance_type":{"type":["string","null"],"description":"The clearance type"},"third_party_review":{"type":["boolean","null"],"description":"Whether a third party reviewed the application; null when unspecified"},"summary_type":{"type":["string","null"],"description":"Whether the application provides a statement or a summary"}},"required":["k_number","device_name","applicant","city","state","country_code","product_code","device_class","regulation_number","medical_specialty","decision","decision_code","decision_date","received_date","clearance_type","third_party_review","summary_type"]},"description":"Matching clearances, newest decision first; absent values are null"}},"required":["total","clearances"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"product_device_clearances","result":{"total":12,"clearances":[{"k_number":"K253582","device_name":"Medical Imaging Calibration Feature (MICF)","applicant":"Apple, Inc.","city":"Cupertino","state":"CA","country_code":"US","product_code":"SHN","device_class":"1","regulation_number":"892.1940","medical_specialty":"Radiology","decision":"Substantially Equivalent","decision_code":"SESE","decision_date":"2026-04-01","received_date":"2025-11-17","clearance_type":"Traditional","third_party_review":false,"summary_type":"Summary"},{"k_number":"K250507","device_name":"Hypertension Notification Feature (HTNF)","applicant":"Apple, Inc.","city":null,"state":null,"country_code":null,"product_code":"SFR","device_class":"2","regulation_number":"870.2380","medical_specialty":"Cardiovascular","decision":"Substantially Equivalent","decision_code":"SESE","decision_date":"2025-09-11","received_date":"2025-02-21","clearance_type":"Traditional","third_party_review":null,"summary_type":null}]},"evidence":{"source":"US Food and Drug Administration","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupProductDeviceIdentifierResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["product_device_identifier"]},"result":{"type":"object","properties":{"found":{"type":"boolean","description":"Whether the identifier is in the database"},"device_identifier":{"type":"string","description":"The identifier that was searched, after normalisation"},"records_matched":{"type":"integer","description":"How many records hold the identifier; only the first is returned"},"matched_type":{"type":["string","null"],"description":"Which level of the record matched: Primary, Package, Unit of Use, Secondary or Direct Marking"},"primary_device_identifier":{"type":["string","null"],"description":"The primary device identifier of the record"},"issuing_agency":{"type":["string","null"],"description":"The issuing agency of the primary identifier: GS1, HIBCC or ICCBBA"},"identifiers":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"The identifier"},"type":{"type":["string","null"],"description":"The identifier level"},"issuing_agency":{"type":["string","null"],"description":"The issuing agency"},"contains_identifier":{"type":["string","null"],"description":"The identifier of the unit this package contains"},"quantity_per_package":{"type":["number","null"],"description":"How many units the package holds"},"package_type":{"type":["string","null"],"description":"The package type"},"package_status":{"type":["string","null"],"description":"The package distribution status"},"package_discontinue_date":{"type":["string","null"],"description":"When the package was discontinued"}},"required":["id","type","issuing_agency","contains_identifier","quantity_per_package","package_type","package_status","package_discontinue_date"]},"description":"Every identifier level of the record"},"brand_name":{"type":["string","null"],"description":"The brand name"},"version_or_model_number":{"type":["string","null"],"description":"The version or model number"},"catalog_number":{"type":["string","null"],"description":"The catalog number"},"company_name":{"type":["string","null"],"description":"The labeler"},"device_description":{"type":["string","null"],"description":"The device description"},"commercial_distribution_status":{"type":["string","null"],"description":"The commercial distribution status"},"commercial_distribution_end_date":{"type":["string","null"],"description":"When commercial distribution ended"},"record_status":{"type":["string","null"],"description":"The record status"},"public_version_number":{"type":["number","null"],"description":"The published version of the record"},"public_version_date":{"type":["string","null"],"description":"When the published version was released"},"publish_date":{"type":["string","null"],"description":"When the record was first published"},"device_count_in_base_package":{"type":["number","null"],"description":"How many devices the base package holds"},"product_codes":{"type":"array","items":{"type":"object","properties":{"code":{"type":["string","null"],"description":"The FDA product code"},"name":{"type":["string","null"],"description":"The product code name"},"device_name":{"type":["string","null"],"description":"The classification device name"},"device_class":{"type":["string","null"],"description":"The device class"},"regulation_number":{"type":["string","null"],"description":"The regulation number"},"medical_specialty":{"type":["string","null"],"description":"The medical specialty"}},"required":["code","name","device_name","device_class","regulation_number","medical_specialty"]},"description":"The FDA product codes of the device"},"premarket_submissions":{"type":"array","items":{"type":"object","properties":{"submission_number":{"type":["string","null"],"description":"The submission number; 510(k) numbers start with K and can be looked up in Device Clearances"},"supplement_number":{"type":["string","null"],"description":"The supplement number"}},"required":["submission_number","supplement_number"]},"description":"The premarket submissions of the device"},"premarket_exempt":{"type":["boolean","null"],"description":"Whether the device is exempt from premarket submission"},"prescription":{"type":["boolean","null"],"description":"Whether the device is prescription only"},"over_the_counter":{"type":["boolean","null"],"description":"Whether the device is sold over the counter"},"single_use":{"type":["boolean","null"],"description":"Whether the device is single use"},"kit":{"type":["boolean","null"],"description":"Whether the device is a kit"},"combination_product":{"type":["boolean","null"],"description":"Whether the device is a combination product"},"hct_p":{"type":["boolean","null"],"description":"Whether the device contains human cells, tissues or cellular or tissue-based products"},"direct_marking_exempt":{"type":["boolean","null"],"description":"Whether the device is exempt from direct marking"},"labeled_contains_natural_rubber_latex":{"type":["boolean","null"],"description":"Whether the label says it contains natural rubber latex"},"labeled_no_natural_rubber_latex":{"type":["boolean","null"],"description":"Whether the label says it is made without natural rubber latex"},"mri_safety":{"type":["string","null"],"description":"The MRI safety statement"},"sterile":{"type":["boolean","null"],"description":"Whether the device is supplied sterile"},"sterilize_before_use":{"type":["boolean","null"],"description":"Whether the device must be sterilized before use"},"label_production_identifiers":{"type":["object","null"],"properties":{"lot_or_batch":{"type":["boolean","null"],"description":"Whether the label carries a lot or batch number"},"serial_number":{"type":["boolean","null"],"description":"Whether the label carries a serial number"},"manufacturing_date":{"type":["boolean","null"],"description":"Whether the label carries a manufacturing date"},"expiration_date":{"type":["boolean","null"],"description":"Whether the label carries an expiration date"},"donation_id":{"type":["boolean","null"],"description":"Whether the label carries a donation identification number"}},"required":["lot_or_batch","serial_number","manufacturing_date","expiration_date","donation_id"],"description":"Which production identifiers the label carries; null when the identifier is not found"}},"required":["found","device_identifier","records_matched","matched_type","primary_device_identifier","issuing_agency","identifiers","brand_name","version_or_model_number","catalog_number","company_name","device_description","commercial_distribution_status","commercial_distribution_end_date","record_status","public_version_number","public_version_date","publish_date","device_count_in_base_package","product_codes","premarket_submissions","premarket_exempt","prescription","over_the_counter","single_use","kit","combination_product","hct_p","direct_marking_exempt","labeled_contains_natural_rubber_latex","labeled_no_natural_rubber_latex","mri_safety","sterile","sterilize_before_use","label_production_identifiers"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"product_device_identifier","result":{"found":true,"device_identifier":"04063006002252","records_matched":1,"matched_type":"Primary","primary_device_identifier":"04063006002252","issuing_agency":"GS1","identifiers":[{"id":"04063006002252","type":"Primary","issuing_agency":"GS1","contains_identifier":null,"quantity_per_package":null,"package_type":null,"package_status":null,"package_discontinue_date":null}],"brand_name":"Signia","version_or_model_number":"HA STYLETTO CONNECT 5 B L2 SNW","catalog_number":"10965626","company_name":"Ws Audiology Usa, Inc.","device_description":"Signia HA STYLETTO CONNECT 5 B L2 SNW Hearing Aid","commercial_distribution_status":"In Commercial Distribution","commercial_distribution_end_date":null,"record_status":"Published","public_version_number":4,"public_version_date":"2023-02-08","publish_date":"2019-04-10","device_count_in_base_package":1,"product_codes":[{"code":"OSM","name":"Hearing Aid, Air Conduction With Wireless Technology","device_name":"Hearing Aid, Air-Conduction With Wireless Technology, Prescription","device_class":"2","regulation_number":"874.3305","medical_specialty":"Ear, Nose, Throat"}],"premarket_submissions":[],"premarket_exempt":true,"prescription":true,"over_the_counter":false,"single_use":false,"kit":false,"combination_product":false,"hct_p":false,"direct_marking_exempt":false,"labeled_contains_natural_rubber_latex":false,"labeled_no_natural_rubber_latex":false,"mri_safety":"Labeling does not contain MRI Safety Information","sterile":false,"sterilize_before_use":false,"label_production_identifiers":{"lot_or_batch":false,"serial_number":true,"manufacturing_date":false,"expiration_date":false,"donation_id":false}},"evidence":{"source":"US Food and Drug Administration","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupProductEnergyCertificationResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["product_energy_certification"]},"result":{"type":"object","properties":{"category":{"type":"string","description":"The category searched"},"certified":{"type":"boolean","description":"Whether at least one currently certified model matched"},"truncated":{"type":"boolean","description":"Whether more models matched than limit"},"models":{"type":"array","items":{"type":"object","properties":{"energy_star_id":{"type":"string","description":"The ENERGY STAR Unique ID"},"brand":{"type":["string","null"],"description":"The brand"},"model_name":{"type":["string","null"],"description":"The model name"},"model_number":{"type":["string","null"],"description":"The listed model number; * stands for a variable character"},"additional_models":{"type":["string","null"],"description":"Additional model designations covered by the listing"},"partner":{"type":["string","null"],"description":"The ENERGY STAR partner that certified the model"},"product_category":{"type":["string","null"],"description":"The product category of the list"},"product_type":{"type":["string","null"],"description":"The product type within the category"},"upcs":{"type":"array","items":{"type":"string"},"description":"The listed UPCs"},"date_certified":{"type":["string","null"],"description":"When the model was certified"},"date_available":{"type":["string","null"],"description":"When the model became available on the market"},"markets":{"type":"array","items":{"type":"string"},"description":"The markets the certification covers"},"most_efficient":{"type":["boolean","null"],"description":"Whether the model meets the Most Efficient criteria; null when the list does not say"},"figures":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","description":"The source column name"},"value":{"type":"string","description":"The published value"},"number":{"type":["number","null"],"description":"The value as a number when the column is numeric"}},"required":["field","value","number"]},"description":"The list’s published efficiency figures and other columns; empty for all_categories"}},"required":["energy_star_id","brand","model_name","model_number","additional_models","partner","product_category","product_type","upcs","date_certified","date_available","markets","most_efficient","figures"]},"description":"Matching currently certified models, newest certification first"}},"required":["category","certified","truncated","models"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"product_energy_certification","result":{"category":"televisions","certified":true,"truncated":true,"models":[{"energy_star_id":"4667954","brand":"Samsung","model_name":"QN65S84HAE","model_number":"QN65S84HAE","additional_models":"QN65S84HDE,QN65S84HDE,Same as basic model except for model designation","partner":"Samsung Electronics Co., Ltd.","product_category":"Televisions","product_type":"Television (TV)","upcs":["198957431593","198957431609"],"date_certified":"2026-07-09","date_available":"2025-06-23","markets":["United States"],"most_efficient":null,"figures":[{"field":"application","value":"Consumer","number":null},{"field":"display_type","value":"OLED","number":null},{"field":"backlight_technology_type","value":"OLED","number":null},{"field":"diagonal_viewable_screen_size_inches","value":"64.5","number":64.5},{"field":"screen_area_square_inches","value":"1779.1","number":1779.1},{"field":"native_horizontal_resolution_pixels","value":"3840","number":null},{"field":"native_vertical_resolution_pixels","value":"2160","number":null},{"field":"resolution_format","value":"4K (UHD)","number":null},{"field":"high_contrast_ratio_hcr_display","value":"Yes","number":null},{"field":"physical_data_ports_available","value":"HDMI,Other,RS-232,Universal Serial Bus (USB)","number":null},{"field":"ethernet_supported","value":"Fast Ethernet (100 Mbit/s)","number":null},{"field":"low_power_wireless_technologies_supported","value":"Bluetooth","number":null},{"field":"features","value":"Automatic Brightness Control,Control Via Remote Control App,Control Via Smart Speaker,High Dynamic Range Upscaling,Motion-based Dynamic Dimming (MDD) (also known as Motion Eye Care),Quick Start,Upconversion,User Adjustable Backlight,Voice Recognition,Wake-On-Cast Compatibility","number":null},{"field":"automatic_brightness_control","value":"Yes","number":null},{"field":"is_automatic_brightness_control_enabled_by_default_when_television_is_shipped","value":"No","number":null},{"field":"power_consumption_in_on_mode_watts","value":"118.6","number":118.6},{"field":"maximum_on_mode_power_for_certification_watts","value":"123.16","number":123.16},{"field":"reported_on_mode_power_per_the_federal_test_procedure_watts","value":"118.60","number":118.6},{"field":"reported_annual_energy_consumption_kwh","value":"221.30","number":221.3},{"field":"measured_standby_mode_power_w","value":"0.70","number":0.7}]},{"energy_star_id":"4529262","brand":"Samsung","model_name":"QN42S90HAE","model_number":"QN42S90HAE","additional_models":"QN42S90HDE,QN42S90HDE,Same as basic model except for model designation; QN42S92HAE,QN42S92HAE,Same as basic model except for model designation","partner":"Samsung Electronics Co., Ltd.","product_category":"Televisions","product_type":"Television (TV)","upcs":[],"date_certified":"2026-02-05","date_available":"2026-02-06","markets":["United States"],"most_efficient":null,"figures":[{"field":"application","value":"Consumer","number":null},{"field":"display_type","value":"OLED","number":null},{"field":"backlight_technology_type","value":"OLED","number":null},{"field":"diagonal_viewable_screen_size_inches","value":"41.5","number":41.5},{"field":"screen_area_square_inches","value":"737.4","number":737.4},{"field":"native_horizontal_resolution_pixels","value":"3840","number":null},{"field":"native_vertical_resolution_pixels","value":"2160","number":null},{"field":"resolution_format","value":"4K (UHD)","number":null},{"field":"high_contrast_ratio_hcr_display","value":"Yes","number":null},{"field":"physical_data_ports_available","value":"Universal Serial Bus (USB),Other,RS-232,HDMI","number":null},{"field":"ethernet_supported","value":"Fast Ethernet (100 Mbit/s)","number":null},{"field":"low_power_wireless_technologies_supported","value":"Bluetooth","number":null},{"field":"features","value":"Quick Start,High Dynamic Range Upscaling,Wake-On-Cast Compatibility,Control Via Remote Control App,Control Via Smart Speaker,Upconversion,Motion-based Dynamic Dimming (MDD) (also known as Motion Eye Care),Voice Recognition,Automatic Brightness Control,User Adjustable Backlight","number":null},{"field":"automatic_brightness_control","value":"Yes","number":null},{"field":"is_automatic_brightness_control_enabled_by_default_when_television_is_shipped","value":"No","number":null},{"field":"reported_on_mode_power_per_the_federal_test_procedure_watts","value":"67.65","number":67.65},{"field":"reported_annual_energy_consumption_kwh","value":"128.00","number":128},{"field":"measured_standby_mode_power_w","value":"0.60","number":0.6}]}]},"evidence":{"source":"US Environmental Protection Agency (ENERGY STAR)","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupCompanyFdaRegistrationResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["company_fda_registration"]},"result":{"type":"object","properties":{"total_listings":{"type":"integer","minimum":0,"description":"Total matching source listings, including those beyond the first 100"},"truncated":{"type":"boolean","description":"More than 100 source listings matched; only the first 100 are considered, so product lists may be incomplete and name searches may omit entire establishments"},"establishments":{"type":"array","items":{"type":"object","properties":{"registration_number":{"type":"string"},"fei_number":{"type":["string","null"],"description":"The FDA Establishment Identifier (FEI)"},"name":{"type":["string","null"]},"address":{"type":"object","properties":{"street":{"type":["string","null"]},"city":{"type":["string","null"]},"state":{"type":["string","null"]},"postal_code":{"type":["string","null"]},"country":{"type":["string","null"]}},"required":["street","city","state","postal_code","country"]},"registration_year":{"type":["integer","null"],"description":"The year the registration runs to; null when absent"},"active":{"type":"boolean"},"initial_importer":{"type":"boolean"},"owner_operator":{"type":"object","properties":{"number":{"type":["string","null"]},"firm_name":{"type":["string","null"]},"city":{"type":["string","null"]},"state":{"type":["string","null"]},"country":{"type":["string","null"]}},"required":["number","firm_name","city","state","country"],"description":"The establishment’s owner-operator"},"activities":{"type":"array","items":{"type":"string"},"description":"Unique establishment activities across the returned listings"},"products":{"type":"array","items":{"type":"object","properties":{"product_code":{"type":["string","null"]},"device_name":{"type":["string","null"]},"device_class":{"type":["string","null"]},"medical_specialty":{"type":["string","null"]},"regulation_number":{"type":["string","null"]},"clearance":{"type":["string","null"],"description":"The listing’s clearance or premarket approval number, when present"},"proprietary_names":{"type":"array","items":{"type":"string"}}},"required":["product_code","device_name","device_class","medical_specialty","regulation_number","clearance","proprietary_names"]},"maxItems":25,"description":"Unique product codes, newest listing first, at most 25"}},"required":["registration_number","fei_number","name","address","registration_year","active","initial_importer","owner_operator","activities","products"]},"description":"Matching establishments in first-seen order"}},"required":["total_listings","truncated","establishments"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"company_fda_registration","result":{"total_listings":533,"truncated":true,"establishments":[{"registration_number":"1030489","fei_number":"1000477302","name":"MEDTRONIC SOFAMOR DANEK USA, INC.","address":{"street":"1800 PYRAMID PLACE","city":"Memphis","state":"TN","postal_code":"38132","country":"US"},"registration_year":2026,"active":true,"initial_importer":true,"owner_operator":{"number":"2112641","firm_name":"Medtronic, Inc.","city":"Minneapolis","state":"MN","country":"US"},"activities":["Develop Specifications But Do Not Manufacture At This Facility"],"products":[{"product_code":"MAX","device_name":"Intervertebral Fusion Device With Bone Graft, Lumbar","device_class":"2","medical_specialty":"Orthopedic","regulation_number":"888.3080","clearance":"K253011","proprietary_names":["Catalyft PL Expandable Interbody System"]},{"product_code":"NKB","device_name":"Thoracolumbosacral Pedicle Screw System","device_class":"2","medical_specialty":"Orthopedic","regulation_number":"888.3070","clearance":"K260216","proprietary_names":["CD Horizon ModuLeX Spinal System","CD Horizon ModuLeX Fenestrated Screw Set"]},{"product_code":"KWP","device_name":"Appliance, Fixation, Spinal Interlaminal","device_class":"2","medical_specialty":"Orthopedic","regulation_number":"888.3050","clearance":"K260216","proprietary_names":["CD Horizon ModuLeX Spinal System","CD Horizon ModuLeX Fenestrated Screw Set"]},{"product_code":"KWQ","device_name":"Appliance, Fixation, Spinal Intervertebral Body","device_class":"2","medical_specialty":"Orthopedic","regulation_number":"888.3060","clearance":"K260216","proprietary_names":["CD Horizon ModuLeX Spinal System","CD Horizon ModuLeX Fenestrated Screw Set"]},{"product_code":"NKG","device_name":"Posterior Cervical Screw System","device_class":"2","medical_specialty":"Orthopedic","regulation_number":"888.3075","clearance":"K254165","proprietary_names":["INFINITY Occipitocervical Upper Thoracic System"]},{"product_code":"OLO","device_name":"Orthopedic Stereotaxic Instrument","device_class":"2","medical_specialty":"Neurology","regulation_number":"882.4560","clearance":"K254165","proprietary_names":["INFINITY Occipitocervical Upper Thoracic System"]},{"product_code":"OVD","device_name":"Intervertebral Fusion Device With Integrated Fixation, Lumbar","device_class":"2","medical_specialty":"Orthopedic","regulation_number":"888.3080","clearance":"K241992","proprietary_names":["Catalyft LS Expandable Interbody System"]},{"product_code":"OSH","device_name":"Pedicle Screw Spinal System, Adolescent Idiopathic Scoliosis","device_class":"2","medical_specialty":"Orthopedic","regulation_number":"888.3070","clearance":null,"proprietary_names":["Spinal System"]},{"product_code":"MNH","device_name":"Orthosis, Spondylolisthesis Spinal Fixation","device_class":"2","medical_specialty":"Orthopedic","regulation_number":"888.3070","clearance":null,"proprietary_names":["Spinal System"]},{"product_code":"MNI","device_name":"Orthosis, Spinal Pedicle Fixation","device_class":"2","medical_specialty":"Orthopedic","regulation_number":"888.3070","clearance":null,"proprietary_names":["Spinal System"]},{"product_code":"HBE","device_name":"Drills, Burrs, Trephines & Accessories (Simple, Powered)","device_class":"2","medical_specialty":"Neurology","regulation_number":"882.4310","clearance":"K210637","proprietary_names":["CD Horizon ModuLeX Spinal System"]},{"product_code":"NQP","device_name":"Posterior Metal/Polymer Spinal System, Fusion","device_class":"2","medical_specialty":"Orthopedic","regulation_number":"888.3070","clearance":"K191066","proprietary_names":["CD Horizon Astute Spinal System"]},{"product_code":"ODP","device_name":"Intervertebral Fusion Device With Bone Graft, Cervical","device_class":"2","medical_specialty":"Orthopedic","regulation_number":"888.3080","clearance":"K153438","proprietary_names":["PERIMETER® C"]},{"product_code":"MQP","device_name":"Spinal Vertebral Body Replacement Device","device_class":"2","medical_specialty":"Orthopedic","regulation_number":"888.3060","clearance":"K131888","proprietary_names":["T2 XVBR"]},{"product_code":"NPM","device_name":"Bone Grafting Material, Animal Source","device_class":"2","medical_specialty":"Dental","regulation_number":"872.3930","clearance":"K140374","proprietary_names":["MASTERGRAFT Putty"]},{"product_code":"LYC","device_name":"Bone Grafting Material, Synthetic","device_class":"2","medical_specialty":"Dental","regulation_number":"872.3930","clearance":"K140374","proprietary_names":["MASTERGRAFT Putty"]},{"product_code":"OVE","device_name":"Intervertebral Fusion Device With Integrated Fixation, Cervical","device_class":"2","medical_specialty":"Orthopedic","regulation_number":"888.3080","clearance":"K142940","proprietary_names":["Endoskeleton TCS System"]},{"product_code":"MQV","device_name":"Filler, Bone Void, Calcium Compound","device_class":"2","medical_specialty":"Orthopedic","regulation_number":"888.3045","clearance":"K130335","proprietary_names":["Mastergraft ( UltraMatrix, Matrix EXT)"]},{"product_code":"HWE","device_name":"Instrument, Surgical, Orthopedic, Ac-Powered Motor And Accessory/Attachment","device_class":"1","medical_specialty":"General, Plastic Surgery","regulation_number":"878.4820","clearance":"K123270","proprietary_names":["POWEREASE System Working Ends"]},{"product_code":"GWF","device_name":"Stimulator, Electrical, Evoked Response","device_class":"2","medical_specialty":"Neurology","regulation_number":"882.1870","clearance":"K123270","proprietary_names":["POWEREASE System Working Ends"]},{"product_code":"NUN","device_name":"Bone Grafting Material, Human Source","device_class":"2","medical_specialty":"Dental","regulation_number":"872.3930","clearance":"K051188","proprietary_names":["Grafton DBM"]},{"product_code":"HRX","device_name":"Arthroscope","device_class":"2","medical_specialty":"Orthopedic","regulation_number":"888.1100","clearance":"K103231","proprietary_names":["Kyphon Inflation Syringe"]},{"product_code":"HXG","device_name":"Tamp","device_class":"1","medical_specialty":"Orthopedic","regulation_number":"888.4540","clearance":"K103231","proprietary_names":["Kyphon Inflation Syringe"]},{"product_code":"NEK","device_name":"Filler, Recombinant Human Bone Morphogenetic Protein, Collagen Scaffold With Metal Prosthesis, Osteoinduction","device_class":"3","medical_specialty":"Unknown","regulation_number":null,"clearance":"P000058","proprietary_names":["INFUSE BONEGRAFT/ LT-CAGE Lumbar TF"]},{"product_code":"NQO","device_name":"Prosthesis, Spinous Process Spacer/Plate","device_class":"3","medical_specialty":"Unknown","regulation_number":null,"clearance":"P040001","proprietary_names":["X-STOP® Interspinous Spacer Titanium"]}]}]},"evidence":{"source":"US Food and Drug Administration","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupCompanyFinancialsResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["company_financials"]},"result":{"type":"object","properties":{"cik":{"type":"string","description":"The identifier, padded to 10 digits"},"company_name":{"type":["string","null"],"description":"The filer's name as the source lists it; null when nothing was reported"},"metric":{"type":"string","enum":["revenue","net_income","operating_income","total_assets","total_liabilities","stockholders_equity","cash","eps_diluted"],"description":"The metric asked for"},"tag":{"type":"string","description":"The US GAAP tag the figures came from"},"label":{"type":["string","null"],"description":"The source's label for the tag"},"unit":{"type":["string","null"],"description":"USD, or USD/shares for `eps_diluted`"},"periods":{"type":"array","items":{"type":"object","properties":{"frame":{"type":["string","null"],"description":"The source's calendar frame, for example CY2025 or CY2026Q2I; null when it framed none"},"start":{"type":["string","null"],"description":"First day of the period, YYYY-MM-DD; null for a balance at a date"},"end":{"type":"string","description":"Last day of the period or the balance date, YYYY-MM-DD"},"value":{"type":"number","description":"The reported figure, in `unit`"},"fiscal_year":{"type":["integer","null"],"description":"The filer's fiscal year the filing covers"},"fiscal_period":{"type":["string","null"],"description":"FY, Q1, Q2 or Q3"},"form":{"type":["string","null"],"description":"The form that reported this value, for example 10-K or 10-Q"},"filed":{"type":["string","null"],"description":"Date that filing was made, YYYY-MM-DD"},"accession":{"type":["string","null"],"description":"Accession number of that filing, with dashes"}},"required":["frame","start","end","value","fiscal_year","fiscal_period","form","filed","accession"]},"description":"One value per period, newest `end` first; empty when the company never reported the tag"}},"required":["cik","company_name","metric","tag","label","unit","periods"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"company_financials","result":{"cik":"0000320193","company_name":"Apple Inc.","metric":"revenue","tag":"RevenueFromContractWithCustomerExcludingAssessedTax","label":"Revenue from Contract with Customer, Excluding Assessed Tax","unit":"USD","periods":[{"frame":"CY2025","start":"2024-09-29","end":"2025-09-27","value":416161000000,"fiscal_year":2025,"fiscal_period":"FY","form":"10-K","filed":"2025-10-31","accession":"0000320193-25-000079"},{"frame":"CY2024","start":"2023-10-01","end":"2024-09-28","value":391035000000,"fiscal_year":2025,"fiscal_period":"FY","form":"10-K","filed":"2025-10-31","accession":"0000320193-25-000079"}]},"evidence":{"source":"US Securities and Exchange Commission","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupMarketDrugAcquisitionCostResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["market_drug_acquisition_cost"]},"result":{"type":"object","properties":{"prices":{"type":"array","items":{"type":"object","properties":{"ndc":{"type":"string","description":"National Drug Code"},"description":{"type":"string","description":"Source drug description"},"per_unit_usd":{"type":"number","minimum":0,"description":"Acquisition cost in US dollars per pricing unit"},"pricing_unit":{"type":"string","enum":["EA","ML","GM"],"description":"Each, milliliter or gram"},"effective_date":{"type":"string","format":"date","description":"Date this rate took effect"},"as_of_date":{"type":"string","format":"date","description":"Weekly source publication date"},"otc":{"type":"boolean","description":"Whether the source marks the drug as over the counter"},"classification":{"type":"string","description":"brand for B, generic for G; other source codes unchanged"},"pharmacy_type":{"type":"string","description":"Source pharmacy type indicator; empty when omitted"}},"required":["ndc","description","per_unit_usd","pricing_unit","effective_date","as_of_date","otc","classification","pharmacy_type"]},"description":"Newest row per NDC from the source page"}},"required":["prices"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"market_drug_acquisition_cost","result":{"prices":[{"ndc":"60290004002","description":"ATORVASTATIN 20 MG TABLET","per_unit_usd":0.02792,"pricing_unit":"EA","effective_date":"2026-10-07","as_of_date":"2026-10-14","otc":false,"classification":"generic","pharmacy_type":"C/I"}]},"evidence":{"source":"US Centers for Medicare & Medicaid Services","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupMarketMedicareDrugSpendingResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["market_medicare_drug_spending"]},"result":{"type":"object","properties":{"drugs":{"type":"array","items":{"type":"object","properties":{"brand_name":{"type":"string"},"generic_name":{"type":"string"},"manufacturer":{"type":"string","description":"Overall is the total across manufacturers"},"manufacturer_count":{"type":["number","null"]},"years":{"type":"array","items":{"type":"object","properties":{"year":{"type":"integer"},"total_spending_usd":{"type":["number","null"]},"dosage_units":{"type":["number","null"]},"claims":{"type":["number","null"]},"beneficiaries":{"type":["number","null"]},"avg_spend_per_dosage_unit_usd":{"type":["number","null"]},"avg_spend_per_claim_usd":{"type":["number","null"]},"avg_spend_per_beneficiary_usd":{"type":["number","null"]},"outlier":{"type":["boolean","null"],"description":"Source outlier flag; null when blank or absent"}},"required":["year","total_spending_usd","dosage_units","claims","beneficiaries","avg_spend_per_dosage_unit_usd","avg_spend_per_claim_usd","avg_spend_per_beneficiary_usd","outlier"]}},"change_avg_spend_per_unit_last_year":{"type":["number","null"],"description":"Source fractional change in the last calendar year"},"cagr_avg_spend_per_unit":{"type":["number","null"],"description":"Source compound annual growth rate across the listed years"},"latest_year":{"type":"integer"}},"required":["brand_name","generic_name","manufacturer","manufacturer_count","years","change_avg_spend_per_unit_last_year","cagr_avg_spend_per_unit","latest_year"]}}},"required":["drugs"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"market_medicare_drug_spending","result":{"drugs":[{"brand_name":"Eliquis","generic_name":"Apixaban","manufacturer":"Overall","manufacturer_count":1,"years":[{"year":2020,"total_spending_usd":9936069813.8,"dosage_units":1258380589.3,"claims":14847081,"beneficiaries":2641941,"avg_spend_per_dosage_unit_usd":7.8975887451,"avg_spend_per_claim_usd":669.22715743,"avg_spend_per_beneficiary_usd":3760.8976937,"outlier":false},{"year":2021,"total_spending_usd":12575145852,"dosage_units":1478137928.5,"claims":17015798,"beneficiaries":3125087,"avg_spend_per_dosage_unit_usd":8.5084511016,"avg_spend_per_claim_usd":739.02768778,"avg_spend_per_beneficiary_usd":4023.9346462,"outlier":false},{"year":2022,"total_spending_usd":15219812294,"dosage_units":1669476768.2,"claims":18973041,"beneficiaries":3505142,"avg_spend_per_dosage_unit_usd":9.1171846791,"avg_spend_per_claim_usd":802.18096265,"avg_spend_per_beneficiary_usd":4342.1385763,"outlier":false},{"year":2023,"total_spending_usd":18273451967,"dosage_units":1875283428.8,"claims":21195452,"beneficiaries":3927848,"avg_spend_per_dosage_unit_usd":9.7446967132,"avg_spend_per_claim_usd":862.14023496,"avg_spend_per_beneficiary_usd":4652.2808335,"outlier":false},{"year":2024,"total_spending_usd":20774929225,"dosage_units":2156238528.8,"claims":24061332,"beneficiaries":4424796,"avg_spend_per_dosage_unit_usd":9.6370356894,"avg_spend_per_claim_usd":863.41559248,"avg_spend_per_beneficiary_usd":4695.1157126,"outlier":false}],"change_avg_spend_per_unit_last_year":-0.011048166,"cagr_avg_spend_per_unit":0.0510230439,"latest_year":2024}]},"evidence":{"source":"US Centers for Medicare & Medicaid Services","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupMarketMedicareFeesResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["market_medicare_fees"]},"result":{"type":"object","properties":{"code":{"type":"string","description":"The procedure code looked up, upper-cased"},"year":{"type":"integer","description":"Calendar year of the schedule"},"status":{"type":["string","null"],"description":"Source status indicator, for example A for an active code; null when the code is not on the schedule for the year"},"status_meaning":{"type":["string","null"],"description":"What the status indicator means; null when the source does not document it"},"rates":{"type":"array","items":{"type":"object","properties":{"modifier":{"type":["string","null"],"description":"Two-character modifier; null for the unmodified code"},"conversion_factor_usd":{"type":"number","description":"US dollars per relative value unit for this rate"},"rvu_work":{"type":"number","description":"Work relative value units"},"rvu_practice_expense_non_facility":{"type":["number","null"],"description":"Practice expense relative value units outside a facility; null when the source marks it not applicable"},"rvu_practice_expense_facility":{"type":["number","null"],"description":"Practice expense relative value units in a facility; null when the source marks it not applicable"},"rvu_malpractice":{"type":"number","description":"Malpractice relative value units"},"rvu_total_non_facility":{"type":["number","null"],"description":"Total relative value units outside a facility; null when not applicable"},"rvu_total_facility":{"type":["number","null"],"description":"Total relative value units in a facility; null when not applicable"},"national_payment_non_facility_usd":{"type":["number","null"],"description":"Total non-facility relative value units times the conversion factor, rounded to cents: the national amount before the geographic locality adjustment; null when not applicable or when the contractor sets the payment (status C or L)"},"national_payment_facility_usd":{"type":["number","null"],"description":"Total facility relative value units times the conversion factor, rounded to cents: the national amount before the geographic locality adjustment; null when not applicable or when the contractor sets the payment (status C or L)"},"global_days":{"type":"string","description":"Global surgery period: 000, 010 or 090 days; XXX when the concept does not apply; YYY set by the contractor; ZZZ for an add-on code; MMM for maternity"},"label":{"type":"string","description":"Who this conversion factor applies to"}},"required":["modifier","conversion_factor_usd","rvu_work","rvu_practice_expense_non_facility","rvu_practice_expense_facility","rvu_malpractice","rvu_total_non_facility","rvu_total_facility","national_payment_non_facility_usd","national_payment_facility_usd","global_days","label"]},"description":"One entry per conversion factor the year uses, for the requested modifier; empty when there is no match"}},"required":["code","year","status","status_meaning","rates"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"market_medicare_fees","result":{"code":"99213","year":2026,"status":"A","status_meaning":"Active code: paid separately under the physician fee schedule when covered","rates":[{"modifier":null,"conversion_factor_usd":33.5675,"rvu_work":1.3,"rvu_practice_expense_non_facility":1.46,"rvu_practice_expense_facility":0.33,"rvu_malpractice":0.09,"rvu_total_non_facility":2.85,"rvu_total_facility":1.72,"national_payment_non_facility_usd":95.67,"national_payment_facility_usd":57.74,"global_days":"XXX","label":"qualifying alternative payment model participants"},{"modifier":null,"conversion_factor_usd":33.4009,"rvu_work":1.3,"rvu_practice_expense_non_facility":1.46,"rvu_practice_expense_facility":0.33,"rvu_malpractice":0.09,"rvu_total_non_facility":2.85,"rvu_total_facility":1.72,"national_payment_non_facility_usd":95.19,"national_payment_facility_usd":57.45,"global_days":"XXX","label":"all other clinicians"}]},"evidence":{"source":"US Centers for Medicare & Medicaid Services","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupMarketFreightIndexResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["market_freight_index"]},"result":{"type":"object","properties":{"months":{"type":"array","items":{"type":"object","properties":{"month":{"type":"string","pattern":"^\\d{4}-(0[1-9]|1[0-2])$","description":"Observation month, YYYY-MM"},"freight_index":{"type":"number","description":"Seasonally adjusted Freight Transportation Services Index, average 2000 = 100"},"freight_index_change_pct":{"type":"number","description":"Percent change in the freight index from the previous month"},"truck_tonnage_index":{"type":["number","null"],"description":"Seasonally adjusted truck tonnage index, 2015 = 100"},"rail_carloads":{"type":["number","null"],"description":"Seasonally adjusted rail freight carloads, number of carloads"},"rail_intermodal_units":{"type":["number","null"],"description":"Seasonally adjusted rail intermodal traffic, number of containers and trailers"},"air_freight_ton_miles":{"type":["number","null"],"description":"Seasonally adjusted air revenue freight and mail, ton miles as reported by BTS"},"waterborne_tons_millions":{"type":["number","null"],"description":"Seasonally adjusted internal US waterway tonnage, millions of short tons"},"pipeline_petroleum":{"type":["number","null"],"description":"Seasonally adjusted petroleum pipeline movement, thousands of barrels"},"pipeline_natural_gas":{"type":["number","null"],"description":"Seasonally adjusted natural gas consumption, billion cubic feet"}},"required":["month","freight_index","freight_index_change_pct","truck_tonnage_index","rail_carloads","rail_intermodal_units","air_freight_ton_miles","waterborne_tons_millions","pipeline_petroleum","pipeline_natural_gas"]},"description":"Most recent months with a freight index, newest first"}},"required":["months"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"market_freight_index","result":{"months":[{"month":"2026-08","freight_index":134.4,"freight_index_change_pct":-0.4,"truck_tonnage_index":112.8,"rail_carloads":990805,"rail_intermodal_units":1244306,"air_freight_ton_miles":null,"waterborne_tons_millions":30,"pipeline_petroleum":null,"pipeline_natural_gas":2854.7}]},"evidence":{"source":"US Bureau of Transportation Statistics","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupMarketInterestRatesResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["market_interest_rates"]},"result":{"type":"object","properties":{"rate":{"type":"string","description":"Rate code asked for, upper-case"},"notice":{"type":"string","description":"The notice and disclaimer the New York Fed requires with any presentation of its reference rate data; keep it with the data"},"observations":{"type":"array","items":{"type":"object","properties":{"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Business day the rate applies to, YYYY-MM-DD; for sofr_averages, the publication day"},"percent":{"type":["number","null"],"description":"Rate in percent per year; null for sofr_averages"},"percentile_1":{"type":["number","null"],"description":"1st percentile of underlying transaction rates, percent per year"},"percentile_25":{"type":["number","null"],"description":"25th percentile, percent per year"},"percentile_75":{"type":["number","null"],"description":"75th percentile, percent per year"},"percentile_99":{"type":["number","null"],"description":"99th percentile, percent per year"},"volume_billions_usd":{"type":["number","null"],"description":"Volume of underlying transactions, billions of US dollars"},"target_from":{"type":["number","null"],"description":"Lower bound of the FOMC federal funds target range, percent per year; effr only"},"target_to":{"type":["number","null"],"description":"Upper bound of the FOMC federal funds target range, percent per year; effr only"},"average_30_day":{"type":["number","null"],"description":"30-day compounded SOFR average, percent per year; sofr_averages only"},"average_90_day":{"type":["number","null"],"description":"90-day compounded SOFR average, percent per year; sofr_averages only"},"average_180_day":{"type":["number","null"],"description":"180-day compounded SOFR average, percent per year; sofr_averages only"},"index":{"type":["number","null"],"description":"SOFR index, compounded from 1.0 on 2018-04-02; sofr_averages only"},"revised":{"type":"boolean","description":"True when the source marks this day as revised"}},"required":["date","percent","percentile_1","percentile_25","percentile_75","percentile_99","volume_billions_usd","target_from","target_to","average_30_day","average_90_day","average_180_day","index","revised"]},"description":"One observation per business day, newest first"}},"required":["rate","notice","observations"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"market_interest_rates","result":{"rate":"SOFR","notice":"The SOFR data is subject to the Terms of Use posted at newyorkfed.org. The New York Fed is not responsible for publication of the SOFR data by OneShot, does not sanction or endorse any particular republication, and has no liability for your use. OneShot is not affiliated with the New York Fed. The New York Fed does not sanction, endorse, or recommend any products or services offered by OneShot. The Secured Overnight Financing Rate (SOFR) Data and Broad General Collateral Rate (BGCR) Data are calculated using data provided under a license granted to the New York Fed by DTCC Solutions LLC (\"Solutions\"), an affiliate of The Depository Trust & Clearing Corporation. Solutions, its affiliates, and third parties from which they obtained data have no liability for the content of this material.","observations":[{"date":"2026-10-16","percent":3.88,"percentile_1":3.84,"percentile_25":3.85,"percentile_75":3.93,"percentile_99":3.95,"volume_billions_usd":2925,"target_from":null,"target_to":null,"average_30_day":null,"average_90_day":null,"average_180_day":null,"index":null,"revised":false},{"date":"2026-10-15","percent":3.89,"percentile_1":3.85,"percentile_25":3.87,"percentile_75":3.94,"percentile_99":3.97,"volume_billions_usd":3025,"target_from":null,"target_to":null,"average_30_day":null,"average_90_day":null,"average_180_day":null,"index":null,"revised":false}]},"evidence":{"source":"Federal Reserve Bank of New York","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupMarketFederalLaborRatesResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["market_federal_labor_rates"]},"result":{"type":"object","properties":{"total":{"type":"number","description":"How many rates match the keyword, including any beyond `limit`"},"summary":{"type":["object","null"],"properties":{"count":{"type":"number","description":"How many rates the figures cover"},"low_usd":{"type":"number","description":"The lowest ceiling hourly rate"},"median_usd":{"type":"number","description":"The middle ceiling hourly rate"},"average_usd":{"type":"number","description":"The average ceiling hourly rate"},"high_usd":{"type":"number","description":"The highest ceiling hourly rate"}},"required":["count","low_usd","median_usd","average_usd","high_usd"],"description":"Null when nothing matches"},"rates":{"type":"array","items":{"type":"object","properties":{"role":{"type":["string","null"],"description":"The contractor's name for the labor category"},"hourly_rate_usd":{"type":["number","null"],"description":"The ceiling hourly rate in US dollars"},"contractor":{"type":["string","null"]},"contract_number":{"type":["string","null"]},"business_size":{"type":["string","null"],"enum":["small","other",null]},"education":{"type":["string","null"]},"min_years_experience":{"type":["number","null"]},"security_clearance":{"type":["boolean","null"]},"worksite":{"type":["string","null"]},"contract_start_on":{"type":["string","null"],"description":"YYYY-MM-DD"},"contract_end_on":{"type":["string","null"],"description":"YYYY-MM-DD"}},"required":["role","hourly_rate_usd","contractor","contract_number","business_size","education","min_years_experience","security_clearance","worksite","contract_start_on","contract_end_on"]}}},"required":["total","summary","rates"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"market_federal_labor_rates","result":{"total":4708,"summary":{"count":4708,"low_usd":29.27,"median_usd":137.58,"average_usd":144.61,"high_usd":449.75},"rates":[{"role":"Intern Software Engineer","hourly_rate_usd":29.27,"contractor":"DIGNITAS TECHNOLOGIES, LLC","contract_number":"47QREA22D000R","business_size":"small","education":"High School","min_years_experience":1,"security_clearance":false,"worksite":"Contractor Facility","contract_start_on":"2022-03-04","contract_end_on":"2027-03-03"}]},"evidence":{"source":"US General Services Administration","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupMarketFreightRateResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["market_freight_rate"]},"result":{"type":"object","properties":{"rate":{"type":"number","description":"The quoted price for the whole shipment, every included service counted"},"currency":{"type":"string","description":"The currency of the rate, as an ISO 4217 code"},"mode":{"type":"string","enum":["ltl","ftl","van","box_truck"],"description":"The mode quoted. Differs from the mode asked for when no shared-trailer service covers the lane and a whole truck was quoted instead"},"transit_days":{"type":"integer","description":"Days from pickup to delivery"},"pickup_date":{"type":"string","description":"YYYY-MM-DD"},"delivery_date":{"type":"string","description":"YYYY-MM-DD"},"valid_until":{"type":"string","description":"When the quote lapses, ISO 8601"},"quote_tier":{"type":"string","enum":["firm","indicative"],"description":"firm: every pricing input was given, so the price stands as quoted. indicative: an optional detail such as the commodity was not given, so the price can change at booking"},"included_services":{"type":"array","items":{"type":"string"},"description":"Services the rate already covers, such as liftgate or residential delivery"}},"required":["rate","currency","mode","transit_days","pickup_date","delivery_date","valid_until","quote_tier","included_services"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"market_freight_rate","result":{"rate":329.95,"currency":"USD","mode":"ltl","transit_days":3,"pickup_date":"2026-10-20","delivery_date":"2026-10-23","valid_until":"2026-10-18T03:36:09.269Z","quote_tier":"indicative","included_services":["liftgate","residential delivery","delivery appointment","limited access","notify before delivery"]},"evidence":{"source":null,"source_kind":"commercial","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupMarketTruckRatesResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["market_truck_rates"]},"result":{"type":"object","properties":{"lanes":{"type":"array","items":{"type":"object","properties":{"origin":{"type":"string","description":"Shipping district"},"region":{"type":"string","description":"Source region"},"destination":{"type":"string","description":"Destination city"},"distance_miles":{"type":["number","null"],"description":"Estimated lane distance in miles"},"commodities":{"type":"array","items":{"type":"string"},"description":"Commodity mix for the newest reported week"},"weeks":{"type":"array","items":{"type":"object","properties":{"week_of":{"type":"string","format":"date","description":"Reported week ending date (YYYY-MM-DD)"},"low_usd":{"type":["number","null"],"description":"Lowest reported truck rate during the week"},"high_usd":{"type":["number","null"],"description":"Highest reported truck rate during the week"},"midpoint_usd":{"type":["number","null"],"description":"Source average of the weekly low and high"},"rate_per_mile_usd":{"type":["number","null"],"description":"Source midpoint divided by distance, rounded to four decimal places"},"availability":{"type":["integer","null"],"minimum":1,"maximum":5,"description":"Truck supply: 1 surplus, 3 adequate, 5 shortage; intermediate values are 2 and 4"}},"required":["week_of","low_usd","high_usd","midpoint_usd","rate_per_mile_usd","availability"]},"description":"Newest reported weeks first"}},"required":["origin","region","destination","distance_miles","commodities","weeks"]},"description":"Lanes ordered by newest week, then origin and destination"}},"required":["lanes"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"market_truck_rates","result":{"lanes":[{"origin":"SALINAS-WATSONVILLE CALIFORNIA","region":"CALIFORNIA","destination":"CHICAGO","distance_miles":2220,"commodities":["BROCCOLI","CAULIFLOWER","BOSTON LETTUCE","GREEN LETTUCE LEAF","ICEBERG LETTUCE","RED LETTUCE LEAF","ROMAINE LETTUCE","STRAWBERRIES"],"weeks":[{"week_of":"2026-10-20","low_usd":5090,"high_usd":5400,"midpoint_usd":5245,"rate_per_mile_usd":2.3626,"availability":3}]}]},"evidence":{"source":"US Department of Agriculture","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"FindRecordCustomsRulingsResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["record_customs_rulings_find"]},"result":{"type":"object","properties":{"total":{"type":"number","description":"Number of matches at the source before the optional tariff filter"},"rulings":{"type":"array","items":{"type":"object","properties":{"ruling_number":{"type":"string","description":"The ruling number identifying this public record"},"subject":{"type":"string","description":"The subject of the ruling"},"date":{"type":["string","null"],"description":"The ruling date in US Eastern calendar time, YYYY-MM-DD; null when unknown"},"collection":{"type":"string","enum":["ny","hq"],"description":"The issuing collection: New York or Headquarters"},"categories":{"type":"string","description":"The source category of the ruling"},"tariff_numbers":{"type":"array","items":{"type":"string"},"description":"Tariff numbers listed in the ruling"},"related_rulings":{"type":"array","items":{"type":"string"},"description":"Related ruling numbers"},"modified_by":{"type":"array","items":{"type":"string"},"description":"Rulings that modified this ruling"},"revoked_by":{"type":"array","items":{"type":"string"},"description":"Rulings that revoked this ruling"},"revoked":{"type":"boolean","description":"Whether another ruling revoked it or the source marks it operationally revoked"},"usmca":{"type":"boolean","description":"Whether the source marks the ruling as USMCA related"},"url":{"type":"string","description":"The ruling page at the source"}},"required":["ruling_number","subject","date","collection","categories","tariff_numbers","related_rulings","modified_by","revoked_by","revoked","usmca","url"]},"description":"Matching rulings in source relevance order"}},"required":["total","rulings"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"record_customs_rulings_find","result":{"total":126,"rulings":[{"ruling_number":"N326117","subject":"The tariff classification of a Bluetooth Party Speaker from China","date":"2022-05-20","collection":"ny","categories":"Classification","tariff_numbers":["8518.22.0000","9903.88.15"],"related_rulings":[],"modified_by":[],"revoked_by":[],"revoked":false,"usmca":false,"url":"https://rulings.cbp.gov/ruling/N326117"}]},"evidence":{"source":"US Customs and Border Protection","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"FindRecordDocketsResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["record_dockets_find"]},"result":{"type":"object","properties":{"total":{"type":"number","description":"How many dockets matched, including any beyond `limit`"},"dockets":{"type":"array","items":{"type":"object","properties":{"docket_id":{"type":["string","null"],"description":"The docket id, for example FAA-2019-1100"},"agency":{"type":["string","null"],"description":"The acronym of the agency that keeps the docket"},"type":{"type":["string","null"],"description":"Rulemaking or Nonrulemaking"},"title":{"type":["string","null"],"description":"The docket title"},"last_modified_at":{"type":["string","null"],"description":"When the docket last changed, ISO 8601"},"url":{"type":["string","null"],"description":"The docket on the federal regulations portal"}},"required":["docket_id","agency","type","title","last_modified_at","url"]},"description":"The matching dockets, newest change first"}},"required":["total","dockets"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"record_dockets_find","result":{"total":91,"dockets":[{"docket_id":"FAA-2023-1271","agency":"FAA","type":"Nonrulemaking","title":"List of Approved Unmanned Aircraft Systems under Section 44807","last_modified_at":"2026-10-02T15:06:24Z","url":"https://www.regulations.gov/docket/FAA-2023-1271"},{"docket_id":"FAA-2026-4558","agency":"FAA","type":"Rulemaking","title":"Designation – Restrict the Operation of Unmanned Aircraft in Close Proximity to a Fixed Site Facility","last_modified_at":"2026-09-03T12:41:32Z","url":"https://www.regulations.gov/docket/FAA-2026-4558"}]},"evidence":{"source":"US General Services Administration","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"FindRecordFederalRegisterResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["record_federal_register_find"]},"result":{"type":"object","properties":{"total":{"type":"number","description":"How many documents matched, including any beyond `limit`"},"documents":{"type":"array","items":{"type":"object","properties":{"document_number":{"type":["string","null"],"description":"The Federal Register document number"},"title":{"type":["string","null"],"description":"The document title"},"type":{"type":["string","null"],"description":"Rule, Proposed Rule, Notice or Presidential Document"},"abstract":{"type":["string","null"],"description":"The abstract the agency gave the document"},"published_on":{"type":["string","null"],"description":"The date it was published, YYYY-MM-DD"},"agencies":{"type":"array","items":{"type":"string"},"description":"The agencies that issued it"},"url":{"type":["string","null"],"description":"The document on federalregister.gov"},"pdf_url":{"type":["string","null"],"description":"The official PDF"}},"required":["document_number","title","type","abstract","published_on","agencies","url","pdf_url"]},"description":"The matching documents, newest first"}},"required":["total","documents"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"record_federal_register_find","result":{"total":43,"documents":[{"document_number":"2026-14439","title":"Establishing a Fixed Time Period of Admission and an Extension of Stay Procedure for Nonimmigrant Academic Students, Exchange Visitors, and Representatives of Foreign Information Media","type":"Rule","abstract":"The Department of Homeland Security (DHS) is amending its regulations to change the admission period in the F, J, and I classifications from duration of status to an admission for a fixed time period.","published_on":"2026-07-17","agencies":["Homeland Security Department"],"url":"https://www.federalregister.gov/documents/2026/07/17/2026-14439/establishing-a-fixed-time-period-of-admission-and-an-extension-of-stay-procedure-for-nonimmigrant","pdf_url":"https://www.govinfo.gov/content/pkg/FR-2026-07-17/pdf/2026-14439.pdf"}]},"evidence":{"source":"US Office of the Federal Register","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"FindRecordClinicalTrialsResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["record_clinical_trials_find"]},"result":{"type":"object","properties":{"total":{"type":"number","description":"How many studies matched, including any beyond `limit`"},"studies":{"type":"array","items":{"type":"object","properties":{"id":{"type":["string","null"],"description":"The registry number, for example NCT06399432"},"title":{"type":["string","null"],"description":"The brief title the sponsor gave the study"},"status":{"type":["string","null"],"description":"Where the study stands, for example recruiting or active_not_recruiting"},"phases":{"type":"array","items":{"type":"string"},"description":"The phases, in upper case as the source gives them, for example PHASE2. An empty list means the source gives no phase, which is usual for an observational study; NA means the source marks phases as not applicable to the study"},"study_type":{"type":["string","null"],"description":"interventional, observational or expanded_access"},"conditions":{"type":"array","items":{"type":"string"},"description":"The conditions the study addresses"},"interventions":{"type":"array","items":{"type":"string"},"description":"The treatments or other interventions studied"},"sponsor":{"type":["string","null"],"description":"The lead sponsor"},"enrollment":{"type":["number","null"],"description":"The number of participants, planned or actual"},"start_date":{"type":["string","null"],"description":"When the study started, YYYY-MM-DD or YYYY-MM when only the month is given"},"primary_completion_date":{"type":["string","null"],"description":"When the primary outcome data are complete, YYYY-MM-DD or YYYY-MM"},"last_updated":{"type":["string","null"],"description":"When the record was last updated, YYYY-MM-DD"},"countries":{"type":"array","items":{"type":"string"},"description":"The countries with a study site, each once"},"url":{"type":["string","null"],"description":"The study on clinicaltrials.gov"}},"required":["id","title","status","phases","study_type","conditions","interventions","sponsor","enrollment","start_date","primary_completion_date","last_updated","countries","url"]},"description":"The matching studies, most recently updated first"}},"required":["total","studies"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"record_clinical_trials_find","result":{"total":1,"studies":[{"id":"NCT00000000","title":"Example study of a treatment for psoriasis","status":"recruiting","phases":["PHASE3"],"study_type":"interventional","conditions":["Psoriasis"],"interventions":["Secukinumab"],"sponsor":"Example Sponsor","enrollment":120,"start_date":"2025-03","primary_completion_date":"2027-01","last_updated":"2026-09-04","countries":["United States","Germany"],"url":"https://clinicaltrials.gov/study/NCT00000000"}]},"evidence":{"source":"US National Library of Medicine","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"FindRecordPublicationsResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["record_publications_find"]},"result":{"type":"object","properties":{"total":{"type":"integer","minimum":0,"description":"How many papers matched, including any beyond `limit`"},"query_translation":{"type":"string","description":"The search as the source expanded and ran it, for example with MeSH terms and the year range"},"publications":{"type":"array","items":{"type":"object","properties":{"pmid":{"type":"string","description":"The PubMed id"},"title":{"type":["string","null"],"description":"The title"},"journal":{"type":["string","null"],"description":"The journal's abbreviated name; null for a book chapter"},"journal_full":{"type":["string","null"],"description":"The journal's full name"},"published":{"type":["string","null"],"description":"The publication date the source sorts by, as YYYY-MM-DD"},"published_text":{"type":["string","null"],"description":"The publication date as the source prints it, for example \"2026 Dec 1\" or \"2026 Dec\""},"authors":{"type":"array","items":{"type":"string"},"description":"The first three author names, as the source abbreviates them; book editors listed on a chapter are not authors and are left out"},"author_count":{"type":"integer","minimum":0,"description":"How many authors the paper has"},"doi":{"type":["string","null"],"description":"The DOI; null when the source lists none"},"pmcid":{"type":["string","null"],"description":"The PubMed Central id; null when the paper is not in PubMed Central"},"publication_types":{"type":"array","items":{"type":"string"},"description":"The publication types, for example \"Journal Article\" or \"Meta-Analysis\""},"url":{"type":"string","description":"The paper's page on PubMed"}},"required":["pmid","title","journal","journal_full","published","published_text","authors","author_count","doi","pmcid","publication_types","url"]},"description":"The papers returned, in the order asked for"}},"required":["total","query_translation","publications"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"record_publications_find","result":{"total":443,"query_translation":"(\"semaglutide\"[Supplementary Concept] OR \"semaglutide\"[All Fields] OR \"semaglutide\"[MeSH Terms]) AND (\"kidney\"[MeSH Terms] OR \"kidney\"[All Fields] OR \"kidneys\"[All Fields] OR \"kidney s\"[All Fields]) AND 2024/01/01:2026/12/31[Date - Publication]","publications":[{"pmid":"38785209","title":"Effects of Semaglutide on Chronic Kidney Disease in Patients with Type 2 Diabetes.","journal":"N Engl J Med","journal_full":"The New England journal of medicine","published":"2024-07-11","published_text":"2024 Jul 11","authors":["Perkovic V","Tuttle KR","Rossing P"],"author_count":12,"doi":"10.1056/NEJMoa2403347","pmcid":null,"publication_types":["Journal Article","Randomized Controlled Trial","Multicenter Study","Research Support, N.I.H., Extramural"],"url":"https://pubmed.ncbi.nlm.nih.gov/38785209/"},{"pmid":"40892610","title":"Cardiovascular Effects and Tolerability of GLP-1 Receptor Agonists: A Systematic Review and Meta-Analysis of 99,599 Patients.","journal":"J Am Coll Cardiol","journal_full":"Journal of the American College of Cardiology","published":"2025-11-18","published_text":"2025 Nov 18","authors":["Galli M","Benenati S","Laudani C"],"author_count":17,"doi":"10.1016/j.jacc.2025.08.027","pmcid":null,"publication_types":["Journal Article","Systematic Review","Meta-Analysis"],"url":"https://pubmed.ncbi.nlm.nih.gov/40892610/"},{"pmid":"40961952","title":"Once-weekly semaglutide 7·2 mg in adults with obesity (STEP UP): a randomised, controlled, phase 3b trial.","journal":"Lancet Diabetes Endocrinol","journal_full":"The lancet. Diabetes & endocrinology","published":"2025-11-01","published_text":"2025 Nov","authors":["Wharton S","Freitas P","Hjelmesæth J"],"author_count":10,"doi":"10.1016/S2213-8587(25)00226-8","pmcid":null,"publication_types":["Journal Article","Randomized Controlled Trial","Clinical Trial, Phase III","Multicenter Study","Research Support, N.I.H., Extramural"],"url":"https://pubmed.ncbi.nlm.nih.gov/40961952/"}]},"evidence":{"source":"US National Library of Medicine (PubMed)","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"FindRecordCourtCasesResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["record_court_cases_find"]},"result":{"type":"object","properties":{"total":{"type":"integer","minimum":0,"description":"Matching cases, including those beyond limit; docket counts above 2,000 are approximate"},"total_is_approximate":{"type":"boolean","description":"True for docket counts above 2,000, which may differ by up to 6%"},"cases":{"type":"array","items":{"type":"object","properties":{"case_name":{"type":"string","description":"The case name"},"court":{"type":["string","null"],"description":"The court name, or null if absent"},"date":{"type":["string","null"],"description":"Decision date for opinions, case filing date for dockets, YYYY-MM-DD; null if absent"},"citation":{"type":["string","null"],"description":"Citations joined with semicolons, or null if absent"},"docket_number":{"type":["string","null"],"description":"The docket number, or null if absent"},"excerpt":{"type":["string","null"],"description":"Up to 500 characters from an opinion or matching filing, or null if unavailable"},"url":{"type":["string","null"],"description":"The opinion or docket at its source, or null if unavailable"}},"required":["case_name","court","date","citation","docket_number","excerpt","url"]},"description":"Matching cases in relevance order"}},"required":["total","total_is_approximate","cases"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"record_court_cases_find","result":{"total":1,"total_is_approximate":false,"cases":[{"case_name":"Cqv Co., Ltd. v. Merck Patent Gmbh","court":"Court of Appeals for the Federal Circuit","date":"2025-03-10","citation":"130 F.4th 1344","docket_number":"23-1027","excerpt":"Case: 23-1027 Document: 77 Page: 1 Filed: 03/10/2025 United States Court of Appeals for the Federal Circuit ______________________ CQV CO., LTD., Appellant v. MERCK PATENT GMBH, Appellee ______________________ 2023-1027 ______________________ Appeal from the United States Patent an","url":"https://www.courtlistener.com/opinion/10353022/cqv-co-ltd-v-merck-patent-gmbh/"}]},"evidence":{"source":"US federal and state courts (public court records)","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupRecordVulnerabilityResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["record_vulnerability"]},"result":{"type":"object","properties":{"total":{"type":"number","description":"1 when the database has the record, 0 when it has none"},"vulnerabilities":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"The CVE identifier, in upper case"},"description":{"type":["string","null"],"description":"The description in English"},"published_at":{"type":["string","null"],"description":"When the record was published, ISO 8601 UTC"},"last_modified_at":{"type":["string","null"],"description":"When the record was last modified, ISO 8601 UTC"},"status":{"type":["string","null"],"description":"Where the record stands in analysis, for example Analyzed"},"severity":{"type":["object","null"],"properties":{"version":{"type":"string","description":"The CVSS version of the score: 4.0, 3.1, 3.0 or 2.0"},"score":{"type":"number","description":"The base score, 0 to 10"},"rating":{"type":["string","null"],"description":"The rating word the source gives the score, for example CRITICAL"},"vector":{"type":["string","null"],"description":"The CVSS vector string"}},"required":["version","score","rating","vector"],"description":"The primary score of the newest CVSS version that has one. `null` when none is published"},"weaknesses":{"type":"array","items":{"type":"string"},"description":"The weakness identifiers, for example CWE-502, each once"},"known_exploited":{"type":["object","null"],"properties":{"added_on":{"type":["string","null"],"description":"When it was added to the US list of known exploited vulnerabilities, YYYY-MM-DD"},"action_due":{"type":["string","null"],"description":"The date federal agencies must act by, YYYY-MM-DD"},"required_action":{"type":["string","null"],"description":"The action the list requires"},"name":{"type":["string","null"],"description":"The name the list gives the vulnerability"}},"required":["added_on","action_due","required_action","name"],"description":"Set when the vulnerability is on the US list of known exploited vulnerabilities. `null` when it is not"},"references":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","description":"The address of the reference"},"tags":{"type":"array","items":{"type":"string"},"description":"What kind of reference it is, for example Vendor Advisory"}},"required":["url","tags"]},"description":"The first 10 references"},"references_total":{"type":"number","description":"How many references the record has, including any beyond the first 10"},"url":{"type":"string","description":"The record on nvd.nist.gov"}},"required":["id","description","published_at","last_modified_at","status","severity","weaknesses","known_exploited","references","references_total","url"]},"description":"The record, or an empty list when the database has none"}},"required":["total","vulnerabilities"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"record_vulnerability","result":{"total":1,"vulnerabilities":[{"id":"CVE-2021-44228","description":"Apache Log4j2 JNDI features do not protect against attacker controlled LDAP and other JNDI related endpoints.","published_at":"2021-12-10T10:15:09.143Z","last_modified_at":"2026-08-11T19:33:44.513Z","status":"Analyzed","severity":{"version":"3.1","score":10,"rating":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"},"weaknesses":["CWE-20","CWE-400","CWE-502","CWE-917"],"known_exploited":{"added_on":"2021-12-10","action_due":"2021-12-24","required_action":"Apply updates, or remove affected assets from agency networks.","name":"Apache Log4j2 Remote Code Execution Vulnerability"},"references":[{"url":"https://example.com/advisory","tags":["Vendor Advisory"]}],"references_total":103,"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-44228"}]},"evidence":{"source":"US National Institute of Standards and Technology","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupCompanyVatRegistrationResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["company_vat_registration"]},"result":{"type":"object","properties":{"registered":{"type":"boolean","description":"True when the number is registered for cross-border trade; false when the source says it is not"},"country":{"type":"string","description":"The country code that was checked"},"vat_number":{"type":"string","description":"The number that was checked, without spaces, dots, dashes or the country code"},"name":{"type":["string","null"],"description":"The registered name, or null when the number is not registered or the member state withholds it"},"address":{"type":["string","null"],"description":"The registered address, or null when the number is not registered or the member state withholds it"},"checked_at":{"type":"string","description":"When the source made the check, ISO 8601 UTC"}},"required":["registered","country","vat_number","name","address","checked_at"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"company_vat_registration","result":{"registered":true,"country":"IE","vat_number":"6388047V","name":"GOOGLE IRELAND LIMITED","address":"3RD FLOOR, GORDON HOUSE, BARROW STREET, DUBLIN 4","checked_at":"2026-10-13T14:24:09.159Z"},"evidence":{"source":"European Commission","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupGeneSummaryResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["gene_summary"]},"result":{"type":"object","properties":{"gene":{"type":["object","null"],"properties":{"gene_id":{"type":"string","description":"The NCBI Gene ID"},"symbol":{"type":["string","null"],"description":"The gene symbol"},"name":{"type":["string","null"],"description":"The full name"},"status":{"type":"string","enum":["live","replaced","discontinued"],"description":"live, replaced or discontinued"},"current_gene_id":{"type":["string","null"],"description":"The Gene ID that replaced this record; null unless `status` is replaced"},"aliases":{"type":"array","items":{"type":"string"},"description":"Other symbols the gene is known by"},"other_names":{"type":"array","items":{"type":"string"},"description":"Other names the gene or its product is known by"},"organism":{"type":"object","properties":{"scientific_name":{"type":["string","null"],"description":"The organism's scientific name, for example Homo sapiens"},"common_name":{"type":["string","null"],"description":"The organism's common name, for example human"},"taxon_id":{"type":["number","null"],"description":"The organism's NCBI Taxonomy ID"}},"required":["scientific_name","common_name","taxon_id"],"description":"The organism the gene belongs to"},"chromosome":{"type":["string","null"],"description":"The chromosome, for example 17"},"map_location":{"type":["string","null"],"description":"The cytogenetic band, for example 17p13.1"},"location":{"type":["object","null"],"properties":{"assembly_accession":{"type":["string","null"],"description":"The assembly the position is on, for example GCF_000001405.40"},"chromosome_accession":{"type":["string","null"],"description":"The chromosome sequence the position is on, for example NC_000017.11"},"start":{"type":["number","null"],"description":"The smaller coordinate, zero-based"},"end":{"type":["number","null"],"description":"The larger coordinate, zero-based"},"strand":{"type":["string","null"],"enum":["+","-",null],"description":"The strand: + or -"}},"required":["assembly_accession","chromosome_accession","start","end","strand"],"description":"The position on the current assembly; null when the source places the gene nowhere"},"exon_count":{"type":["number","null"],"description":"How many exons the source counts"},"summary":{"type":["string","null"],"description":"The curated summary of the gene's function"},"summary_source":{"type":["string","null"],"description":"Who wrote the summary and when, for example \"provided by RefSeq, Dec 2016\""},"mim_ids":{"type":"array","items":{"type":"string"},"description":"The gene's OMIM ids"}},"required":["gene_id","symbol","name","status","current_gene_id","aliases","other_names","organism","chromosome","map_location","location","exon_count","summary","summary_source","mim_ids"],"description":"The gene described; null when no gene has the id or the symbol"},"other_gene_ids":{"type":"array","items":{"type":"string"},"description":"The other Gene IDs a symbol search found, after the one described; empty otherwise"}},"required":["gene","other_gene_ids"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"gene_summary","result":{"gene":{"gene_id":"7157","symbol":"TP53","name":"tumor protein p53","status":"live","current_gene_id":null,"aliases":["BCC7","BMFS5","LFS1","P53","TRP53"],"other_names":["cellular tumor antigen p53","antigen NY-CO-13","mutant tumor protein 53","phosphoprotein p53","transformation-related protein 53","tumor protein 53","tumor supressor p53"],"organism":{"scientific_name":"Homo sapiens","common_name":"human","taxon_id":9606},"chromosome":"17","map_location":"17p13.1","location":{"assembly_accession":"GCF_000001405.40","chromosome_accession":"NC_000017.11","start":7668420,"end":7687489,"strand":"-"},"exon_count":13,"summary":"This gene encodes a tumor suppressor protein containing transcriptional activation, DNA binding, and oligomerization domains. The encoded protein responds to diverse cellular stresses to regulate expression of target genes, thereby inducing cell cycle arrest, apoptosis, senescence, DNA repair, or changes in metabolism. Mutations in this gene are associated with a variety of human cancers, including hereditary cancers such as Li-Fraumeni syndrome. Alternative splicing of this gene and the use of alternate promoters result in multiple transcript variants and isoforms. Additional isoforms have also been shown to result from the use of alternate translation initiation codons from identical transcript variants (PMIDs: 12032546, 20937277).","summary_source":"provided by RefSeq, Dec 2016","mim_ids":["191170"]},"other_gene_ids":[]},"evidence":{"source":"US National Center for Biotechnology Information","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupGenePathwaysResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["gene_pathways"]},"result":{"type":"object","properties":{"total":{"type":"integer","minimum":0,"description":"Number of pathways the source returned before limit"},"pathways":{"type":"array","items":{"type":"object","properties":{"reactome_id":{"type":"string","description":"Stable Reactome pathway identifier"},"version":{"type":"string","description":"Versioned stable pathway identifier"},"name":{"type":"string","description":"Pathway display name"},"species":{"type":"string","description":"Organism scientific name"},"in_disease":{"type":"boolean","description":"Whether the pathway describes a disease mechanism"},"inferred":{"type":"boolean","description":"Computed from human pathways by orthology rather than curated for this species"},"released_on":{"type":"string","format":"date","description":"Pathway release date"},"last_updated":{"type":["string","null"],"format":"date","description":"Last update date, or null when absent"},"page_url":{"type":"string","format":"uri","description":"Reactome pathway detail page"}},"required":["reactome_id","version","name","species","in_disease","inferred","released_on","last_updated","page_url"]}}},"required":["total","pathways"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"gene_pathways","result":{"total":46,"pathways":[{"reactome_id":"R-HSA-111448","version":"R-HSA-111448.5","name":"Activation of NOXA and translocation to mitochondria","species":"Homo sapiens","in_disease":false,"inferred":false,"released_on":"2004-10-27","last_updated":"2016-03-24","page_url":"https://reactome.org/content/detail/R-HSA-111448"}]},"evidence":{"source":"Reactome","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"FindGeneVariantsResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["gene_variants_find"]},"result":{"type":"object","properties":{"total":{"type":"integer","minimum":0,"description":"ClinVar search count, including matching records beyond the limit"},"variants":{"type":"array","items":{"type":"object","properties":{"vcv":{"type":"string","pattern":"^VCV\\d{9}$"},"version":{"type":"string","description":"Versioned ClinVar accession"},"title":{"type":"string"},"variant_type":{"type":"string"},"genes":{"type":"array","items":{"type":"object","properties":{"symbol":{"type":"string"},"gene_id":{"type":"string"}},"required":["symbol","gene_id"]}},"protein_change":{"type":["string","null"]},"molecular_consequences":{"type":"array","items":{"type":"string"}},"rsid":{"type":["string","null"]},"germline":{"type":["object","null"],"properties":{"classification":{"type":"string"},"review_status":{"type":"string"},"last_evaluated":{"type":["string","null"],"description":"Last evaluated date, YYYY-MM-DD, or null"},"conditions":{"type":"array","items":{"type":"string"}}},"required":["classification","review_status","last_evaluated","conditions"]},"page_url":{"type":"string"}},"required":["vcv","version","title","variant_type","genes","protein_change","molecular_consequences","rsid","germline","page_url"]}}},"required":["total","variants"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"gene_variants_find","result":{"total":49,"variants":[{"vcv":"VCV001759844","version":"VCV001759844.14","title":"NM_000546.6(TP53):c.761T>C (p.Ile254Thr)","variant_type":"single nucleotide variant","genes":[{"symbol":"TP53","gene_id":"7157"}],"protein_change":"I215T, I122T, I254T, I95T","molecular_consequences":["missense variant"],"rsid":"rs1330865474","germline":{"classification":"Pathogenic","review_status":"reviewed by expert panel","last_evaluated":"2026-01-06","conditions":["Li-Fraumeni syndrome"]},"page_url":"https://www.ncbi.nlm.nih.gov/clinvar/variation/1759844/"}]},"evidence":{"source":"US National Center for Biotechnology Information (ClinVar)","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"ResolveCompoundResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["compound_resolve"]},"result":{"type":"object","properties":{"matches":{"type":"array","items":{"type":"object","properties":{"cid":{"type":"integer","exclusiveMinimum":0,"description":"The PubChem compound identifier"},"iupac_name":{"type":"string","description":"The computed systematic name"},"molecular_formula":{"type":"string","description":"The molecular formula"},"inchikey":{"type":"string","description":"The InChIKey identifier"},"smiles":{"type":"string","description":"The connectivity SMILES structure string"},"page_url":{"type":"string","description":"The compound page URL"}},"required":["cid","iupac_name","molecular_formula","inchikey","smiles","page_url"]},"description":"Matching compounds in source order, up to limit"},"ambiguous":{"type":"boolean","description":"True when the source returned more than one CID, before applying limit"}},"required":["matches","ambiguous"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"compound_resolve","result":{"matches":[{"cid":2244,"iupac_name":"2-acetyloxybenzoic acid","molecular_formula":"C9H8O4","inchikey":"BSYNRYMUTXBXSQ-UHFFFAOYSA-N","smiles":"CC(=O)OC1=CC=CC=C1C(=O)O","page_url":"https://pubchem.ncbi.nlm.nih.gov/compound/2244"}],"ambiguous":false},"evidence":{"source":"US National Center for Biotechnology Information (PubChem)","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"ResolveGeneResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["gene_resolve"]},"result":{"type":"object","properties":{"matches":{"type":"array","items":{"type":"object","properties":{"gene_id":{"type":"string","description":"The NCBI Gene ID, the input of Gene Summary"},"symbol":{"type":["string","null"],"description":"The gene symbol"},"name":{"type":["string","null"],"description":"The full name"},"matched_on":{"type":"string","enum":["symbol","alias","ensembl"],"description":"symbol, alias or ensembl: how the gene matched the query"},"aliases":{"type":"array","items":{"type":"string"},"description":"Other symbols the gene is known by"},"nomenclature_status":{"type":["string","null"],"enum":["official","interim",null],"description":"Whether the symbol is official or interim; null when the source gives neither"},"organism":{"type":"object","properties":{"scientific_name":{"type":["string","null"],"description":"The organism's scientific name, for example Homo sapiens"},"common_name":{"type":["string","null"],"description":"The organism's common name, for example human"},"taxon_id":{"type":["number","null"],"description":"The organism's NCBI Taxonomy ID"}},"required":["scientific_name","common_name","taxon_id"],"description":"The organism the gene belongs to"},"chromosome":{"type":["string","null"],"description":"The chromosome, for example 17"},"map_location":{"type":["string","null"],"description":"The cytogenetic band, for example 17p13.1"},"page_url":{"type":"string","description":"The gene page URL"}},"required":["gene_id","symbol","name","matched_on","aliases","nomenclature_status","organism","chromosome","map_location","page_url"]},"description":"Matching live genes, official symbol matches first, then alias matches, up to limit"},"ambiguous":{"type":"boolean","description":"True when more than one gene matched and none has the query as its official symbol, before applying limit"}},"required":["matches","ambiguous"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"gene_resolve","result":{"matches":[{"gene_id":"2064","symbol":"ERBB2","name":"erb-b2 receptor tyrosine kinase 2","matched_on":"alias","aliases":["CD340","HER-2","HER-2/neu","HER2","MLN 19","MLN-19","NEU","NGL","TKR1","VSCN2","c-ERB-2","c-ERB2","p185(erbB2)"],"nomenclature_status":"official","organism":{"scientific_name":"Homo sapiens","common_name":"human","taxon_id":9606},"chromosome":"17","map_location":"17q12","page_url":"https://www.ncbi.nlm.nih.gov/gene/2064"}],"ambiguous":false},"evidence":{"source":"US National Center for Biotechnology Information","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupProteinStructureResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["protein_structure"]},"result":{"type":"object","properties":{"coverage":{"type":"string","enum":["experimental","predicted"],"description":"The kind of structure returned: the `coverage` asked for"},"experimental":{"type":"object","properties":{"total":{"type":"integer","description":"How many Protein Data Bank entries contain the protein, including any beyond `limit`"},"structures":{"type":"array","items":{"type":"object","properties":{"pdb_id":{"type":"string","description":"The Protein Data Bank identifier of the entry, for example 9U4D"},"title":{"type":["string","null"],"description":"The title of the entry"},"method":{"type":["string","null"],"description":"The experimental method, for example X-RAY DIFFRACTION or ELECTRON MICROSCOPY"},"resolution_angstrom":{"type":["number","null"],"description":"The resolution in angstrom, or null when the method has none"},"released_on":{"type":["string","null"],"description":"The date the entry was released (YYYY-MM-DD)"},"page_url":{"type":"string","description":"The entry page at the Protein Data Bank"},"file_url":{"type":"string","description":"The structure file of the entry (mmCIF)"}},"required":["pdb_id","title","method","resolution_angstrom","released_on","page_url","file_url"]},"description":"The newest entries first, at most `limit`"}},"required":["total","structures"],"description":"The experimental structures; present when `coverage` is experimental"},"predicted":{"type":["object","null"],"properties":{"model_id":{"type":"string","description":"The identifier of the predicted model, for example AF-P04637-F1"},"version":{"type":["integer","null"],"description":"The latest version of the model"},"created_on":{"type":["string","null"],"description":"The date the model was created (YYYY-MM-DD)"},"residue_start":{"type":"integer","description":"The first residue the model covers"},"residue_end":{"type":"integer","description":"The last residue the model covers"},"mean_confidence":{"type":"number","description":"The mean per-residue confidence of the model, 0 to 100"},"confidence_fractions":{"type":"object","properties":{"very_high":{"type":"number","description":"The fraction of residues with very high confidence (above 90)"},"confident":{"type":"number","description":"The fraction of residues with confidence 70 to 90"},"low":{"type":"number","description":"The fraction of residues with confidence 50 to 70"},"very_low":{"type":"number","description":"The fraction of residues with confidence below 50"}},"required":["very_high","confident","low","very_low"],"description":"How the residues split by confidence level, as fractions of 1"},"file_url":{"type":["string","null"],"description":"The model file (mmCIF)"},"pdb_url":{"type":["string","null"],"description":"The model file in PDB format"},"error_image_url":{"type":["string","null"],"description":"The predicted aligned error plot of the model"}},"required":["model_id","version","created_on","residue_start","residue_end","mean_confidence","confidence_fractions","file_url","pdb_url","error_image_url"],"description":"The predicted model, a computed prediction, or null when no model exists; present when `coverage` is predicted"}},"required":["coverage"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"protein_structure","result":{"coverage":"experimental","experimental":{"total":323,"structures":[{"pdb_id":"9U4D","title":"Structure of UBE3A-E6-p53 complex","method":"ELECTRON MICROSCOPY","resolution_angstrom":3.39,"released_on":"2026-09-23","page_url":"https://www.rcsb.org/structure/9U4D","file_url":"https://files.rcsb.org/download/9U4D.cif"},{"pdb_id":"21EX","title":"Wild tipe p53WT-HLA-A2","method":"X-RAY DIFFRACTION","resolution_angstrom":2.021,"released_on":"2026-09-09","page_url":"https://www.rcsb.org/structure/21EX","file_url":"https://files.rcsb.org/download/21EX.cif"}]}},"evidence":{"source":"RCSB Protein Data Bank; EMBL-EBI","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupCompoundPropertiesResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["compound_properties"]},"result":{"type":"object","properties":{"compound":{"type":["object","null"],"properties":{"cid":{"type":"number","description":"The compound identifier (CID)"},"iupac_name":{"type":["string","null"],"description":"The IUPAC name the source computed"},"molecular_formula":{"type":["string","null"],"description":"The molecular formula, for example C9H8O4"},"inchikey":{"type":["string","null"],"description":"The standard InChIKey"},"molecular_weight":{"type":["number","null"],"description":"Molecular weight in g/mol"},"exact_mass":{"type":["number","null"],"description":"Exact (monoisotopic) mass in Da"},"xlogp":{"type":["number","null"],"description":"Computed octanol-water partition coefficient (XLogP)"},"tpsa":{"type":["number","null"],"description":"Topological polar surface area in square angstroms"},"hbond_donors":{"type":["number","null"],"description":"Number of hydrogen bond donors"},"hbond_acceptors":{"type":["number","null"],"description":"Number of hydrogen bond acceptors"},"rotatable_bonds":{"type":["number","null"],"description":"Number of rotatable bonds"},"heavy_atoms":{"type":["number","null"],"description":"Number of non-hydrogen atoms"},"formal_charge":{"type":["number","null"],"description":"Formal charge of the structure"},"complexity":{"type":["number","null"],"description":"The source's structural complexity score"},"page_url":{"type":"string","description":"The compound page at the source"}},"required":["cid","iupac_name","molecular_formula","inchikey","molecular_weight","exact_mass","xlogp","tpsa","hbond_donors","hbond_acceptors","rotatable_bonds","heavy_atoms","formal_charge","complexity","page_url"],"description":"The computed descriptors, or null when the source knows no compound with that identifier"}},"required":["compound"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"compound_properties","result":{"compound":{"cid":2244,"iupac_name":"2-acetyloxybenzoic acid","molecular_formula":"C9H8O4","inchikey":"BSYNRYMUTXBXSQ-UHFFFAOYSA-N","molecular_weight":180.16,"exact_mass":180.04225873,"xlogp":1.2,"tpsa":63.6,"hbond_donors":1,"hbond_acceptors":4,"rotatable_bonds":3,"heavy_atoms":13,"formal_charge":0,"complexity":212,"page_url":"https://pubchem.ncbi.nlm.nih.gov/compound/2244"}},"evidence":{"source":"US National Center for Biotechnology Information (PubChem)","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupCompoundHazardsResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["compound_hazards"]},"result":{"type":"object","properties":{"matched_cids":{"type":"array","items":{"type":"integer"},"description":"Every CID the name matched, in source order; the CID asked for when given one"},"compound":{"type":["object","null"],"properties":{"cid":{"type":"integer","description":"The compound identifier (CID) of the classifications"},"title":{"type":["string","null"],"description":"The compound's name at the source"},"page_url":{"type":"string","description":"The compound page at the source"}},"required":["cid","title","page_url"],"description":"The compound classified, or null when nothing matched or the source has no classification for it"},"classifications":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string","description":"The classifying source"},"source_record":{"type":["string","null"],"description":"The classifying source's name for its record of the substance"},"source_url":{"type":["string","null"],"description":"The record at the classifying source"},"pictograms":{"type":"array","items":{"type":"string"},"description":"The GHS pictogram names, for example Corrosive"},"pictogram_codes":{"type":"array","items":{"type":"string"},"description":"The GHS pictogram codes, for example GHS05"},"signal":{"type":["string","null"],"enum":["Danger","Warning",null],"description":"The GHS signal word, or null when the source gives none"},"hazard_statements":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","description":"The hazard statement code, for example H314"},"text":{"type":"string","description":"The statement as the source words it, with its hazard class in brackets"},"share_of_reports":{"type":["number","null"],"minimum":0,"maximum":1,"description":"The share of the source's reports that give this statement, from 0 to 1; null when the source gives none"}},"required":["code","text","share_of_reports"]},"description":"The GHS hazard statements, in the source order"},"precautionary_codes":{"type":"array","items":{"type":"string"},"description":"The precautionary statement codes, for example P280 or P301+P330+P331"},"not_classified":{"type":"boolean","description":"True when the source reports the substance as not classified"}},"required":["source","source_record","source_url","pictograms","pictogram_codes","signal","hazard_statements","precautionary_codes","not_classified"]},"description":"One classification per returned classifying source, in the source order"},"classified":{"type":"boolean","description":"True when at least one returned classification has a hazard statement"}},"required":["matched_cids","compound","classifications","classified"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"compound_hazards","result":{"matched_cids":[712],"compound":{"cid":712,"title":"Formaldehyde","page_url":"https://pubchem.ncbi.nlm.nih.gov/compound/712"},"classifications":[{"source":"Regulation (EC) No 1272/2008 of the European Parliament and of the Council","source_record":"formaldehyde …%","source_url":"https://eur-lex.europa.eu/eli/reg/2008/1272/oj","pictograms":["Corrosive","Acute Toxic","Health Hazard"],"pictogram_codes":["GHS05","GHS06","GHS08"],"signal":"Danger","hazard_statements":[{"code":"H302","text":"Harmful if swallowed [Warning Acute toxicity, oral]","share_of_reports":null},{"code":"H314","text":"Causes severe skin burns and eye damage [Danger Skin corrosion/irritation]","share_of_reports":null},{"code":"H350","text":"May cause cancer [Danger Carcinogenicity]","share_of_reports":null}],"precautionary_codes":["P203","P260","P280","P301+P330+P331","P501"],"not_classified":false}],"classified":true},"evidence":{"source":"US National Center for Biotechnology Information (PubChem)","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupCompoundTargetsResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["compound_targets"]},"result":{"type":"object","properties":{"matched":{"type":"boolean"},"candidates":{"type":"array","items":{"type":"object","properties":{"chembl_id":{"type":"string"},"name":{"type":"string"}},"required":["chembl_id","name"]}},"chembl_id":{"type":["string","null"]},"name":{"type":["string","null"]},"drug_type":{"type":["string","null"]},"max_clinical_stage":{"type":["string","null"]},"action_types":{"type":"array","items":{"type":"string"}},"target_types":{"type":"array","items":{"type":"string"}},"mechanisms":{"type":"array","items":{"type":"object","properties":{"mechanism":{"type":["string","null"]},"action_type":{"type":["string","null"]},"target_name":{"type":["string","null"]},"targets":{"type":"array","items":{"type":"object","properties":{"ensembl_gene_id":{"type":"string"},"symbol":{"type":["string","null"]}},"required":["ensembl_gene_id","symbol"]}},"references":{"type":"array","items":{"type":"object","properties":{"source":{"type":["string","null"]},"urls":{"type":"array","items":{"type":"string"},"maxItems":3}},"required":["source","urls"]}}},"required":["mechanism","action_type","target_name","targets","references"]}}},"required":["matched","candidates","chembl_id","name","drug_type","max_clinical_stage","action_types","target_types","mechanisms"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"compound_targets","result":{"matched":true,"candidates":[],"chembl_id":"CHEMBL1201580","name":"ADALIMUMAB","drug_type":"Antibody","max_clinical_stage":"APPROVAL","action_types":["INHIBITOR"],"target_types":["single protein"],"mechanisms":[{"mechanism":"TNF-alpha inhibitor","action_type":"INHIBITOR","target_name":"Tumor necrosis factor","targets":[{"ensembl_gene_id":"ENSG00000232810","symbol":"TNF"}],"references":[{"source":"DailyMed","urls":["http://dailymed.nlm.nih.gov/dailymed/lookup.cfm?setid=608d4f0d-b19f-46d3-749a-7159aa5f933d"]}]}]},"evidence":{"source":"Open Targets Platform (EMBL-EBI and partners)","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupGeneDiseasesResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["gene_diseases"]},"result":{"type":"object","properties":{"matched":{"type":"boolean","description":"Whether the input named one gene in the source"},"candidates":{"type":"array","items":{"type":"object","properties":{"ensembl_id":{"type":"string","description":"Ensembl gene ID of the search hit"},"symbol":{"type":"string","description":"Approved symbol of the search hit"},"name":{"type":["string","null"],"description":"Approved name of the search hit"}},"required":["ensembl_id","symbol","name"]},"description":"Search hits with a near name, only when matched is false after a symbol search"},"gene":{"type":["object","null"],"properties":{"ensembl_id":{"type":"string","description":"Ensembl gene ID"},"symbol":{"type":"string","description":"Approved gene symbol"},"name":{"type":["string","null"],"description":"Approved gene name"}},"required":["ensembl_id","symbol","name"],"description":"The matched gene, or null"},"total_associations":{"type":"integer","minimum":0,"description":"Number of diseases associated with the gene before limit"},"diseases":{"type":"array","items":{"type":"object","properties":{"disease_id":{"type":"string","description":"EFO or MONDO disease identifier"},"name":{"type":"string","description":"Disease name"},"score":{"type":"number","minimum":0,"maximum":1,"description":"Overall association score, 0 to 1: strength of evidence, not causation or clinical risk"},"evidence":{"type":"array","items":{"type":"object","properties":{"datatype":{"type":"string","description":"Evidence datatype: genetic_association, somatic_mutation, known_drug, affected_pathway, literature, rna_expression, animal_model or genetic_literature"},"score":{"type":"number","minimum":0,"maximum":1,"description":"Association score from this datatype alone, 0 to 1"}},"required":["datatype","score"]},"description":"Evidence scores by datatype, in source order"},"page_url":{"type":"string","format":"uri","description":"Open Targets evidence page for the gene and disease"}},"required":["disease_id","name","score","evidence","page_url"]},"description":"Associated diseases, highest overall score first"},"release":{"type":["string","null"],"description":"Open Targets Platform release as year.month (26.09); null when no association query ran"}},"required":["matched","gene","total_associations","diseases","release"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"gene_diseases","result":{"matched":true,"gene":{"ensembl_id":"ENSG00000012048","symbol":"BRCA1","name":"BRCA1 DNA repair associated"},"total_associations":1324,"diseases":[{"disease_id":"MONDO_0007254","name":"breast cancer","score":0.8436508158150241,"evidence":[{"datatype":"literature","score":0.9984727309333157},{"datatype":"genetic_association","score":0.9857814423386521},{"datatype":"genetic_literature","score":0.607930797611621}],"page_url":"https://platform.opentargets.org/evidence/ENSG00000012048/MONDO_0007254"},{"disease_id":"MONDO_0003582","name":"hereditary breast ovarian cancer syndrome","score":0.8278837838347972,"evidence":[{"datatype":"literature","score":0.40300598598830056},{"datatype":"animal_model","score":0.40179666241146067},{"datatype":"genetic_association","score":0.9179786150922271},{"datatype":"genetic_literature","score":0.8855819352769478}],"page_url":"https://platform.opentargets.org/evidence/ENSG00000012048/MONDO_0003582"}],"release":"26.09"},"evidence":{"source":"Open Targets Platform (EMBL-EBI and partners)","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupGeneExpressionResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["gene_expression"]},"result":{"type":"object","properties":{"matched":{"type":"boolean","description":"Whether exactly one reference gene matched"},"candidates":{"type":"array","items":{"type":"object","properties":{"gencode_id":{"type":"string","description":"Versioned GENCODE gene ID"},"symbol":{"type":"string","description":"Gene symbol"}},"required":["gencode_id","symbol"]},"description":"Reference rows, only when matched is false"},"gene":{"type":["object","null"],"properties":{"gencode_id":{"type":"string","description":"Versioned GENCODE gene ID"},"ensembl_id":{"type":"string","description":"Ensembl gene ID without version"},"symbol":{"type":"string","description":"Gene symbol"},"entrez_gene_id":{"type":["integer","null"],"description":"Entrez gene ID, when available"},"description":{"type":"string","description":"Gene description without the source annotation"},"chromosome":{"type":"string","description":"Chromosome of the gene"}},"required":["gencode_id","ensembl_id","symbol","entrez_gene_id","description","chromosome"],"description":"Matched gene, or null"},"dataset":{"type":"string","description":"GTEx dataset release"},"unit":{"type":"string","enum":["TPM"],"description":"Transcripts per million"},"tissues":{"type":"array","items":{"type":"object","properties":{"tissue":{"type":"string","description":"GTEx tissue site detail ID"},"ontology_id":{"type":["string","null"],"description":"Source ontology ID, usually UBERON; cultured cells may use EFO"},"median_tpm":{"type":"number","minimum":0,"description":"Median expression across donors in TPM"}},"required":["tissue","ontology_id","median_tpm"]},"description":"Normal tissues, highest median expression first"}},"required":["matched","gene","dataset","unit","tissues"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"gene_expression","result":{"matched":true,"gene":{"gencode_id":"ENSG00000141510.19","ensembl_id":"ENSG00000141510","symbol":"TP53","entrez_gene_id":7157,"description":"tumor protein p53","chromosome":"chr17"},"dataset":"gtex_v11","unit":"TPM","tissues":[{"tissue":"Cells_EBV-transformed_lymphocytes","ontology_id":"EFO:0000572","median_tpm":54.4686},{"tissue":"Skin_Sun_Exposed_Lower_leg","ontology_id":"UBERON:8480050","median_tpm":25.8191}]},"evidence":{"source":"Genotype-Tissue Expression (GTEx) project, US National Institutes of Health","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"LookupGenePublicationsResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["gene_publications"]},"result":{"type":"object","properties":{"gene_id":{"type":"string","description":"The NCBI Gene ID asked for"},"total":{"type":"integer","minimum":0,"description":"How many PubMed papers the source links to the gene, all of them, not only those returned"},"publications":{"type":"array","items":{"type":"object","properties":{"pmid":{"type":"string","description":"The PubMed id"},"title":{"type":["string","null"],"description":"The title"},"journal":{"type":["string","null"],"description":"The journal's abbreviated name; null for a book chapter"},"journal_full":{"type":["string","null"],"description":"The journal's full name"},"published":{"type":["string","null"],"description":"The publication date the source sorts by, as YYYY-MM-DD"},"published_text":{"type":["string","null"],"description":"The publication date as the source prints it, for example \"2026 Jun 13\" or \"2026 Dec\"; a book chapter's own date, not the book's first year"},"authors":{"type":"array","items":{"type":"string"},"description":"The first three author names, as the source abbreviates them; book editors listed on a chapter are not authors and are left out"},"author_count":{"type":"integer","minimum":0,"description":"How many authors the paper has"},"doi":{"type":["string","null"],"description":"The DOI; null when the source lists none"},"pmcid":{"type":["string","null"],"description":"The PubMed Central id; null when the paper is not in PubMed Central"},"publication_types":{"type":"array","items":{"type":"string"},"description":"The publication types, for example \"Journal Article\" or \"Review\""},"url":{"type":"string","description":"The paper's page on PubMed"}},"required":["pmid","title","journal","journal_full","published","published_text","authors","author_count","doi","pmcid","publication_types","url"]},"description":"The papers returned, highest PubMed id first"}},"required":["gene_id","total","publications"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"gene_publications","result":{"gene_id":"7157","total":20405,"publications":[{"pmid":"42288623","title":"TRIM17 downregulation modulates CRPC progression and enzalutamide resistance by derepressing BCL2 expression via the p53-dependent and p53-independent pathways.","journal":"Cell Death Differ","journal_full":"Cell death and differentiation","published":"2026-06-13","published_text":"2026 Jun 13","authors":["Shang Z","Lin G","Yu L"],"author_count":9,"doi":"10.1038/s41418-026-01778-7","pmcid":null,"publication_types":["Journal Article"],"url":"https://pubmed.ncbi.nlm.nih.gov/42288623/"},{"pmid":"42258614","title":"ATM-Related Cancer Predisposition.","journal":null,"journal_full":null,"published":"2026-06-04","published_text":"2026 Jun 4","authors":["Schon KR","Pal T","Stewart DR"],"author_count":5,"doi":null,"pmcid":null,"publication_types":["Review"],"url":"https://pubmed.ncbi.nlm.nih.gov/42258614/"},{"pmid":"41932313","title":"An interactome-based framework for DDB1- and CUL4-associated factor prioritization in targeted protein degradation.","journal":"Mol Cell","journal_full":"Molecular cell","published":"2026-04-02","published_text":"2026 Apr 2","authors":["Yamanaka S","Nagaoka K","Shoya Y"],"author_count":11,"doi":"10.1016/j.molcel.2026.03.004","pmcid":null,"publication_types":["Journal Article","Research Support, Non-U.S. Gov't"],"url":"https://pubmed.ncbi.nlm.nih.gov/41932313/"}]},"evidence":{"source":"US National Center for Biotechnology Information","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"ResolveVariantResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["variant_resolve"]},"result":{"type":"object","properties":{"variants":{"type":"array","items":{"type":"object","properties":{"vcv":{"type":"string","pattern":"^VCV\\d{9}$","description":"ClinVar variation accession"},"version":{"type":"string","description":"Versioned ClinVar accession"},"title":{"type":"string","description":"ClinVar preferred name"},"variant_type":{"type":"string"},"genes":{"type":"array","items":{"type":"object","properties":{"symbol":{"type":"string"},"gene_id":{"type":"string"}},"required":["symbol","gene_id"]}},"rsid":{"type":["string","null"],"description":"dbSNP identifier from the record's cross-reference"},"canonical_spdi":{"type":["string","null"]},"cdna_change":{"type":["string","null"]},"protein_change":{"type":["string","null"]},"other_names":{"type":"array","items":{"type":"string"},"description":"Other names ClinVar records, such as legacy nomenclature"},"location":{"type":"object","properties":{"grch38":{"type":["object","null"],"properties":{"chromosome":{"type":"string"},"band":{"type":["string","null"]},"start":{"type":["integer","null"]},"stop":{"type":["integer","null"]}},"required":["chromosome","band","start","stop"],"description":"Coordinates on GRCh38"},"grch37":{"type":["object","null"],"properties":{"chromosome":{"type":"string"},"band":{"type":["string","null"]},"start":{"type":["integer","null"]},"stop":{"type":["integer","null"]}},"required":["chromosome","band","start","stop"],"description":"Coordinates on GRCh37"}},"required":["grch38","grch37"]},"page_url":{"type":"string"}},"required":["vcv","version","title","variant_type","genes","rsid","canonical_spdi","cdna_change","protein_change","other_names","location","page_url"]},"description":"Up to five variations the identifier names, in search order"},"ambiguous":{"type":"boolean","description":"True when more than one variant is returned"}},"required":["variants","ambiguous"]},"evidence":{"$ref":"#/components/schemas/LookupEvidence"}},"required":["request_id","status","tool","result","evidence"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"variant_resolve","result":{"variants":[{"vcv":"VCV000017677","version":"VCV000017677.176","title":"NM_007294.4(BRCA1):c.5266dup (p.Gln1756fs)","variant_type":"Duplication","genes":[{"symbol":"BRCA1","gene_id":"672"}],"rsid":"rs80357906","canonical_spdi":"NC_000017.11:43057062:GGG:GGGG","cdna_change":"c.5266dup","protein_change":"Q1756fs, Q1777fs, Q652fs, Q1709fs","other_names":["5382_5383insC","p.Gln1756ProfsX74","NP_009225.1:p.Gln1756ProfsTer74","p.(Gln1756ProfsTer74)","5382insC","5384insC","5385insC","5383insC"],"location":{"grch38":{"chromosome":"17","band":"17q21.31","start":43057062,"stop":43057063},"grch37":{"chromosome":"17","band":"17q21.31","start":41209079,"stop":41209080}},"page_url":"https://www.ncbi.nlm.nih.gov/clinvar/variation/17677/"}],"ambiguous":false},"evidence":{"source":"US National Center for Biotechnology Information (ClinVar)","source_kind":"public","retrieved_at":"2026-10-12T09:30:00.000Z","calls":[{"retrieved_at":"2026-10-12T09:30:00.000Z"}],"as_of":null}}}},"WebSearchResponse":{"type":"object","properties":{"query":{"type":"string"},"results":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string"},"url":{"type":"string","format":"uri"},"snippet":{"type":"string"},"published_at":{"type":["string","null"],"description":"Publication date (YYYY-MM-DD) when known, otherwise null"},"source":{"type":"string"}},"required":["title","url"]}},"total":{"type":"integer"}},"required":["query","results"]},"WebReadResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"url":{"type":"string"},"markdown":{"type":"string","description":"Page markdown, capped at 50 Ki characters"},"screenshot_url":{"type":"string","description":"Screenshot URL. Private org artifacts return an authenticated reference: GET with the org session for download_url and expires_at, then GET download_url with the same session within five minutes."},"metadata":{"type":"object","properties":{"title":{"type":"string"},"description":{"type":"string"},"statusCode":{"type":["integer","null"]}},"required":["title","description","statusCode"]},"truncated":{"type":"boolean"},"hidden_removed":{"type":"integer","minimum":0,"description":"Removed hidden nodes, attributes and control-character runs"},"request_id":{"type":"string"},"receipt_id":{"type":["string","null"]},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["web_read"]}},"required":["url","markdown","screenshot_url","metadata","truncated","hidden_removed","request_id","status","tool"]}},"required":["success","data"]},"ChangesResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["changes"]},"attribute":{"type":"string","description":"The data tool asked about"},"key":{"type":"string","description":"The entity key; for a stored search, the hash of its normalized input"},"recorded_since":{"type":["string","null"],"description":"The day of our first observation (YYYY-MM-DD), or null when nothing is recorded"},"partial":{"type":"boolean","description":"True when the window is not fully covered: `since` is earlier than `recorded_since`, nothing is recorded, or a history gap touches it"},"changes":{"type":"array","items":{"type":"object","properties":{"changed_on":{"type":"string","description":"The day we first saw the later value (YYYY-MM-DD, UTC)"},"field":{"type":"string","description":"Path of the field, or $entity when the entity entered or left the source"},"before":{"description":"The earlier value"},"after":{"description":"The later value"},"source":{"type":"string"},"as_of":{"type":["string","null"],"description":"When the source said the later value was last updated"}},"required":["changed_on","field","source","as_of"]}},"truncated":{"type":"boolean","description":"True when more changes were recorded in the window than `limit`"},"history_gaps":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string"},"from":{"type":"string","description":"When the published version was last known current (ISO 8601)"},"to":{"type":"string","description":"The source time of the next release that was read (ISO 8601)"},"hours":{"type":"number"}},"required":["source","from","to","hours"]},"description":"Intervals of a source's history no release was read for that touch the window, oldest first: the current state was recovered, the changes in the interval were never recorded, and `partial` is true. Empty when none does"},"identity":{"type":"string","enum":["full_row_hash"],"description":"Monthly snapshot row key, never a person identity"},"matches":{"type":"array","items":{"type":"object","properties":{"row_hash":{"type":"string"},"value":{"type":"object","additionalProperties":{}}},"required":["row_hash","value"]}},"coverage":{"type":"array","items":{"type":"object","properties":{"run_id":{"type":"string"},"release":{"type":"string"},"version":{"type":"string"},"source_modified_at":{"type":"string"},"recorded_at":{"type":"string"},"row_count":{"type":"number"}},"required":["run_id","release","version","source_modified_at","recorded_at","row_count"]},"description":"Only actually held versions; no inferred earlier coverage"},"release":{"type":["object","null"],"additionalProperties":{}},"previous_release":{"type":["object","null"],"additionalProperties":{}},"next_row_hash":{"type":["string","null"]},"interpretation":{"type":"string"}},"required":["request_id","status","tool","attribute","key","recorded_since","partial","changes","truncated","history_gaps"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"changes","attribute":"vehicle_identification","key":"1HGCM82633A004352","recorded_since":"2026-03-02","partial":false,"changes":[{"changed_on":"2026-06-10","field":"make","before":"HONDA","after":"HONDA MOTOR","source":"US National Highway Traffic Safety Administration","as_of":null}],"truncated":false,"history_gaps":[]}}},"ChangesRequest":{"type":"object","properties":{"attribute":{"type":"string","minLength":1,"maxLength":100,"description":"The name of a data tool that keeps history, for example \"vehicle_identification\", or of a published dataset attribute, for example \"company_operating_authority\""},"key":{"type":"string","minLength":1,"maxLength":254,"description":"The entity key the data tool declares (a vehicle identification number in capitals). Give exactly one of key and input"},"input":{"type":"object","additionalProperties":{},"description":"The input a search was called with, for a stored search. It is matched by its hash and is not stored. Give exactly one of key and input"},"source":{"type":"string","minLength":1,"maxLength":200,"description":"The source to read when the attribute has several. The name is the one the tool returns as its source"},"since":{"type":"string","description":"Required except for healthcare_exclusions, where input.release selects the month"},"until":{"type":"string","description":"Last day of the window, YYYY-MM-DD. Default: today"},"limit":{"type":"integer","minimum":1,"maximum":200,"default":50,"description":"Most changes to return, oldest first (1-200, default 50)"}},"required":["attribute"],"example":{"attribute":"vehicle_identification","key":"1HGCM82633A004352","since":"2026-01-01"}},"BenchmarkResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["benchmark"]},"attribute":{"type":"string","description":"The data tool asked about"},"field":{"type":"string","description":"The numeric field compared"},"peers":{"type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"}]},"description":"The peer filters applied"},"source":{"type":["string","null"],"description":"The source read, when the request named one"},"count":{"type":"integer","description":"How many peers were compared; never fewer than 20"},"min":{"type":"number"},"p25":{"type":"number","description":"The first quartile"},"median":{"type":"number"},"p75":{"type":"number","description":"The third quartile"},"max":{"type":"number"},"as_of":{"type":"string","description":"When the newest peer fact was last seen (ISO 8601)"},"coverage":{"type":"string","description":"Which entities the source covers"},"population":{"type":"string","enum":["complete","partial","looked_up"],"description":"`complete`: the peers are the whole population of the source, published by a scheduled ingest whose coverage is validated and fresh and whose declared peer scope contains the requested `peers`. `partial`: the peers include ingested facts without validated, fresh coverage for the requested scope (an incomplete baseline such as a top-N snapshot, a stale, failing or disabled dataset, historical rows, an undeclared scope, or `peers` outside the declared scope), so the population may be incomplete. `looked_up`: the peers are only entities that have been looked up"},"population_detail":{"type":"object","properties":{"reason":{"type":"string","description":"Why the population is what it is"},"dataset":{"type":["string","null"],"description":"The dataset (ledger key) whose coverage record backs the peers, when one exists"},"state":{"type":["string","null"],"enum":["healthy","unpublished","disabled","stuck_lease","source_unreachable","publication_failed","delta_gap","check_overdue",null],"description":"The dataset's health state, when a coverage record exists"},"scope":{"type":["string","null"],"description":"The coverage scope the dataset declares"},"historical_start":{"type":["string","null"],"description":"When recording of this dataset started (ISO 8601); history before it is not implied"},"published_at":{"type":["string","null"],"description":"When the current version was published (ISO 8601)"},"source_version":{"type":["string","null"],"description":"The source's own date of the published version (ISO 8601), distinct from when it was observed"},"history_gaps":{"type":"array","items":{"type":"object","properties":{"from":{"type":"string","description":"When the published version was last known current (ISO 8601)"},"to":{"type":"string","description":"The next release read (ISO 8601)"},"hours":{"type":"number","description":"Hours between the two"},"run_id":{"type":["number","null"],"description":"The run that read the next release"}},"required":["from","to","hours","run_id"]},"description":"Intervals of the dataset's history no release was read for: the current state was recovered, the observations between `from` and `to` were never made. Empty when none"}},"required":["reason","dataset","state","scope","historical_start","published_at","source_version","history_gaps"],"description":"The coverage behind `population`"},"value":{"type":["number","null"],"description":"The value placed in the distribution: the one given, or the key's own. Null when neither was given"},"percentile":{"type":["number","null"],"description":"Where `value` sits among the peers, 0 to 100: the share below it plus half the share equal to it"}},"required":["request_id","status","tool","attribute","field","peers","source","count","min","p25","median","p75","max","as_of","coverage","population","population_detail","value","percentile"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"benchmark","attribute":"vehicle_complaints","field":"total","peers":{"model_year":2019},"source":null,"count":42,"min":0,"p25":6,"median":19,"p75":52.5,"max":311,"as_of":"2026-09-30T12:00:00.000Z","coverage":"Vehicles sold in the United States","population":"looked_up","population_detail":{"reason":"the peers are only entities that someone has looked up","dataset":null,"state":null,"scope":null,"historical_start":null,"published_at":null,"source_version":null,"history_gaps":[]},"value":37,"percentile":66.67}}},"BenchmarkRequest":{"type":"object","properties":{"attribute":{"type":"string","minLength":1,"maxLength":100,"description":"The name of a data tool whose facts can be benchmarked, for example \"vehicle_complaints\""},"field":{"type":"string","minLength":1,"maxLength":100,"description":"The numeric field to compare, one the data tool declares for Benchmark, for example \"total\""},"peers":{"type":"object","additionalProperties":{"anyOf":[{"type":"string","minLength":1,"maxLength":100},{"type":"number"}]},"default":{},"description":"Filters that define the peer set, each a field the data tool declares for grouping, for example {\"model_year\": 2019}. Without any, every entity recorded for the attribute is a peer"},"key":{"type":"string","minLength":1,"maxLength":200,"description":"The entity key of an entity inside the peer set, to place its value in the distribution. Give at most one of key and value"},"value":{"type":"number","description":"A value to place in the distribution. Give at most one of key and value"},"source":{"type":"string","minLength":1,"maxLength":200,"description":"The source to read when the attribute has several. The name is the one the tool returns as its source"}},"required":["attribute","field"],"example":{"attribute":"vehicle_complaints","field":"total","peers":{"model_year":2019},"key":"HONDA:CR-V:2019"}},"Watch":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"entity_type":{"type":"string"},"attribute":{"type":"string"},"key":{"type":"string","description":"The entity's key, the source's own identifier"},"max_spend":{"type":"number","description":"The spending cap in dollars"},"spent":{"type":"number","description":"Dollars charged so far"},"changes_delivered":{"type":"integer"},"status":{"type":"string","enum":["running","paused"]},"pause_reason":{"type":["string","null"],"enum":["cap","credits","agent",null],"description":"Why a paused watch is paused; null while it runs"},"webhook_url":{"type":["string","null"]},"price_per_change":{"type":"number","description":"Dollars charged for each change delivered"},"last_delivery_at":{"type":["string","null"]},"created_at":{"type":"string"},"updated_at":{"type":"string"}},"required":["id","entity_type","attribute","key","max_spend","spent","changes_delivered","status","pause_reason","webhook_url","price_per_change","last_delivery_at","created_at","updated_at"]},"WatchCreateRequest":{"type":"object","properties":{"entity_type":{"type":"string","minLength":1,"maxLength":50,"description":"The kind of entity, for example \"company\" or \"record\""},"attribute":{"type":"string","minLength":1,"maxLength":100,"description":"The attribute to watch, for example \"sanctions\". Only some can be watched; a refusal names them"},"key":{"type":"string","minLength":1,"maxLength":200,"description":"The entity's key, the source's own identifier, as Changes takes it"},"max_spend":{"type":"number","exclusiveMinimum":0,"maximum":100,"description":"Most to spend on this watch in dollars: at least the price of one change, at most 100"},"webhook_url":{"type":"string","minLength":1,"maxLength":2000,"description":"HTTPS URL to send each change to, signed with the secret returned once at creation"}},"required":["entity_type","attribute","key","max_spend"],"example":{"entity_type":"company","attribute":"sanctions","key":"12345","max_spend":1,"webhook_url":"https://example.com/hooks/oneshot"}},"WatchPatchRequest":{"type":"object","properties":{"max_spend":{"type":"number","exclusiveMinimum":0,"maximum":100,"description":"A new spending cap in dollars. Raising it resumes a watch paused at its cap"},"webhook_url":{"type":["string","null"],"minLength":1,"maxLength":2000,"description":"A new webhook URL, or null to stop sending. A new URL gets a new signing secret, returned once"},"paused":{"type":"boolean","description":"true pauses the watch, whatever its state; false resumes one the agent paused"}},"example":{"max_spend":5}},"CompanySanctionsResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["company_sanctions","person_sanctions"]},"total":{"type":"integer","description":"How many entries scored at or above `min_score`; `matches` holds at most `limit` of them"},"matches":{"type":"array","items":{"type":"object","properties":{"score":{"type":"number","description":"0.5 to 1. 1: the words of the query are the words of the entry's name or of one of its other names, in any order"},"matched_name":{"type":"string","description":"The name that scored: the entry's own name or one of its other names, as the list writes it"},"entry":{"$ref":"#/components/schemas/SanctionsEntry"}},"required":["score","matched_name","entry"]}},"lists":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"A list that was checked"},"as_of":{"type":"string","description":"The time of the file the list was loaded from (ISO 8601)"}},"required":["name","as_of"]},"description":"Every list checked, each with the time of the file it was loaded from"}},"required":["request_id","status","tool","total","matches","lists"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11","receipt_id":"rcpt_01HX0000000000000000000000","status":"completed","tool":"company_sanctions","total":1,"matches":[{"score":1,"matched_name":"BANCO NACIONAL DE CUBA","entry":{"number":"306","name":"BANCO NACIONAL DE CUBA","programs":["CUBA"],"title":null,"remarks":"a.k.a. 'BNC'.","other_names":[{"kind":"aka","name":"NATIONAL BANK OF CUBA"}],"addresses":[]}}],"lists":[{"name":"US Treasury list of Specially Designated Nationals","as_of":"2026-10-13T00:00:00.000Z"}]}}},"SanctionsEntry":{"type":"object","properties":{"number":{"type":"string","description":"The list's entry number"},"name":{"type":["string","null"],"description":"The entry name as the list publishes it; a person is written `SURNAME, Given names`"},"programs":{"type":"array","items":{"type":"string"},"description":"The sanctions programmes the entry is listed under"},"title":{"type":["string","null"]},"remarks":{"type":["string","null"],"description":"The list's remarks, which carry dates of birth, places, identity numbers and the like as the list publishes them"},"other_names":{"type":"array","items":{"type":"object","properties":{"kind":{"type":["string","null"],"description":"aka, fka or nka"},"name":{"type":"string"}},"required":["kind","name"]}},"addresses":{"type":"array","items":{"type":"object","properties":{"street":{"type":["string","null"]},"city":{"type":["string","null"]},"country":{"type":["string","null"]}},"required":["street","city","country"]}}},"required":["number","name","programs","title","remarks","other_names","addresses"]},"CompanySanctionsRequest":{"type":"object","properties":{"fresh":{"type":"boolean","description":"Refresh the source lists before screening instead of using the stored copy"},"name":{"type":"string","minLength":2,"maxLength":200,"description":"The name to check, free text: a company name or a person name in any word order"},"min_score":{"type":"number","minimum":0.5,"maximum":1,"default":0.85,"description":"The lowest score of a match to return, 0.5 to 1 (default 0.85). 1 is the same words in any order; lower scores are spelling variants, a missing or extra middle name, an initial"},"limit":{"type":"integer","minimum":1,"maximum":25,"default":10,"description":"The most matches to return, highest score first (1 to 25, default 10). `total` counts all matches at or above `min_score`"}},"required":["name"],"example":{"name":"Banco Nacional de Cuba"}},"PersonSanctionsResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["company_sanctions","person_sanctions"]},"total":{"type":"integer","description":"How many entries scored at or above `min_score`; `matches` holds at most `limit` of them"},"matches":{"type":"array","items":{"type":"object","properties":{"score":{"type":"number","description":"0.5 to 1. 1: the words of the query are the words of the entry's name or of one of its other names, in any order"},"matched_name":{"type":"string","description":"The name that scored: the entry's own name or one of its other names, as the list writes it"},"entry":{"$ref":"#/components/schemas/SanctionsEntry"}},"required":["score","matched_name","entry"]}},"lists":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"A list that was checked"},"as_of":{"type":"string","description":"The time of the file the list was loaded from (ISO 8601)"}},"required":["name","as_of"]},"description":"Every list checked, each with the time of the file it was loaded from"}},"required":["request_id","status","tool","total","matches","lists"]}},"required":["success","data"],"example":{"success":true,"data":{"request_id":"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a12","receipt_id":"rcpt_01HX0000000000000000000001","status":"completed","tool":"person_sanctions","total":1,"matches":[{"score":1,"matched_name":"PUTIN, Vladimir","entry":{"number":"35096","name":"PUTIN, Vladimir Vladimirovich","programs":["RUSSIA-EO14024"],"title":"President of the Russian Federation","remarks":"DOB 07 Oct 1952; Gender Male","other_names":[{"kind":"aka","name":"PUTIN, Vladimir"}],"addresses":[]}}],"lists":[{"name":"US Treasury list of Specially Designated Nationals","as_of":"2026-10-13T00:00:00.000Z"}]}}},"PersonSanctionsRequest":{"type":"object","properties":{"fresh":{"type":"boolean","description":"Refresh the source lists before screening instead of using the stored copy"},"name":{"type":"string","minLength":2,"maxLength":200,"description":"The name to check, free text: a company name or a person name in any word order"},"min_score":{"type":"number","minimum":0.5,"maximum":1,"default":0.85,"description":"The lowest score of a match to return, 0.5 to 1 (default 0.85). 1 is the same words in any order; lower scores are spelling variants, a missing or extra middle name, an initial"},"limit":{"type":"integer","minimum":1,"maximum":25,"default":10,"description":"The most matches to return, highest score first (1 to 25, default 10). `total` counts all matches at or above `min_score`"}},"required":["name"],"example":{"name":"Vladimir Putin"}},"BuildingPermitsResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"permits":{"type":"array","items":{"type":"object","properties":{"number":{"type":"string"},"address":{"type":"string"},"district":{"type":"string"},"permit_type":{"type":["string","null"]},"status":{"type":["string","null"]},"filed_date":{"type":["string","null"],"pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"issued_date":{"type":["string","null"],"pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"expiration_date":{"type":["string","null"],"pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"description":{"type":["string","null"]},"declared_value":{"type":["number","null"],"minimum":0},"contractors":{"type":"array","items":{"type":"string"}}},"required":["number","address","district","permit_type","status","filed_date","issued_date","expiration_date","description","declared_value","contractors"]}},"total":{"type":"integer","minimum":0},"limit":{"type":"integer"},"offset":{"type":"integer"},"source":{"type":"string"},"loaded_at":{"type":"string"},"coverage":{"type":"string"},"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["place_permits"]}},"required":["permits","total","limit","offset","source","loaded_at","coverage","request_id","status","tool"]}},"required":["success","data"]},"BuildingPermitsRequest":{"type":"object","properties":{"street_address":{"type":"string","minLength":1,"maxLength":200,"description":"Site street address, with number and source spelling, e.g. 7529 N CLARK ST; no unit or city"},"city":{"type":"string","minLength":1,"maxLength":200,"description":"Chicago or New York City; an NYC borough name is also accepted"},"state":{"type":"string","minLength":2,"maxLength":2,"description":"Two-letter US state code"},"borough":{"type":"string","minLength":1,"maxLength":200,"description":"NYC borough, required when city is New York City; omit for Chicago"},"issued_from":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"First issue date, inclusive, YYYY-MM-DD; undated permits are excluded"},"issued_to":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Last issue date, inclusive, YYYY-MM-DD; undated permits are excluded"},"permit_type":{"type":"string","minLength":1,"maxLength":200,"description":"Exact permit type from the source, case insensitive"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":50,"description":"Page size, 1-100, default 50"},"offset":{"type":"integer","minimum":0,"maximum":10000,"default":0,"description":"Results to skip, 0-10000, default 0; ordered by issue date then identifier"}},"required":["street_address","city","state"]},"InsiderTradesResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"issuer":{"type":["object","null"],"properties":{"cik":{"type":"string"},"name":{"type":["string","null"]},"ticker":{"type":["string","null"]}},"required":["cik","name","ticker"]},"transactions":{"type":"array","items":{"type":"object","properties":{"accession_number":{"type":"string"},"form":{"type":"string"},"filed_on":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"insiders":{"type":"array","items":{"type":"object","properties":{"name":{"type":["string","null"]},"cik":{"type":"string","pattern":"^[0-9]{10}$"},"relationships":{"type":"array","items":{"type":"string"}},"title":{"type":["string","null"]}},"required":["name","cik","relationships","title"]}},"derivative":{"type":"boolean"},"security_title":{"type":["string","null"]},"transaction_date":{"type":["string","null"],"pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"code":{"type":["string","null"]},"acquired_or_disposed":{"type":["string","null"]},"shares":{"type":["number","null"]},"price_per_share":{"type":["number","null"]},"shares_owned_after":{"type":["number","null"]},"direct_or_indirect":{"type":["string","null"]},"nature_of_ownership":{"type":["string","null"]},"exercise_price":{"type":["number","null"]},"exercise_date":{"type":["string","null"],"pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"expiration_date":{"type":["string","null"],"pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"underlying_security":{"type":["string","null"]},"underlying_shares":{"type":["number","null"]}},"required":["accession_number","form","filed_on","insiders","derivative","security_title","transaction_date","code","acquired_or_disposed","shares","price_per_share","shares_owned_after","direct_or_indirect","nature_of_ownership"]}},"total":{"type":"integer","minimum":0},"limit":{"type":"integer"},"offset":{"type":"integer"},"source":{"type":"string"},"as_of":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"retrieved_at":{"type":"string"},"coverage":{"type":"string"},"absence":{"type":["string","null"]},"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["company_insider_trades"]}},"required":["issuer","transactions","total","limit","offset","source","as_of","retrieved_at","coverage","absence","request_id","receipt_id","status","tool"]}},"required":["success","data"]},"InsiderTradesRequest":{"type":"object","properties":{"cik":{"type":"string","pattern":"^[0-9]{1,10}$","description":"Issuer CIK, one to ten digits; supply either cik or ticker"},"ticker":{"type":"string","minLength":1,"maxLength":32,"description":"Exact issuer ticker, case insensitive; supply either ticker or cik"},"filed_after":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"First filing date, inclusive, YYYY-MM-DD"},"filed_before":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Last filing date, inclusive, YYYY-MM-DD"},"code":{"type":"string","pattern":"^[A-Za-z]$","description":"Transaction code, such as P or S"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25,"description":"Page size, 1 to 100, default 25"},"offset":{"type":"integer","minimum":0,"maximum":10000,"default":0,"description":"Transactions to skip, 0 to 10000"}}},"PrivateRaisesResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"issuer":{"type":["object","null"],"properties":{"cik":{"type":"string"},"name":{"type":["string","null"]}},"required":["cik","name"]},"offerings":{"type":"array","items":{"type":"object","properties":{"accession_number":{"type":"string"},"form":{"type":"string","enum":["D","D/A"]},"filed_on":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"previous_accession_number":{"type":["string","null"]},"issuer_cik":{"type":"string","pattern":"^[0-9]{10}$"},"issuer_name":{"type":["string","null"]},"other_issuers":{"type":"array","items":{"type":"object","properties":{"cik":{"type":"string","pattern":"^[0-9]{10}$"},"name":{"type":["string","null"]}},"required":["cik","name"]}},"entity_type":{"type":["string","null"]},"entity_type_other":{"type":["string","null"]},"jurisdiction":{"type":["string","null"]},"year_of_incorporation":{"type":"object","properties":{"choice":{"type":["string","null"]},"value":{"type":["string","null"]}},"required":["choice","value"]},"issuer_city":{"type":["string","null"]},"issuer_state":{"type":["string","null"]},"first_sale_on":{"type":["string","null"],"pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"yet_to_occur":{"type":"boolean"},"industry_group":{"type":["string","null"]},"investment_fund_type":{"type":["string","null"]},"revenue_range":{"type":["string","null"]},"exemptions":{"type":"array","items":{"type":"string"}},"security_types":{"type":"array","items":{"type":"string"}},"security_type_other":{"type":["string","null"]},"minimum_investment":{"type":["number","null"]},"total_offering_amount":{"type":["number","null"]},"offering_amount_indefinite":{"type":"boolean"},"total_amount_sold":{"type":["number","null"]},"total_remaining":{"type":["number","null"]},"remaining_indefinite":{"type":"boolean"},"investors_count":{"type":["number","null"]},"has_non_accredited_investors":{"type":["boolean","null"]},"non_accredited_investors_count":{"type":["number","null"]},"sales_commissions":{"type":["number","null"]},"sales_commissions_estimated":{"type":"boolean"},"finders_fees":{"type":["number","null"]},"finders_fees_estimated":{"type":"boolean"},"related_persons":{"type":"array","items":{"type":"object","properties":{"name":{"type":["string","null"]},"relationships":{"type":"array","items":{"type":"string"}},"relationship_clarification":{"type":["string","null"]}},"required":["name","relationships","relationship_clarification"]}}},"required":["accession_number","form","filed_on","previous_accession_number","issuer_cik","issuer_name","other_issuers","entity_type","entity_type_other","jurisdiction","year_of_incorporation","issuer_city","issuer_state","first_sale_on","yet_to_occur","industry_group","investment_fund_type","revenue_range","exemptions","security_types","security_type_other","minimum_investment","total_offering_amount","offering_amount_indefinite","total_amount_sold","total_remaining","remaining_indefinite","investors_count","has_non_accredited_investors","non_accredited_investors_count","sales_commissions","sales_commissions_estimated","finders_fees","finders_fees_estimated","related_persons"]}},"total":{"type":"integer","minimum":0},"limit":{"type":"integer"},"offset":{"type":"integer"},"source":{"type":"string"},"as_of":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"retrieved_at":{"type":"string"},"coverage":{"type":"string"},"absence":{"type":["string","null"]},"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["completed"]},"tool":{"type":"string","enum":["company_private_raises"]}},"required":["issuer","offerings","total","limit","offset","source","as_of","retrieved_at","coverage","absence","request_id","receipt_id","status","tool"]}},"required":["success","data"]},"PrivateRaisesRequest":{"type":"object","properties":{"cik":{"type":"string","pattern":"^[0-9]{1,10}$","description":"Issuer CIK, one to ten digits"},"filed_after":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"First filing date, inclusive, YYYY-MM-DD"},"filed_before":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Last filing date, inclusive, YYYY-MM-DD"},"limit":{"type":"integer","minimum":1,"maximum":50,"default":20,"description":"Page size, 1 to 50, default 20"},"offset":{"type":"integer","minimum":0,"maximum":10000,"default":0,"description":"Notices to skip, 0 to 10000"}},"required":["cik"]},"BrowserProfile":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"created_at":{"type":"string","format":"date-time"},"last_used_at":{"type":"string","format":"date-time"}},"required":["id","name","created_at"]},"BrowserProfileListResponse":{"type":"object","properties":{"profiles":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"created_at":{"type":"string","format":"date-time"},"last_used_at":{"type":"string","format":"date-time"}},"required":["id","name","created_at"]}}},"required":["profiles"]},"LinkedInConnectIntentIssued":{"type":"object","properties":{"intent_id":{"type":"string","format":"uuid"},"type":{"type":"string","enum":["create","reconnect"]},"url":{"type":"string","format":"uri","description":"Hosted LinkedIn login link. Returned once, never stored. Open it in a top-level window (not an iframe)."},"expires_at":{"type":"string","format":"date-time"},"status":{"type":"string","enum":["pending"]},"requested_actions":{"type":"array","items":{"type":"string"}}},"required":["intent_id","type","url","expires_at","status","requested_actions"]},"LinkedInConnectIntent":{"type":"object","properties":{"intent_id":{"type":"string","format":"uuid"},"type":{"type":"string","enum":["create","reconnect"]},"status":{"type":"string","enum":["pending","verifying","completed","failed","expired","cancelled"]},"requested_actions":{"type":"array","items":{"type":"string"}},"expires_at":{"type":"string","format":"date-time"},"failure_reason":{"type":["string","null"]},"account":{"$ref":"#/components/schemas/LinkedInAccount"}},"required":["intent_id","type","status","requested_actions","expires_at","failure_reason","account"]},"LinkedInAccount":{"type":["object","null"],"properties":{"id":{"type":"string","format":"uuid"},"status":{"type":"string","enum":["connected","reconnect_required","error","revoked","connection_deleted"]},"display_name":{"type":["string","null"]},"member_urn":{"type":["string","null"]},"allowed_actions":{"type":"array","items":{"type":"string"}},"grant_version":{"type":"integer"},"connected_at":{"type":"string","format":"date-time"},"reconnected_at":{"type":["string","null"],"format":"date-time"},"last_status_at":{"type":["string","null"],"format":"date-time"},"revoked_at":{"type":["string","null"],"format":"date-time"},"reconnect_required":{"type":"boolean"},"idle_revoke_at":{"type":["string","null"],"format":"date-time","description":"When the account is auto-revoked if the agent makes no call for it first"},"revoked_reason":{"type":["string","null"],"description":"Why the grant ended: agent, idle, ops or connection_missing. Null while the account is active"},"sync":{"type":"object","properties":{"history_sync_status":{"type":"string","enum":["never","requested","running","done","error"]},"history_sync_completed_at":{"type":["string","null"],"format":"date-time"},"coverage_earliest_at":{"type":["string","null"],"format":"date-time"},"coverage_latest_at":{"type":["string","null"],"format":"date-time"},"last_full_sync_at":{"type":["string","null"],"format":"date-time"},"last_incremental_at":{"type":["string","null"],"format":"date-time"},"message_count":{"type":"integer"},"conversation_count":{"type":"integer"}},"required":["history_sync_status","history_sync_completed_at","coverage_earliest_at","coverage_latest_at","last_full_sync_at","last_incremental_at","message_count","conversation_count"]},"limits":{"type":"object","properties":{"invites":{"type":"object","properties":{"limit":{"type":"integer"},"used":{"type":"integer"},"pending":{"type":"integer"},"remaining":{"type":"integer"},"resets_at":{"type":"string","format":"date-time"}},"required":["limit","used","pending","remaining","resets_at"]}},"required":["invites"],"description":"Included on account detail reads"}},"required":["id","status","display_name","member_urn","allowed_actions","grant_version","connected_at","reconnected_at","last_status_at","revoked_at","reconnect_required","idle_revoke_at","revoked_reason","sync"]},"LinkedInCoverage":{"type":"object","properties":{"history_sync_status":{"type":"string","enum":["never","requested","running","done","error"],"description":"History import state"},"history_sync_completed_at":{"type":["string","null"],"format":"date-time"},"enumerated_as_of":{"type":["string","null"],"format":"date-time","description":"Start time of the latest full run that reached the end"},"enumerated_back_to":{"type":["string","null"],"format":"date-time","description":"Oldest message timestamp stored"},"latest_message_at":{"type":["string","null"],"format":"date-time"},"pending_cursor":{"type":"boolean","description":"A paid run is paused; call POST /sync again to continue it"},"message_count":{"type":"integer"},"conversation_count":{"type":"integer"},"last_incremental_at":{"type":["string","null"],"format":"date-time"},"complete":{"type":"boolean","description":"True when the full history has been imported: `history_sync_status` is `done`, a full run started after that and reached the end, and no paused run remains"}},"required":["history_sync_status","history_sync_completed_at","enumerated_as_of","enumerated_back_to","latest_message_at","pending_cursor","message_count","conversation_count","last_incremental_at","complete"]},"LinkedInSyncRun":{"type":["object","null"],"properties":{"run_id":{"type":"string","format":"uuid"},"kind":{"type":"string","enum":["initial","continue","incremental","refresh","history","conversations"]},"trigger":{"type":"string","enum":["paid","scheduled","event","automatic"]},"status":{"type":"string","enum":["queued","running","succeeded","failed","paused","superseded"]},"continuation_of":{"type":["string","null"],"format":"uuid"},"has_next_cursor":{"type":"boolean"},"max_pages":{"type":"integer"},"pages":{"type":"integer"},"requests":{"type":"integer"},"rate_limited":{"type":"integer"},"messages_seen":{"type":"integer"},"messages_inserted":{"type":"integer"},"messages_updated":{"type":"integer"},"conversations_inserted":{"type":"integer"},"earliest_seen_at":{"type":["string","null"],"format":"date-time"},"latest_seen_at":{"type":["string","null"],"format":"date-time"},"history_sync_status":{"type":["string","null"]},"duration_ms":{"type":["integer","null"]},"error_code":{"type":["string","null"]},"request_id":{"type":["string","null"],"format":"uuid"},"receipt_id":{"type":["string","null"]},"created_at":{"type":"string","format":"date-time"},"started_at":{"type":["string","null"],"format":"date-time"},"finished_at":{"type":["string","null"],"format":"date-time"}},"required":["run_id","kind","trigger","status","continuation_of","has_next_cursor","max_pages","pages","requests","rate_limited","messages_seen","messages_inserted","messages_updated","conversations_inserted","earliest_seen_at","latest_seen_at","history_sync_status","duration_ms","error_code","request_id","receipt_id","created_at","started_at","finished_at"]},"LinkedInConversation":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"external_chat_id":{"type":"string"},"name":{"type":["string","null"]},"subject":{"type":["string","null"]},"type":{"type":["integer","null"]},"attendees":{"type":"array","items":{"type":"object","properties":{"external_id":{"type":["string","null"]},"name":{"type":["string","null"]},"is_self":{"type":"boolean"},"profile_url":{"type":["string","null"]},"headline":{"type":["string","null"]},"occupation":{"type":["string","null"]},"location":{"type":["string","null"]},"network_distance":{"type":["string","null"]}},"required":["external_id","name","is_self","profile_url","headline","occupation","location","network_distance"]}},"unread_count":{"type":"integer"},"archived":{"type":"boolean"},"read_only":{"type":"integer"},"muted_until":{"type":["string","null"],"format":"date-time"},"last_message_at":{"type":"string","format":"date-time"},"attendees_synced":{"type":"boolean"},"updated_at":{"type":"string","format":"date-time"}},"required":["id","external_chat_id","name","subject","type","attendees","unread_count","archived","read_only","muted_until","last_message_at","attendees_synced","updated_at"]},"LinkedInMessage":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"conversation_id":{"type":"string","format":"uuid"},"external_message_id":{"type":"string"},"direction":{"type":"string","enum":["inbound","outbound"]},"sender_external_id":{"type":["string","null"]},"sender_name":{"type":["string","null"]},"text":{"type":["string","null"]},"sent_at":{"type":"string","format":"date-time"},"seen":{"type":"boolean"},"edited":{"type":"boolean"},"deleted":{"type":"boolean"},"attachments":{"type":"array","items":{"type":"object","properties":{"id":{"type":["string","null"]},"type":{"type":["string","null"]},"mimetype":{"type":["string","null"]},"size":{"type":["number","null"]},"file_name":{"type":["string","null"]}},"required":["id","type","mimetype","size","file_name"]},"description":"Metadata only. Attachments cannot be downloaded."},"source":{"type":"string","enum":["sync","webhook","send"]},"ingested_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}},"required":["id","conversation_id","external_message_id","direction","sender_external_id","sender_name","text","sent_at","seen","edited","deleted","attachments","source","ingested_at","updated_at"]},"LinkedInReplyAccepted":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":["string","null"]},"status":{"type":"string","enum":["processing"]},"tool":{"type":"string","enum":["linkedin"]},"linkedin":{"type":"object","properties":{"action_request_id":{"type":"string","format":"uuid"},"action":{"type":"string","enum":["reply"]},"account_id":{"type":"string","format":"uuid"},"conversation_id":{"type":"string","format":"uuid"},"scheduled_for":{"type":["string","null"],"format":"date-time","description":"Earliest send time when the send was spaced out; null means no delay was scheduled"},"headroom":{"type":"object","properties":{"limit":{"type":"integer"},"used":{"type":"integer"},"pending":{"type":"integer"},"resets_at":{"type":"string","format":"date-time"}},"required":["limit","used","pending","resets_at"]}},"required":["action_request_id","action","account_id","conversation_id","scheduled_for","headroom"]}},"required":["request_id","receipt_id","status","tool","linkedin"]},"LinkedInMessageAccepted":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":["string","null"]},"status":{"type":"string","enum":["processing"]},"tool":{"type":"string","enum":["linkedin"]},"linkedin":{"type":"object","properties":{"action_request_id":{"type":"string","format":"uuid"},"action":{"type":"string","enum":["message"]},"account_id":{"type":"string","format":"uuid"},"scheduled_for":{"type":["string","null"],"format":"date-time","description":"Earliest send time when the send was spaced out; null means no delay was scheduled"},"headroom":{"type":"object","properties":{"limit":{"type":"integer"},"used":{"type":"integer"},"pending":{"type":"integer"},"resets_at":{"type":"string","format":"date-time"}},"required":["limit","used","pending","resets_at"]}},"required":["action_request_id","action","account_id","scheduled_for","headroom"]}},"required":["request_id","receipt_id","status","tool","linkedin"]},"LinkedInInvitation":{"type":"object","properties":{"invitation_id":{"type":"string","format":"uuid"},"account_id":{"type":"string","format":"uuid"},"status":{"type":"string","enum":["pending","accepted","withdrawn","declined_or_unknown","not_sent"]},"profile":{"type":["string","null"],"description":"The identifier the invitation was sent to"},"sent_at":{"type":["string","null"],"format":"date-time"},"accepted_at":{"type":["string","null"],"format":"date-time","description":"When the recipient became a connection. Null for `accepted` only when they were already connected"},"updated_at":{"type":"string","format":"date-time"}},"required":["invitation_id","account_id","status","profile","sent_at","accepted_at","updated_at"]},"LinkedInEngagementAccepted":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":["string","null"]},"status":{"type":"string","enum":["processing"]},"tool":{"type":"string","enum":["linkedin"]},"linkedin":{"type":"object","properties":{"action_request_id":{"type":"string","format":"uuid"},"action":{"type":"string","enum":["view_profile","react"]},"account_id":{"type":"string","format":"uuid"},"scheduled_for":{"type":["string","null"],"format":"date-time"},"headroom":{"type":"object","properties":{"limit":{"type":"integer"},"used":{"type":"integer"},"pending":{"type":"integer"},"resets_at":{"type":"string","format":"date-time"}},"required":["limit","used","pending","resets_at"]}},"required":["action_request_id","action","account_id","scheduled_for","headroom"]}},"required":["request_id","receipt_id","status","tool","linkedin"]},"LinkedInInvitationAccepted":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":["string","null"]},"status":{"type":"string","enum":["processing"]},"tool":{"type":"string","enum":["linkedin"]},"linkedin":{"type":"object","properties":{"action_request_id":{"type":"string","format":"uuid"},"action":{"type":"string","enum":["invite","withdraw_invite"]},"account_id":{"type":"string","format":"uuid"},"invitation_id":{"type":"string","format":"uuid"}},"required":["action_request_id","action","account_id","invitation_id"]}},"required":["request_id","receipt_id","status","tool","linkedin"]},"LedgerRecordPageResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"allOf":[{"type":"object","properties":{"records":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"number":{"type":["string","null"]},"counterparty":{"type":"object","properties":{"name":{"type":["string","null"]},"id":{"type":["string","null"]}},"required":["name","id"]},"issued_on":{"type":["string","null"]},"due_on":{"type":["string","null"]},"status":{"type":"string","enum":["open","paid","overdue","void","draft"]},"currency":{"type":["string","null"]},"total":{"type":["number","null"]},"balance":{"type":["number","null"]},"source":{"type":"object","properties":{"system":{"type":"string","description":"The catalogue id of the connected system (`quickbooks`, `zoho_books`, `xero`, `netsuite`)."},"id":{"type":"string","description":"The system's own id of the record."}},"required":["system","id"]}},"required":["id","number","counterparty","issued_on","due_on","status","currency","total","balance","source"]}},"next_cursor":{"type":"string","description":"Present when more records exist; send it back as `cursor`."}},"required":["records"]},{"type":"object","properties":{"receipt_id":{"type":"string","description":"The receipt of this read; it holds the tool, the system, the connection id and the record count, nothing fetched."}}}]}},"required":["success","data"]},"LedgerReportResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"allOf":[{"type":"object","properties":{"type":{"type":"string","enum":["balance_sheet","profit_and_loss","trial_balance"]},"period":{"type":"object","properties":{"as_of":{"type":["string","null"]},"from":{"type":["string","null"]},"to":{"type":["string","null"]}}},"currency":{"type":["string","null"]},"rows":{"type":"array","items":{"type":"object","properties":{"account":{"type":"string"},"account_id":{"type":["string","null"]},"amount":{"type":"number"}},"required":["account","account_id","amount"]}},"next_cursor":{"type":"string","description":"Present when more rows exist; send it back as `cursor`."},"source":{"type":"object","properties":{"system":{"type":"string","description":"The catalogue id of the connected system (`quickbooks`, `zoho_books`, `xero`, `netsuite`)."},"id":{"type":"string","description":"The system's own id of the record."}},"required":["system","id"]}},"required":["type","period","currency","rows","source"]},{"type":"object","properties":{"receipt_id":{"type":"string","description":"The receipt of this read; it holds the tool, the system, the connection id and the record count, nothing fetched."}}}]}},"required":["success","data"]},"LedgerBankTransactionPageResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"allOf":[{"type":"object","properties":{"records":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"date":{"type":["string","null"]},"bank_account":{"type":"object","properties":{"id":{"type":["string","null"]},"name":{"type":["string","null"]}},"required":["id","name"]},"counterparty":{"type":"object","properties":{"name":{"type":["string","null"]},"id":{"type":["string","null"]}},"required":["name","id"]},"description":{"type":["string","null"]},"reference":{"type":["string","null"]},"amount":{"type":["number","null"]},"currency":{"type":["string","null"]},"direction":{"type":"string","enum":["in","out"],"description":"`in`: money received into the bank account; `out`: money paid from it."},"reconciled":{"type":["boolean","null"],"description":"Whether the line is matched off against the bank statement; null when the system does not say."},"has_attachment":{"type":["boolean","null"],"description":"Whether a receipt or document is attached; null when the system does not say."},"source":{"type":"object","properties":{"system":{"type":"string","description":"The catalogue id of the connected system (`quickbooks`, `zoho_books`, `xero`, `netsuite`)."},"id":{"type":"string","description":"The system's own id of the record."}},"required":["system","id"]}},"required":["id","date","bank_account","counterparty","description","reference","amount","currency","direction","reconciled","has_attachment","source"]}},"bank_accounts":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":["string","null"]},"currency":{"type":["string","null"]}},"required":["id","name","currency"]},"description":"The bank accounts the lines of this page are on; send one id back as `bank_account_id` to narrow the next read."},"next_cursor":{"type":"string","description":"Present when more lines may exist; send it back as `cursor`. A page may hold fewer than `limit` lines."}},"required":["records","bank_accounts"]},{"type":"object","properties":{"receipt_id":{"type":"string","description":"The receipt of this read; it holds the tool, the system, the connection id and the record count, nothing fetched."}}}]}},"required":["success","data"]},"LedgerInvoiceLinePageResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"allOf":[{"type":"object","properties":{"records":{"type":"array","items":{"type":"object","properties":{"invoice":{"type":"object","properties":{"id":{"type":"string"},"number":{"type":["string","null"]}},"required":["id","number"]},"issued_on":{"type":["string","null"]},"counterparty":{"type":"object","properties":{"id":{"type":["string","null"]},"name":{"type":["string","null"]}},"required":["id","name"]},"item":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":["string","null"]}},"required":["id","name"]},"quantity":{"type":["number","null"]},"amount":{"type":["number","null"]},"currency":{"type":["string","null"]},"source":{"type":"object","properties":{"system":{"type":"string","description":"The catalogue id of the connected system (`quickbooks`, `zoho_books`, `xero`, `netsuite`)."},"id":{"type":"string","description":"The system's own id of the record."}},"required":["system","id"]}},"required":["invoice","issued_on","counterparty","item","quantity","amount","currency","source"]}},"next_cursor":{"type":"string","description":"Present when more lines exist; keep the same limit when paging."}},"required":["records"]},{"type":"object","properties":{"receipt_id":{"type":"string","description":"The receipt of this read; it holds the tool, the system, the connection id and the record count, nothing fetched."}}}]}},"required":["success","data"]},"BalanceResponse":{"type":"object","properties":{"on_chain_balance":{"type":"string","description":"USDC balance on the agent's wallet (formatted decimal string)"},"credits_balance":{"type":"string","description":"Off-chain credits balance held by OneShot for this agent"},"currency":{"type":"string","enum":["USDC"]},"address":{"type":"string","description":"Agent wallet address"},"chain_id":{"type":"integer","description":"EVM chain id (8453=Base mainnet, 84532=Base Sepolia)"}},"required":["on_chain_balance","credits_balance","currency","address","chain_id"]},"NotificationListResponse":{"type":"object","properties":{"notifications":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string"},"title":{"type":"string"},"body":{"type":"string"},"read":{"type":"boolean"},"created_at":{"type":"string","format":"date-time"},"payload":{"type":"object","additionalProperties":{}}},"required":["id","type","title","read","created_at"]}},"count":{"type":"integer"}},"required":["notifications","count"]},"AgentBudgetStatusResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"daily_usdc":{"type":["number","null"],"description":"Daily cap in USDC; null = unlimited"},"per_transaction_usdc":{"type":["number","null"],"description":"Per-call cap in USDC; null = unlimited"},"alert_at":{"type":["number","null"]},"pause_at":{"type":["number","null"]},"spent_today_usdc":{"type":"string","description":"Spend so far this UTC day. Wallet sessions: gross receipts net of credits (failed excluded). Access-token sessions: credit-funded spend counts, since credits are what they pay with."},"remaining_usdc":{"type":["string","null"],"description":"daily × pause_at − spent; null when no daily cap"},"pct_used":{"type":["number","null"],"description":"spent / daily; null when no daily cap"},"resets_at":{"type":"string","description":"ISO timestamp of the next UTC midnight"}},"required":["daily_usdc","per_transaction_usdc","alert_at","pause_at","spent_today_usdc","remaining_usdc","pct_used","resets_at"]}},"required":["success","data"]},"AgentBudgetUpdateResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"daily_usdc":{"type":["number","null"]},"per_transaction_usdc":{"type":["number","null"]},"alert_at":{"type":["number","null"]},"pause_at":{"type":["number","null"]}},"required":["daily_usdc","per_transaction_usdc","alert_at","pause_at"]}},"required":["success","data"]},"AgentBudgetUpdateRequest":{"type":"object","properties":{"daily":{"type":["number","null"],"exclusiveMinimum":0,"description":"Max USDC per UTC day. Omit to keep the stored value; null to clear."},"per_transaction":{"type":["number","null"],"exclusiveMinimum":0,"description":"Max USDC for any single call. Omit to keep; null to clear."},"alert_at":{"type":["number","null"],"exclusiveMinimum":0,"maximum":1,"description":"Fraction of daily that fires a budget_warning notification (default 0.8). null resets to the default."},"pause_at":{"type":["number","null"],"exclusiveMinimum":0,"maximum":1,"description":"Fraction of daily at which paid calls are rejected (default 1.0). null resets to the default."},"alert_email":{"type":["string","null"],"format":"email","description":"Where budget alert emails are sent, in addition to in-app notifications. null to clear."}}},"Approval":{"type":"object","properties":{"approval_id":{"type":"string","example":"appr_01J..."},"source":{"type":"string","enum":["policy","api","compute"]},"tool":{"type":["string","null"],"enum":["email","sms","voice","commerce","physical_mail","crm_notes_create","linkedin_invite","linkedin_invite_withdraw","linkedin_react","linkedin_reply","linkedin_message","build","browser","identity",null]},"status":{"type":"string","enum":["pending","approved","denied","expired","cancelled","consumed"]},"action_summary":{"type":"string"},"preview":{"type":["object","null"],"additionalProperties":{}},"policy_rule":{"type":["string","null"]},"approver":{"type":"object","properties":{"channel":{"type":"string","enum":["email","sms"]},"address":{"type":"string","description":"Masked"}},"required":["channel","address"]},"expires_at":{"type":"string"},"use_by":{"type":["string","null"],"description":"After approval: the held call must be retried before this time."},"decided_at":{"type":["string","null"]},"decided_via":{"type":["string","null"],"enum":["link","api","org","timeout",null]},"decision_note":{"type":["string","null"]},"decision_receipt_id":{"type":["string","null"],"description":"Signed $0 receipt recording the decision."},"consumed_at":{"type":["string","null"]},"notified":{"type":"boolean"},"notify_error":{"type":["string","null"]},"compute":{"type":["object","null"],"properties":{"goal_id":{"type":"string"},"task_id":{"type":"string"}},"required":["goal_id","task_id"]},"created_at":{"type":"string"}},"required":["approval_id","source","tool","status","action_summary","preview","policy_rule","approver","expires_at","use_by","decided_at","decided_via","decision_note","decision_receipt_id","consumed_at","notified","notify_error","compute","created_at"]},"CreateApprovalRequest":{"type":"object","properties":{"action_summary":{"type":"string","minLength":1,"maxLength":2000},"approver":{"type":"object","properties":{"email":{"type":"string","format":"email"},"phone":{"type":"string","description":"E.164"}}},"preview":{"type":"object","additionalProperties":{}},"expires_in_seconds":{"type":"integer","minimum":60,"maximum":604800,"description":"Default 3600. Unanswered at expiry = denied."}},"required":["action_summary","approver"]},"ActionPolicy":{"type":["object","null"],"properties":{"enabled":{"type":"boolean"},"rules":{"type":"array","items":{"$ref":"#/components/schemas/ActionPolicyRule"},"maxItems":25},"approver":{"type":"object","properties":{"email":{"type":["string","null"]},"phone":{"type":["string","null"]}},"required":["email","phone"]},"timeout_seconds":{"type":"integer"}},"required":["enabled","rules","approver","timeout_seconds"]},"ActionPolicyRule":{"type":"object","properties":{"id":{"type":"string"},"tool":{"type":"string","enum":["email","sms","voice","commerce","physical_mail","crm_notes_create","linkedin_invite","linkedin_invite_withdraw","linkedin_react","linkedin_reply","linkedin_message","build","browser","identity","*"]},"when":{"type":"object","properties":{"always":{"type":"boolean","enum":[true]},"amount_over_usdc":{"type":"number"},"recipients_over":{"type":"integer"},"recipient_domain_not_in":{"type":"array","items":{"type":"string"},"description":"Email only."},"outside_hours":{"type":"object","properties":{"timezone":{"type":"string"},"start":{"type":"string"},"end":{"type":"string"},"days":{"type":"array","items":{"type":"integer"}}},"required":["timezone","start","end"]}}},"action":{"type":"string","enum":["require_approval","deny"]}},"required":["tool","when","action"]},"Connection":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string","example":"acme-github"},"kind":{"type":"string","enum":["github","app"]},"system":{"type":["string","null"],"description":"Business system id; null for GitHub."},"account_label":{"type":["string","null"],"description":"Company, organization or instance name, when available."},"credential":{"type":"string","enum":["stored"],"description":"Present only when an encrypted customer-entered credential exists. No secret or encryption metadata is returned."},"status":{"type":"string","enum":["pending","active","expired","revoked"]},"scope":{"type":"object","properties":{"repositories":{"type":"array","items":{"type":"string"},"example":["acme/billing"]},"accountId":{"type":"string","description":"Customer account identifier"},"region":{"type":"string","description":"The data center named at start, for a system that runs several (Zoho Books: the ending of the account address, such as com or eu)"},"oauthScopes":{"type":"array","items":{"type":"string"},"description":"Granted account OAuth scopes, when known"}},"required":["repositories"]},"created_at":{"type":"string"},"activated_at":{"type":["string","null"]},"revoked_at":{"type":["string","null"]}},"required":["id","name","kind","system","account_label","status","scope","created_at","activated_at","revoked_at"]},"StartConnectionRequest":{"oneOf":[{"type":"object","properties":{"name":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$"},"kind":{"type":"string","enum":["github"]}},"required":["name","kind"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$"},"kind":{"type":"string","enum":["app"]},"system":{"type":"string","enum":["gmail","googledrive","outlook","one_drive","quickbooks","zoho_books","xero","ramp","netsuite","coupa","salesforce","hubspot","shippo","taxjar","shipengine","granola","fireflies"]},"client":{"type":"object","properties":{"account_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9_-]{0,127}$","description":"NetSuite account ID or Coupa instance identifier (acme for acme.coupahost.com)."},"client_id":{"type":"string","minLength":8,"maxLength":512},"client_secret":{"type":"string","minLength":8,"maxLength":4096}},"required":["account_id","client_id","client_secret"],"additionalProperties":false,"description":"Required on NetSuite and Coupa starts only. Stored encrypted, used only for this connection, never returned, deleted on revoke."},"api_key":{"type":"string","minLength":8,"maxLength":512,"description":"Only for a system that authorizes with a key (taxjar, shipengine, fireflies), where it is required. Stored encrypted, used only to connect this account, never returned, deleted on revoke. Refused for any other system."},"region":{"type":"string","description":"Required for a system that runs separate data centers, refused for every other. zoho_books: the ending of the account address, one of com, eu, in, com.au, jp, ca, sa, com.cn. The sign-in happens at that data center and a reconnect reuses it."}},"required":["name","kind","system"],"additionalProperties":false}],"description":"NetSuite and Coupa require client. Zoho Books requires region. A key is accepted only for a system that authorizes with one; for every other system keys, passwords and tokens are refused, as are extra fields. Several connections to a system are allowed with different names."},"ReconnectConnectionRequest":{"type":"object","properties":{"client":{"type":"object","properties":{"account_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9_-]{0,127}$","description":"NetSuite account ID or Coupa instance identifier (acme for acme.coupahost.com)."},"client_id":{"type":"string","minLength":8,"maxLength":512},"client_secret":{"type":"string","minLength":8,"maxLength":4096}},"required":["account_id","client_id","client_secret"],"additionalProperties":false,"description":"New NetSuite or Coupa client; replaces the stored client. Omit to reconnect from the stored client."},"api_key":{"type":"string","minLength":8,"maxLength":512,"description":"A new key for a connection on a system that authorizes with one. It replaces the stored key. Refused for any other system."},"region":{"type":"string","description":"Only for a system that runs separate data centers (zoho_books: the ending of the account address, one of com, eu, in, com.au, jp, ca, sa, com.cn); refused for every other, and refused unless listed. Replaces the stored region. Required for a connection made before OneShot recorded the region: without it the reconnect answers 400 region_required and nothing changes."}},"additionalProperties":false},"AccessTokenCreatedResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"expires_at":{"type":["string","null"]},"created_by":{"type":["string","null"]},"id":{"type":"string","format":"uuid"},"token":{"type":"string","description":"The plaintext token (oneshot_<64 hex>). Shown once; only its hash is stored."},"token_prefix":{"type":"string","description":"First 16 characters, for matching against the list"},"name":{"type":["string","null"]},"created_at":{"type":"string"}},"required":["expires_at","created_by","id","token","token_prefix","name","created_at"]}},"required":["success","data"]},"AccessTokenCreateRequest":{"type":"object","properties":{"expires_in_days":{"type":"integer","minimum":1,"description":"Lifetime in days. Defaults to 90 without an organization cap. Required within the cap for organization agents; OAuth bridges are exempt."},"name":{"type":["string","null"],"maxLength":100,"description":"Optional label shown in the token list, e.g. \"grok-bot\""}}},"AccessTokenListResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"tokens":{"type":"array","items":{"type":"object","properties":{"expires_at":{"type":["string","null"]},"created_by":{"type":["string","null"]},"id":{"type":"string","format":"uuid"},"token_prefix":{"type":"string"},"name":{"type":["string","null"]},"source":{"type":"string","enum":["wallet","internal"],"description":"wallet = minted by a signed request; internal = minted by OneShot"},"last_used_at":{"type":["string","null"]},"created_at":{"type":"string"},"revoked_at":{"type":["string","null"]},"spent_today_usdc":{"type":"string","description":"Credit-funded spend attributed to this token in the current UTC day"}},"required":["expires_at","created_by","id","token_prefix","name","source","last_used_at","created_at","revoked_at","spent_today_usdc"]}}},"required":["tokens"]}},"required":["success","data"]},"AccessTokenRevokeResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"revoked_at":{"type":"string"}},"required":["id","revoked_at"]}},"required":["success","data"]},"AgentMeResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"agent_id":{"type":"string","format":"uuid"},"wallet_address":{"type":"string"},"auth_mode":{"type":"string","enum":["wallet","access_token"]}},"required":["agent_id","wallet_address","auth_mode"]}},"required":["success","data"]},"CreditsTopUpResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"topped_up":{"type":"string","description":"USDC credited, 6 decimals."},"credits_balance":{"type":"string","description":"Credit balance after the top-up."},"transaction_id":{"type":"string","description":"Id of the credit transaction created by this top-up."},"settlement_tx":{"type":"string","description":"On-chain settlement transaction hash; also the idempotency key."},"already_credited":{"type":"boolean","description":"true when this settlement had already been credited (idempotent replay)."}},"required":["topped_up","credits_balance","transaction_id","settlement_tx","already_credited"]}},"required":["success","data"]},"CreditsTopUpPaymentRequired":{"type":"object","properties":{"error":{"type":"string","enum":["payment_required","payment_verification_failed"]},"code":{"type":"number","enum":[402]},"message":{"type":"string"},"payment_request":{"type":"object","properties":{"chain_id":{"type":"number"},"token_address":{"type":"string"},"amount":{"type":"string"},"recipient":{"type":"string"}},"required":["chain_id","token_address","amount","recipient"]},"context":{"type":"object","properties":{"tool":{"type":"string","enum":["credits_top_up"]},"top_up_usd":{"type":"string"},"credits_balance":{"type":"string"}},"required":["tool","top_up_usd","credits_balance"]}},"required":["error","code","message"]},"CreditsTopUpRequest":{"type":"object","properties":{"amount":{"anyOf":[{"type":"number"},{"type":"string"}],"description":"USDC to add to the credit balance, 0.01–1000. This IS the price: the same amount is paid via x402 and credited."},"memo":{"type":"string","maxLength":1000,"description":"Optional note saved with the top-up."}},"required":["amount"]},"CreditsCheckoutResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"session_id":{"type":"string","description":"Stripe Checkout Session id."},"url":{"type":"string","description":"Stripe-hosted Checkout URL to redirect the buyer to."}},"required":["session_id","url"]}},"required":["success","data"]},"CreditsCheckoutRequest":{"type":"object","properties":{"amount":{"anyOf":[{"type":"number"},{"type":"string"}],"description":"USD to add to the credit balance, 0.01–1000 (same bounds as the x402 top-up)."}},"required":["amount"]},"InboxEmailListResponse":{"type":"object","properties":{"hidden_removed":{"type":"integer","minimum":0,"description":"Sum of removed segments across returned messages"},"emails":{"type":"array","items":{"type":"object","properties":{"hidden_removed":{"type":"integer","minimum":0,"description":"Removed hidden segments in this returned message"},"untrusted_content":{"type":"boolean","enum":[true]},"authenticated":{"type":"boolean","description":"Whether provider verification establishes From-domain alignment; false for failed or missing results"},"id":{"type":"string"},"from":{"type":"string"},"subject":{"type":"string"},"received_at":{"type":["string","null"]},"thread_id":{"type":["string","null"]},"body":{"type":["string","null"],"description":"Readable body derived from filtered HTML when available (only when include_body=true)"},"body_html":{"type":["string","null"],"description":"HTML body with hidden content removed (only when include_body=true)"},"attachments":{"type":"array","items":{"type":"object","properties":{"filename":{"type":"string"},"content_type":{"type":"string"},"size":{"type":"integer"},"content":{"type":"string","description":"Base64-encoded content (only when include_body=true)"}},"required":["filename"]}}},"required":["hidden_removed","untrusted_content","authenticated","id","from","subject","received_at"]}},"count":{"type":"integer"},"has_more":{"type":"boolean"},"agent_id":{"type":"string"}},"required":["hidden_removed","emails","count","has_more","agent_id"]},"InboxSmsListResponse":{"type":"object","properties":{"messages":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"from":{"type":"string"},"to":{"type":"string"},"body":{"type":"string"},"num_media":{"type":["integer","null"]},"media_urls":{"type":["array","null"],"items":{"type":"string"}},"thread_id":{"type":["string","null"]},"related_outbound_id":{"type":["string","null"]},"received_at":{"type":["string","null"]},"created_at":{"type":["string","null"]}},"required":["id","from","to","body","received_at","created_at"]}},"count":{"type":"integer"}},"required":["messages","count"]},"SoulRegisterResponse":{"type":"object","properties":{"soul_agent":{"type":"object","properties":{"id":{"type":"string"},"wallet_address":{"type":"string"},"slug":{"type":"string"},"name":{"type":"string"},"display_name":{"type":"string"},"category":{"type":"string"},"soul_md":{"type":"string"},"soul_price_usdc":{"type":"string"},"avatar_url":{"type":"string","format":"uri"},"rating_avg":{"type":"number"},"rating_count":{"type":"integer"},"services":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"slug":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"price_usdc":{"type":"string"},"category":{"type":"string"},"enabled":{"type":"boolean"},"created_at":{"type":"string","format":"date-time"}},"required":["id","slug","title","price_usdc","enabled","created_at"]}},"created_at":{"type":"string","format":"date-time"}},"required":["id","wallet_address","slug","name","created_at"]},"soul_key":{"type":"string","description":"Bearer key — store securely, shown only once"}},"required":["soul_agent","soul_key"]},"SoulListResponse":{"type":"object","properties":{"souls":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"wallet_address":{"type":"string"},"slug":{"type":"string"},"name":{"type":"string"},"display_name":{"type":"string"},"category":{"type":"string"},"soul_md":{"type":"string"},"soul_price_usdc":{"type":"string"},"avatar_url":{"type":"string","format":"uri"},"rating_avg":{"type":"number"},"rating_count":{"type":"integer"},"services":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"slug":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"price_usdc":{"type":"string"},"category":{"type":"string"},"enabled":{"type":"boolean"},"created_at":{"type":"string","format":"date-time"}},"required":["id","slug","title","price_usdc","enabled","created_at"]}},"created_at":{"type":"string","format":"date-time"}},"required":["id","wallet_address","slug","name","created_at"]}},"total":{"type":"integer"}},"required":["souls"]},"SoulSearchResponse":{"type":"object","properties":{"results":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"wallet_address":{"type":"string"},"slug":{"type":"string"},"name":{"type":"string"},"display_name":{"type":"string"},"category":{"type":"string"},"soul_md":{"type":"string"},"soul_price_usdc":{"type":"string"},"avatar_url":{"type":"string","format":"uri"},"rating_avg":{"type":"number"},"rating_count":{"type":"integer"},"services":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"slug":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"price_usdc":{"type":"string"},"category":{"type":"string"},"enabled":{"type":"boolean"},"created_at":{"type":"string","format":"date-time"}},"required":["id","slug","title","price_usdc","enabled","created_at"]}},"created_at":{"type":"string","format":"date-time"}},"required":["id","wallet_address","slug","name","created_at"]}},"total":{"type":"integer"}},"required":["results","total"]},"SoulServiceTypesResponse":{"type":"object","properties":{"types":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string"},"label":{"type":"string"},"description":{"type":"string"}},"required":["type","label"]}}},"required":["types"]},"SoulStatsResponse":{"type":"object","properties":{"total_souls":{"type":"integer"},"active_services":{"type":"integer"},"total_jobs":{"type":"integer"},"completed_jobs":{"type":"integer"},"failed_jobs":{"type":"integer"},"total_paid_to_sellers":{"type":"number"},"total_purchases":{"type":"integer"},"total_purchase_revenue":{"type":"number"},"average_rating":{"type":"number"},"rating_count":{"type":"integer"},"categories":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"service_count":{"type":"integer"},"job_count":{"type":"integer"}},"required":["name","service_count","job_count"]}},"recent_activity":{"type":"array","items":{"type":"object","additionalProperties":{}}},"souls":{"type":"array","items":{"type":"object","additionalProperties":{}}},"category_colors":{"type":"object","additionalProperties":{"type":"string"}}},"required":["total_souls","active_services","total_jobs","completed_jobs","failed_jobs","total_paid_to_sellers","total_purchases","total_purchase_revenue","average_rating","rating_count"]},"SoulProfile":{"type":"object","properties":{"id":{"type":"string"},"wallet_address":{"type":"string"},"slug":{"type":"string"},"name":{"type":"string"},"display_name":{"type":"string"},"category":{"type":"string"},"soul_md":{"type":"string"},"soul_price_usdc":{"type":"string"},"avatar_url":{"type":"string","format":"uri"},"rating_avg":{"type":"number"},"rating_count":{"type":"integer"},"services":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"slug":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"price_usdc":{"type":"string"},"category":{"type":"string"},"enabled":{"type":"boolean"},"created_at":{"type":"string","format":"date-time"}},"required":["id","slug","title","price_usdc","enabled","created_at"]}},"created_at":{"type":"string","format":"date-time"}},"required":["id","wallet_address","slug","name","created_at"]},"SoulJob":{"type":"object","properties":{"id":{"type":"string"},"service_slug":{"type":"string"},"buyer_agent_id":{"type":"string"},"seller_soul_id":{"type":"string"},"status":{"type":"string","enum":["pending","processing","completed","failed","rated"]},"amount_usdc":{"type":"string"},"input":{"type":"object","additionalProperties":{}},"result":{"type":"object","additionalProperties":{}},"rating":{"type":"integer","minimum":1,"maximum":5},"review":{"type":"string"},"created_at":{"type":"string","format":"date-time"},"completed_at":{"type":"string","format":"date-time"}},"required":["id","service_slug","buyer_agent_id","seller_soul_id","status","amount_usdc","created_at"]},"SoulFileListResponse":{"type":"object","properties":{"files":{"type":"array","items":{"type":"object","properties":{"filename":{"type":"string"},"size":{"type":"integer"},"content_type":{"type":"string"},"url":{"type":"string","format":"uri"}},"required":["filename","size"]}}},"required":["files"]},"SoulServiceListResponse":{"type":"object","properties":{"services":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"slug":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"price_usdc":{"type":"string"},"category":{"type":"string"},"enabled":{"type":"boolean"},"created_at":{"type":"string","format":"date-time"}},"required":["id","slug","title","price_usdc","enabled","created_at"]}}},"required":["services"]},"SoulJobListResponse":{"type":"object","properties":{"jobs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"service_slug":{"type":"string"},"buyer_agent_id":{"type":"string"},"seller_soul_id":{"type":"string"},"status":{"type":"string","enum":["pending","processing","completed","failed","rated"]},"amount_usdc":{"type":"string"},"input":{"type":"object","additionalProperties":{}},"result":{"type":"object","additionalProperties":{}},"rating":{"type":"integer","minimum":1,"maximum":5},"review":{"type":"string"},"created_at":{"type":"string","format":"date-time"},"completed_at":{"type":"string","format":"date-time"}},"required":["id","service_slug","buyer_agent_id","seller_soul_id","status","amount_usdc","created_at"]}}},"required":["jobs"]},"SoulSellerBalanceResponse":{"type":"object","properties":{"available_usdc":{"type":"string"},"pending_usdc":{"type":"string"},"total_earned_usdc":{"type":"string"},"payout_address":{"type":"string"}},"required":["available_usdc","pending_usdc","total_earned_usdc"]},"SoulPayoutResponse":{"type":"object","properties":{"payout_id":{"type":"string"},"amount_usdc":{"type":"string"},"status":{"type":"string"}},"required":["payout_id","amount_usdc","status"]},"ComputeRefusedResponse":{"type":"object","properties":{"error":{"type":"string","enum":["system_unsupported","deadline_in_past","infeasible_input"]},"message":{"type":"string"},"conflicts":{"type":"array","items":{"type":"object","properties":{"constraints":{"type":"array","items":{"type":"object","properties":{"family":{"type":"string"},"ref":{"type":"string"},"label":{"type":"string"}},"required":["family","ref","label"]}},"explanation":{"type":"string"}},"required":["constraints","explanation"]},"description":"The Solve preflight conflicts, for `infeasible_input`."},"requires":{"type":"array","items":{"$ref":"#/components/schemas/ComputeRequirement"}},"feasibility":{"$ref":"#/components/schemas/ComputeFeasibility"}},"required":["error","message","feasibility"]},"ComputeRequirement":{"type":"object","properties":{"family":{"type":"string","enum":["crm","ledger","shipping","tax","procurement","meetings","mailbox","files","repository"]},"product":{"type":["string","null"],"description":"The product the objective names, as read; null when only the kind of system was named."},"available":{"type":"boolean","description":"The system can be connected on OneShot right now."},"connected":{"type":["boolean","null"],"description":"The goal owner has an active connection to it. null for a caller that has not proven it holds the agent wallet (an access token or x-agent-proof): the connection is checked at payment."},"connect_url":{"type":"string","format":"uri","description":"Where the owner connects a system. Only for a caller proven to hold the agent wallet."}},"required":["family","product","available","connected"]},"ComputeFeasibility":{"type":"object","properties":{"verdict":{"type":"string","enum":["accept","hold","refuse"],"description":"`refuse` only on a proof, with no quote; `hold` when a supported system is not connected, shown only to a caller proven to hold the agent wallet (the quote is still issued); otherwise `accept`, with the reason `connection_checked_at_payment` when an unproven caller's goal needs a system. Warnings never change it."},"reasons":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","enum":["system_unsupported","deadline_in_past","infeasible_input","connection_checked_at_payment"]},"message":{"type":"string","description":"Names what was read, e.g. \"This goal needs Pipedrive, which is not supported.\""},"conflicts":{"type":"array","items":{"type":"object","properties":{"constraints":{"type":"array","items":{"type":"object","properties":{"family":{"type":"string"},"ref":{"type":"string"},"label":{"type":"string"}},"required":["family","ref","label"]}},"explanation":{"type":"string"}},"required":["constraints","explanation"]},"description":"The Solve preflight conflicts, for `infeasible_input`."}},"required":["code","message"]}},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","enum":["no_tool_matched","tight_deadline","finish_line_unknowable","product_unverified","similar_goal_was_impossible"]},"message":{"type":"string"}},"required":["code","message"]}},"finish_line":{"type":"object","properties":{"kind":{"type":"string","enum":["measurable","needs_owner","unknowable"]},"done_check":{"type":"object","additionalProperties":{},"description":"A suggested done_check, when the estimate could write one."}},"required":["kind"]},"missing":{"type":"array","items":{"$ref":"#/components/schemas/MissingCapability"},"description":"What the goal needs that no tool does, as the estimate read it: each a `no_tool_matched` warning. Recorded as demand; the quote is still issued."}},"required":["verdict","reasons","warnings"]},"MissingCapability":{"type":"object","properties":{"entity":{"type":"string"},"attribute":{"type":"string"},"action":{"type":"string"},"operation":{"type":"string","enum":["lookup","list","act"]},"purpose":{"type":"string"}},"required":["entity","operation","purpose"]},"ComputeQuoteRequiredResponse":{"type":"object","properties":{"error":{"type":"string","enum":["payment_required"]},"message":{"type":"string"},"payment_request":{"type":"object","properties":{"chain_id":{"type":"number"},"token_address":{"type":"string"},"amount":{"type":"string"},"recipient":{"type":"string"}},"required":["chain_id","token_address","amount","recipient"]},"context":{"type":"object","properties":{"tool":{"type":"string","enum":["compute"]},"quote_id":{"type":"string"},"objective_summary":{"type":"string"},"estimated_phases":{"type":"integer"},"estimated_tasks":{"type":"integer"},"estimated_duration_days":{"type":"integer"},"budget_breakdown":{"type":"object","additionalProperties":{"type":"string"}},"scope":{"type":"object","properties":{"unit":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":200},"starts_on":{"type":"string","enum":["list","event","schedule","once"]}},"required":["name","starts_on"],"additionalProperties":false},"per_unit":{"type":"object","properties":{"uses":{"type":"array","items":{"type":"object","properties":{"tool":{"type":"string","minLength":1,"maxLength":64},"qty":{"type":"integer","minimum":1,"maximum":1000000},"max_attempts":{"type":"integer","minimum":1,"maximum":1000000},"target":{"type":"string","minLength":1,"maxLength":200},"persistence":{"type":"object","properties":{"max_attempts":{"type":"integer","minimum":1,"maximum":1000000},"spacing_seconds":{"type":"integer","minimum":0,"maximum":31536000},"escalate_to":{"type":"string","minLength":1,"maxLength":64},"then":{"type":"string","enum":["owner","give_up"]}},"required":["max_attempts","spacing_seconds","then"],"additionalProperties":false}},"required":["tool","qty","max_attempts"],"additionalProperties":false},"maxItems":50},"step_allowance":{"type":"integer","minimum":0,"maximum":100000},"done":{"type":"array","items":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"minItems":1}},"required":["uses","step_allowance","done"],"additionalProperties":false},"overhead":{"type":"object","properties":{"uses":{"type":"array","items":{"type":"object","properties":{"tool":{"type":"string","minLength":1,"maxLength":64},"qty":{"type":"integer","minimum":1,"maximum":1000000},"max_attempts":{"type":"integer","minimum":1,"maximum":1000000}},"required":["tool","qty","max_attempts"],"additionalProperties":false},"maxItems":50},"step_allowance":{"type":"integer","minimum":0,"maximum":100000}},"required":["uses","step_allowance"],"additionalProperties":false},"volume":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["list"]},"count":{"type":"integer","minimum":1,"maximum":1000000}},"required":["kind","count"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["open"]}},"required":["kind"],"additionalProperties":false}]},"unpriced":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":200},"reason":{"type":"string","enum":["connection","quoted_tool"]},"assumption":{"type":"string","minLength":1,"maxLength":500}},"required":["name","reason"],"additionalProperties":false},"maxItems":50}},"required":["unit","per_unit","overhead","volume","unpriced"],"additionalProperties":false},"scope_price":{"type":"object","properties":{"per_unit":{"type":"object","properties":{"expected":{"type":"number"},"ceiling":{"type":"number"},"steps_expected":{"type":"number"},"uses":{"type":"array","items":{"type":"object","properties":{"tool":{"type":"string"},"expected":{"type":"number"},"ceiling":{"type":"number"}},"required":["tool","expected","ceiling"]}}},"required":["expected","ceiling","steps_expected","uses"]},"overhead":{"type":"object","properties":{"expected":{"type":"number"},"ceiling":{"type":"number"},"steps_expected":{"type":"number"},"uses":{"type":"array","items":{"type":"object","properties":{"tool":{"type":"string"},"expected":{"type":"number"},"ceiling":{"type":"number"}},"required":["tool","expected","ceiling"]}}},"required":["expected","ceiling","steps_expected","uses"]},"totals":{"type":"object","properties":{"expected":{"type":"number"},"ceiling":{"type":"number"}},"required":["expected","ceiling"]},"units_covered":{"type":["integer","null"],"minimum":0,"description":"Open volume: whole units after overhead; null for zero-cost units, absent without an owner budget."},"unmeasured":{"type":"array","items":{"type":"string"}}},"required":["per_unit","overhead","unmeasured"]},"price":{"type":"object","properties":{"per_unit":{"type":"object","properties":{"expected":{"type":"number"},"ceiling":{"type":"number"}},"required":["expected","ceiling"]},"overhead":{"type":"object","properties":{"expected":{"type":"number"},"ceiling":{"type":"number"}},"required":["expected","ceiling"]},"total":{"type":"object","properties":{"expected":{"type":"number"},"ceiling":{"type":"number"}},"required":["expected","ceiling"],"description":"A listed volume: the whole goal."},"units_covered":{"type":["integer","null"],"minimum":0,"description":"Open volume with a budget: whole units after overhead; null for a zero-cost unit."},"unpriced":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":200},"reason":{"type":"string","enum":["connection","quoted_tool"]},"assumption":{"type":"string","minLength":1,"maxLength":500}},"required":["name","reason"],"additionalProperties":false},"maxItems":50},"unmeasured":{"type":"array","items":{"type":"string"}}},"required":["per_unit","overhead","unpriced","unmeasured"],"description":"What the caller buys: the price of one unit and of the overhead, the total or the units covered, and what no price list covers. Send `scope` to correct the recipe; the quote prices it again."},"done_check":{"type":["object","null"],"additionalProperties":{},"description":"The done check the goal is held to: the one sent, else the one the estimate proposed. Null when neither exists: the owner confirms."},"requires":{"type":"array","items":{"$ref":"#/components/schemas/ComputeRequirement"},"description":"One entry per connected system the goal needs."},"feasibility":{"$ref":"#/components/schemas/ComputeFeasibility"},"total_budget":{"type":"string"},"credits_applied":{"type":"string"},"credit_balance":{"type":"string"},"expires_at":{"type":"string","format":"date-time"},"schedule_cron":{"type":"string"},"budget_per_run":{"type":"number"},"max_runs":{"type":"integer"},"projected_runs":{"type":"integer"}},"required":["tool","quote_id","objective_summary","estimated_phases","estimated_tasks","estimated_duration_days","budget_breakdown","scope","scope_price","price","done_check","requires","feasibility","total_budget","expires_at"]}},"required":["error","message","payment_request","context"]},"ComputeGoalResponse":{"type":"object","properties":{"id":{"type":"string"},"tool_requests":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"need":{"type":"string"},"status":{"type":"string","enum":["open","queued","filed","building","shipped","declined","matched_existing","duplicate"]},"tool_name":{"type":"string"}},"required":["id","need","status"]},"description":"Tool requests associated with the goal; need is a short distilled summary"},"absorbed_usdc":{"type":"string","description":"Platform-paid failure costs, excluded from the goal budget"},"agent_id":{"type":"string"},"objective":{"type":"string"},"status":{"type":"string","enum":["pending","planning","executing","active","paused","awaiting_confirmation","awaiting_connection","awaiting_budget","awaiting_tool","completed","failed","cancelled"]},"budget_usdc":{"type":"string"},"spent_usdc":{"type":"string"},"done_check":{},"budget_hold":{"type":["object","null"],"properties":{"since":{"type":"string"},"units_done":{"type":"number"},"units_left":{"type":"number"},"cost_to_finish":{"type":"number"},"price_per_unit":{"type":"number"}},"required":["since","units_done"]},"check_result":{},"end_reason":{"type":["string","null"],"enum":["check_passed","owner_confirmed","check_failed","budget_exhausted","deadline_passed","planner_failed","impossible","impossible_unverified","connection_timeout","tool_timeout",null]},"result":{"type":["string","null"]},"result_at":{"type":["string","null"],"format":"date-time"},"claims":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string"},"kind":{"type":"string","enum":["observed","inferred"]},"sources":{"type":"array","items":{"type":"object","properties":{"tool":{"type":"string"},"input_summary":{"type":"string"},"as_of":{"type":["string","null"]},"retrieved_at":{"type":"string"},"call_id":{"type":["string","null"]}},"required":["tool","input_summary","as_of","retrieved_at","call_id"]}},"basis":{"type":"array","items":{"type":"integer","minimum":0}}},"required":["text","kind","sources"]}},"progress_percent":{"type":"number"},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}},"required":["id","agent_id","objective","status","budget_usdc","spent_usdc","created_at"]},"ComputeTaskListResponse":{"type":"object","properties":{"tasks":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"goal_id":{"type":"string"},"description":{"type":"string"},"tool":{"type":"string"},"status":{"type":"string","enum":["pending","running","completed","failed"]},"cost_usdc":{"type":"string"},"result":{},"outputs":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"content_type":{"type":"string"},"size_bytes":{"type":["integer","null"]},"readable":{"type":"boolean"}},"required":["key","content_type","size_bytes","readable"]}},"created_at":{"type":"string","format":"date-time"}},"required":["id","goal_id","description","status","created_at"]}}},"required":["tasks"]},"ComputeCaseListResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"session_id":{"type":"string"},"task":{"type":"string"},"state":{"type":"string"},"owner":{"type":["string","null"]},"next_action":{"type":["string","null"]},"due_date":{"type":["string","null"]},"evidence":{"type":"array","items":{"type":"string"}},"status":{"type":"string","enum":["pending","running","waiting","completed","failed","cancelled"]},"parent_id":{"type":["string","null"]},"depth":{"type":"integer"},"budget_usdc":{"type":["string","null"]},"held_usdc":{"type":"string"},"step_limit":{"type":["integer","null"]},"opened_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"ended_at":{"type":["string","null"],"format":"date-time"},"age_seconds":{"type":"integer"}},"required":["key","session_id","task","state","owner","next_action","due_date","evidence","status","parent_id","depth","budget_usdc","held_usdc","step_limit","opened_at","updated_at","ended_at","age_seconds"]}},"page":{"type":"object","properties":{"total":{"type":"integer"},"limit":{"type":"integer"},"offset":{"type":"integer"}},"required":["total","limit","offset"]},"counts":{"type":"object","additionalProperties":{"type":"integer"}}},"required":["success","data","page","counts"]},"ComputeOutputListResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"task_id":{"type":["string","null"]},"content_type":{"type":"string"},"size_bytes":{"type":["integer","null"]},"summary":{"type":["string","null"]},"readable":{"type":"boolean"},"updated_at":{"type":"string","format":"date-time"}},"required":["key","task_id","content_type","size_bytes","summary","readable","updated_at"]}}},"required":["success","data"]},"ComputeOutputReadResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"key":{"type":"string"},"task_id":{"type":["string","null"]},"content_type":{"type":"string"},"size_bytes":{"type":["integer","null"]},"summary":{"type":["string","null"]},"readable":{"type":"boolean"},"updated_at":{"type":"string","format":"date-time"},"content":{"type":["string","null"]},"truncated":{"type":"boolean"}},"required":["key","task_id","content_type","size_bytes","summary","readable","updated_at","content","truncated"]}},"required":["success","data"]},"ComputeBudgetResponse":{"type":"object","properties":{"goal_id":{"type":"string"},"total_usdc":{"type":"string"},"spent_usdc":{"type":"string"},"remaining_usdc":{"type":"string"},"reserved_usdc":{"type":"string"}},"required":["goal_id","total_usdc","spent_usdc","remaining_usdc"]},"AnalyticsBreakdownResponse":{"type":"object","properties":{"period_days":{"type":"integer"},"total_spent_usdc":{"type":"string"},"categories":{"type":"array","items":{"type":"object","properties":{"category":{"type":"string"},"total_usdc":{"type":"string"},"call_count":{"type":"integer"},"subcategories":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"total_usdc":{"type":"string"},"call_count":{"type":"integer"}},"required":["name","total_usdc","call_count"]}}},"required":["category","total_usdc","call_count"]}}},"required":["period_days","total_spent_usdc","categories"]},"RocsResponse":{"type":"object","properties":{"period_days":{"type":"integer"},"total_spent_usdc":{"type":"string"},"total_revenue_usdc":{"type":"string"},"rocs_percent":{"type":"number"}},"required":["period_days","total_spent_usdc","total_revenue_usdc","rocs_percent"]},"ReceiptListResponse":{"type":"object","properties":{"receipts":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"receipt_id":{"type":"string"},"agent_id":{"type":"string"},"soul_agent_id":{"type":["string","null"]},"category":{"type":"string"},"subcategory":{"type":"string"},"amount_usdc":{"type":"string"},"service_fee":{"type":"string"},"status":{"type":"string"},"execution_status":{"type":"string","enum":["pending","completed","failed"]},"goal_id":{"type":["string","null"]},"signature":{"type":["string","null"],"description":"Base64url Ed25519 signature over canonical receipt JSON"},"revision":{"type":"integer","exclusiveMinimum":0,"description":"Signing-time revision counter bound into the signed payload; increments on every re-sign. Absent means 1."},"digest":{"type":["string","null"],"minLength":64,"maxLength":64,"description":"Hex SHA-256 digest of canonical receipt JSON"},"key_id":{"type":["string","null"]},"alg":{"type":["string","null"],"enum":["Ed25519"]},"settlement_tx":{"type":["string","null"]},"value_tag":{"type":["object","null"],"properties":{"type":{"type":"string","enum":["revenue","lead","conversion","savings","engagement"]},"amount":{"type":"number"},"label":{"type":"string"},"status":{"type":"string","enum":["pending","confirmed","rejected"]}},"required":["type","amount","status"]},"job_id":{"type":["string","null"]},"metadata":{"type":["object","null"],"additionalProperties":{}},"created_at":{"type":"string","format":"date-time"},"settled_at":{"type":["string","null"],"format":"date-time"}},"required":["id","receipt_id","agent_id","category","subcategory","amount_usdc","status","execution_status","created_at"]}},"count":{"type":"integer"},"has_more":{"type":"boolean"}},"required":["receipts","count","has_more"]},"OutcomeTagResponse":{"type":"object","properties":{"success":{"type":"boolean"},"outcome_id":{"type":"string"},"outcome":{"type":"object","properties":{"outcome_id":{"type":"string"},"goal_id":{"type":"string"},"type":{"type":"string"},"amount":{"type":"number"},"label":{"type":["string","null"]},"status":{"type":"string","enum":["pending","confirmed","rejected"]},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"confirmed_at":{"type":["string","null"],"format":"date-time"}},"required":["outcome_id","goal_id","type","amount","status","created_at","updated_at"]}},"required":["success","outcome_id","outcome"]},"RoCSByGoalResponse":{"type":"object","properties":{"goals":{"type":"array","items":{"type":"object","properties":{"goal_id":{"type":"string"},"spend":{"type":"string"},"value":{"type":"string"},"pending_value":{"type":"string"},"rocs":{"type":"number"},"receipt_count":{"type":"integer"},"outcomes":{"type":"array","items":{"type":"object","properties":{"outcome_id":{"type":"string"},"goal_id":{"type":"string"},"type":{"type":"string"},"amount":{"type":"number"},"label":{"type":["string","null"]},"status":{"type":"string","enum":["pending","confirmed","rejected"]},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"confirmed_at":{"type":["string","null"],"format":"date-time"}},"required":["outcome_id","goal_id","type","amount","status","created_at","updated_at"]}}},"required":["goal_id","spend","value","pending_value","rocs","receipt_count","outcomes"]}},"period_days":{"type":"integer"}},"required":["goals","period_days"]},"AuditReceiptExportResponse":{"type":"object","properties":{"receipts":{"type":"array","items":{"$ref":"#/components/schemas/AuditReceipt"}},"count":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"type":["string","null"],"description":"Opaque cursor. Pass this value as `cursor` to retrieve the next page."}},"required":["receipts","count","has_more","next_cursor"]},"AuditReceipt":{"type":"object","properties":{"receipt_id":{"type":"string"},"agent_id":{"type":"string"},"soul_agent_id":{"type":["string","null"]},"receipt_revision":{"type":["integer","null"],"exclusiveMinimum":0,"description":"Receipt revision number, included in the signed payload. It goes up by one each time the receipt is signed again. Always present; null means 1."},"category":{"type":"string"},"subcategory":{"type":"string"},"amount_usdc":{"type":"string"},"service_fee":{"type":["string","null"]},"status":{"type":"string"},"signature":{"type":["string","null"],"description":"Settlement transaction hash used as independently verifiable on-chain proof."},"execution_status":{"type":"string"},"goalId":{"type":["string","null"]},"job_id":{"type":["string","null"],"format":"uuid"},"metadata":{"type":["object","null"],"additionalProperties":{}},"created_at":{"type":"string","format":"date-time"},"settled_at":{"type":["string","null"],"format":"date-time"},"receipt_signature":{"type":["string","null"],"description":"Ed25519 signature over the receipt's canonical fields (see receipt_alg) — distinct from `signature` above, which is the on-chain settlement proof. `null` when the receipt has not been signed."},"receipt_digest":{"type":["string","null"],"description":"SHA-256 digest of the canonicalized receipt payload that receipt_signature covers."},"receipt_key_id":{"type":["string","null"],"description":"Identifier of the signing key used to produce receipt_signature, for JWKS lookup."},"receipt_alg":{"type":["string","null"],"description":"Signature algorithm used for receipt_signature (currently Ed25519)."},"receipt_signed":{"type":["boolean","null"],"description":"Whether this receipt is signed. `false` for an unsigned terminal (non-pending) receipt, `null` for a pending receipt (not yet terminal, so signing is not expected)."}},"required":["receipt_id","agent_id","soul_agent_id","receipt_revision","category","subcategory","amount_usdc","service_fee","status","signature","execution_status","goalId","job_id","metadata","created_at","settled_at","receipt_signature","receipt_digest","receipt_key_id","receipt_alg","receipt_signed"]},"JobStatusResponse":{"type":"object","properties":{"request_id":{"type":"string"},"result_tool":{"type":"string","description":"Originating tool or job/action identifier used by SDKs to select the result trust label"},"receipt_id":{"type":"string"},"settlement_status":{"type":"string"},"execution_status":{"type":"string","enum":["pending","completed","failed"],"description":"Present with a receipt: whether the paid action ran. `pending` until the job finishes; independent of `settlement_status`"},"effect_evidence":{"type":["object","null"],"properties":{"vendor":{"type":"string","description":"Vendor that executed the call"},"ref":{"type":"string","description":"The identifier that vendor returned for this action"},"kind":{"type":"string","description":"What `ref` is, e.g. `gmail_message_id`, `rye_checkout_intent_id`"}},"required":["vendor","ref","kind"],"description":"The vendor's own identifier for the action; null when no vendor returned one (e.g. a browser run)"},"tool":{"type":"string"},"status":{"type":"string","enum":["pending","processing","completed","failed"]},"result":{},"error":{"type":["string","null"]},"error_code":{"type":["string","null"],"description":"Machine-readable error classification code"},"error_category":{"type":["string","null"],"description":"Error category: `payment`, `validation`, `upstream`, or `internal`"},"error_status":{"type":["integer","null"],"description":"HTTP-like status code mapped to the error"},"created_at":{"type":["string","null"]},"updated_at":{"type":["string","null"]},"email_tracking":{"type":"object","properties":{"from":{"type":"string"},"to":{"type":"string"},"subject":{"type":"string"},"status":{"type":"string"},"opens":{"type":"integer"},"clicks":{"type":"integer"},"last_event_at":{"type":["string","null"]},"created_at":{"type":["string","null"]}},"description":"Present when tool=email"},"domain_info":{"type":["object","null"],"properties":{"domain":{"type":"string"},"status":{"type":"string"}},"required":["domain","status"],"description":"Present when tool=email and a domain is associated"}},"required":["request_id","effect_evidence","tool","status"]},"AcpManifestResponse":{"type":"object","properties":{"version":{"type":"string"},"seller":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"url":{"type":"string","format":"uri"}},"required":["name"]},"products":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"default_price":{"anyOf":[{"type":"string"},{"type":"number"}]},"input_schema":{"type":"object","additionalProperties":{}}},"required":["id","name"]}},"payment_handlers":{"type":"array","items":{"type":"string"}},"supported_capabilities":{"type":"array","items":{"type":"string"}},"supported_versions":{"type":"array","items":{"type":"string"}}},"required":["version","seller","products"]},"AcpCheckoutSessionResponse":{"type":"object","properties":{"id":{"type":"string"},"status":{"type":"string","enum":["open","pending","completed","cancelled","failed"]},"line_items":{"type":"array","items":{"type":"object","properties":{"product_id":{"type":"string"},"quantity":{"type":"integer","exclusiveMinimum":0},"unit_price_usdc":{"type":"string"}},"required":["product_id","quantity"]}},"total_usdc":{"type":"string"},"created_at":{"type":"string","format":"date-time"}},"required":["id","status","line_items","total_usdc","created_at"]},"HealthResponse":{"type":"object","properties":{"status":{"type":"string","enum":["ok"]},"service":{"type":"string"},"timestamp":{"type":"string","format":"date-time"},"acp":{"type":"object","properties":{"connected":{"type":"boolean"}},"required":["connected"]},"ws":{"type":"object","properties":{"connections":{"type":"integer"},"subscriptions":{"type":"integer"}},"required":["connections","subscriptions"]}},"required":["status","service","timestamp"]},"StatsResponse":{"type":"object","properties":{"actions_executed":{"type":"integer"},"transaction_volume_cents":{"type":"integer"},"active_agents":{"type":"integer"},"success_rate_bps":{"type":"integer","description":"Success rate in basis points (10000 = 100%)"},"recent_activity":{"type":"array","items":{"type":"object","additionalProperties":{}}}},"required":["actions_executed","transaction_volume_cents","active_agents","success_rate_bps"]},"TaxRatesResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"combined_rate":{"type":"number","description":"The whole rate at the location, as a fraction"},"components":{"type":"array","items":{"type":"object","properties":{"jurisdiction":{"type":"string"},"rate":{"type":"number"}},"required":["jurisdiction","rate"]}},"source":{"type":"object","properties":{"system":{"type":"string","description":"The connected system (taxjar)"},"id":{"type":"string","description":"The location reference, country:zip"}},"required":["system","id"]},"receipt_id":{"type":"string"}},"required":["combined_rate","components","source"]}},"required":["success","data"]},"TaxCalculateResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"amount_to_collect":{"type":"number"},"rate":{"type":"number","description":"The whole rate applied, as a fraction"},"taxable_amount":{"type":"number"},"breakdown":{"type":"object","properties":{"jurisdictions":{"type":"array","items":{"type":"object","properties":{"jurisdiction":{"type":"string"},"taxable_amount":{"type":["number","null"]},"tax_collectable":{"type":["number","null"]},"rate":{"type":["number","null"]}},"required":["jurisdiction","taxable_amount","tax_collectable","rate"]}},"line_items":{"type":"array","items":{"type":"object","properties":{"id":{"type":["string","null"]},"taxable_amount":{"type":["number","null"]},"tax_collectable":{"type":["number","null"]},"rate":{"type":["number","null"]}},"required":["id","taxable_amount","tax_collectable","rate"]}},"shipping":{"type":["object","null"],"properties":{"taxable_amount":{"type":["number","null"]},"tax_collectable":{"type":["number","null"]},"rate":{"type":["number","null"]}},"required":["taxable_amount","tax_collectable","rate"]}},"required":["jurisdictions","line_items","shipping"]},"source":{"type":"object","properties":{"system":{"type":"string","description":"The connected system (taxjar)"},"id":{"type":"string","description":"The location reference, country:zip"}},"required":["system","id"]},"receipt_id":{"type":"string"}},"required":["amount_to_collect","rate","taxable_amount","breakdown","source"]}},"required":["success","data"]},"ShippingShipmentsResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"shipments":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"created_at":{"type":["string","null"]},"carrier":{"type":["string","null"]},"service":{"type":["string","null"]},"tracking_number":{"type":["string","null"]},"status":{"type":["string","null"]},"from":{"type":"object","properties":{"city":{"type":["string","null"]},"region":{"type":["string","null"]},"country":{"type":["string","null"]}},"required":["city","region","country"],"description":"City, region and country only: never a street line or a name"},"to":{"type":"object","properties":{"city":{"type":["string","null"]},"region":{"type":["string","null"]},"country":{"type":["string","null"]}},"required":["city","region","country"],"description":"City, region and country only: never a street line or a name"},"label_cost":{"type":["object","null"],"properties":{"amount":{"type":"number"},"currency":{"type":"string"}},"required":["amount","currency"]},"source":{"type":"object","properties":{"system":{"type":"string","description":"The connected system (shipengine)"},"id":{"type":"string","description":"The system's own id of the record"}},"required":["system","id"]}},"required":["id","created_at","carrier","service","tracking_number","status","from","to","label_cost","source"]}},"next_cursor":{"type":["string","null"],"description":"Send as cursor for the next page; null on the last page"},"receipt_id":{"type":"string"}},"required":["shipments","next_cursor"]}},"required":["success","data"]},"ShippingTrackingResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"status":{"type":"string","enum":["pre_transit","in_transit","delivered","exception","unknown"]},"eta":{"type":["string","null"]},"events":{"type":"array","items":{"type":"object","properties":{"at":{"type":["string","null"]},"status":{"type":"string","enum":["pre_transit","in_transit","delivered","exception","unknown"]},"place":{"type":["string","null"]},"description":{"type":["string","null"]}},"required":["at","status","place","description"]}},"source":{"type":"object","properties":{"system":{"type":"string","description":"The connected system (shipengine)"},"id":{"type":"string","description":"The system's own id of the record"}},"required":["system","id"]},"receipt_id":{"type":"string"}},"required":["status","eta","events","source"]}},"required":["success","data"]},"ShippingRatesResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"rates":{"type":"array","items":{"type":"object","properties":{"carrier":{"type":["string","null"]},"service":{"type":["string","null"]},"amount":{"type":"number"},"currency":{"type":"string"},"estimated_days":{"type":["number","null"]},"source":{"type":"object","properties":{"system":{"type":"string","description":"The connected system (shipengine)"},"id":{"type":"string","description":"The system's own id of the record"}},"required":["system","id"]}},"required":["carrier","service","amount","currency","estimated_days","source"]}},"receipt_id":{"type":"string"}},"required":["rates"]}},"required":["success","data"]},"ProcurementTransactionsResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"transactions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"posted_at":{"type":["string","null"],"description":"When it settled, or when the card was used while it is pending"},"merchant":{"type":["string","null"]},"amount":{"type":["number","null"],"description":"In the major unit of the currency; a refund is negative"},"currency":{"type":["string","null"]},"card_holder":{"type":["string","null"]},"department":{"type":["string","null"]},"category":{"type":["string","null"]},"receipt_attached":{"type":"boolean"},"source":{"type":"object","properties":{"system":{"type":"string","description":"The connected system (ramp)"},"id":{"type":"string","description":"The system's own id of the record"}},"required":["system","id"]}},"required":["id","posted_at","merchant","amount","currency","card_holder","department","category","receipt_attached","source"]}},"next_cursor":{"type":["string","null"],"description":"Send as cursor for the next page; null on the last page"},"receipt_id":{"type":"string"}},"required":["transactions","next_cursor"]}},"required":["success","data"]},"ProcurementBillsResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"bills":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"vendor":{"type":["string","null"]},"amount":{"type":["number","null"],"description":"In the major unit of the currency"},"currency":{"type":["string","null"]},"due_on":{"type":["string","null"]},"status":{"type":"string","enum":["awaiting_approval","approved","rejected","paid","void"]},"source":{"type":"object","properties":{"system":{"type":"string","description":"The connected system (ramp)"},"id":{"type":"string","description":"The system's own id of the record"}},"required":["system","id"]}},"required":["id","vendor","amount","currency","due_on","status","source"]}},"next_cursor":{"type":["string","null"],"description":"Send as cursor for the next page; null on the last page"},"receipt_id":{"type":"string"}},"required":["bills","next_cursor"]}},"required":["success","data"]},"ProcurementSuppliersResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"suppliers":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":["string","null"]},"category":{"type":["string","null"]},"total_spend":{"type":["object","null"],"properties":{"amount":{"type":"number"},"currency":{"type":"string"}},"required":["amount","currency"],"description":"All-time spend with the supplier"},"source":{"type":"object","properties":{"system":{"type":"string","description":"The connected system (ramp)"},"id":{"type":"string","description":"The system's own id of the record"}},"required":["system","id"]}},"required":["id","name","category","total_spend","source"]}},"next_cursor":{"type":["string","null"],"description":"Send as cursor for the next page; null on the last page"},"receipt_id":{"type":"string"}},"required":["suppliers","next_cursor"]}},"required":["success","data"]},"MeetingsListResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"meetings":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":["string","null"]},"started_at":{"type":["string","null"],"description":"ISO 8601; without an offset when the system states the local time only"},"duration_s":{"type":["number","null"],"description":"Seconds; null when the system states no duration"},"participants":{"type":"array","items":{"type":"object","properties":{"name":{"type":["string","null"]},"email":{"type":["string","null"]}},"required":["name","email"]}},"source":{"type":"object","properties":{"system":{"type":"string","description":"The connected system (granola or fireflies)"},"id":{"type":"string","description":"The system's own id of the meeting"}},"required":["system","id"]}},"required":["id","title","started_at","duration_s","participants","source"]}},"next_cursor":{"type":["string","null"],"description":"Send as cursor for the next page; null on the last page. With a query a page can hold fewer than limit meetings."},"receipt_id":{"type":"string"}},"required":["meetings","next_cursor"]}},"required":["success","data"]},"MeetingsGetResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":["string","null"]},"started_at":{"type":["string","null"],"description":"ISO 8601; without an offset when the system states the local time only"},"duration_s":{"type":["number","null"],"description":"Seconds; null when the system states no duration"},"participants":{"type":"array","items":{"type":"object","properties":{"name":{"type":["string","null"]},"email":{"type":["string","null"]}},"required":["name","email"]}},"source":{"type":"object","properties":{"system":{"type":"string","description":"The connected system (granola or fireflies)"},"id":{"type":"string","description":"The system's own id of the meeting"}},"required":["system","id"]},"summary":{"type":["string","null"],"description":"Present when include has summary"},"action_items":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string"},"owner":{"type":["string","null"]}},"required":["text","owner"]},"description":"Present when include has action_items"},"transcript":{"type":"array","items":{"type":"object","properties":{"speaker":{"type":["string","null"]},"text":{"type":"string"},"at":{"type":["number","null"],"description":"Seconds from the start of the recording"}},"required":["speaker","text","at"]},"description":"Present only when include has transcript"},"receipt_id":{"type":"string"}},"required":["id","title","started_at","duration_s","participants","source"]}},"required":["success","data"]}},"parameters":{}},"paths":{"/v1/tools/email/quote":{"post":{"tags":["Email"],"operationId":"getEmailQuote","summary":"Get a price quote for an email send","description":"Returns a 402 quote for the configured `to_address` list. Pay via x402 then call `/v1/tools/email/send`.\nLive execution is not available on staging.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"from_address":{"type":"string","format":"email"},"to_address":{"anyOf":[{"type":"string","format":"email"},{"type":"array","items":{"type":"string","format":"email"},"minItems":1,"maxItems":500}]},"subject":{"type":"string","minLength":1,"maxLength":500},"body":{"type":"string","minLength":1,"maxLength":100000},"from_name":{"type":"string","maxLength":100},"reply_to_email_id":{"type":"string","format":"uuid"},"mailbox_mode":{"type":"string","enum":["relay","mailbox"]}},"required":["body"]}}}},"responses":{"200":{"description":"Quote returned (also returned as 402 for clients expecting Quote-to-Pay)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuoteRequiredResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Quote returned (Quote-to-Pay)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuoteRequiredResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":false,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}]}}},"/v1/tools/email/send":{"post":{"tags":["Email"],"operationId":"sendEmail","summary":"Send an email","description":"Quote-to-Pay: first call returns 402 with a quote; pay via x402 then retry. Async — returns `request_id`.\nLive execution is not available on staging.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"from_address":{"type":"string","format":"email"},"to_address":{"anyOf":[{"type":"string","format":"email"},{"type":"array","items":{"type":"string","format":"email"},"minItems":1,"maxItems":500}]},"subject":{"type":"string","minLength":1,"maxLength":500},"body":{"type":"string","minLength":1,"maxLength":100000},"from_name":{"type":"string","maxLength":100},"reply_to_email_id":{"type":"string","format":"uuid"},"mailbox_mode":{"type":"string","enum":["relay","mailbox"]},"quote_id":{"type":"string","maxLength":100},"attachments":{"type":"array","items":{"type":"object","properties":{"filename":{"type":"string","maxLength":255},"content":{"type":"string","maxLength":26214400},"url":{"type":"string","maxLength":2048},"content_type":{"type":"string","maxLength":100}}},"maxItems":10}},"required":["body"]}}}},"responses":{"202":{"description":"Accepted — async send","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobAcceptedResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":false,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}]}}},"/v1/tools/email/analytics/{domain}":{"get":{"tags":["Email"],"operationId":"getEmailAnalytics","summary":"Email campaign analytics for a domain","security":[{"agentId":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"domain","in":"path"}],"responses":{"200":{"description":"Analytics","content":{"application/json":{"schema":{"type":"object","properties":{"domain":{"type":"string"},"sent":{"type":"integer"},"delivered":{"type":"integer"},"opens":{"type":"integer"},"clicks":{"type":"integer"},"bounces":{"type":"integer"}},"required":["domain","sent","delivered","opens","clicks","bounces"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"description":"Email campaign analytics for a domain","x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","stagingKey"]}}},"/v1/tools/email/domains":{"get":{"tags":["Email"],"operationId":"listEmailDomains","summary":"List the caller agent's domain rotation pool","description":"Returns every domain the agent owns with its pool and warmup state. Only domains whose `pool_status` is `active` are used for sending.","security":[{"x402Payment":[],"stagingKey":[]}],"responses":{"200":{"description":"Domain pool","content":{"application/json":{"schema":{"type":"object","properties":{"agent_id":{"type":"string"},"domains":{"type":"array","items":{"type":"object","properties":{"domain":{"type":"string"},"pool_status":{"type":"string","enum":["active","paused","removed"]},"warmup_state":{"type":"string","enum":["warming","warmed","degraded"]},"pause_reason":{"type":["string","null"],"enum":["warming","low_reputation","manual",null]},"mailbox_mode":{"type":"string","enum":["relay","mailbox"]},"provisioning_status":{"type":"string"},"warmup_score":{"type":["integer","null"]},"warmup_score_updated_at":{"type":["string","null"]},"warmup_started_at":{"type":["string","null"]},"daily_send_limit":{"type":"integer"},"daily_sent_count":{"type":"integer"},"daily_sent_date":{"type":["string","null"]},"last_used_at":{"type":["string","null"]}},"required":["domain","pool_status","warmup_state","pause_reason","mailbox_mode","provisioning_status","warmup_score","warmup_score_updated_at","warmup_started_at","daily_send_limit","daily_sent_count","daily_sent_date","last_used_at"]}}},"required":["agent_id","domains"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}]}}},"/v1/tools/email/domains/{domain}/pause":{"post":{"tags":["Email"],"operationId":"pauseEmailDomain","summary":"Pause a domain (keep in pool, exclude from rotation)","security":[{"x402Payment":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"domain","in":"path"}],"responses":{"200":{"description":"Paused","content":{"application/json":{"schema":{"type":"object","properties":{"domain":{"type":"string"},"pool_status":{"type":"string","enum":["active","paused","removed"]},"warmup_state":{"type":"string","enum":["warming","warmed","degraded"]},"pause_reason":{"type":["string","null"],"enum":["warming","low_reputation","manual",null]}},"required":["domain","pool_status","warmup_state","pause_reason"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"description":"Pause a domain (keep in pool, exclude from rotation)\nLive execution is not available on staging.","x-staging-execution-supported":false,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}]}}},"/v1/tools/email/domains/{domain}/resume":{"post":{"tags":["Email"],"operationId":"resumeEmailDomain","summary":"Resume a paused domain","security":[{"x402Payment":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"domain","in":"path"}],"responses":{"200":{"description":"Resumed","content":{"application/json":{"schema":{"type":"object","properties":{"domain":{"type":"string"},"pool_status":{"type":"string","enum":["active","paused","removed"]},"warmup_state":{"type":"string","enum":["warming","warmed","degraded"]},"pause_reason":{"type":["string","null"],"enum":["warming","low_reputation","manual",null]}},"required":["domain","pool_status","warmup_state","pause_reason"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"description":"Resume a paused domain\nLive execution is not available on staging.","x-staging-execution-supported":false,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}]}}},"/v1/tools/sms/send":{"post":{"tags":["SMS"],"operationId":"sendSms","summary":"Send an SMS","description":"Charged per segment per recipient. Quote-to-Pay: first call returns 402 with a quote. Supports single recipient or array (max 100).\nLive execution is not available on staging.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","minLength":1,"maxLength":1600},"to_number":{"anyOf":[{"type":"string","pattern":"^\\+?[1-9]\\d{1,14}$"},{"type":"array","items":{"type":"string","pattern":"^\\+?[1-9]\\d{1,14}$"},"minItems":1,"maxItems":100}]}},"required":["message","to_number"]}}}},"responses":{"202":{"description":"Accepted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobAcceptedResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":false,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}]}}},"/v1/tools/voice/call":{"post":{"tags":["Voice"],"operationId":"makeVoiceCall","summary":"Make an AI voice call","description":"Quote-to-Pay: charged per minute, plus a number registration fee on the first call. The agent calls `target_number`, follows the `objective`, and returns a transcript + outcome via the async job result.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"objective":{"type":"string","minLength":10,"maxLength":5000},"target_number":{"anyOf":[{"type":"string","pattern":"^\\+?[1-9]\\d{1,14}$"},{"type":"array","items":{"type":"string","pattern":"^\\+?[1-9]\\d{1,14}$"},"minItems":1,"maxItems":5}]},"caller_persona":{"type":"string","maxLength":1000},"caller_name":{"type":"string","maxLength":100},"context":{"type":"string","maxLength":10000},"max_duration_minutes":{"type":"integer","exclusiveMinimum":0,"maximum":30}},"required":["objective","target_number"]}}}},"responses":{"202":{"description":"Accepted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobAcceptedResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}]}}},"/v1/tools/voice/numbers":{"post":{"tags":["Voice"],"operationId":"provisionVoiceNumber","summary":"Get the agent a phone number","description":"Gets the agent a voice number without placing a call, so it can answer calls (then PUT /v1/tools/voice/numbers/{id}/inbound). Returns the agent's existing active number for free (200); otherwise buys one (201) and charges the one-time phone registration fee from prepaid credits (POST /v1/credits/top-up). The fee is debited before anything is bought: too little credit returns 402 and buys nothing; a failed purchase is refunded. A concurrent request for the same agent returns 409 — retry. Refused for agent access-token sessions.\nLive execution is not available on staging.","security":[{"agentId":[],"agentProof":[],"stagingKey":[]}],"responses":{"200":{"description":"Existing number (no charge)","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/ProvisionedVoiceNumber"}},"required":["success","data"]}}}},"201":{"description":"New number bought","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/ProvisionedVoiceNumber"}},"required":["success","data"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Not enough prepaid credits for the registration fee; nothing bought"},"409":{"description":"A number is already being set up for this agent; retry"},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"502":{"description":"Number purchase failed; the fee was refunded"}},"x-staging-execution-supported":false,"x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","agentProof","stagingKey"]}},"get":{"tags":["Voice"],"operationId":"listVoiceNumbers","summary":"List the agent's phone numbers","description":"Numbers come from POST /v1/tools/voice/numbers or the agent's first outbound voice call. `inbound_enabled` shows whether a number answers calls.","security":[{"agentId":[],"agentProof":[],"stagingKey":[]},{"accessToken":[],"stagingKey":[]}],"responses":{"200":{"description":"Numbers","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VoiceNumberList"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","agentProof","stagingKey","accessToken","stagingKey"]}}},"/v1/tools/voice/numbers/{id}/inbound":{"get":{"tags":["Voice"],"operationId":"getInboundConfig","summary":"Get a number's inbound call settings","security":[{"agentId":[],"agentProof":[],"stagingKey":[]},{"accessToken":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"Inbound config","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InboundConfigResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not found or not configured"},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"description":"Get a number's inbound call settings","x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","agentProof","stagingKey","accessToken","stagingKey"]}},"put":{"tags":["Voice"],"operationId":"setInboundConfig","summary":"Answer calls to this number","description":"Creates or replaces how the number answers inbound calls (a full replace: omitted optional fields take their defaults, and an omitted webhook_url removes the webhook). During business hours the configured assistant answers; after hours it takes a message, transfers, or declines. Calls are paid from prepaid credits (POST /v1/credits/top-up), per started minute at the voice call rate; a call is declined when credits cannot cover the minimum call fee, and a call never runs longer than the credits pay for. Refused for agent access-token sessions.","security":[{"agentId":[],"agentProof":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InboundConfigRequest"}}}},"responses":{"200":{"description":"Saved","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InboundConfigResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Number not found"},"409":{"description":"Number released, or SMS-only"},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"502":{"description":"Inbound calling could not be set up for the number, so nothing was saved. Try again"}},"x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","agentProof","stagingKey"]}},"delete":{"tags":["Voice"],"operationId":"disableInboundConfig","summary":"Stop answering calls to this number","description":"Keeps the settings, disabled. Calls to the number are declined.","security":[{"agentId":[],"agentProof":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"Disabled","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InboundConfigResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not found"},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","agentProof","stagingKey"]}}},"/v1/tools/voice/inbound":{"get":{"tags":["Voice"],"operationId":"listInboundCalls","summary":"List inbound calls","security":[{"agentId":[],"agentProof":[],"stagingKey":[]},{"accessToken":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"integer","minimum":1,"maximum":100},"required":false,"name":"limit","in":"query"},{"schema":{"type":"string","description":"ISO timestamp; returns calls created before it."},"required":false,"name":"before","in":"query"},{"schema":{"type":"string","format":"uuid"},"required":false,"name":"phone_number_id","in":"query"},{"schema":{"type":"string","enum":["true","false"]},"required":false,"name":"include_transcript","in":"query"}],"responses":{"200":{"description":"Calls, newest first","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InboundCallList"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"description":"List inbound calls","x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","agentProof","stagingKey","accessToken","stagingKey"]}}},"/v1/tools/voice/inbound/{id}":{"get":{"tags":["Voice"],"operationId":"getInboundCall","summary":"Get one inbound call with transcript","security":[{"agentId":[],"agentProof":[],"stagingKey":[]},{"accessToken":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"Call","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/InboundCall"}},"required":["success","data"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not found"},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"description":"Get one inbound call with transcript","x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","agentProof","stagingKey","accessToken","stagingKey"]}}},"/v1/tools/research":{"post":{"tags":["Research"],"operationId":"deepResearch","summary":"Deep web research on a topic","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"topic":{"type":"string","minLength":1,"maxLength":500},"depth":{"type":"string","enum":["deep","quick"]}},"required":["topic"]}}}},"responses":{"202":{"description":"Accepted — async, poll /v1/requests/:id","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobAcceptedResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"description":"Deep web research on a topic\nLive execution is not available on staging.","x-staging-execution-supported":false,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/find/person":{"post":{"tags":["Research"],"operationId":"personFind","summary":"Find people matching criteria","description":"First call returns 402 with a caller-, route- and input-bound quote. Retry with X-Quote-ID and payment, or with a signed agent proof when credits cover the quote (it then asks for 0), or in an access-token credit session. The price is fixed before execution: base plus the per-person phone add-on (listed on the pricing page) when include_phone is true (search uses the validated limit, default 100; profile and dossier use 1). Fewer matches, cache hits and existing phones do not lower the price; a phone hit is not guaranteed. Phone lookup is off by default; source-returned numbers and published business or record numbers are still returned. The add-on buys lookups for up to N people, not guaranteed hits. Fallbacks and callbacks cost nothing extra. A completed no-match is charged; a failed job is refunded.","security":[{"x402Payment":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string"},"required":false,"name":"X-Quote-ID","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"fresh":{"type":"boolean","description":"Look the record up again instead of using OneShot's stored copy from an earlier lookup, and refresh that copy. Off by default: a record stored within its freshness window is returned as is, with `cached: true` and its `fetched_at`."},"include_phone":{"type":"boolean","default":false,"description":"Off by default. Buy phone lookups for up to the quoted quantity, at the per-person phone add-on listed on the pricing page (search: requested limit, default 100; profile/dossier: one person). No phone hit is guaranteed; unused lookups do not reduce the price."},"filters":{"type":"object","properties":{"job_titles":{"type":"array","items":{"type":"string","maxLength":255},"maxItems":50},"keywords":{"type":"array","items":{"type":"string","maxLength":255},"maxItems":50},"companies":{"type":"array","items":{"type":"string","maxLength":255},"maxItems":50},"company_domains":{"type":"array","items":{"type":"string","maxLength":255},"maxItems":50},"location":{"type":"array","items":{"type":"string","maxLength":255},"maxItems":50},"skills":{"type":"array","items":{"type":"string","maxLength":255},"maxItems":50},"seniority":{"type":"array","items":{"type":"string","maxLength":255},"maxItems":50},"industry":{"type":"array","items":{"type":"string","maxLength":255},"maxItems":50},"company_size":{"type":"string","maxLength":50}}},"job_titles":{"type":"array","items":{"type":"string","maxLength":255},"maxItems":50},"keywords":{"type":"array","items":{"type":"string","maxLength":255},"maxItems":50},"companies":{"type":"array","items":{"type":"string","maxLength":255},"maxItems":50},"company_domains":{"type":"array","items":{"type":"string","maxLength":255},"maxItems":50},"location":{"type":"array","items":{"type":"string","maxLength":255},"maxItems":50},"skills":{"type":"array","items":{"type":"string","maxLength":255},"maxItems":50},"seniority":{"type":"array","items":{"type":"string","maxLength":255},"maxItems":50},"industry":{"type":"array","items":{"type":"string","maxLength":255},"maxItems":50},"company_size":{"type":"string","maxLength":50},"limit":{"type":"integer","minimum":1,"maximum":500,"default":100},"offset":{"type":"integer","minimum":0,"default":0}}}}}},"responses":{"202":{"description":"Accepted — async, poll /v1/requests/:id","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobAcceptedResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}]}}},"/v1/tools/lookup/person-dossier":{"post":{"tags":["Research"],"operationId":"personDossier","summary":"Get a person's profile, social accounts, articles, posts and written summary","description":"First call returns 402 with a caller-, route- and input-bound quote. Retry with X-Quote-ID and payment, or with a signed agent proof when credits cover the quote (it then asks for 0), or in an access-token credit session. The price is fixed before execution: base plus the per-person phone add-on (listed on the pricing page) when include_phone is true (search uses the validated limit, default 100; profile and dossier use 1). Fewer matches, cache hits and existing phones do not lower the price; a phone hit is not guaranteed. Phone lookup is off by default; source-returned numbers and published business or record numbers are still returned. The add-on buys lookups for up to N people, not guaranteed hits. Fallbacks and callbacks cost nothing extra. A completed no-match is charged; a failed job is refunded. Returns an async job. Poll /v1/requests/{id} for PersonDossierCompleted (x-completed-result-schema). Each section has state found, none (looked, empty) or unavailable (failed or missing identifiers). Only a missing profile fails the job and triggers the normal refund. Accounts come from the profile record and caller URL, without paid username discovery.","x-completed-result-schema":{"$ref":"#/components/schemas/PersonDossierCompleted"},"security":[{"x402Payment":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string"},"required":false,"name":"X-Quote-ID","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"fresh":{"type":"boolean","description":"Look the record up again instead of using OneShot's stored copy from an earlier lookup, and refresh that copy. Off by default: a record stored within its freshness window is returned as is, with `cached: true` and its `fetched_at`."},"include_phone":{"type":"boolean","default":false,"description":"Off by default. Buy phone lookups for up to the quoted quantity, at the per-person phone add-on listed on the pricing page (search: requested limit, default 100; profile/dossier: one person). No phone hit is guaranteed; unused lookups do not reduce the price."},"name":{"type":"string","maxLength":255,"description":"Full name"},"company":{"type":"string","maxLength":255,"description":"Employer name or domain, e.g. \"Coinbase\" or \"coinbase.com\""},"email":{"type":"string","format":"email","description":"Email address"},"phone":{"type":"string","maxLength":20,"description":"Phone number"},"profile_url":{"type":"string","maxLength":2048,"description":"Profile URL on LinkedIn, X or GitHub"},"linkedin_url":{"type":"string","maxLength":2048,"description":"Same as profile_url (older name)"},"social_media_url":{"type":"string","format":"uri","description":"Same as profile_url (older name)"}}}}}},"responses":{"202":{"description":"Accepted — async, poll /v1/requests/:id","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobAcceptedResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}]}}},"/v1/tools/lookup/person-social-accounts":{"post":{"tags":["Research"],"operationId":"personSocialAccounts","summary":"Get social profiles for a person","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"fresh":{"type":"boolean","description":"Look the record up again instead of using OneShot's stored copy from an earlier lookup, and refresh that copy. Off by default: a record stored within its freshness window is returned as is, with `cached: true` and its `fetched_at`."},"name":{"type":"string","maxLength":255,"description":"Full name"},"company":{"type":"string","maxLength":255,"description":"Employer name or domain, e.g. \"Coinbase\" or \"coinbase.com\""},"email":{"type":"string","format":"email","description":"Email address"},"phone":{"type":"string","maxLength":20,"description":"Phone number"},"profile_url":{"type":"string","maxLength":2048,"description":"Profile URL on LinkedIn, X or GitHub"},"linkedin_url":{"type":"string","maxLength":2048,"description":"Same as profile_url (older name)"},"social_media_url":{"type":"string","format":"uri","description":"Same as profile_url (older name)"}}}}}},"responses":{"202":{"description":"Accepted — async, poll /v1/requests/:id","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobAcceptedResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"description":"Get social profiles for a person","x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/person-articles":{"post":{"tags":["Research"],"operationId":"personArticles","summary":"Find articles about a person or company","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"fresh":{"type":"boolean","description":"Look the record up again instead of using OneShot's stored copy from an earlier lookup, and refresh that copy. Off by default: a record stored within its freshness window is returned as is, with `cached: true` and its `fetched_at`."},"name":{"type":"string","minLength":1,"maxLength":500},"company":{"type":"string","minLength":1,"maxLength":500},"sort":{"type":"string","enum":["recent","popular"]},"limit":{"type":"integer","minimum":1,"maximum":20}},"required":["name","company"]}}}},"responses":{"202":{"description":"Accepted — async, poll /v1/requests/:id","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobAcceptedResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"description":"Find articles about a person or company","x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/person-posts":{"post":{"tags":["Research"],"operationId":"personPosts","summary":"Get a person's social newsfeed","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"fresh":{"type":"boolean","description":"Look the record up again instead of using OneShot's stored copy from an earlier lookup, and refresh that copy. Off by default: a record stored within its freshness window is returned as is, with `cached: true` and its `fetched_at`."},"name":{"type":"string","maxLength":255,"description":"Full name"},"company":{"type":"string","maxLength":255,"description":"Employer name or domain, e.g. \"Coinbase\" or \"coinbase.com\""},"email":{"type":"string","format":"email","description":"Email address"},"phone":{"type":"string","maxLength":20,"description":"Phone number"},"profile_url":{"type":"string","maxLength":2048,"description":"Profile URL on LinkedIn, X or GitHub"},"linkedin_url":{"type":"string","maxLength":2048,"description":"Same as profile_url (older name)"},"social_media_url":{"type":"string","format":"uri","description":"Same as profile_url (older name)"}}}}}},"responses":{"202":{"description":"Accepted — async, poll /v1/requests/:id","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobAcceptedResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"description":"Get a person's social newsfeed","x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/person-interests":{"post":{"tags":["Research"],"operationId":"personInterests","summary":"Get a person's interests","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"fresh":{"type":"boolean","description":"Look the record up again instead of using OneShot's stored copy from an earlier lookup, and refresh that copy. Off by default: a record stored within its freshness window is returned as is, with `cached: true` and its `fetched_at`."},"name":{"type":"string","maxLength":255,"description":"Full name"},"company":{"type":"string","maxLength":255,"description":"Employer name or domain, e.g. \"Coinbase\" or \"coinbase.com\""},"email":{"type":"string","format":"email","description":"Email address"},"phone":{"type":"string","maxLength":20,"description":"Phone number"},"profile_url":{"type":"string","maxLength":2048,"description":"Profile URL on LinkedIn, X or GitHub"},"linkedin_url":{"type":"string","maxLength":2048,"description":"Same as profile_url (older name)"},"social_media_url":{"type":"string","format":"uri","description":"Same as profile_url (older name)"}}}}}},"responses":{"202":{"description":"Accepted — async, poll /v1/requests/:id","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobAcceptedResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"description":"Get a person's interests","x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/person-followers":{"post":{"tags":["Research"],"operationId":"personFollowers","summary":"Get who follows a person and who they follow","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"fresh":{"type":"boolean","description":"Look the record up again instead of using OneShot's stored copy from an earlier lookup, and refresh that copy. Off by default: a record stored within its freshness window is returned as is, with `cached: true` and its `fetched_at`."},"name":{"type":"string","maxLength":255,"description":"Full name"},"company":{"type":"string","maxLength":255,"description":"Employer name or domain, e.g. \"Coinbase\" or \"coinbase.com\""},"email":{"type":"string","format":"email","description":"Email address"},"phone":{"type":"string","maxLength":20,"description":"Phone number"},"profile_url":{"type":"string","maxLength":2048,"description":"Profile URL on LinkedIn, X or GitHub"},"linkedin_url":{"type":"string","maxLength":2048,"description":"Same as profile_url (older name)"},"social_media_url":{"type":"string","format":"uri","description":"Same as profile_url (older name)"},"type":{"type":"string","enum":["replies","followers","following","followers,following"],"default":"followers,following"},"max_results":{"type":"integer","minimum":1,"maximum":1000}}}}}},"responses":{"202":{"description":"Accepted — async, poll /v1/requests/:id","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobAcceptedResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"description":"Get who follows a person and who they follow","x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/find/company":{"post":{"tags":["Research"],"operationId":"companyFind","summary":"Search companies","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"fresh":{"type":"boolean","description":"Look the record up again instead of using OneShot's stored copy from an earlier lookup, and refresh that copy. Off by default: a record stored within its freshness window is returned as is, with `cached: true` and its `fetched_at`."},"name":{"type":"string","maxLength":500},"domain":{"type":"string","maxLength":255},"industry":{"type":"array","items":{"type":"string","maxLength":100},"maxItems":50},"location":{"type":"array","items":{"type":"string","maxLength":100},"maxItems":50},"size":{"type":"string","maxLength":100},"min_employee_count":{"type":"integer","exclusiveMinimum":0},"max_employee_count":{"type":"integer","exclusiveMinimum":0},"funding_stage":{"type":"string","maxLength":100},"tags":{"type":"array","items":{"type":"string","maxLength":100},"maxItems":50},"limit":{"type":"number","minimum":1,"maximum":100,"default":10}}}}}},"responses":{"202":{"description":"Accepted — async, poll /v1/requests/:id","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobAcceptedResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"description":"Search companies","x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/company-dossier":{"post":{"tags":["Research"],"operationId":"companyDossier","summary":"Get a company's identifiers, identity, locations, operations, licences, court cases, regulatory results, key people, news and written summary.","description":"First call returns 402 with a caller-, route- and input-bound quote of the tool's fixed price. Retry with X-Quote-ID and payment. The call runs a goal limited to a fixed set of tools, a spending cap and a deadline of 15 minutes, and returns an async job. Poll /v1/requests/{id} for CompanyDossierCompleted (x-completed-result-schema). A goal that ends at its deadline or budget returns its best valid result with partial: true and the end reason; one that ends with no valid result fails the job and returns the price as credits. The receipt lists every step the goal ran with its time and cost.","x-completed-result-schema":{"$ref":"#/components/schemas/CompanyDossierCompleted"},"security":[{"x402Payment":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string"},"required":false,"name":"X-Quote-ID","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":200,"description":"The company name"},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:https?:\\/\\/)?[A-Za-z0-9-]+(?:\\.[A-Za-z0-9-]+)+\\/?$","description":"The company website domain"},"address":{"type":"string","minLength":5,"maxLength":300,"description":"A street address of the company"},"state":{"type":"string","pattern":"^[A-Za-z]{2}$","description":"Two-letter US state the company is in or formed in"},"dot_number":{"type":"string","pattern":"^\\d{1,8}$","description":"USDOT number, for a motor carrier"},"include_people":{"type":"boolean","default":true,"description":"Key people (name, title, work email) are included unless this is false"}},"required":["name"]}}}},"responses":{"202":{"description":"Accepted: async, poll /v1/requests/:id","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobAcceptedResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}]}}},"/v1/tools/lookup/person-email":{"post":{"tags":["Enrichment"],"operationId":"personEmail","summary":"Find an email address for a person","security":[{"x402Payment":[],"stagingKey":[]}],"description":"`Idempotency-Key` is optional and applies to wallet sessions only. A retry counts as the same request only when the first 202 response included `idempotency_key`: a retry with the same key, the same input and a fresh `X-Agent-Proof` (scope `submit`) then returns the original job and receipt. If the 202 did not include `idempotency_key`, a repeated request is quoted and charged as a new call. Access-token sessions always pay per call. An accepted job can finish and be billed after the client stops waiting.","parameters":[{"schema":{"type":"string","minLength":1,"maxLength":255},"required":false,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","description":"Fresh signed wallet proof with scope `submit`. Send it with `Idempotency-Key` so a retry can be matched to the original request."},"required":false,"description":"Fresh signed wallet proof with scope `submit`. Send it with `Idempotency-Key` so a retry can be matched to the original request.","name":"X-Agent-Proof","in":"header"},{"schema":{"type":"string"},"required":false,"name":"X-Agent-ID","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"fresh":{"type":"boolean","description":"Look the record up again instead of using OneShot's stored copy from an earlier lookup, and refresh that copy. Off by default: a record stored within its freshness window is returned as is, with `cached: true` and its `fetched_at`."},"name":{"type":"string","maxLength":255,"description":"Full name"},"company":{"type":"string","maxLength":255,"description":"Employer name or domain, e.g. \"Coinbase\" or \"coinbase.com\""},"email":{"type":"string","format":"email","description":"Email address"},"phone":{"type":"string","maxLength":20,"description":"Phone number"},"profile_url":{"type":"string","maxLength":2048,"description":"Profile URL on LinkedIn, X or GitHub"},"linkedin_url":{"type":"string","maxLength":2048,"description":"Same as profile_url (older name)"},"social_media_url":{"type":"string","format":"uri","description":"Same as profile_url (older name)"},"full_name":{"type":"string","maxLength":255,"description":"Same as name (older name)"},"first_name":{"type":"string","maxLength":255},"last_name":{"type":"string","maxLength":255},"company_domain":{"type":"string","maxLength":255,"description":"Employer domain (older name; `company` takes a name or a domain)"},"company_name":{"type":"string","maxLength":255,"description":"Employer name (older name; `company` takes a name or a domain)"}}}}}},"responses":{"202":{"description":"Accepted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobAcceptedResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"409":{"description":"A request with this key is still in progress (`request_in_flight`; wait for the `Retry-After` delay), or this payment authorization has already been used (`payment_already_used`)"},"422":{"description":"Key was previously used with different tool input"},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Temporarily unavailable, and the request may or may not have been accepted. Look the key up with GET /v1/submissions/recover before retrying"}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/person-profile":{"post":{"tags":["Enrichment"],"operationId":"personProfile","summary":"Enrich a profile from a name and company, an email, a phone or a profile URL","security":[{"x402Payment":[],"stagingKey":[]}],"description":"First call returns 402 with a caller-, route- and input-bound quote. Retry with X-Quote-ID and payment, or with a signed agent proof when credits cover the quote (it then asks for 0), or in an access-token credit session. The price is fixed before execution: base plus the per-person phone add-on (listed on the pricing page) when include_phone is true (search uses the validated limit, default 100; profile and dossier use 1). Fewer matches, cache hits and existing phones do not lower the price; a phone hit is not guaranteed. Phone lookup is off by default; source-returned numbers and published business or record numbers are still returned. The add-on buys lookups for up to N people, not guaranteed hits. Fallbacks and callbacks cost nothing extra. A completed no-match is charged; a failed job is refunded. `Idempotency-Key` is optional; the 202 response returns the admitted key as `idempotency_key`. Retrying with that key, the same canonical input and the original `X-Quote-ID` returns the original job and receipt without another charge, even if the quote is consumed or expired. Authenticate the replay as the same agent using an access-token session or a fresh `X-Agent-Proof` (scope `submit`). A replay returns `Idempotent-Replay: true`; changed input with the same key returns 422. After an uncertain response, use GET /v1/submissions/recover before retrying. An accepted job can finish and be billed after the client stops waiting.","parameters":[{"schema":{"type":"string","minLength":1,"maxLength":255},"required":false,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string","description":"Fresh signed wallet proof with scope `submit`. Send it with `Idempotency-Key` so a retry can be matched to the original request."},"required":false,"description":"Fresh signed wallet proof with scope `submit`. Send it with `Idempotency-Key` so a retry can be matched to the original request.","name":"X-Agent-Proof","in":"header"},{"schema":{"type":"string"},"required":false,"name":"X-Agent-ID","in":"header"},{"schema":{"type":"string"},"required":false,"name":"X-Quote-ID","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"fresh":{"type":"boolean","description":"Look the record up again instead of using OneShot's stored copy from an earlier lookup, and refresh that copy. Off by default: a record stored within its freshness window is returned as is, with `cached: true` and its `fetched_at`."},"include_phone":{"type":"boolean","default":false,"description":"Off by default. Buy phone lookups for up to the quoted quantity, at the per-person phone add-on listed on the pricing page (search: requested limit, default 100; profile/dossier: one person). No phone hit is guaranteed; unused lookups do not reduce the price."},"name":{"type":"string","maxLength":255,"description":"Full name"},"company":{"type":"string","maxLength":255,"description":"Employer name or domain, e.g. \"Coinbase\" or \"coinbase.com\""},"email":{"type":"string","format":"email","description":"Email address"},"phone":{"type":"string","maxLength":20,"description":"Phone number"},"profile_url":{"type":"string","maxLength":2048,"description":"Profile URL on LinkedIn, X or GitHub"},"linkedin_url":{"type":"string","maxLength":2048,"description":"Same as profile_url (older name)"},"social_media_url":{"type":"string","format":"uri","description":"Same as profile_url (older name)"},"company_domain":{"type":"string","maxLength":255,"description":"Employer domain (older name; `company` takes a name or a domain)"},"company_name":{"type":"string","maxLength":255,"description":"Employer name, for a name lookup when the company domain is not known (e.g. \"Coinbase\")."}}}}}},"responses":{"202":{"description":"Accepted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobAcceptedResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"409":{"description":"A request with this key is still in progress (`request_in_flight`; wait for the `Retry-After` delay), or this payment authorization has already been used (`payment_already_used`)"},"422":{"description":"Key was previously used with different tool input"},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Temporarily unavailable, and the request may or may not have been accepted. Look the key up with GET /v1/submissions/recover before retrying"}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}]}}},"/v1/tools/lookup/company-profile":{"post":{"tags":["Enrichment"],"operationId":"companyProfile","summary":"Enrich company data","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"fresh":{"type":"boolean","description":"Look the record up again instead of using OneShot's stored copy from an earlier lookup, and refresh that copy. Off by default: a record stored within its freshness window is returned as is, with `cached: true` and its `fetched_at`."},"domain":{"type":"string","maxLength":255},"name":{"type":"string","maxLength":255},"linkedin_url":{"type":"string","maxLength":2048},"ticker":{"type":"string","maxLength":10}}}}}},"responses":{"202":{"description":"Accepted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobAcceptedResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"description":"Enrich company data","x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/find/business":{"post":{"tags":["Local Businesses"],"operationId":"businessFind","summary":"Discover local businesses by category and location","description":"Main-street businesses (restaurants, contractors, practices, auto shops) by category/keywords × location. Flat price per search. Results carry domain, operating_status, phone, category, is_chain, rating, review_count, and a stable id.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"fresh":{"type":"boolean","description":"Look the record up again instead of using OneShot's stored copy from an earlier lookup, and refresh that copy. Off by default: a record stored within its freshness window is returned as is, with `cached: true` and its `fetched_at`."},"category":{"type":"array","items":{"type":"string","minLength":1,"maxLength":120},"maxItems":50},"keywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":255},"maxItems":50},"location":{"type":"array","items":{"type":"string","minLength":1,"maxLength":255},"minItems":1,"maxItems":50},"min_rating":{"type":"number","minimum":0,"maximum":5},"min_review_count":{"type":"integer","minimum":0},"is_chain":{"type":"boolean"},"operating_status":{"type":"string","enum":["open","any"],"default":"open"},"has_domain":{"type":"boolean"},"limit":{"type":"number","minimum":1,"maximum":500,"default":100}},"required":["location"]}}}},"responses":{"202":{"description":"Accepted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobAcceptedResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/resolve/business":{"post":{"tags":["Local Businesses"],"operationId":"businessResolve","summary":"Resolve a business name + location to its domain, phone, and status","description":"Given a business name and at least one locating field (address, city, postal_code, or phone), returns the matching business with a confidence score. A miss completes with `found: false` rather than an error.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"fresh":{"type":"boolean","description":"Look the record up again instead of using OneShot's stored copy from an earlier lookup, and refresh that copy. Off by default: a record stored within its freshness window is returned as is, with `cached: true` and its `fetched_at`."},"name":{"type":"string","minLength":1,"maxLength":255},"address":{"type":"string","maxLength":500},"city":{"type":"string","maxLength":120},"region":{"type":"string","maxLength":120},"postal_code":{"type":"string","maxLength":20},"phone":{"type":"string","maxLength":40}},"required":["name"]}}}},"responses":{"202":{"description":"Accepted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobAcceptedResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/find/record-solicitations":{"post":{"tags":["Government"],"operationId":"recordSolicitationsFind","summary":"Federal contract opportunities by NAICS code","description":"SAM.gov Sources Sought / Presolicitation notices (and other notice types) by NAICS code, each with the contracting officer's published contact, agency, response deadline, set-aside, and a description body for the first rows. Flat price per search. Zero notices is a completed job, not an error.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"naics":{"type":"array","items":{"type":"string","pattern":"^\\d{6}$"},"minItems":1,"maxItems":20},"notice_types":{"type":"array","items":{"type":"string","enum":["r","p","o","k","s","a","u","i","g"]},"minItems":1,"maxItems":9,"default":["r","p"]},"since_days":{"type":"integer","minimum":1,"maximum":365,"default":30},"agencies":{"type":"array","items":{"type":"string","maxLength":200},"maxItems":20},"keywords":{"type":"array","items":{"type":"string","maxLength":120},"maxItems":20},"state":{"type":"string","minLength":2,"maxLength":2},"set_aside":{"type":"string","maxLength":20},"active_only":{"type":"boolean","default":true},"has_contact":{"type":"boolean","default":false},"include_description":{"type":"boolean","default":true},"limit":{"type":"integer","minimum":1,"maximum":500,"default":100}},"required":["naics"]}}}},"responses":{"202":{"description":"Accepted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobAcceptedResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/place-camera-snapshot":{"post":{"tags":["Lookups"],"operationId":"lookupPlaceCameraSnapshot","summary":"Find nearby public road cameras and check the nearest available current frame.","description":"Finds public road cameras run by transport authorities, nearest first, and fetches the nearest available frame. Some cameras refresh only every few minutes. Source fields are observed; distance, converted coordinates, frame_age_s and offline are derived. Coverage reports how many cameras the catalogue could find, even when no frame was fetched. An empty list with catalogue_available true means the loaded catalogue was searched and no cameras were in range. With catalogue_available false it provides no evidence either way. Neither proves a physical scene is clear. coverage.networks_loaded lists catalogues loaded within 48 hours; coverage is partial outside those networks. Stored cameras remain visible when catalogue refreshes fail. Fetches at most three frames in nearest order, stopping after a usable frame. Failed or older-than-30-minute frames are offline and remain listed. Unchecked cameras have null offline and frame_age_s. frame_captured_at comes from the image Last-Modified header; absent or future timestamps are null. HTTP Date and catalogue update times are not image capture times. Coordinates converted from Web Mercator are under derived.latitude and derived.longitude, with the original position under observed.source_position. Other coordinates are under observed. radius_km defaults to 5 (maximum 50); limit defaults to 3 (maximum 10). Return attribution alongside any displayed frame. TxDOT frame URLs return a JSON snippet containing a base64 JPEG. Source: Public transport authorities. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"latitude":{"type":"number","minimum":-90,"maximum":90,"description":"Latitude in decimal degrees"},"longitude":{"type":"number","minimum":-180,"maximum":180,"description":"Longitude in decimal degrees"},"radius_km":{"type":"number","exclusiveMinimum":0,"maximum":50,"default":5,"description":"Search radius in kilometres"},"limit":{"type":"integer","minimum":1,"maximum":10,"default":3,"description":"Most cameras returned"}},"required":["latitude","longitude"],"example":{"latitude":51.60067,"longitude":-0.01594}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupPlaceCameraSnapshotResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/place-flood-zone":{"post":{"tags":["Lookups"],"operationId":"lookupPlaceFloodZone","summary":"Return the mapped flood hazard zone at a latitude and longitude in the United States.","description":"Returns the flood hazard zone at a point from the flood hazard map of the US Federal Emergency Management Agency: the zone, its subtype, whether the point is in a special flood hazard area, the base flood elevation when stated and the map. This is a screening aid, not a flood determination: never base lending or insurance decisions on it. This product uses the Federal Emergency Management Agency’s OpenFEMA API, but is not endorsed by FEMA. The Federal Government or FEMA cannot vouch for the data or analyses derived from these data after the data have been retrieved from the Agency's website(s). Give coordinates, not an address; Place Resolve returns the coordinates for an address. Covers US areas with a published flood hazard map. `mapped` is false when no map covers the point. When more than one zone covers the point, the first is returned and `overlapping_zones` gives the count. Source: US Federal Emergency Management Agency. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"latitude":{"type":"number","minimum":17,"maximum":72,"description":"Latitude in decimal degrees"},"longitude":{"type":"number","minimum":-180,"maximum":-64,"description":"Longitude in decimal degrees"}},"required":["latitude","longitude"],"example":{"latitude":29.7604,"longitude":-95.3698}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupPlaceFloodZoneResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/place-hazard-risk":{"post":{"tags":["Lookups"],"operationId":"lookupPlaceHazardRisk","summary":"Look up natural hazard risk for a US county, census tract or point.","description":"Returns FEMA's National Risk Index for a US county or census tract, from the US Federal Emergency Management Agency: composite risk, expected annual loss, social vulnerability, community resilience and risk, loss and frequency for 18 natural hazards. Scores are national percentiles. For planning, not a local risk assessment. This product uses the Federal Emergency Management Agency's National Risk Index data but is not endorsed by FEMA, and FEMA cannot vouch for the data or analyses derived from it after retrieval. The index is for planning only and is not a substitute for a local risk assessment. Give exactly one county, tract or coordinate pair. A point answers for its 2020 census tract; Place Resolve gives coordinates for an address. Unknown areas return found: false. Flood Zone gives one hazard’s map at a point; Disaster Declarations lists past declared events. Annual frequency is events or event-days per year, as defined for each hazard by the index. Population is from 2020. Do not attempt to reidentify individuals or reverse engineer the source data. Source: US Federal Emergency Management Agency. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"county_fips":{"type":"string","pattern":"^\\d{5}$","description":"Five-digit county FIPS code"},"census_tract":{"type":"string","pattern":"^\\d{11}$","description":"Eleven-digit 2020 census tract GEOID"},"latitude":{"type":"number","minimum":-90,"maximum":90,"description":"Latitude in decimal degrees"},"longitude":{"type":"number","minimum":-180,"maximum":180,"description":"Longitude in decimal degrees"}},"example":{"county_fips":"48201"}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupPlaceHazardRiskResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/place-flood-claims":{"post":{"tags":["Lookups"],"operationId":"lookupPlaceFloodClaims","summary":"List redacted flood insurance claims for a US ZIP code, county or census tract.","description":"Lists National Flood Insurance Program claims for a US ZIP code, county or census tract, newest loss first, from the US Federal Emergency Management Agency's redacted claims: loss date, flood event, cause, flood zone, amounts paid and damage. Total counts every match and can exceed the page returned. Claims are redacted; locations are approximate. This product uses the Federal Emergency Management Agency's OpenFEMA data but is not endorsed by FEMA. The claims are redacted by FEMA; they must not be used to identify a policyholder. Give exactly one area. Optional loss_after and loss_before include both dates; limit defaults to 25, at most 100. No claims returns total: 0. Coordinates are rounded by FEMA to 0.1 degree and can fall in the wrong county. The source county code may not reflect the individual county where the property is located. Flood Zone gives the map designation; Disaster Declarations gives declarations, not insurance payouts. Policies and paid-amount totals are not included. Do not attempt to reidentify individuals or reverse engineer the source data. Source: US Federal Emergency Management Agency. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"zip_code":{"type":"string","pattern":"^\\d{5}$","description":"Five-digit ZIP code"},"county_fips":{"type":"string","pattern":"^\\d{5}$","description":"Five-digit county FIPS code"},"census_tract":{"type":"string","pattern":"^\\d{11}$","description":"Eleven-digit census tract GEOID"},"loss_after":{"type":"string","pattern":"^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])$","description":"Losses on or after this date, YYYY-MM-DD"},"loss_before":{"type":"string","pattern":"^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])$","description":"Losses on or before this date, YYYY-MM-DD"},"limit":{"type":"integer","minimum":1,"maximum":100,"description":"Most claims returned, newest loss first; default 25"}},"example":{"zip_code":"23452","limit":2}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupPlaceFloodClaimsResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/place-opportunity-zone":{"post":{"tags":["Lookups"],"operationId":"lookupPlaceOpportunityZone","summary":"Check the 2018 Qualified Opportunity Zone designation of a US tract or point.","description":"Says whether a US census tract or point is in a Qualified Opportunity Zone designated by the US Department of the Treasury in 2018, as published by the US Department of Housing and Urban Development, with tract, state, county and rural flag. Tracts are from 2010. The 2027 designation round is not included. Give exactly one 2010 census tract GEOID or coordinate pair. A point answers for its 2010 tract; 2020 census tract ids can differ. A point outside every designated zone, including outside the United States, returns designated: false. Place Resolve gives coordinates for an address. Rural means identified as a rural census tract according to the US Treasury. This is not tax advice. HUD and the dataset and metadata authors assume no responsibility for the use or misuse of the dataset. Source: US Department of the Treasury. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"census_tract":{"type":"string","pattern":"^\\d{11}$","description":"Eleven-digit 2010 census tract GEOID"},"latitude":{"type":"number","minimum":-90,"maximum":90,"description":"Latitude in decimal degrees"},"longitude":{"type":"number","minimum":-180,"maximum":180,"description":"Longitude in decimal degrees"}},"example":{"census_tract":"48201532800"}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupPlaceOpportunityZoneResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/place-hospitals":{"post":{"tags":["Lookups"],"operationId":"lookupPlaceHospitals","summary":"List the hospitals registered with Medicare in a US ZIP code, with address, type, owner, emergency services and overall quality rating.","description":"Lists the hospitals registered with Medicare in a US ZIP code, from the hospital list of the US Centers for Medicare & Medicaid Services: name, address, county, main telephone line, type, ownership, emergency services and overall quality rating from 1 to 5. `total` counts every hospital in the ZIP code and can be more than the number returned. The rating is null when the source gives no number for the hospital. A ZIP code with no registered hospital gives a total of 0 and an empty list. Source: US Centers for Medicare & Medicaid Services. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"zip_code":{"type":"string","pattern":"^\\d{5}$","description":"A US ZIP code, for example 45220"},"limit":{"type":"integer","minimum":1,"maximum":25,"default":10,"description":"The most hospitals to return"}},"required":["zip_code"],"example":{"zip_code":"45220","limit":2}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupPlaceHospitalsResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/place-wildfires":{"post":{"tags":["Lookups"],"operationId":"lookupPlaceWildfires","summary":"List the wildfires burning near a point in the United States, largest first, with size, containment and discovery date.","description":"Lists the wildfires burning now within a distance of a latitude and longitude, largest first, from the current fire perimeters of the US National Interagency Fire Center: name, acres, percent contained, discovery date, state and county. An empty list means no published perimeter matched, not that no fire is near: a new fire may not have a perimeter yet. Use it to check fire activity around a property, a facility or a route stop. Covers current wildfire perimeters in the United States. The percent contained is null when the source states none. The discovery date is YYYY-MM-DD, UTC. `radius_km` sets the distance (1 to 200, default 50) and `limit` the most returned (1 to 25, default 10); `more` is true when the source held more fires in range than were returned. A point with no fire in range is a completed result with an empty list. Source: US National Interagency Fire Center. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"latitude":{"type":"number","minimum":-90,"maximum":90,"description":"Latitude in decimal degrees, for example 44.7"},"longitude":{"type":"number","minimum":-180,"maximum":180,"description":"Longitude in decimal degrees (west is negative), for example -120.0"},"radius_km":{"type":"number","minimum":1,"maximum":200,"default":50,"description":"Distance from the point in kilometres"},"limit":{"type":"integer","minimum":1,"maximum":25,"default":10,"description":"Most fires to return"}},"required":["latitude","longitude"],"example":{"latitude":44.7,"longitude":-120,"radius_km":100,"limit":1}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupPlaceWildfiresResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/vehicle-complaints":{"post":{"tags":["Lookups"],"operationId":"lookupVehicleComplaints","summary":"Summarize the safety complaints owners filed for a vehicle make, model and model year, with the newest ones.","description":"Summarizes what owners have reported to the US National Highway Traffic Safety Administration about a make, model and model year: complaint counts, crashes, fires, injuries, deaths, the components reported most and the newest complaints in the owner's words. Complaints are reports by owners, not findings by the regulator. A complaint does not show that the vehicle has a defect. A model with few complaints is not proven free of a defect. Use it to check a used vehicle before a purchase, a loan, a claim or a fleet decision. Covers vehicles sold in the United States. To see the safety recalls instead, use Vehicle Recalls. `total` is 0 when the model has no complaints. Source: US National Highway Traffic Safety Administration. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"make":{"type":"string","minLength":2,"maxLength":40,"pattern":"^[A-Za-z0-9 -]+$","description":"The vehicle make, for example Honda"},"model":{"type":"string","minLength":1,"maxLength":60,"pattern":"^[A-Za-z0-9 .-]+$","description":"The vehicle model, for example CR-V"},"model_year":{"type":"integer","minimum":1950,"maximum":2027,"description":"The model year"},"limit":{"type":"integer","minimum":1,"maximum":25,"default":10,"description":"The most complaints to return, newest first"}},"required":["make","model","model_year"],"example":{"make":"Fiat","model":"124 Spider","model_year":2019,"limit":1}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupVehicleComplaintsResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/vehicle-crash-ratings":{"post":{"tags":["Lookups"],"operationId":"lookupVehicleCrashRatings","summary":"Give the federal crash test star ratings of a vehicle make, model and model year.","description":"Returns the federal crash test star ratings of a make, model and model year from the New Car Assessment Program of the US National Highway Traffic Safety Administration: overall, frontal, side, side pole and rollover ratings, the rollover risk, and which safety features are standard or optional. A rating is null when the source says the test was not run. The safety features are electronic stability control, forward collision warning and lane departure warning. The result also lists every rated variant of the model year, with the identifier the source gives each, so a second call with `variant` can rate another one. Use it to compare the safety of vehicles before a purchase, a fleet decision or an insurance review. Covers US passenger vehicles rated in the federal New Car Assessment Program. `rated` is false when the model year has no rated variant or none matches `variant`. To start from a vehicle identification number, decode it first with Vehicle Identification. Recalls and owner complaints have their own tools. Source: US National Highway Traffic Safety Administration. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"model_year":{"type":"integer","minimum":1990,"maximum":2027,"description":"The model year"},"make":{"type":"string","minLength":2,"maxLength":40,"description":"The vehicle make, for example Toyota"},"model":{"type":"string","minLength":1,"maxLength":60,"description":"The vehicle model, for example Camry"},"variant":{"type":"string","minLength":1,"maxLength":40,"description":"Text found in the variant description, matched without regard to case, for example AWD or 4 DR. Without it the first rated variant is used"}},"required":["model_year","make","model"],"example":{"model_year":2024,"make":"Toyota","model":"Camry","variant":"FWD"}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupVehicleCrashRatingsResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/vehicle-fuel-economy":{"post":{"tags":["Lookups"],"operationId":"lookupVehicleFuelEconomy","summary":"Look up official fuel economy, annual fuel cost, electric range and emissions for a vehicle model year.","description":"Returns federal fuel economy ratings and annual fuel expenditure for US light-duty vehicles from model year 1984 on, from the US Department of Energy and US Environmental Protection Agency: city, highway and combined miles per gallon (or the equivalent for electric vehicles) for each engine and transmission option. The model must be named as the source names it. Camry, Camry AWD LE/SE and Camry Hybrid LE are three separate models. Make and model matching is case-insensitive. The result lists the engine and transmission options in source order. `variant` picks among the options by case-insensitive text, for example 4 cyl, 2.5 L or S8; without it the first option is used. An unknown model or unmatched variant completes with `matched: false` and the available options. Unavailable or inapplicable values are null. The source refreshes weekly; updated_on dates the selected record. Source: US Department of Energy and US Environmental Protection Agency. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"model_year":{"type":"integer","minimum":1984,"maximum":2027,"description":"The model year, from 1984 through next calendar year"},"make":{"type":"string","minLength":2,"maxLength":40,"description":"The vehicle make, for example Toyota"},"model":{"type":"string","minLength":1,"maxLength":60,"description":"The model as the source names it, for example Camry or Camry Hybrid LE"},"variant":{"type":"string","minLength":1,"maxLength":60,"description":"Case-insensitive text in the option description, for example 4 cyl, 2.5 L or S8; omitted selects the first option"}},"required":["model_year","make","model"],"example":{"model_year":2020,"make":"Toyota","model":"Camry","variant":"4 cyl"}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupVehicleFuelEconomyResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/vehicle-identification":{"post":{"tags":["Lookups"],"operationId":"lookupVehicleIdentification","summary":"Decode a vehicle identification number into make, model, year and build details.","description":"Decodes a 17-character vehicle identification number (VIN), from the records of the US National Highway Traffic Safety Administration: make, model, model year, trim, body class, engine, fuel, transmission, manufacturer and assembly plant. Covers vehicles sold in the United States. `decoded` is false when the number does not resolve to a vehicle; `notes` then says why. Use it to confirm that a vehicle in a listing, title, claim or invoice is what it says it is. Source: US National Highway Traffic Safety Administration. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"vin":{"type":"string","pattern":"^[A-HJ-NPR-Z0-9]{17}$","description":"The vehicle identification number"},"model_year":{"type":"integer","minimum":1981,"maximum":2100,"description":"Model year, when known. Resolves the year for numbers where position 10 is ambiguous"}},"required":["vin"],"example":{"vin":"1HGCM82633A004352"}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupVehicleIdentificationResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/aircraft-registration":{"post":{"tags":["Lookups"],"operationId":"lookupAircraftRegistration","summary":"Look up US aircraft registrations by N-number, Mode S code or registered owner.","description":"Find US civil aircraft and their registered owners in the daily FAA registry. Search by N-number, six-digit hexadecimal Mode S code or owner-name prefix. No street addresses are returned. Registration does not establish who flies the aircraft or its current location. An empty result with coverage.available true means no match in the held release. False means no evidence either way. Observed fields are registry values, with code labels and date formatting decoded. There are no derived aircraft fields. Owner names match normalized uppercase text prefixes. Lists default to 25 rows, at most 50. Status and aircraft type retain FAA codes. The source refreshes daily at 11:30 p.m. Central. coverage.as_of dates the held release; newer registrations may be absent. Source: US Federal Aviation Administration. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"registration":{"type":"string","pattern":"^N[1-9](?:[0-9]{0,4}|[0-9]{0,3}[A-HJ-NP-Z]|[0-9]{0,2}[A-HJ-NP-Z]{2})$","description":"US N-number, such as N123AB"},"icao24":{"type":"string","pattern":"^[0-9A-F]{6}$","description":"Six hexadecimal Mode S digits"},"owner_name":{"type":"string","minLength":1,"maxLength":200,"pattern":"^[^\\u0000\\uD800-\\uDFFF]+$","description":"Registered owner name prefix"},"limit":{"type":"integer","minimum":1,"maximum":50,"default":25,"description":"Maximum owner-search rows"}},"example":{"registration":"N123AB"}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupAircraftRegistrationResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/vehicle-recalls":{"post":{"tags":["Lookups"],"operationId":"lookupVehicleRecalls","summary":"List the safety recalls issued for a vehicle make, model and model year.","description":"Lists the safety recalls issued for a make, model and model year, from the US National Highway Traffic Safety Administration: campaign number, report date, component, what is wrong, the risk, the remedy and whether owners are told to park the vehicle. These are the recalls for the model, not proof that a particular vehicle has had the repair done. Use it to check a used vehicle before a purchase, a loan, a claim or a fleet decision. Covers vehicles sold in the United States. To start from a vehicle identification number, decode it first with Vehicle Identification, which returns the make, model and year. `total` is 0 when the model has no recalls. Source: US National Highway Traffic Safety Administration. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"make":{"type":"string","minLength":2,"maxLength":40,"pattern":"^[A-Za-z0-9 -]+$","description":"The vehicle make, for example Honda"},"model":{"type":"string","minLength":1,"maxLength":60,"pattern":"^[A-Za-z0-9 .-]+$","description":"The vehicle model, for example CR-V"},"model_year":{"type":"integer","minimum":1950,"maximum":2027,"description":"The model year"},"limit":{"type":"integer","minimum":1,"maximum":50,"default":25,"description":"The most recalls to return"}},"required":["make","model","model_year"],"example":{"make":"Honda","model":"CR-V","model_year":2019,"limit":1}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupVehicleRecallsResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/place-disasters":{"post":{"tags":["Lookups"],"operationId":"lookupPlaceDisasters","summary":"List the federal disaster declarations that covered a US county.","description":"Lists the federal disaster declarations (floods, hurricanes, fires, storms, earthquakes and more) that covered a US county, newest first, from the US Federal Emergency Management Agency. Declarations that cover a whole state are included for every county in it and marked `statewide`. `total` counts every match and can exceed the page returned. This product uses the Federal Emergency Management Agency’s OpenFEMA API, but is not endorsed by FEMA. The Federal Government or FEMA cannot vouch for the data or analyses derived from these data after the data have been retrieved from the Agency's website(s). Use it to check the hazard history of a property, a policy or a claim location. Give either a `place_id` from `place_resolve`, or both `state` and `county`; never both forms. Narrow with `incident_type` (for example Flood, Hurricane, Fire) and a declaration date range. A county with no declarations is a completed result with `total` 0. Source: US Federal Emergency Management Agency. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"place_id":{"type":"string","pattern":"^place_[0-9a-f]{32}$","description":"OneShot place id returned by place_resolve; use instead of state and county"},"state":{"type":"string","pattern":"^[A-Z]{2}$","description":"State postal code"},"county":{"type":"string","pattern":"^[\\p{L}\\p{M} .'-]{2,40}$","description":"County or parish name without the word County or Parish, for example Harris"},"incident_type":{"type":"string","pattern":"^[A-Za-z /-]{2,40}$","description":"Only declarations for this incident type"},"declared_after":{"type":"string","pattern":"^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])$","description":"Only declarations made on or after this date"},"declared_before":{"type":"string","pattern":"^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])$","description":"Only declarations made on or before this date"},"limit":{"type":"integer","minimum":1,"maximum":100,"description":"Most declarations to return, newest first. Default 25"}},"example":{"state":"TX","county":"Harris","incident_type":"Hurricane","declared_after":"2015-01-01","declared_before":"2024-12-31","limit":1}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupPlaceDisastersResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/place-earthquakes":{"post":{"tags":["Lookups"],"operationId":"lookupPlaceEarthquakes","summary":"List the earthquakes recorded near a point since a date, newest first, with magnitude, depth and felt reports.","description":"Lists the earthquakes the US Geological Survey recorded within a distance of a latitude and longitude, newest first: magnitude, depth in kilometres, felt reports and whether a tsunami was flagged. By default it looks back 30 days within 100 km for magnitude 2.5 and above. Quarry blasts and other events that are not earthquakes are left out. Use it to check the seismic history around a property, a facility or a route stop. `felt_reports` is how many people reported feeling it, null when nobody was asked or none reported. `since` and `until` (YYYY-MM-DD, UTC) set the dates, `radius_km` the distance (1 to 500), `min_magnitude` the floor and `limit` the most returned (1 to 50). A point with no earthquake in range is a completed result with an empty list. Source: US Geological Survey. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"latitude":{"type":"number","minimum":-90,"maximum":90,"description":"Latitude in decimal degrees, for example 37.77"},"longitude":{"type":"number","minimum":-180,"maximum":180,"description":"Longitude in decimal degrees (west is negative), for example -122.42"},"radius_km":{"type":"number","minimum":1,"maximum":500,"default":100,"description":"Distance from the point in kilometres"},"since":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Earliest date (UTC); default 30 days before the call"},"until":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Latest date (UTC); default now"},"min_magnitude":{"type":"number","minimum":0,"maximum":10,"default":2.5,"description":"Smallest magnitude to return"},"limit":{"type":"integer","minimum":1,"maximum":50,"default":10,"description":"Most earthquakes to return"}},"required":["latitude","longitude"],"example":{"latitude":37.77,"longitude":-122.42,"radius_km":100,"since":"2026-07-01","min_magnitude":2.5,"limit":1}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupPlaceEarthquakesResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/place-storm-events":{"post":{"tags":["Lookups"],"operationId":"lookupPlaceStormEvents","summary":"List the severe weather events recorded in a US county since a date, newest first, with magnitude, deaths, injuries and damage.","description":"Lists the severe weather events the US National Oceanic and Atmospheric Administration recorded in a US county, parish or independent city since 1950, newest first: type, begin and end time, location, magnitude, deaths, injuries and property and crop damage. Events appear about three months after they happen; for the last three days use Hail and Wind Reports. Use it to check what hail, wind, tornado, flood or winter weather a property, a claim or a site has been through. `county` must be spelled as the source lists it (`Cleveland`, `Calcasieu Parish`, `City of Richmond`); case does not matter and a trailing ` County` may be left off. A county the source does not list returns `county_found` false and `counties`, the names it accepts for that state. `since` and `until` (YYYY-MM-DD) set the dates, both inclusive; default the last ten years. Events before 1996 cover only tornado, thunderstorm wind and hail, and before 1955 only tornadoes. `event_types` narrows to the source's types (`Hail`, `Thunderstorm Wind`, `Tornado`, `Flash Flood`, ...); omitted, every type. A county search includes events recorded on the forecast zone of the same name (`area_type` zone). Null damage means none was reported, never zero. `truncated` true means the source cut the answer at its row cap and older events in the range are missing: narrow the dates. Times carry the offset the source states; it labels times in standard time all year. Source: US National Oceanic and Atmospheric Administration. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"state":{"type":"string","enum":["AL","AK","AZ","AR","CA","CO","CT","DE","DC","FL","GA","HI","ID","IL","IN","IA","KS","KY","LA","ME","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","OH","OK","OR","PA","RI","SC","SD","TN","TX","UT","VT","VA","WA","WV","WI","WY","PR","VI","GU","AS"],"description":"USPS state code, for example OK; DC, PR, VI, GU and AS are accepted"},"county":{"type":"string","minLength":1,"maxLength":60,"pattern":"^[A-Za-z0-9 .'()-]+$","description":"County, parish or independent city as the source names it, for example Cleveland, Calcasieu Parish or City of Richmond"},"since":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Earliest event date; default ten years before the call"},"until":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Latest event date; default the day of the call"},"event_types":{"type":"array","items":{"type":"string","enum":["Astronomical Low Tide","Avalanche","Blizzard","Coastal Flood","Cold/Wind Chill","Debris Flow","Dense Fog","Dense Smoke","Drought","Dust Devil","Dust Storm","Excessive Heat","Extreme Cold/Wind Chill","Flash Flood","Flood","Freezing Fog","Frost/Freeze","Funnel Cloud","Hail","Heat","Heavy Rain","Heavy Snow","High Surf","High Wind","Hurricane","Ice Storm","Lake-Effect Snow","Lakeshore Flood","Lightning","Marine Dense Fog","Marine Hail","Marine Heavy Freezing Spray","Marine High Wind","Marine Hurricane/Typhoon","Marine Lightning","Marine Strong Wind","Marine Thunderstorm Wind","Marine Tropical Depression","Marine Tropical Storm","Rip Current","Seiche","Sleet","Sneakerwave","Storm Surge/Tide","Strong Wind","Thunderstorm Wind","Tornado","Tropical Depression","Tropical Storm","Tsunami","Volcanic Ash","Waterspout","Wildfire","Winter Storm","Winter Weather"]},"minItems":1,"maxItems":55,"description":"Event types to return, as the source names them; omitted, every type"},"limit":{"type":"integer","minimum":1,"maximum":200,"default":50,"description":"Most events to return"}},"required":["state","county"],"example":{"state":"OK","county":"Cleveland","since":"2013-05-20","until":"2013-05-20","event_types":["Tornado"]}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupPlaceStormEventsResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/place-hail-wind-reports":{"post":{"tags":["Lookups"],"operationId":"lookupPlaceHailWindReports","summary":"List the hail, damaging wind and tornado reports filed near a US point or in a state in the last 24, 48 or 72 hours.","description":"Lists the hail, damaging wind and tornado reports US National Weather Service offices filed in the last 24, 48 or 72 hours near a latitude and longitude or in a state, newest first: size or speed, time, place, office and remarks. Reports are preliminary and unverified and may repeat one event. Older reports are not kept; use Storm Events. Use it to check whether hail, a damaging gust or a tornado was reported near a property, a claim site or a route stop in the last day or three. Give a point (`latitude`, `longitude`, with `radius_km` 1 to 250, default 25) or a `state` (two-letter code), not both. `hours` is 24, 48 or 72 (default 24). `types` narrows to `hail`, `wind` or `tornado`; default all three. `magnitude` is hail size in inches or wind speed in mph (`magnitude_units` says which); damage and tornado reports carry no magnitude. `location` is the source's short place text, cut at 23 characters. `truncated` true means more reports matched than `limit`. A point or state with nothing reported is a completed result with `total` 0. Source: US National Weather Service. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"latitude":{"type":"number","minimum":17,"maximum":72,"description":"Latitude in decimal degrees, for example 35.687"},"longitude":{"type":"number","minimum":-180,"maximum":-64,"description":"Longitude in decimal degrees (west is negative), for example -105.938"},"radius_km":{"type":"number","minimum":1,"maximum":250,"default":25,"description":"Distance from the point in kilometres"},"state":{"type":"string","pattern":"^[A-Z]{2}$","description":"Two-letter state code, for example NM"},"hours":{"type":"integer","default":24,"description":"How far back to look: 24, 48 or 72"},"types":{"type":"array","items":{"type":"string","enum":["hail","wind","tornado"]},"minItems":1,"maxItems":3,"default":["hail","wind","tornado"],"description":"Report categories to return"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":50,"description":"Most reports to return"}},"example":{"latitude":35.687,"longitude":-105.938,"radius_km":25,"hours":72,"limit":2}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupPlaceHailWindReportsResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/resolve/place":{"post":{"tags":["Lookups"],"operationId":"resolvePlace","summary":"Resolve a US street address to its coordinates and its state, county and census tract codes.","description":"Resolves a US street address to the matched address, its latitude and longitude, and its state, county and census tract codes (plus census block and incorporated place when the source has them), from the US Census Bureau. Street addresses in the United States only: no post-office boxes, place names or landmarks. Only the best match is returned. Use it first when another fact about a place is keyed by state and county, or by coordinates, so an agent does not have to guess them. Give the whole address on one line, for example \"1600 Pennsylvania Ave NW, Washington, DC\". `candidates` is how many matches the source offered. An address that matches nothing is a completed result with `found` false and every other field null. Source: US Census Bureau. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"address":{"type":"string","minLength":5,"maxLength":200,"description":"A US street address on one line, with city and state or ZIP, for example 1600 Pennsylvania Ave NW, Washington, DC"}},"required":["address"],"example":{"address":"1600 Pennsylvania Ave NW, Washington, DC"}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResolvePlaceResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}}}},"/v1/tools/lookup/place-weather-alerts":{"post":{"tags":["Lookups"],"operationId":"lookupPlaceWeatherAlerts","summary":"List the weather watches, warnings and advisories active at a US point, including those issued but not yet begun.","description":"Lists the weather watches, warnings and advisories the US National Weather Service has in force at a latitude and longitude in the United States, most severe first, then soonest to expire. An alert issued for an event that has not begun is included: check `urgency` and `onset_at` to tell what is under way from what is coming. Use it to check whether a storm, flood, heat, fire-weather or winter-weather alert covers a property, a route stop or a claim location today. Severity runs Extreme, Severe, Moderate, Minor, Unknown. The source's active list is returned as it gives it: a watch for tomorrow (urgency Future, `onset_at` in the future) is included. `total` is the number of alerts returned. Expired and past alerts are not returned. A point with nothing active is a completed result with `total` 0. Source: US National Weather Service. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"latitude":{"type":"number","minimum":17,"maximum":72,"description":"Latitude in decimal degrees, for example 29.7604"},"longitude":{"type":"number","minimum":-180,"maximum":-64,"description":"Longitude in decimal degrees (west is negative), for example -95.3698"}},"required":["latitude","longitude"],"example":{"latitude":30.1487,"longitude":-94.0188}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupPlaceWeatherAlertsResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}}}},"/v1/tools/lookup/place-tropical-cyclones":{"post":{"tags":["Lookups"],"operationId":"lookupPlaceTropicalCyclones","summary":"List active tropical cyclones and their official forecast tracks, optionally near a point.","description":"Lists active storms and official forecast points in the Atlantic and eastern/central North Pacific. Source fields are observed; movement_kt, distance_km, closest_approach_km and closest_approach_at are derived. Empty storms with coverage.covered true means looked, saw nothing matching; false means no evidence either way. Coverage names watched basins and latest advisory time. West Pacific and Indian Ocean are unwatched. All inputs are optional. With no point, lists all active storms; basin can narrow the list. Limit defaults to 25, at most 200. Derived movement_kt converts observed movement_mph to knots; distance_km is a great-circle distance. Each derived value names its rule and input fields. Point coverage uses the northern hemisphere from the date line east to 20E, including coastal and inland sites. Coverage does not extend to the other hemisphere or other basins when a radius crosses the boundary. Closest approach uses shortest great-circle segments with time interpolated between official points, starting at the current position. It is a forecast, not a measured impact or wind footprint. The uncertainty cone is omitted. The latest advisory and forecast must match. Missing or incomplete forecast data fails the lookup instead of implying there are no nearby storms. NWS public-data terms apply: https://www.weather.gov/disclaimer. No endorsement is implied. Source: US National Hurricane Center. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"latitude":{"type":"number","minimum":-90,"maximum":90,"description":"Latitude in decimal degrees; give longitude too"},"longitude":{"type":"number","minimum":-180,"maximum":180,"description":"Longitude in decimal degrees; west is negative"},"radius_km":{"type":"number","minimum":1,"maximum":2000,"default":500,"description":"Maximum current or forecast distance from the point in kilometres"},"basin":{"type":"string","enum":["atlantic","east_pacific","central_pacific"],"description":"Basin to list; omitted means all three watched basins"},"limit":{"type":"integer","minimum":1,"maximum":200,"default":25,"description":"Maximum storms to return"}},"example":{"limit":10}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupPlaceTropicalCyclonesResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}}}},"/v1/tools/lookup/place-recent-imagery":{"post":{"tags":["Lookups"],"operationId":"lookupPlaceRecentImagery","summary":"List the latest clear satellite scenes over a point or box, newest first, with cloud cover and an openable browse image.","description":"Lists the Harmonized Landsat Sentinel-2 scenes NASA catalogued over a point or box since a date, newest first, at or under a cloud cover. Scene fields are observed; only latest is derived. Empty scenes with coverage.scenes_considered above zero means looked and nothing clear, scenes_too_cloudy and scenes_cloud_unknown say why; zero means no pass. coverage.complete false makes every count a lower bound. Landsat imagery courtesy of the US Geological Survey and NASA, public domain. Sentinel-2 imagery contains modified Copernicus Sentinel data, under the Copernicus Sentinel Data licence. Browse images are served by NASA LP DAAC and NASA GIBS. Scenes are 30 m; each product passes every 2 to 3 days. Open ocean and the poles are not imaged. derived.latest names its rule and the fields it reads. Give latitude and longitude, or bbox as [west, south, east, north] in decimal degrees at most 1 degree a side; not both. since (YYYY-MM-DD, UTC) defaults to 30 days before the call and may be at most 1 year back. max_cloud_pct (0 to 100) defaults to 20. limit defaults to 5, at most 25. coverage.scenes_considered counts every examined pass whatever its cloud; scenes_too_cloudy those above max_cloud_pct; scenes_cloud_unknown those the source gave no cloud figure for, which are never listed as clear. coverage.scenes_in_window is the catalogue's own count of passes in the window. When scenes_considered is zero the sensor had no pass: an empty list is then no evidence either way. At most the newest 200 passes per product are examined. coverage.complete is true when that is every pass in the window, so the counts and total are exact; false when older passes were left unexamined, so scenes_considered, scenes_too_cloudy, scenes_cloud_unknown and total are lower bounds and truncated is true. truncated is also true when clear scenes beyond limit were left out. A landsat browse_url is the granule browse JPEG. Sentinel-2 granules carry none, so their browse_url is a GIBS Worldview snapshot of the HLS Sentinel-2 layer over the scene footprint on the acquisition day: a daily composite, not the single granule. cloud_pct is the whole-scene figure the source reported; a clear scene may still have cloud over the exact point. Source: US National Aeronautics and Space Administration. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"latitude":{"type":"number","minimum":-90,"maximum":90,"description":"Latitude in decimal degrees; give longitude too"},"longitude":{"type":"number","minimum":-180,"maximum":180,"description":"Longitude in decimal degrees; west is negative"},"bbox":{"type":"array","items":{"type":"number"},"description":"[west, south, east, north] in decimal degrees, at most 1 degree a side; instead of a point"},"max_cloud_pct":{"type":"number","minimum":0,"maximum":100,"default":20,"description":"Highest scene cloud cover to list, in percent; fractions such as 20.5 are allowed"},"since":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Earliest acquisition date (UTC); default 30 days before the call, at most 1 year back"},"limit":{"type":"integer","minimum":1,"maximum":25,"default":5,"description":"Most scenes to return"}},"example":{"latitude":34.05,"longitude":-118.25,"limit":2}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupPlaceRecentImageryResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/place-radar-imagery":{"post":{"tags":["Lookups"],"operationId":"listPlaceRadarImagery","summary":"List Sentinel-1 radar scenes over a point or box, through cloud and at night.","description":"Lists radar scenes newest first. Radar shows surface roughness and water, not colour; flood extent and ships stand out, but interpretation is the agent's job. Coverage counts acquisitions, not detected objects. An empty scene list means no recorded pass, so no evidence either way. Derived entries explain computed fields; other scene fields are observed. Contains Copernicus Sentinel-1 data under the Copernicus Sentinel Data licence. Credit: Copernicus and ESA; archive served by Alaska Satellite Facility. Sentinel-1 covers most land every 6 to 12 days; cloud and darkness do not prevent radar imaging. An acquisition does not prove visibility of every feature within its footprint. Give latitude and longitude or bbox, not both. Boxes must be at most 1 degree a side. since defaults to 30 days ago and may be at most 1 year back; limit defaults to 5, maximum 25. One search fetches at most limit plus one scenes. total counts that page, including the withheld extra scene, and is a lower bound when truncated is true. coverage.complete is false then. coverage.since and until are inclusive UTC dates. observed.scenes preserves the source metadata for every considered scene. latest, coverage, total, returned and truncated have provenance under derived. Each listed scene also explains its lowercase flight_direction and constructed scene_url under derived; observed.flight_direction preserves the source spelling. relative_orbit is ASF pathNumber, not the absolute orbit number. browse_url is a public JPEG checked without credentials during the build; null if the source supplies no verified public link. scene_url opens the ASF catalogue. Full-resolution downloads may need an Earthdata login. coverage.catalogue_available is true when the catalogue returned a valid response. An empty scenes list then means no matching acquisition in the requested window, never evidence of absence of floods, ships or other features. An unreachable catalogue, HTTP error or invalid response fails with a typed error instead of returning an empty result. This tool does not classify imagery. Source: Alaska Satellite Facility. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"latitude":{"type":"number","minimum":-90,"maximum":90,"description":"Latitude in decimal degrees; supply longitude too"},"longitude":{"type":"number","minimum":-180,"maximum":180,"description":"Longitude in decimal degrees"},"bbox":{"type":"array","items":{"type":"number"},"description":"[west, south, east, north], at most 1 degree a side; instead of a point"},"since":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"First UTC date, YYYY-MM-DD; defaults to 30 days ago, at most 1 year back"},"limit":{"type":"integer","minimum":1,"maximum":25,"default":5,"description":"Most scenes to return; default 5, maximum 25"}},"example":{"latitude":34.05,"longitude":-118.25}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListPlaceRadarImageryResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/place-satellite-passes":{"post":{"tags":["Lookups"],"operationId":"lookupPlaceSatellitePasses","summary":"List when each imaging satellite with a published orbit was or will be over a point in a window of up to 48 hours, and whether its sensor swath covered the point.","description":"Lists when imaging satellites were or will be over a point; only published orbits are covered. observed is the satellite and orbit the source published; every pass figure is derived by SGP4 (rise_at, culminate_at, set_at, max_elevation_deg, daynight, cut_by_window, track_distance_km, in_swath). in_swath true means the sensor could have seen the point; it does not mean an image was taken or released. Orbital elements courtesy of CelesTrak (celestrak.org), from US government sources. The pass times are computed by OneShot, not published by CelesTrak. Nothing in a pass is measured. observed is what the source published about the satellite and its orbit; every time and figure under derived is computed from that orbit by SGP4 and carries value, rule and from. Accuracy falls with distance from the element epoch, so a pass more than 3 days from its epoch is left out and counted in coverage.too_far_from_epoch. daynight is day when the Sun is above the horizon at the point at culmination. derived.track_distance_km is the least distance from the point to the ground track anywhere in the pass as reported, to 0.1 km. derived.in_swath compares that distance, before rounding, with half the sensor swath from a fixed table: VIIRS (Suomi NPP, NOAA-20, NOAA-21) 3,000 km, MODIS (Terra, Aqua) 2,330 km, Landsat 8 and 9 OLI 185 km, Sentinel-2A, 2B and 2C MSI 290 km, Sentinel-1A, 1C and 1D IW 250 km. It is null for an imaging satellite whose swath is not in the table, such as WorldView-3 or Sentinel-3A: the pass is reported, whether the point was in its swath is not known. Reading coverage: coverage.satellites lists each satellite considered with its element epoch and, when tabled, its sensor and swath. Empty passes with satellites listed and too_far_from_epoch zero means the orbits were computed and none rose above min_elevation_deg: looked, saw nothing. Empty passes with coverage.satellites empty, or with every pass in too_far_from_epoch, means no evidence either way. coverage.not_published lists swath-table satellites the source did not list. from and to are ISO 8601 UTC (a date alone is midnight UTC), at most 48 hours apart and within 3 days of the call either way; defaults are 24 hours before and after the call. A pass in progress at from or at to is cut at the window edge and marked cut_by_window. min_elevation_deg defaults to 10. limit defaults to 25, at most 200; total, returned and truncated report the list. kind imaging (default) considers every satellite below geosynchronous orbit in the Earth resources and weather catalogues and the Sentinel-1 family, the 12-hour Molniya orbit of ARKTIKA-M included, except the missions that carry no imager (altimeters, GNSS reflectometry and occultation constellations, ionosphere probes, data relays); kind all considers those too. Geosynchronous and higher orbits do not pass over a point and are counted in coverage.high_orbit_left_out. Imaging satellites whose orbits are not published are not in the source. Three catalogue reads per call, kept in this process for 2 hours as the source asks and shared by every caller in that time, a fresh call included; evidence.calls carry the time the element sets were fetched. Source: CelesTrak. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"latitude":{"type":"number","minimum":-90,"maximum":90,"description":"Latitude in decimal degrees, for example 34.05"},"longitude":{"type":"number","minimum":-180,"maximum":180,"description":"Longitude in decimal degrees (west is negative), for example -118.25"},"from":{"type":"string","description":"Start of the window, ISO 8601 UTC such as 2026-10-28T00:00:00Z or 2026-10-28; default 24 hours before the call"},"to":{"type":"string","description":"End of the window, ISO 8601 UTC, at most 48 hours after from and within 3 days of the call; default 24 hours after the call"},"kind":{"type":"string","enum":["imaging","all"],"default":"imaging","description":"imaging: every satellite below geosynchronous orbit in the catalogues read that carries an imager; all: those plus the altimetry, GNSS and ionosphere missions listed beside them"},"min_elevation_deg":{"type":"number","minimum":0,"maximum":90,"default":10,"description":"Elevation above the horizon at the point that defines rise and set"},"limit":{"type":"integer","minimum":1,"maximum":200,"default":25,"description":"Most passes to return"}},"required":["latitude","longitude"],"example":{"latitude":34.05,"longitude":-118.25,"limit":2}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupPlaceSatellitePassesResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/company-filings":{"post":{"tags":["Lookups"],"operationId":"lookupCompanyFilings","summary":"Look up a US public company's registry record and recent filings by its registry identifier.","description":"Returns a US public company's registry record and most recent filings from the US Securities and Exchange Commission, by its Central Index Key (CIK): name, entity type, industry, tickers and addresses, then each filing's form, dates and document link, newest first. It looks up by identifier only, not by company name or ticker, and does not return officers. The CIK is the identifier the US Securities and Exchange Commission assigns to every filer. The registry record gives the legal name, entity type, industry, tickers, exchanges, state of incorporation, fiscal year end, website, phone, former names and business address. Each filing gives its form type, filing date, reporting period and a link to the document. Narrow the filings with `form` (exact form type, for example 10-K), `filed_after` and `filed_before`. Filters apply to the most recent filings the register lists inline (about 1,000), not the full history. `found` is false when the identifier is not in the register. Source: US Securities and Exchange Commission. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"cik":{"type":"string","pattern":"^\\d{1,10}$","description":"The registry identifier (CIK), for example 320193. Shorter numbers are padded with zeros"},"form":{"type":"string","minLength":1,"maxLength":20,"description":"Only filings of this exact form type, for example 10-K"},"filed_after":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Only filings made on or after this date"},"filed_before":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Only filings made on or before this date"},"limit":{"type":"integer","minimum":1,"maximum":50,"default":10,"description":"Most filings to return, newest first"}},"required":["cik"],"example":{"cik":"320193","form":"8-K","limit":1}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupCompanyFilingsResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/company-lobbying":{"post":{"tags":["Lookups"],"operationId":"lookupCompanyLobbying","summary":"Look up a company’s US federal lobbying filings, firms, reported spending and issues.","description":"Searches US federal lobbying registrations and quarterly reports filed with the US Senate Office of Public Records, by client name, newest posted first: firm, client, reported income and expenses, issues, government entities and lobbyist counts. The name match is partial, so one company can return several client records; tell them apart by `client_id`. Reports are posted continuously. Nvidia can match both NVIDIA and NVIDIA CORPORATION, with different client records for different lobbying firms. client_id is unique across lobbying firms. Amounts are in US dollars. Lobbyist names are not returned. Missing amounts are null. No match is a completed result with total 0 and an empty filings list. Cite evidence.retrieved_at as the retrieval date. Senate Office of Public Records cannot vouch for the data or analyses derived from these data after the data have been retrieved from LDA.gov. Source: US Senate Office of Public Records. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"client_name":{"type":"string","minLength":2,"maxLength":100,"description":"Part of the client name, for example Nvidia"},"filing_year":{"type":"integer","minimum":1999,"description":"Filing year, no later than the current year; omit to search all years"},"limit":{"type":"integer","minimum":1,"maximum":25,"default":10,"description":"Most filings to return, newest posted first"}},"required":["client_name"],"example":{"client_name":"Nvidia","filing_year":2026,"limit":1}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupCompanyLobbyingResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/company-federal-awards":{"post":{"tags":["Lookups"],"operationId":"lookupCompanyFederalAwards","summary":"Look up the US federal contracts or grants a recipient holds, largest first.","description":"Returns the US federal contracts or grants held by a recipient, found by name or Unique Entity Identifier (UEI), largest first, from the award records of the US Department of the Treasury: value, dates, awarding agency, description and link. The date filter is not an overlap filter: an award may have ended before the period or start after it. Give exactly one of `recipient` and `uei`, and `kind` (`contracts` or `grants`): contracts and grants are separate groups and cannot be mixed in one call. Each award has its identifier, recipient name and UEI, total value in US dollars, start and end dates, awarding agency and sub-agency, description and a link to the award record; contracts also carry the industry (NAICS) and product or service (PSC) codes. Searches by date: returns the awards the source lists for the period from `active_after` to `active_before` (default: the last three years up to today; nothing before 2007-10-01). That is not the same as awards running in the period: the source does not limit rows to awards that overlap it. Read each row's start and end dates to judge whether it is current. A name is a text match, so similarly named recipients come back too: tell them apart by the recipient name and UEI on each row, and prefer the UEI when you have it. `has_more` is true when more awards exist than `limit`. No awards is a completed result with an empty list. Covers US federal awards only. Source: US Department of the Treasury. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"recipient":{"type":"string","minLength":3,"maxLength":120,"description":"Recipient name, for example LOCKHEED MARTIN CORPORATION. A text match: similarly named recipients are returned too"},"uei":{"type":"string","pattern":"^[A-Za-z0-9]{12}$","description":"The recipient's Unique Entity Identifier. Preferred over a name"},"kind":{"type":"string","enum":["contracts","grants"],"description":"Which group of awards to list"},"active_after":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Start of the period to search, not before 2007-10-01. Default: three years before active_before"},"active_before":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"End of the period to search. Default: today"},"limit":{"type":"integer","minimum":1,"maximum":25,"default":10,"description":"Most awards to return, largest first"}},"required":["kind"],"additionalProperties":{},"example":{"recipient":"LOCKHEED MARTIN CORPORATION","kind":"contracts","limit":1}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupCompanyFederalAwardsResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/company-legal-identifier":{"post":{"tags":["Lookups"],"operationId":"lookupCompanyLegalIdentifier","summary":"Look up the registered legal entities that match a company name or Legal Entity Identifier.","description":"Returns registered legal entities by legal name or 20-character Legal Entity Identifier, from the Global Legal Entity Identifier Foundation: identifier, names, status, jurisdiction, legal form, registration number and dates, how well the record is corroborated, and addresses. It answers whether an entity is the one you think and whether its registration is current. Parent and child relationships are not included. Give exactly one of `name` and `lei`. Each entity has its identifier, legal name and other names, entity status, jurisdiction, legal form code, registration number, creation date, the identifier's registration status, registration, last update and next renewal dates, how well the record is corroborated, and its legal and headquarters addresses. A name is a text match, so similarly named entities come back too: tell them apart by the identifier on each row, and prefer the identifier when you have it, since it is an exact match. `total` is the number of entities that matched, which may be more than `limit`. No match is a completed result with `total` 0 and an empty list. Covers legal entities that hold an identifier. Source: Global Legal Entity Identifier Foundation. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"lei":{"type":"string","pattern":"^[A-Za-z0-9]{20}$","description":"The Legal Entity Identifier, for example DPRBOZP0K5RM2YE8UU08. An exact match; preferred over a name"},"name":{"type":"string","minLength":2,"maxLength":200,"description":"Legal name, for example Lockheed Martin Corporation. A text match: similarly named entities are returned too"},"limit":{"type":"integer","minimum":1,"maximum":10,"default":5,"description":"Most entities to return"}},"additionalProperties":{},"example":{"lei":"DPRBOZP0K5RM2YE8UU08"}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupCompanyLegalIdentifierResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/company-domain-registration":{"post":{"tags":["Lookups"],"operationId":"lookupCompanyDomainRegistration","summary":"Look up the registry record of a domain name: registrar, dates, status codes, nameservers and DNSSEC.","description":"Returns the registry record of a registered domain name through the Registration Data Access Protocol: registrar, registration, expiry and last-change dates, status codes, nameservers and whether DNSSEC is on. It never returns the registrant's name or contacts. Covers top-level domains whose registry is listed in the IANA RDAP directory with an https server; others answer rdap_available false. Give the registered name itself, not a web address or a host under it: a host under a registered name (www.example.com) answers not found. Give an internationalized name in its `xn--` form. `found` false with `rdap_available` true means the registry has no registration for that exact name. `rdap_available` false means the tool could not ask: the IANA RDAP directory lists no registry server for the top-level domain, or lists one reachable over http only (the tool asks over https alone). It does not mean the name is free. Status codes are in the registry's words, for example `client transfer prohibited`. Dates are `YYYY-MM-DD` UTC; a date the registry does not state is null. The registry record carries no owner: the registrant's name and contacts are never returned. Source: Domain name registries, through the Registration Data Access Protocol (RDAP). Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"domain":{"type":"string","pattern":"^(?=.{4,254}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+(?:[a-z]{2,63}|xn--[a-z0-9-]{1,59})\\.?$","description":"The registered domain name, for example lockheedmartin.com. Give the name itself, not a web address or a host under it (www.example.com answers not found); an internationalized name in its xn-- form"}},"required":["domain"],"example":{"domain":"lockheedmartin.com"}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupCompanyDomainRegistrationResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/company-consumer-complaints":{"post":{"tags":["Lookups"],"operationId":"lookupCompanyConsumerComplaints","summary":"Count the consumer complaints filed about a financial company, with what they are about, how the company answered and the newest ones.","description":"Given a financial company's name, returns how many complaints consumers have filed about it with the US Consumer Financial Protection Bureau, the five largest groups by product and by how the company answered, and the newest complaints. Complaints are consumers' reports, not findings. The name is matched as text, so similarly named companies can appear. Use it to check a bank, lender, card issuer or credit bureau before dealing with it. `companies` lists the five most matched names with their counts and every complaint carries the company name the source holds. `since` (YYYY-MM-DD) counts only complaints received on or after that date and `limit` sets how many complaints are returned (1 to 25, default 10). A name with no complaint is a completed result with a total of 0 and empty lists. Source: US Consumer Financial Protection Bureau. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"company_name":{"type":"string","minLength":2,"maxLength":100,"description":"The financial company's name, for example Wells Fargo"},"since":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Count only complaints received on or after this date"},"limit":{"type":"integer","minimum":1,"maximum":25,"default":10,"description":"Most complaints to return, newest first"}},"required":["company_name"],"example":{"company_name":"Wells Fargo","limit":1}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupCompanyConsumerComplaintsResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/company-bank-profile":{"post":{"tags":["Lookups"],"operationId":"lookupCompanyBankProfile","summary":"Look up whether a bank is an active FDIC-insured institution, where it is, who regulates it, when it was established and its reported assets and deposits.","description":"Returns the banks insured by the US Federal Deposit Insurance Corporation that match a name or FDIC certificate number: whether each is open and insured, location, regulator, charter class, date established, website, total assets and total deposits. Use it to check that a bank is real, insured and still open. Credit unions are not included. Give exactly one of `name` and `fdic_certificate`. Each institution has its name, certificate number, whether it is currently open and insured, city and state, primary federal regulator, charter class code, the date it was established, its website, and its total assets and total deposits in US dollars as of the reporting date. A name is a text match, so similarly named banks come back too, best match first: tell them apart by the certificate number on each row, and prefer the certificate number when you have it, since it is an exact match. Closed institutions are included, with `active` false. `total` is the number of institutions that matched, which may be more than `limit`. No match is a completed result with `total` 0 and an empty list. Source: US Federal Deposit Insurance Corporation. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":2,"maxLength":100,"description":"The bank's name, for example Grasshopper Bank. A text match: similarly named banks are returned too"},"fdic_certificate":{"type":"integer","minimum":1,"description":"The FDIC certificate number, for example 59113. An exact match; preferred over a name"},"limit":{"type":"integer","minimum":1,"maximum":10,"default":5,"description":"Most banks to return"}},"example":{"fdic_certificate":59113}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupCompanyBankProfileResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/company-adviser-registration":{"post":{"tags":["Lookups"],"operationId":"lookupCompanyAdviserRegistration","summary":"Look up whether a firm is a registered or exempt reporting investment adviser with the SEC or a state, its registrations and their dates, and its main office.","description":"Returns investment adviser firms from the US Securities and Exchange Commission's public disclosure register matching a CRD number or name: whether each is registered with the SEC or states or files as an exempt reporting adviser, each registration with its status and date, notice filings, SEC file number and main office. Broker-dealer registrations and individual representatives are not covered. Give exactly one of `crd` and `name`. A CRD number returns `profile`, the firm's full record, with `total` 1; `profile` is null and `total` 0 when the number is not an investment adviser in the register. A name returns `matches`, a list of firms to pick from, best match first, each with the CRD number to call again with; `profile` is then null. A name is a text match against current and former names and the SEC file number, so similarly named firms come back too. `total` counts every register record that matched, including firms registered only as broker-dealers, which are not returned. `adviser_status` is `inactive` for a firm no longer registered or reporting; the register keeps such firms for ten years. `registrations` lists each SEC or state registration with its status word (`Approved`, `Terminated`) and effective date; `exempt_reporting` lists exempt reporting filings; `notice_filings` lists the states an SEC-registered adviser has notice filed in. Assets under management, brochures, individual representatives and broker-dealer data are not returned. Dates are YYYY-MM-DD; a date the register writes in an unreadable form is null. Source: US Securities and Exchange Commission. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"crd":{"type":"integer","minimum":1,"maximum":99999999,"description":"The firm's CRD number, for example 149117. An exact match that returns the full profile"},"name":{"type":"string","minLength":2,"maxLength":100,"description":"The firm's name, for example Betterment. A text match against current and former names and the SEC file number; returns a list to pick from"},"limit":{"type":"integer","minimum":1,"maximum":12,"default":5,"description":"Most firms to return for a name; ignored with a CRD number"}},"example":{"crd":149117}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupCompanyAdviserRegistrationResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/company-nonprofit-status":{"post":{"tags":["Lookups"],"operationId":"lookupCompanyNonprofitStatus","summary":"Look up whether a US organization is listed by the IRS as eligible for tax-deductible gifts, whether its exemption was revoked, and which annual returns it filed.","description":"Returns organizations in the US Internal Revenue Service's Tax Exempt Organization Search matching an EIN or name: whether each is listed as eligible for tax-deductible contributions, any automatic revocation of its exemption and reinstatement, its Form 990-N filings, and its filed annual returns with links to the public copies. Figures from the returns are in those copies, not here. Give exactly one of `ein` and `name`; `state` narrows a name search only. An EIN returns `profile`, the organization's full record, with `total` 1; `profile` is null and `total` 0 when the EIN is in none of the source's lists. A name returns `matches`, a list of organizations to pick from, alphabetical, each with the EIN to call again with; `profile` is then null. Listed in `publication_78` means the organization is eligible to receive tax-deductible contributions. An organization absent from every list may still be exempt: churches need not apply, and the exempt organizations master file is not searched here. A row in `revocations` does not mean the organization is still revoked: it may have been reinstated, so check `reinstated_on`. `exemption_subsection` is the section 501(c) subsection the exemption was under, for example 03 for a 501(c)(3). `form_990n_filings` keeps the newest five filings and `returns` the newest ten, newest first; each return has the form, the period it covers and a link to its public copy. Officer names and addresses are never returned. Dates are YYYY-MM-DD; one the source writes in an unreadable form is null. Source: US Internal Revenue Service. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"ein":{"type":"string","pattern":"^\\d{2}-?\\d{7}$","description":"The employer identification number, for example 53-0196605 or 530196605. An exact match that returns the full profile"},"name":{"type":"string","minLength":2,"maxLength":100,"description":"The organization's name, for example American Red Cross. A text match; returns a list to pick from"},"state":{"type":"string","pattern":"^[A-Z]{2}$","description":"Two-letter state code to narrow a name search; only with `name`"},"limit":{"type":"integer","minimum":1,"maximum":25,"default":10,"description":"Most organizations to return for a name; ignored with an EIN"}},"example":{"ein":"530196605"}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupCompanyNonprofitStatusResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/company-motor-carrier":{"post":{"tags":["Lookups"],"operationId":"lookupCompanyMotorCarrier","summary":"Look up a US motor carrier by DOT or MC number: who it is, whether it is active, fleet size, cargo and safety rating.","description":"Returns a motor carrier's registration record from the US Department of Transportation, by DOT number or MC number: names, active status, address, telephone, operation, cargo, power units, drivers, mileage, hazardous materials, safety rating and review dates. It does not cover operating authority, insurance on file, out-of-service rates or crash counts. Give exactly one of `dot_number` and `mc_number`. A DOT number finds one carrier; an MC number can find more than one, so check `status`. The record gives the legal and trading name, whether it is active, legal form, physical address, telephone number, kind of operation, the classes of operation and the cargo it registered, its power units and drivers, its reported annual mileage, whether it carries hazardous materials, its safety rating with the date, its latest review date and the date it last updated its registration. Dates are YYYY-MM-DD and a value the source does not give is null. `total` is the number of carriers returned, at most 5; no match is a completed result with `total` 0 and an empty list. Source: US Department of Transportation. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"dot_number":{"type":"string","pattern":"^\\d{1,8}$","description":"The carrier's US Department of Transportation number, for example 44110"},"mc_number":{"type":"string","pattern":"^(MC-?)?\\d{1,8}$","description":"The carrier's motor carrier (MC) number, for example MC-1515"}},"example":{"dot_number":"44110"}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupCompanyMotorCarrierResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/company-environmental-compliance":{"post":{"tags":["Lookups"],"operationId":"lookupCompanyEnvironmentalCompliance","summary":"Give the federal environmental compliance record of the facilities regulated under a company or facility name.","description":"Returns the federal environmental compliance record, from the US Environmental Protection Agency, of the facilities matching a company or facility name: compliance status, significant violations, quarters in violation, inspections, enforcement actions and penalties over five years. A match is by the words of the name, not verified ownership: tell facilities apart by address and registry id. Optionally narrow to one US state with `state`. For each facility: its address and registry id, its overall compliance status, whether it is currently a significant violator, how many of the last twelve quarters it was in violation, its inspections, formal enforcement actions and penalties over the last five years, and when it was last inspected and last penalised. The result also gives how many facilities matched in all and their penalties summed. Use it to check a supplier, a site or a counterparty against federal air, water, hazardous waste and drinking water programs. Covers US facilities regulated under federal environmental programs. The source matches every whole word of the name, in any order, against the current and alternate names a facility carries across its programs: a part of a word matches nothing, a search for Tesla also returns a facility on Tesla Road, and a facility matched under an alternate name may show a name without one of the words. The totals count every facility the search matched, not facilities verified to belong to the named company. `total_facilities` is 0 and `facilities` is empty when no facility name carries every word. A count or date is null when the source does not record it. Source: US Environmental Protection Agency. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":3,"maxLength":100,"pattern":"^[^,]*$","description":"Whole words of one facility name, in any order and without commas, for example TESLA MOTORS; a part of a word matches nothing"},"state":{"type":"string","pattern":"^(?:A[KLRSZ]|C[AOT]|D[CE]|FL|G[AU]|HI|I[ADLN]|K[SY]|LA|M[ADEINOPST]|N[CDEHJMVY]|O[HKR]|P[AR]|RI|S[CD]|T[NX]|UT|V[AIT]|W[AIVY])$","description":"US state or territory postal code that limits the search to facilities in that state"},"limit":{"type":"integer","minimum":1,"maximum":25,"default":10,"description":"How many facilities to return"}},"required":["name"],"example":{"name":"TESLA MOTORS INC","state":"CA","limit":3}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupCompanyEnvironmentalComplianceResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/place-environmental-sites":{"post":{"tags":["Lookups"],"operationId":"lookupPlaceEnvironmentalSites","summary":"Find federally regulated facilities, toxic release reporters and Superfund sites by point, ZIP code or county.","description":"Returns environmental sites and compliance records from the US Environmental Protection Agency near a point or in a ZIP code or county. Includes facility counts, violations, five-year penalties and up to 25 facilities ordered by noncompliance, Superfund status or toxic releases and transfers. Brownfields are not covered. Each program count is a count of facilities; a facility can be in several programs. Superfund sites are listed but not counted in `by_program`: the source gives no Superfund total. Use `order: superfund` to bring Superfund sites first, or `order: toxic_releases` for the largest combined on-site releases and off-site transfers. Brownfields are not covered. A county search matches recorded county or coordinates, so a few facilities may be recorded under another county name. An area too large for one search is refused: use a point with a smaller radius or a ZIP code. Counts and total penalties cover every matched facility, including those beyond `limit`. Programs refresh weekly; current state and five-year enforcement counts are provided, with no source history. Source: US Environmental Protection Agency. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"latitude":{"type":"number","minimum":-90,"maximum":90,"description":"Point latitude in decimal degrees; give longitude too"},"longitude":{"type":"number","minimum":-180,"maximum":180,"description":"Point longitude in decimal degrees, west negative; give latitude too"},"radius_km":{"type":"number","minimum":0.2,"maximum":16,"description":"Point search radius in kilometres, default 2; only with latitude and longitude"},"zip_code":{"type":"string","pattern":"^\\d{5}$","description":"Five-digit facility ZIP code; placeholder ZIP codes 00000 and 99999 are refused"},"county_fips":{"type":"string","pattern":"^\\d{5}$","description":"Five-digit state plus county code, the county_id returned by Place Resolve (place_resolve), for example 51059"},"order":{"type":"string","enum":["noncompliance","superfund","toxic_releases"],"default":"noncompliance","description":"Most quarters in noncompliance, Superfund sites, or largest combined on-site toxic releases and off-site transfers first"},"limit":{"type":"integer","minimum":1,"maximum":25,"default":10,"description":"How many facilities to return"}},"example":{"latitude":43.08,"longitude":-78.95,"radius_km":3,"limit":3}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupPlaceEnvironmentalSitesResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/place-drinking-water":{"post":{"tags":["Lookups"],"operationId":"lookupPlaceDrinkingWater","summary":"Find public water systems serving a county and their drinking water violations, largest population first.","description":"Returns public water systems serving a US county and their drinking water compliance records from the US Environmental Protection Agency, largest population first. Includes enforcement priority, violation categories, contaminants and inspection dates. Reports follow quarterly state submissions and can lag by three to six months. Data follow state reports quarterly and can lag by three to six months. Counts describe the latest official quarter or the stated three- or five-year period, with no source history. A system is listed for every county it serves, so a large utility can appear under several counties. The counts cover every matched system, not only those returned. The list has at most `limit` systems, largest population served first. By default, only active community systems serving residents year round are included. Use `system_type: all` for schools, workplaces and rest stops with their own wells; use `include_inactive: true` to include inactive systems. Source: US Environmental Protection Agency. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"county_fips":{"type":"string","pattern":"^\\d{5}$","description":"Five-digit state plus county code, the county_id returned by Place Resolve (place_resolve), for example 26049 for Genesee County, Michigan"},"system_type":{"type":"string","enum":["community","non_transient_non_community","transient_non_community","all"],"default":"community","description":"Community serves residents year round; non-transient non-community includes schools and workplaces; transient non-community includes rest stops and restaurants; all includes every type"},"include_inactive":{"type":"boolean","default":false,"description":"Include inactive systems as well as active systems"},"limit":{"type":"integer","minimum":1,"maximum":25,"default":10,"description":"How many systems to return, largest population first"}},"required":["county_fips"],"example":{"county_fips":"26049","limit":3}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupPlaceDrinkingWaterResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/place-jobs-wages":{"post":{"tags":["Lookups"],"operationId":"lookupPlaceJobsWages","summary":"Look up quarterly employment, establishments and wages, and average annual pay, for a US county, state or the nation, by ownership and industry supersector.","description":"Returns, for a US county, state or the nation, the quarterly number of establishments, monthly employment, total wages and average weekly wage, and the average annual pay by year, from the Quarterly Census of Employment and Wages of the US Bureau of Labor Statistics. It covers jobs covered by unemployment insurance only, and the newest quarter is preliminary. BLS.gov cannot vouch for the data or analyses derived from these data after the data have been retrieved from BLS.gov. The source returns the last three calendar years; `quarters` and `annual_pay` are newest first. A value the source leaves blank is null. `total_wages_thousands` is in thousands of dollars, as published. An area, ownership or industry the source has no series for gives `found: false` and empty lists. Industry figures are published per ownership: a supersector with ownership `total` is refused. The source allows 25 keyless queries a day per address, shared by every caller. Source: US Bureau of Labor Statistics. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"area_fips":{"type":"string","pattern":"^(?:\\d{5}|US000)$","description":"The area: a five-digit county FIPS code (26163 is Wayne County, Michigan), a two-digit state FIPS code followed by 000 (26000), or US000 for the nation. Place Resolve gives the county code of an address as `county_id`"},"ownership":{"type":"string","enum":["total","private","federal_government","state_government","local_government"],"default":"total","description":"Who employs: all owners, private employers, or federal, state or local government"},"industry":{"type":"string","enum":["all","natural_resources_and_mining","construction","manufacturing","trade_transportation_and_utilities","information","financial_activities","professional_and_business_services","education_and_health_services","leisure_and_hospitality","other_services","public_administration"],"default":"all","description":"The industry supersector, or all industries"}},"required":["area_fips"],"example":{"area_fips":"26163"}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupPlaceJobsWagesResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/place-home-price-index":{"post":{"tags":["Lookups"],"operationId":"lookupPlaceHomePriceIndex","summary":"Look up the latest quarterly change in the FHFA House Price Index for a US state, metropolitan area or census division.","description":"Returns the percent change over the latest quarter, one year, five years and since 1991 in the index of home values of the US Federal Housing Finance Agency, with its rank, for a US state, a metropolitan area by name, or a census division or the nation. It gives percent changes for the latest quarter, not prices or index levels. This product uses FHFA Data but is neither endorsed nor certified by FHFA. Give exactly one of `state`, `metro` or `division`. `metro` matches a substring of the source's metro name, case-insensitively; up to 10 matches are returned in rank order and `more` says whether others matched. The answer does not name the quarter; the source publishes it quarterly. State and division changes come from the purchase-only, seasonally adjusted index; metro changes from the all-transactions, not seasonally adjusted index. Rank 1 is the largest one-year rise among `ranked_among` areas. A value the source leaves blank (too few sales) is null. A metro matching nothing gives `found: false`. Source: US Federal Housing Finance Agency. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"state":{"type":"string","enum":["AL","AK","AZ","AR","CA","CO","CT","DE","DC","FL","GA","HI","ID","IL","IN","IA","KS","KY","LA","ME","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","OH","OK","OR","PA","RI","SC","SD","TN","TX","UT","VT","VA","WA","WV","WI","WY"],"description":"A two-letter US state code, or DC, for example MI"},"metro":{"type":"string","minLength":2,"maxLength":80,"description":"Words of a metropolitan area name, for example Detroit or Ann Arbor"},"division":{"type":"string","enum":["united_states","new_england","middle_atlantic","east_north_central","west_north_central","south_atlantic","east_south_central","west_south_central","mountain","pacific"],"description":"A US census division, or united_states for the nation"}},"example":{"state":"MI"}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupPlaceHomePriceIndexResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/place-schools":{"post":{"tags":["Lookups"],"operationId":"lookupPlaceSchools","summary":"List the public or private schools near a point, or the schools of a US public school district, with address, grades, enrolment and teachers.","description":"Lists US public schools (Common Core of Data) or private schools (Private School Survey) of the US National Center for Education Statistics within a distance of a point, nearest first, or every school of a public school district: name, address, county, grade range, kind, charter and virtual status, enrolment, teachers and student-teacher ratio. Private schools carry no enrolment. Give `school_type` and either a point (`latitude`, `longitude`, with `radius_km` 0.5 to 10, default 2) or a public `district_id` (the seven-digit NCES district id); private schools have no district. Private rows carry no enrolment, phone, district, level, kind or status: the source layer does not publish them. `total` counts the schools the source returned, at most 2,000; `more` is true when more than `limit` were returned or the source held more than 2,000. Enrolment, teachers and ratio are null when the source marks them missing, not applicable or suppressed. Each row carries its school year. A point or district with no school gives `total: 0` and an empty list. Source: US National Center for Education Statistics. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"school_type":{"type":"string","enum":["public","private"],"description":"public for the Common Core of Data, private for the Private School Survey"},"latitude":{"type":"number","minimum":-90,"maximum":90,"description":"Latitude in decimal degrees, for example 42.2808"},"longitude":{"type":"number","minimum":-180,"maximum":180,"description":"Longitude in decimal degrees (west is negative), for example -83.743"},"radius_km":{"type":"number","minimum":0.5,"maximum":10,"default":2,"description":"Distance from the point in kilometres, 0.5 to 10"},"district_id":{"type":"string","pattern":"^\\d{7}$","description":"The seven-digit NCES district id (LEAID), for example 2602820 for Ann Arbor Public Schools; public schools only"},"limit":{"type":"integer","minimum":1,"maximum":50,"default":20,"description":"Most schools to return, 1 to 50"}},"required":["school_type"],"example":{"school_type":"public","latitude":42.2808,"longitude":-83.743,"limit":1}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupPlaceSchoolsResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/company-contractor-license":{"post":{"tags":["Lookups"],"operationId":"lookupCompanyContractorLicense","summary":"Look up Washington State contractor licences by licence number, state business identifier or business name, with status, type, specialties and expiration dates.","description":"Returns construction contractor licenses from the register of the Washington State Department of Labor & Industries, refreshed daily, by license number, state business identifier (UBI) or name: type, status, dates, specialties, business type, principal and address. An empty list means no license was found under that input, not that the contractor never held one. `state` is required and must be WA. Give exactly one of `license_number`, `ubi` and `name`. Names are matched ignoring case as a substring of the business name, so a short distinctive fragment works best. Returns at most `limit` licenses, newest effective date first, each with its type, status, whether it is active, effective, expiration and suspension dates, specialties, business type, principal and address. The phone number is not returned, and the street line is null for an individual (a sole proprietor), whose street may be a home. Missing values are null; dates are YYYY-MM-DD. Source: Washington State Department of Labor & Industries. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"state":{"type":"string","enum":["WA"],"description":"State whose contractor register is searched"},"license_number":{"type":"string","minLength":1,"maxLength":20,"pattern":"^[A-Z0-9*]+$","description":"The state contractor licence number, including any asterisks"},"ubi":{"type":"string","pattern":"^\\d{9}$","description":"The state business identifier (UBI)"},"name":{"type":"string","minLength":2,"maxLength":100,"description":"A fragment of the business name, matched ignoring case"},"limit":{"type":"integer","minimum":1,"maximum":20,"default":5,"description":"Most licences to return"}},"required":["state"],"example":{"state":"WA","license_number":"ABSHEC*345PS"}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupCompanyContractorLicenseResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/business-health-inspections":{"post":{"tags":["Lookups"],"operationId":"lookupBusinessHealthInspections","summary":"Look up the health inspections of a New York City food service establishment: scores, grades and violations, newest first.","description":"Returns New York City food service establishments matching an establishment id (CAMIS) or part of a trade name, with their health inspections from the New York City Department of Health and Mental Hygiene: score, letter grade, action taken and violations cited. A name shared by many establishments may leave out older inspections: add `zipcode` or use the id. Each establishment has its name, address, borough, ZIP code, cuisine and location; each inspection its date, type, score, letter grade with its date, the action taken and the violations cited, each with its code, description and whether it is critical. Give at least one of `establishment_id` and `name`; the id takes precedence when both are given. `name` matches anywhere in the trade name, ignoring case; `zipcode` narrows either search. Inspections are newest first, at most `limit` per establishment. The call reads the 200 newest violation rows that match, which is why a broad name can leave out older inspections; when those rows all fall on one date the call fails as invalid input. An establishment not yet inspected has an empty `inspections` list. Dates are YYYY-MM-DD and a value the source does not give is null. No match is a completed result with an empty `establishments` list. Source: New York City Department of Health and Mental Hygiene. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"establishment_id":{"type":"string","pattern":"^\\d{1,10}$","description":"The city's establishment id (CAMIS), for example 40732665; takes precedence over name"},"name":{"type":"string","minLength":2,"maxLength":100,"description":"Part of the trade name, matched anywhere in it and ignoring case, for example Katz's Delicatessen"},"zipcode":{"type":"string","pattern":"^\\d{5}$","description":"Five-digit ZIP code of the establishment"},"limit":{"type":"integer","minimum":1,"maximum":20,"default":5,"description":"Most inspections to return per establishment"}},"example":{"establishment_id":"40732665","limit":3}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupBusinessHealthInspectionsResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/business-liquor-license":{"post":{"tags":["Lookups"],"operationId":"lookupBusinessLiquorLicense","summary":"Look up active New York liquor licences by licence id or business name, with classes, premises and expiration dates.","description":"Returns active liquor licenses from the register of the New York State Liquor Authority, refreshed daily, by license id or part of a trade or legal name: class, premises, issue dates and expiration date. Pending and inactive licenses are not searched, so an empty list is not evidence that the location never held one. `state` is required and must be NY. Give at least one of `license_id` and `name`; the id takes precedence when both are given. Names are matched as stored, ignoring case, as a substring of the trade or legal name. Try a short distinctive fragment: SORLEY matches MC SORLEYS, but McSorley's does not. `zipcode` narrows either search. Returns at most `limit` licenses, newest last issue date first. Missing values are null; dates are YYYY-MM-DD. An empty licenses list is a completed result: no active license was found under that name or id. Source: New York State Liquor Authority. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"state":{"type":"string","enum":["NY"],"description":"State issuing the licence"},"license_id":{"type":"string","pattern":"^[A-Z0-9]{2,4}-\\d{2}-\\d{4,7}(?:-\\d+)?$","description":"The source licence identifier; takes precedence over name"},"name":{"type":"string","minLength":2,"maxLength":100,"description":"A distinctive fragment of the trade or legal name, matched ignoring case"},"zipcode":{"type":"string","pattern":"^\\d{5}$","description":"ZIP code to narrow the search"},"limit":{"type":"integer","minimum":1,"maximum":25,"default":10,"description":"Most licences to return"}},"required":["state"],"example":{"state":"NY","license_id":"0138-21-123999"}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupBusinessLiquorLicenseResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/person-health-provider":{"post":{"tags":["Lookups"],"operationId":"lookupPersonHealthProvider","summary":"Look up a US individual health care provider by provider number, or by name and state.","description":"Returns the national registration of an individual US health care practitioner from the US Centers for Medicare & Medicaid Services, by 10-digit provider number or by name and state: credential, active status, specialties with license state and number, addresses and the last update date. A registration is not a license check, nor proof that they still practise at the address. Covers doctors, nurses, pharmacists, therapists and the like. A name search takes the last name and state, with optional first name and city. Use it to check that a practitioner in a directory, claim or referral exists and which specialty they are registered under. Judge freshness by `last_updated_on`. Individuals only: use company_health_provider for organizations. `total` is the number of providers returned, at most `limit`; no match is `total: 0`. Exact numbers use the fresh, complete held monthly release when available; evidence.read states its scope and date, including for no match. Newer registrations may not be in that release. Specialty descriptions are null in the monthly data. Name searches and unavailable datasets use the live registry. Source: US Centers for Medicare & Medicaid Services. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"npi":{"type":"string","pattern":"^\\d{10}$","description":"The health provider number. Give this, or a last name and state, never both"},"last_name":{"type":"string","minLength":1,"maxLength":100,"description":"Last name of the practitioner. Needs state"},"state":{"type":"string","pattern":"^[A-Z]{2}$","description":"US state code. Needs last name"},"first_name":{"type":"string","minLength":1,"maxLength":100,"description":"First name of the practitioner, to narrow a name search"},"city":{"type":"string","minLength":1,"maxLength":100,"description":"A city, to narrow a name search"},"limit":{"type":"integer","minimum":1,"maximum":20,"default":5,"description":"Most providers to return from a name search"}},"example":{"npi":"1245319599"}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupPersonHealthProviderResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/company-health-provider":{"post":{"tags":["Lookups"],"operationId":"lookupCompanyHealthProvider","summary":"Look up a US health care organisation by provider number, or by name and state.","description":"Returns US health care organizations (clinics, hospitals, pharmacies and suppliers) from the national provider register of the US Centers for Medicare & Medicaid Services, by 10-digit NPI or by name and state: names, status, specialties, license details, addresses and the authorized official. Registration is not a license check or proof of current practice at the address. Give a 10-digit NPI, or organization_name and state with an optional city, never both. Names match a prefix: a trailing * is appended when absent, with at least two characters before it. Returns registered names, active status, organizational subpart status, registration and update dates, specialties with primary flags and license details, practice and mailing addresses, and the authorized official name and title. The official telephone is omitted. The registry refreshes daily; judge each record by last_updated_on. Use person_health_provider for individual practitioners. total is the number returned, at most limit; no match completes with providers: []. Source: US Centers for Medicare & Medicaid Services. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"npi":{"type":"string","pattern":"^\\d{10}$","description":"The organisation provider number. Give this, or organization_name and state, never both"},"organization_name":{"type":"string","minLength":2,"maxLength":100,"pattern":"^[^*]{2,}\\*?$","description":"Organisation name prefix. Needs state; a trailing * is appended when absent"},"state":{"type":"string","pattern":"^[A-Z]{2}$","description":"US state code. Needs organization_name"},"city":{"type":"string","minLength":1,"maxLength":100,"description":"A city, to narrow a name search. An optional trailing * needs at least two preceding characters"},"limit":{"type":"integer","minimum":1,"maximum":20,"default":5,"description":"Most providers to return"}},"example":{"npi":"1881018208"}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupCompanyHealthProviderResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/company-medicare-ownership":{"post":{"tags":["Lookups"],"operationId":"lookupCompanyMedicareOwnership","summary":"Look up the reported owners, officers and managing companies of a Medicare-enrolled facility.","description":"Returns the owners of a US hospital, nursing home, home health agency, hospice, health center or rural health clinic, as the facility reported them to Medicare, from the US Centers for Medicare & Medicaid Services: organizations and individuals with role, share and join date, highest share first. The register is released monthly; release_file_date says which release answered. facility_type picks the register: each kind of facility is its own dataset at the source. Give the facility enrollment_id, or part of its organization_name (matched as a substring, upper-cased), never both. Returns up to limit facilities, each with its owners: organizations and individuals with their role, share, join date, city and state, and owner-type flags such as holding_company, private_equity_company or reit. Individuals listed are owners, officers, directors or managing employees in that capacity; their street addresses are left out. No match completes with facilities: []. When truncated is true the source page was full and the last facility may be missing owners. Source: US Centers for Medicare & Medicaid Services. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"facility_type":{"type":"string","enum":["hospital","skilled_nursing","home_health","hospice","health_center","rural_health_clinic"],"description":"Which register to search: each kind of facility is its own dataset at the source"},"enrollment_id":{"type":"string","pattern":"^O\\d{14}$","description":"The facility Medicare enrolment id. Give this or organization_name, never both"},"organization_name":{"type":"string","minLength":3,"maxLength":100,"pattern":"^[^\\uD800-\\uDFFF]*$","description":"Part of the enrolled organisation legal name; matched as a substring, upper-cased"},"limit":{"type":"integer","minimum":1,"maximum":10,"default":3,"description":"Most facilities to return"}},"required":["facility_type"],"example":{"facility_type":"hospital","enrollment_id":"O20020812000015"}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupCompanyMedicareOwnershipResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/company-care-quality":{"post":{"tags":["Lookups"],"operationId":"lookupCompanyCareQuality","summary":"Look up official Medicare star ratings for a care facility.","description":"Returns official star ratings of a US hospital, nursing home, home health agency, hospice or dialysis facility by CMS Certification Number or name, from the US Centers for Medicare & Medicaid Services: overall rating from 1 to 5, plus nursing home inspection, quality and staffing ratings. A null rating means the source published none. rating_name identifies the rating for each facility_type: hospital overall quality, nursing home overall five-star, home health patient care quality, hospice family caregiver survey summary, or dialysis facility five-star. Names match substrings; use has_more and the CCN to distinguish facilities. No match completes with facilities: []. Use place_hospitals to list hospitals in a ZIP code and company_medicare_ownership for ownership details. Only the current release is served; history begins with our first observation. Source: US Centers for Medicare & Medicaid Services. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"facility_type":{"type":"string","enum":["hospital","nursing_home","home_health","hospice","dialysis"],"description":"Which register to read; each kind of facility is rated in its own dataset"},"ccn":{"type":"string","pattern":"^[0-9A-Z]{6}$","description":"The facility CMS Certification Number (Medicare provider number)"},"facility_name":{"type":"string","minLength":3,"maxLength":100,"pattern":"^[^%_\\\\\\uD800-\\uDFFF]*$","description":"Case-insensitive substring of the facility name"},"state":{"type":"string","pattern":"^[A-Z]{2}$","description":"State abbreviation; only with facility_name"},"limit":{"type":"integer","minimum":1,"maximum":10,"default":5,"description":"Most facilities to return"}},"required":["facility_type"],"example":{"facility_type":"hospital","ccn":"240010"}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupCompanyCareQualityResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/company-sba-loans":{"post":{"tags":["Lookups"],"operationId":"lookupCompanySbaLoans","summary":"Look up SBA 7(a) and 504 business loan approvals since fiscal year 2010.","description":"Returns loans approved to a US business under the Small Business Administration 7(a) and 504 programs since fiscal year 2010, by borrower name, from the US Small Business Administration: lender, amount, guaranteed share, approval date, terms, industry and status. Names match substrings, so similarly named borrowers come back too. state narrows the borrower name match. No match completes with loans: []. Results are newest approval first, then largest amount; has_more indicates additional matches. Amounts are approvals, not balances. The source withholds the status of loans still being repaid (active_not_disclosed). Jobs supported are self-reported by lenders and not validated. Only 7(a) and 504 approvals since fiscal year 2010 are included, not disaster or PPP loans. Use company_federal_awards for contracts and grants. The source replaces these files quarterly; status history begins with our first observation. Street addresses are neither requested nor returned. Source: US Small Business Administration. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"borrower_name":{"type":"string","minLength":3,"maxLength":120,"pattern":"^[^%_\\\\\\uD800-\\uDFFF]*$","description":"Case-insensitive substring of the borrower name"},"state":{"type":"string","pattern":"^[A-Z]{2}$","description":"The borrower state abbreviation"},"program":{"type":"string","enum":["504","7a"],"description":"Loan program; omitted searches both"},"limit":{"type":"integer","minimum":1,"maximum":25,"default":10,"description":"Most loans to return, newest approval first"}},"required":["borrower_name"],"example":{"borrower_name":"Faster Cajun","state":"LA"}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupCompanySbaLoansResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/product-duty-rate":{"post":{"tags":["Lookups"],"operationId":"lookupProductDutyRate","summary":"Look up the scheduled duty rate for a US tariff heading, or search the tariff schedule by keyword.","description":"Returns lines of the US Harmonized Tariff Schedule from the US International Trade Commission, with their general, special and column 2 (other) rates, for a heading such as `7408.11` or a keyword such as `copper wire`. This is the scheduled rate only: it does not add duties imposed by trade-remedy or emergency actions, and it does not classify a product. Lines come in schedule order and keep their `indent`: for a heading lookup every line beneath it is returned, so a line sits under the nearest earlier line with a lower indent; a keyword search returns only the matching lines, without their ancestors, so there `indent` is depth only and says nothing about which heading a line belongs to. A heading has no rate of its own, its rates are on the indented lines below. Footnotes are returned as the schedule gives them, each with the rate column(s) it qualifies, and additional-duties notes as given. It is a lookup, not a classification: it does not choose a code for a product, so a keyword search returns candidates for the caller to choose from. A keyword of several words matches lines containing any of them (`copper wire` returns copper ores as well as wire); wrap the words in double quotes to match the exact phrase (`\"copper wire\"`). Covers goods imported into the US. `total` is how many lines the schedule search matched, as the source counts them; `lines` is cut to `limit`. No match is a completed result with `total` 0. Source: US International Trade Commission. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"query":{"type":"string","minLength":2,"maxLength":80,"description":"A tariff heading such as 7408.11, or a keyword such as copper wire. Several words match any of them; wrap them in double quotes for the exact phrase"},"limit":{"type":"integer","minimum":1,"maximum":50,"default":20,"description":"Most lines to return, in schedule order"}},"required":["query"],"example":{"query":"7408.11","limit":2}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupProductDutyRateResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/product-recalls":{"post":{"tags":["Lookups"],"operationId":"lookupProductRecalls","summary":"List the US recalls of consumer products, food, drugs or medical devices that match a product name, a manufacturer or, for consumer products, a recall title.","description":"Lists US product recalls matching a product name, a manufacturer or a recall title, newest first: consumer products from the US Consumer Product Safety Commission, and food, drugs and medical devices from the US Food and Drug Administration. Each gives what was recalled, the hazard and the firm. A recall does not say whether a particular unit has been repaired. `category` is required and picks the regulator: `consumer` is consumer products (appliances, tools, toys, furniture, ladders, bicycles, children's products and the like); `food`, `drug` and `device` come from the enforcement reports of the US Food and Drug Administration, where `classification` (Class I, II or III) narrows the list. Vehicles are Vehicle Recalls. Each recall gives the recall number, the date it was announced and last published, what was recalled, the models and units, the hazard or reason, and the manufacturer or recalling firm. Consumer recalls also give the title, injuries, remedies, retailers and a link to the notice; food, drug and device recalls give the status, the class and where it was distributed. Use it to check a product before a purchase, a resale, a claim or a listing. Give at least one of `product_name`, `title` and `manufacturer`, optionally with a date range; dates alone are refused. `title` is for consumer only. `total` is how many recalls matched, including any beyond `limit`, and is 0 when none did. Source: US Consumer Product Safety Commission and US Food and Drug Administration. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"category":{"type":"string","enum":["consumer","food","drug","device"],"description":"Which products and which regulator: consumer (Consumer Product Safety Commission), or food, drug or device (Food and Drug Administration)"},"product_name":{"type":"string","minLength":2,"maxLength":80,"description":"Words from the product name, for example attic stairway. For food, drug and device: letters, digits, spaces and . , ' & - only"},"title":{"type":"string","minLength":2,"maxLength":80,"description":"Words from the recall title, for example ladder. Category consumer only"},"manufacturer":{"type":"string","minLength":2,"maxLength":80,"description":"The manufacturer, importer, distributor or retailer, for example Louisville Ladder. For food, drug and device it is the recalling firm: letters, digits, spaces and . , ' & - only"},"classification":{"type":"string","enum":["Class I","Class II","Class III"],"description":"Only recalls of this class. Categories food, drug and device only"},"recalled_after":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Only recalls announced on or after this date. Needs a product name, title or manufacturer"},"recalled_before":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Only recalls announced on or before this date. Needs a product name, title or manufacturer"},"limit":{"type":"integer","minimum":1,"maximum":25,"default":10,"description":"The most recalls to return"}},"required":["category"],"example":{"category":"consumer","product_name":"attic stairway","limit":10}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupProductRecallsResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/product-drug-shortages":{"post":{"tags":["Lookups"],"operationId":"lookupProductDrugShortages","summary":"Say whether the US Food and Drug Administration lists a drug as in shortage, and for each listed presentation who makes it, whether it is available and why it is short.","description":"Says whether the US Food and Drug Administration lists a drug as in shortage, matched by generic or brand name: each presentation's status, availability, company, dosage form, package NDC, reason and dates. A drug that is not listed is not in shortage on this list, which says nothing about a particular pharmacy's stock. A name of several words is matched as a phrase. `status` narrows the list to `current` shortages, drugs `to_be_discontinued` or shortages that are `resolved`. Each listed presentation gives the generic name, the brand names, the company, the status, whether it is available, the dosage form, the presentation and its package NDC, the therapeutic categories, the reason it is short, any related information and the dates it was first posted and last updated. Most recently updated first. `total` is how many presentations matched, including any beyond `limit`, and is 0 when the drug is not on the list. The source says its data must not be relied on for decisions about medical care. Source: US Food and Drug Administration. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"drug_name":{"type":"string","minLength":2,"maxLength":100,"description":"The drug's generic or brand name, for example quinapril or sodium chloride"},"status":{"type":"string","enum":["current","to_be_discontinued","resolved"],"description":"Only presentations with this status; all statuses when omitted"},"limit":{"type":"integer","minimum":1,"maximum":25,"default":10,"description":"The most presentations to return"}},"required":["drug_name"],"example":{"drug_name":"quinapril","status":"current","limit":1}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupProductDrugShortagesResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/variant-clinical-significance":{"post":{"tags":["Lookups"],"operationId":"lookupVariantClinicalSignificance","summary":"Look up the clinical significance reported for a variant in ClinVar by its variation accession or dbSNP rsID.","description":"Reports what ClinVar, the public variant registry of the US National Center for Biotechnology Information, says about one variant by VCV accession or dbSNP rsID: germline, somatic clinical impact and oncogenicity classifications, review status, conditions and last evaluated dates. Classifications are submitters' and expert panels' interpretations, for research; not medical advice. Supply exactly one ClinVar VCV accession or dbSNP rsID, never a person's genome, sequencing data or a VCF file. A versioned VCV identifies the base accession; the result reports the current accession version. An rsID can match several alleles: returns up to five matching variations. Empty classifications are null; no match returns an empty variants list. ClinVar refreshes weekly, and accession versions change when records change. NCBI places no restriction on use of ClinVar. Source: US National Center for Biotechnology Information (ClinVar). Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"vcv":{"type":"string","pattern":"^VCV\\d{9}(\\.\\d+)?$(?![\\s\\S])","description":"ClinVar variation accession, for example VCV000017677 or VCV000017677.176; supply only vcv or rsid"},"rsid":{"type":"string","pattern":"^rs\\d{1,12}$(?![\\s\\S])","description":"dbSNP identifier, for example rs80357906; supply only rsid or vcv"}},"additionalProperties":false,"example":{"rsid":"rs80357906"}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupVariantClinicalSignificanceResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/variant-frequency":{"post":{"tags":["Lookups"],"operationId":"lookupVariantFrequency","summary":"Look up aggregate allele counts and frequencies for a human variant on GRCh38.","description":"Reports aggregate allele counts and frequencies from the Genome Aggregation Database (gnomAD), Broad Institute, showing what a public reference population contains, by genetic ancestry group. For research; not medical advice. An rsID matching several variants needs the variant_id. Supply one variant identifier, never a person’s genome, sequencing data or a VCF file. Uses gnomAD v4 (GRCh38), exomes and genomes. Data refresh per versioned release; no observation date is supplied. Primary exome and genome data are CC0 1.0. Never try to reidentify participants. Only ancestry groups are returned; sex splits, reference-panel subsets and other annotations are excluded. An absent data type is null. Allele frequency is allele count divided by allele number, or null when the denominator is zero. Source: Genome Aggregation Database (gnomAD), Broad Institute. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"variant_id":{"type":"string","pattern":"^(?:[1-9]|1[0-9]|2[0-2]|X|Y)-[1-9][0-9]{0,8}-[ACGT]{1,50}-[ACGT]{1,50}$(?![\\s\\S])","description":"gnomAD variant ID on GRCh38, for example 1-55051215-G-GA; supply only variant_id or rsid"},"rsid":{"type":"string","pattern":"^rs[1-9][0-9]{0,11}$(?![\\s\\S])","description":"dbSNP identifier, for example rs527413419; supply only rsid or variant_id"}},"additionalProperties":false,"example":{"variant_id":"1-55051215-G-GA"}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupVariantFrequencyResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/protein-domains":{"post":{"tags":["Lookups"],"operationId":"lookupProteinDomains","summary":"Look up protein domains, families and conserved sites with GO terms and sequence locations.","description":"Returns the integrated InterPro entries on a protein's canonical UniProtKB sequence, with their locations, from InterPro at EMBL-EBI under CC0 1.0. Member-database signatures are never returned, and isoform accessions are refused. Only the first page, up to 200 entries, is returned; `truncated` is true when another page exists. Filter by entry type or omit types for all entries. An empty types list keeps no entries. Entries are sorted by their first location’s start, then identifier. Locations span the first through last fragment; discontinuous marks multiple fragments or a fragment whose dc-status is not CONTINUOUS. Releases arrive about every eight weeks; no per-entry date is supplied, so changes are recorded as observations. No match completes with an empty entries list and null protein_length. Source: InterPro (EMBL-EBI). Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"accession":{"type":"string","pattern":"^([OPQ][0-9][A-Z0-9]{3}[0-9]|[A-NR-Z][0-9]([A-Z][A-Z0-9]{2}[0-9]){1,2})$(?![\\s\\S])","description":"The canonical UniProt accession identifying the protein, for example P04637; isoforms are not accepted"},"types":{"type":"array","items":{"type":"string","enum":["family","domain","homologous_superfamily","repeat","conserved_site","active_site","binding_site","ptm"]},"description":"Keep only these entry types; omitted means all types"}},"required":["accession"],"example":{"accession":"P04637","types":["conserved_site"]}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupProteinDomainsResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/protein-function":{"post":{"tags":["Lookups"],"operationId":"lookupProteinFunction","summary":"Look up a protein’s function, literature citations, organism, cellular locations and catalytic activities by accession.","description":"Returns a protein's annotations from UniProt, under CC BY 4.0 and attributed to the UniProt Consortium: function text with its citations, names, genes, organism, length, subcellular locations, catalytic activities, EC numbers, keywords and annotation score. Covers reviewed and unreviewed UniProtKB entries. The amino-acid sequence is returned only when `include_sequence` is true. Function texts retain their literature citations, with deduplicated PubMed identifiers also returned separately. UniProt releases updates every eight weeks; last_updated is the entry’s last annotation date. Without include_sequence the sequence is null. Absent values and collections are null. A merged accession resolves to its primary entry. A deleted or demerged accession returns no protein and the source’s structured inactive reason, including replacement accessions when supplied. No match returns null for both. Source: UniProt Consortium. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"accession":{"type":"string","pattern":"^([OPQ][0-9][A-Z0-9]{3}[0-9]|[A-NR-Z][0-9]([A-Z][A-Z0-9]{2}[0-9]){1,2})$","description":"The UniProt accession identifying the protein, for example P04637"},"include_sequence":{"type":"boolean","default":false,"description":"Include the amino-acid sequence"}},"required":["accession"],"example":{"accession":"P29358","include_sequence":false}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupProteinFunctionResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/protein-interactions":{"post":{"tags":["Lookups"],"operationId":"lookupProteinInteractions","summary":"Look up a protein’s interaction partners with combined and per-channel confidence scores, by gene symbol or UniProt accession.","description":"Returns a protein's interaction partners from the STRING network (CC BY 4.0, STRING consortium): the query protein and each partner with a combined confidence score (0 to 1) and per-channel scores. Scores combine experimental, curated and predicted (text-mining, co-expression) evidence, so a high score is not proof of physical binding. The data is for research, not medical advice. Evidence channels: experiments, curated databases, text mining, co-expression, genomic neighborhood, gene fusion and phylogenetic co-occurrence, each scored 0 to 1. identifier is a gene symbol (TP53) or a UniProt accession (P04637); taxon_id is human (9606) by default. Partners come in the source's order, highest combined score first, up to limit; min_score is the lowest combined score kept. An identifier the source cannot map in that organism returns no protein and an empty partner list. Only the source's own combined and channel scores are returned, never records from the databases it incorporates. Source: STRING consortium. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"identifier":{"type":"string","pattern":"^[A-Za-z0-9._-]{1,40}$","description":"A gene symbol or a UniProt accession, for example TP53 or P04637"},"taxon_id":{"type":"integer","minimum":1,"maximum":999999999,"default":9606,"description":"The organism as an NCBI Taxonomy ID; 9606 is human, 10090 is mouse"},"limit":{"type":"integer","minimum":1,"maximum":50,"default":10,"description":"Maximum partners returned"},"min_score":{"type":"number","minimum":0.15,"maximum":1,"default":0.4,"description":"Lowest combined confidence score kept"}},"required":["identifier"],"example":{"identifier":"TP53","limit":1}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupProteinInteractionsResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/protein-sequence":{"post":{"tags":["Lookups"],"operationId":"lookupProteinSequence","summary":"Get the reference amino-acid sequence of a protein or an isoform by UniProt accession, with its length, weight, checksums and isoforms.","description":"Returns the reference sequence UniProtKB holds for a protein, from UniProt under CC BY 4.0, attributed to the UniProt Consortium: the one-letter sequence, length, molecular weight in daltons, checksums, gene, organism and listed isoforms. It is never an individual's sequence. Medical or genetic information is for research and education only. Covers reviewed and unreviewed entries; an accession with an isoform suffix (P04637-2) returns that isoform’s sequence. The checksums are CRC64 and MD5. sequence_version and last_sequence_update describe the entry, also for an isoform. UniProt releases updates every eight weeks. Absent values are null. A merged, demerged or deleted accession returns no protein and the source’s inactive reason with any replacement accessions. No match, including an isoform the entry does not list, returns null for both. Source: UniProt Consortium. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"accession":{"type":"string","pattern":"^([OPQ][0-9][A-Z0-9]{3}[0-9]|[A-NR-Z][0-9]([A-Z][A-Z0-9]{2}[0-9]){1,2})(-[0-9]{1,3})?$","description":"The UniProt accession, for example P04637, or an isoform accession, for example P04637-2"}},"required":["accession"],"additionalProperties":false,"example":{"accession":"P00001"}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupProteinSequenceResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/resolve/protein":{"post":{"tags":["Lookups"],"operationId":"resolveProtein","summary":"Resolve a gene symbol, synonym, entry name or protein name to UniProt accessions.","description":"Resolves a gene symbol or synonym (TP53, HER2), an entry name (P53_HUMAN) or a protein name (insulin) to protein entries from UniProtKB, under CC BY 4.0 and attributed to the UniProt Consortium: protein name, genes, organism, annotation score and how each matched. Defaults to reviewed human entries. For research and education only; not medical advice. Exact gene names and synonyms are searched first. If none match, protein names are searched unless the query is a single uppercase token or contains digits without spaces. taxon_id defaults to human (9606); reviewed_only defaults to true. Entry names are resolved directly across organisms and review statuses. Returns up to limit matches, reviewed entries first then source order, with recommended full protein name, primary gene, gene synonyms, organism, annotation score and how each matched. ambiguous is true when multiple matches are kept and none matched an entry name or primary gene. total is the sum of source counts for the searches made. With reviewed_only false, unreviewed entries are searched and counted only when reviewed matches do not fill limit. No match returns an empty list. Absent scalar values are null. Use the accession with Protein Function, Sequence, Structure or Domains for those facts. UniProt releases updates every eight weeks. Source: UniProt Consortium. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"query":{"type":"string","minLength":1,"maxLength":60,"pattern":"^[A-Za-z0-9][A-Za-z0-9 ._/-]*$","description":"A gene symbol or synonym, entry name, or protein name; letters, digits, spaces and the characters . _ / - only"},"taxon_id":{"type":"integer","minimum":1,"maximum":999999999,"default":9606,"description":"The organism taxonomy ID; human (9606) by default"},"reviewed_only":{"type":"boolean","default":true,"description":"Only reviewed entries; false includes unreviewed entries"},"limit":{"type":"integer","minimum":1,"maximum":10,"default":5,"description":"The most matches to return"}},"required":["query"],"example":{"query":"TP53"}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResolveProteinResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/product-drug-adverse-events":{"post":{"tags":["Lookups"],"operationId":"lookupProductDrugAdverseEvents","summary":"List the reactions most often named in adverse event reports sent to the US Food and Drug Administration for a drug, each with its number of reports.","description":"Lists the reactions most often named in adverse event reports sent to the US Food and Drug Administration for a drug, with the number of reports naming each. A report does not show that the drug caused the reaction, the reports are unverified, and the source says its data must not be relied on for decisions about medical care. The drug name is matched against the product name on the reports. A name of several words is matched as a phrase. Each reaction is the source's term, most reported first. A drug with no reports gives an empty list. The total number of reports is not given. Source: US Food and Drug Administration. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"drug_name":{"type":"string","minLength":2,"maxLength":100,"description":"The drug's name as it appears on the reports, for example Ozempic or metformin"},"limit":{"type":"integer","minimum":1,"maximum":25,"default":10,"description":"The most reactions to return"}},"required":["drug_name"],"example":{"drug_name":"Ozempic","limit":3}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupProductDrugAdverseEventsResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/product-device-adverse-events":{"post":{"tags":["Lookups"],"operationId":"lookupProductDeviceAdverseEvents","summary":"Count reported deaths, injuries and malfunctions for a medical device and list the most reported problems.","description":"Counts adverse event reports to the US Food and Drug Administration about a medical device, by name, product code or maker: deaths, injuries and malfunctions reported, and the most named patient or device problems. Reports are unverified, a report does not show the device caused the event, and the source says its data must not guide medical care. Names match phrases; several filters must all match. Device names match brand or generic name. One report can name several devices and problems. A problem count is the reports naming it; terms such as No Clinical Signs, Symptoms or Conditions are the source’s own. For drugs use Drug Adverse Events. The source refreshes weekly. Source: US Food and Drug Administration. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"device_name":{"type":"string","minLength":2,"maxLength":100,"description":"Device brand or generic name"},"product_code":{"type":"string","pattern":"^[A-Za-z]{3}$","description":"Three-letter FDA device product code"},"manufacturer":{"type":"string","minLength":2,"maxLength":100,"description":"Device manufacturer name"},"problems":{"type":"string","enum":["patient","device"],"default":"patient","description":"Patient health effects or device failures"},"limit":{"type":"integer","minimum":1,"maximum":25,"default":10,"description":"The most problems to return"}},"example":{"product_code":"QFG"}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupProductDeviceAdverseEventsResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/product-cosmetic-adverse-events":{"post":{"tags":["Lookups"],"operationId":"lookupProductCosmeticAdverseEvents","summary":"List reactions and outcomes reported for a cosmetic product, with report counts.","description":"Lists the reactions and outcomes most often named in adverse event reports about cosmetic products sent to the US Food and Drug Administration, with the number of reports naming each. Reports are unverified, a report does not show that the product caused the reaction, and the source says its data must not guide medical care. The name matches any product named on a report, including products the reporter did not suspect; common words can match unrelated reports. One report can name several reactions and outcomes. The source updates infrequently; as_of gives its date. For drugs use Drug Adverse Events; for devices use Device Adverse Events. Source: US Food and Drug Administration. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"product_name":{"type":"string","minLength":2,"maxLength":100,"description":"Cosmetic product name, matched as a phrase"},"limit":{"type":"integer","minimum":1,"maximum":25,"default":10,"description":"The most reactions to return"}},"required":["product_name"],"example":{"product_name":"dry shampoo"}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupProductCosmeticAdverseEventsResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/product-drug-label":{"post":{"tags":["Lookups"],"operationId":"lookupProductDrugLabel","summary":"Look up a drug’s ingredients, labeller and package codes; an NDC lookup adds key label sections.","description":"Returns a US drug product’s listing from the US Food and Drug Administration’s National Drug Code Directory, by NDC or name: ingredients and strengths, labeller, dosage form, route, marketing category and package codes. An NDC lookup adds key sections of the current label, each cut to 2,000 characters. Label text is the manufacturer’s, not medical advice. Give the dashed product or package NDC. A package NDC returns its whole product. Undashed billing NDCs cannot be converted without knowing which segment was padded. A name search returns products only; call again with an NDC for the label. Some listings have no linked label and return label: null. The label is the source’s current version, which can lag the listing. For prices use Drug Acquisition Cost; for equivalents use Drug Equivalents. The source says its unvalidated data must not guide medical care. Source: US Food and Drug Administration. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"ndc":{"type":"string","description":"Dashed product or package NDC, for example 70247-019 or 50580-449-10"},"name":{"type":"string","minLength":2,"maxLength":100,"description":"Brand or generic name, matched as a phrase"},"limit":{"type":"integer","minimum":1,"maximum":10,"default":5,"description":"Most products for a name search; ignored for NDC"}},"example":{"ndc":"70247-019"}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupProductDrugLabelResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/product-drug-equivalents":{"post":{"tags":["Lookups"],"operationId":"lookupProductDrugEquivalents","summary":"Find approved products with the same ingredients, their equivalence ratings, and exclusivity and patent dates.","description":"Returns the US Food and Drug Administration’s therapeutic equivalence ratings from the Orange Book for a drug, by brand name or active ingredients: every approved product with the same ingredients, grouped by strength, dosage form and route, with its equivalence code, reference drug, marketing status, and exclusivity and patent expiry dates. Not medical or legal advice. A code starting with A rates equivalence to others in its group with the same code (AB1 only to AB1). B means not rated equivalent. Empty codes mean no rating, including single-source or discontinued products. Exclusivity and patent codes such as PED, NCE and PC are the Orange Book’s own and are not explained here. A brand resolves to full ingredient names; all brands and generics with those ingredients are returned, including other dosage forms. Discontinued products are excluded unless asked. For the product’s label use Drug Label. The source refreshes monthly; truncated indicates more records than the source returned. Source: US Food and Drug Administration. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"brand_name":{"type":"string","minLength":2,"maxLength":100,"description":"Brand to resolve to its full ingredient names"},"ingredients":{"type":"array","items":{"type":"string","minLength":2,"maxLength":100},"minItems":1,"maxItems":6,"description":"Active ingredient names, each matched as a whole-word phrase"},"include_discontinued":{"type":"boolean","default":false,"description":"Include discontinued products"}},"example":{"ingredients":["apixaban"]}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupProductDrugEquivalentsResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/product-device-clearances":{"post":{"tags":["Lookups"],"operationId":"lookupProductDeviceClearances","summary":"Look up US medical device 510(k) clearances and their decisions, newest decision first.","description":"Returns the medical devices the US Food and Drug Administration cleared through premarket notification (510(k)), by clearance number, applicant, device name or product code, newest decision first: the clearance records, device classifications, decision and received dates, and the total matches. Contact names and street addresses are excluded. Supply at least one clearance number, applicant, device name or product code. Names are matched as word phrases; multiple filters must all match. No match returns an empty list. The source refreshes weekly. Source: US Food and Drug Administration. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"k_number":{"type":"string","pattern":"^K\\d{6}$","description":"The clearance number, for example K253582"},"applicant":{"type":"string","minLength":2,"maxLength":100,"description":"The company that applied, matched as words"},"device_name":{"type":"string","minLength":2,"maxLength":100,"description":"The device name, matched as words"},"product_code":{"type":"string","pattern":"^[A-Za-z]{3}$","description":"The FDA product code"},"limit":{"type":"integer","minimum":1,"maximum":25,"default":10,"description":"The most clearance records to return"}},"example":{"applicant":"Apple Inc","limit":2}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupProductDeviceClearancesResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/product-device-identifier":{"post":{"tags":["Lookups"],"operationId":"lookupProductDeviceIdentifier","summary":"Identify a US medical device from the device identifier or GS1 barcode text on its label.","description":"Returns the US Food and Drug Administration’s identification record for a medical device, by the device identifier or GS1 barcode text on its label: brand, model, labeler, package levels, distribution status, product codes, premarket submission numbers and labeling flags such as sterility, latex and MRI safety. Device naming terms and contacts are excluded. Supply exactly one of device_identifier or udi; udi reads GS1 labels only. A package identifier returns the device inside it; matched_type says which level matched. Lot, serial and dates on a label are not in the database and are not returned. An unknown identifier returns found: false. The source refreshes weekly. Source: US Food and Drug Administration. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"device_identifier":{"type":"string","pattern":"^[A-Za-z0-9]{6,23}$","description":"The device identifier (DI) printed on the label, for example 04063006002252. For HIBCC labels, leave out the leading + and the trailing check character."},"udi":{"type":"string","minLength":16,"maxLength":200,"pattern":"^[\\x20-\\x7E\\x1D]+$","description":"The full UDI text from a GS1 label, human-readable such as (01)00357599000172(17)250531(10)ABC123 or as scanned"}},"example":{"device_identifier":"04063006002252"}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupProductDeviceIdentifierResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/product-energy-certification":{"post":{"tags":["Lookups"],"operationId":"lookupProductEnergyCertification","summary":"Check whether a product model is on the current ENERGY STAR certified list, with its published efficiency figures.","description":"Returns whether a product model is on the US Environmental Protection Agency’s current ENERGY STAR certified list, by category and brand, model number, UPC or ENERGY STAR ID, with the certification date, markets and the list’s published efficiency figures. all_categories searches every category but returns no figures. Delisted models are not shown. Supply at least one of brand, model_number, upc or energy_star_id. Brand and model number match as parts of the listed values; model numbers also match the additional model designations. Listed model numbers may use * for a variable character, so give the fixed leading part when an exact number does not match. Figures are the list’s own columns, so they differ by category. Not found means the model is not on the current list (never certified, or delisted), not that it failed a test. heat_pumps matches the outdoor unit’s brand. The lists refresh daily. The list shows certification status and is not an endorsement. Source: US Environmental Protection Agency (ENERGY STAR). Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"category":{"type":"string","enum":["refrigerators","freezers","dishwashers","clothes_washers","clothes_dryers","combination_washer_dryers","room_air_conditioners","dehumidifiers","room_air_cleaners","electric_cooking_products","televisions","displays","computers","imaging_equipment","telephones","smart_thermostats","ceiling_fans","ventilating_fans","downlights","water_heaters","heat_pumps","geothermal_heat_pumps","furnaces","boilers","pool_pumps","ev_chargers","storm_windows","commercial_refrigerators_freezers","commercial_dishwashers","commercial_ice_machines","commercial_ovens","commercial_fryers","commercial_griddles","commercial_steam_cookers","commercial_hot_food_holding_cabinets","commercial_coffee_brewers","water_coolers","commercial_water_heaters","commercial_boilers","all_categories"],"description":"The product category; all_categories answers whether a model is certified in any category but returns no efficiency figures"},"brand":{"type":"string","minLength":2,"maxLength":60,"pattern":"^[\\p{L}\\p{N} &.,'()+/-]+$","description":"The brand, matched case-insensitively as part of the listed brand name"},"model_number":{"type":"string","minLength":2,"maxLength":40,"pattern":"^[A-Za-z0-9 ./+#()-]+$","description":"The model number, matched as part of the listed model number or additional model designations. Listed model numbers can use * for a variable character, so give the fixed leading part when an exact number does not match."},"upc":{"type":"string","pattern":"^\\d{8,14}$","description":"A UPC, matched as part of the listed UPCs"},"energy_star_id":{"type":"string","pattern":"^\\d{4,9}$","description":"The ENERGY STAR Unique ID"},"limit":{"type":"integer","minimum":1,"maximum":25,"default":10,"description":"The most models to return"}},"required":["category"],"example":{"category":"televisions","brand":"Samsung","limit":2}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupProductEnergyCertificationResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/company-fda-registration":{"post":{"tags":["Lookups"],"operationId":"lookupCompanyFdaRegistration","summary":"Look up medical device establishments, their registration status, activities and listed devices.","description":"Returns medical device establishments registered with the US Food and Drug Administration, worldwide, by registration number, FEI number or firm name, with the products they list. Up to 100 source listings are grouped into establishments; when `truncated` is true, product lists may be incomplete and name searches may omit entire establishments. Named contacts are excluded. Supply exactly one registration number, FEI number or firm name. A name search may match many establishments of one group; country narrows name searches only. registration_year is the year the registration runs to. Establishments come in first-seen order. Products are unique by product code, at most 25 per establishment, newest created date first; duplicate codes use the newest listing’s details. No match returns an empty list. The source refreshes weekly; the evidence date identifies its snapshot. Source: US Food and Drug Administration. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"registration_number":{"type":"string","pattern":"^\\d{1,10}$","description":"The establishment’s FDA registration number"},"fei_number":{"type":"string","pattern":"^\\d{1,10}$","description":"The FDA establishment identifier"},"firm_name":{"type":"string","minLength":2,"maxLength":100,"description":"Firm name phrase; only letters, digits, spaces, ampersands, hyphens, periods and commas are kept"},"country":{"type":"string","pattern":"^[A-Z]{2}$","description":"Two-letter ISO country code; narrows firm name searches only"},"limit":{"type":"integer","minimum":1,"maximum":10,"default":3,"description":"The most establishments to return"}},"example":{"registration_number":"1030489"}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupCompanyFdaRegistrationResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/company-financials":{"post":{"tags":["Lookups"],"operationId":"lookupCompanyFinancials","summary":"Look up a US public company's reported revenue, income, balance sheet figures or EPS by period, by its registry identifier.","description":"Returns one reported financial figure of a US public company, by Central Index Key (CIK), from its filings with the US Securities and Exchange Commission: one value per period, newest first, with dates, fiscal period, form, filing date and accession number. Figures are as the company reported them; a later filing that restates a period replaces the earlier value. The CIK is the registrant number the US Securities and Exchange Commission assigns to every filer, as for Company Filings. Looks up by identifier only: it does not search by company name or ticker. `metric` is one of `revenue`, `net_income`, `operating_income`, `total_assets`, `total_liabilities`, `stockholders_equity`, `cash` or `eps_diluted`; `period` is `annual` (default) or `quarterly`. Returns the company name, the US GAAP tag and unit the figures come from, and each value's calendar frame, start and end dates, fiscal year and period. Figures are not adjusted or restated by anyone else. `periods` is empty when the company never reported the metric under its US GAAP tag. History is kept per series: Changes addresses one by the padded identifier, metric and period joined with colons (`0000320193:revenue:annual`); a call with a non-default `limit` is kept as a query. Source: US Securities and Exchange Commission. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"cik":{"type":"string","pattern":"^\\d{1,10}$","description":"The registry identifier (CIK), for example 320193. Shorter numbers are padded with zeros"},"metric":{"type":"string","enum":["revenue","net_income","operating_income","total_assets","total_liabilities","stockholders_equity","cash","eps_diluted"],"description":"Which reported figure to return"},"period":{"type":"string","enum":["annual","quarterly"],"default":"annual","description":"Fiscal years or fiscal quarters"},"limit":{"type":"integer","minimum":1,"maximum":20,"default":5,"description":"Most periods to return, newest first"}},"required":["cik","metric"],"example":{"cik":"320193","metric":"revenue","limit":2}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupCompanyFinancialsResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/market-drug-acquisition-cost":{"post":{"tags":["Lookups"],"operationId":"lookupMarketDrugAcquisitionCost","summary":"Look up weekly average acquisition costs for US outpatient drugs by NDC or exact drug description.","description":"Returns drug prices per unit from the weekly national drug acquisition survey (NADAC) of the US Centers for Medicare & Medicaid Services, by 11-digit NDC or exact drug description, with the survey's effective and as-of dates. These are pharmacy acquisition rates per unit, not retail patient prices. At least one of the NDC (dashes are removed) and the description (converted to uppercase) is required; NDC takes precedence when both are supplied. Reads up to 100 source rows, newest weekly as-of date first, then newest effective date, keeps the first row per NDC and returns up to limit prices. No match returns an empty prices list. Source: US Centers for Medicare & Medicaid Services. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"ndc":{"type":"string","pattern":"^-*(?:\\d-*){11}$","description":"National Drug Code; takes precedence over description"},"description":{"type":"string","minLength":3,"maxLength":100,"description":"Exact source drug description, matched in uppercase, for example ATORVASTATIN 20 MG TABLET"},"limit":{"type":"integer","minimum":1,"maximum":25,"default":10,"description":"Maximum number of distinct NDC prices to return"}},"example":{"ndc":"60290-0040-02"}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupMarketDrugAcquisitionCostResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/market-medicare-drug-spending":{"post":{"tags":["Lookups"],"operationId":"lookupMarketMedicareDrugSpending","summary":"Look up five years of Medicare Part D drug spending by exact brand or generic name.","description":"Returns Medicare Part D programme spending before rebates, by calendar year, from the US Centers for Medicare & Medicaid Services. Overall is the total across manufacturers; manufacturers can be included separately. Figures include spending, dosage units, claims, beneficiaries and average spending. The series updates annually and supplies the latest five calendar years. Provide brand_name, generic_name, or both. Both exact-match filters apply when both are supplied. Reads one source page of up to 50 rows, including manufacturer rows before filtering; broad matches may be incomplete. Empty source values become null. No match completes with drugs: []. Source: US Centers for Medicare & Medicaid Services. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"brand_name":{"type":"string","minLength":2,"maxLength":100,"description":"Exact brand name, for example Eliquis"},"generic_name":{"type":"string","minLength":2,"maxLength":100,"description":"Exact generic name, for example Apixaban"},"manufacturers":{"type":"boolean","default":false,"description":"Include per-manufacturer rows in addition to Overall totals"}},"example":{"brand_name":"Eliquis"}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupMarketMedicareDrugSpendingResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/market-medicare-fees":{"post":{"tags":["Lookups"],"operationId":"lookupMarketMedicareFees","summary":"Look up national Medicare Physician Fee Schedule relative value units and payment amounts for a procedure code.","description":"Returns the status indicator, relative value units, conversion factors and national payment amounts, before the locality adjustment, on Medicare's physician payment schedule for a procedure code and modifier. Non-facility is an office, where the practice bears the overhead; facility is a hospital or other facility paid separately for it. Codes and amounts only; procedure descriptions are licensed and not returned. Without a modifier, the rows with no modifier are returned; with one, only that modifier's rows (for example 26 for the professional component and TC for the technical component). From 2026 each code has one rate per conversion factor: one for qualifying alternative payment model participants and one for all other clinicians, in that order. Earlier years have one rate. A practice expense the source marks not applicable gives null practice expense, total and payment for that setting, never zero. When the Medicare Administrative Contractor sets the amount (status C, or L for a local code), both national payments are null. The relative value units are returned as the source lists them. The source is the US Centers for Medicare & Medicaid Services indicators table of the physician payment schedule for the year; locality adjustments are not applied. No match, including a code not on the schedule for the year, completes with rates: [] and a null status. Source: US Centers for Medicare & Medicaid Services. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","pattern":"^[A-Za-z0-9]{5}$","description":"Five-character procedure code, for example 99213 or G0439"},"modifier":{"type":"string","pattern":"^[A-Za-z0-9]{2}$","description":"Two-character modifier, for example 26 or TC; without it, rows with no modifier are returned"},"year":{"type":"integer","minimum":2025,"maximum":2026,"default":2026,"description":"Calendar year of the schedule; defaults to the newest published year"}},"required":["code"],"example":{"code":"99213"}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupMarketMedicareFeesResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/market-freight-index":{"post":{"tags":["Lookups"],"operationId":"lookupMarketFreightIndex","summary":"Look up monthly US freight volume and its seasonally adjusted mode components.","description":"Returns the Freight Transportation Services Index of the US Bureau of Transportation Statistics by month, newest first, with seasonally adjusted truck, rail, air, water and pipeline components. It measures volume, not prices, with 2000 = 100. The series refreshes monthly about six weeks after the month, and recent months are revised. `start_month` returns the months from that month onward. Missing modes are null. Each row carries its observation month. No matching months returns an empty list. Source: US Bureau of Transportation Statistics. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"months":{"type":"integer","minimum":1,"maximum":60,"default":12,"description":"Maximum number of most recent months with a freight index, 1 to 60"},"start_month":{"type":"string","pattern":"^\\d{4}-(0[1-9]|1[0-2])$","description":"Include months from YYYY-MM onward; cannot be later than the current UTC month"}},"example":{"months":1}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupMarketFreightIndexResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/market-interest-rates":{"post":{"tags":["Lookups"],"operationId":"lookupMarketInterestRates","summary":"Look up US overnight reference interest rates by date, as published by the Federal Reserve Bank of New York.","description":"Daily US overnight reference rates published by the Federal Reserve Bank of New York, in percent per year: SOFR, EFFR (with the FOMC target range), OBFR, TGCR, BGCR and the SOFR averages and index. Returns observations newest first for a date range or the most recent published days. OneShot is not affiliated with the New York Fed. The New York Fed does not sanction, endorse, or recommend any products or services offered by OneShot. The rate data is subject to the Terms of Use posted at newyorkfed.org; every answer carries the notice those terms require with any republication, in notice, and it must stay with the data when the answer is shown or passed on. Available rates are the secured overnight financing rate (sofr), the effective federal funds rate (effr, with the FOMC target range), the overnight bank funding rate (obfr), the tri-party general collateral rate (tgcr), the broad general collateral rate (bgcr) and the 30-, 90- and 180-day SOFR averages with the SOFR index (sofr_averages). Returns one observation per business day, newest first, either for a date range (at most 366 days, not in the future) or the last 1 to 30 published days. Each observation carries the rate, its 1st, 25th, 75th and 99th percentiles and the underlying volume in billions of US dollars where the source publishes them; fields that do not apply to a rate are null. revised is true when the source marks the day as revised. A range with no business days returns an empty list. Overnight rates (sofr, effr, obfr, tgcr, bgcr) are dated the business day they apply to and published the next US business day; sofr_averages is dated the day it is published and compounds SOFR through the previous business day. Source: Federal Reserve Bank of New York. Source: Federal Reserve Bank of New York. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"rate":{"type":"string","enum":["sofr","effr","obfr","tgcr","bgcr","sofr_averages"],"description":"Rate code: sofr, effr, obfr, tgcr, bgcr or sofr_averages"},"start_date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"First date, YYYY-MM-DD; give both start_date and end_date or neither"},"end_date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Last date, YYYY-MM-DD, inclusive; at most 366 days after start_date and not in the future"},"last":{"type":"integer","minimum":1,"maximum":30,"default":5,"description":"Number of most recent published days, 1 to 30, used when no dates are given"}},"required":["rate"],"example":{"rate":"sofr","start_date":"2026-10-15","end_date":"2026-10-16"}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupMarketInterestRatesResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/market-federal-labor-rates":{"post":{"tags":["Lookups"],"operationId":"lookupMarketFederalLaborRates","summary":"Look up the ceiling hourly rates federal contractors have agreed, by keyword.","description":"Returns the ceiling hourly rates contractors have agreed on US federal supply schedule contracts, from the US General Services Administration, with the low, middle (median), average and high across every match. These are ceilings, the most the contract allows per hour, not what was paid. The match is a keyword search, so a match is not always a job title. Your words are matched against the labor category, contractor name and contract number. Each matching rate has the contractor, contract number, business size, education, years of experience, clearance and worksite. Rates are listed lowest first. Use it to check whether a quoted hourly rate is in line with what the government pays. Covers ceiling hourly rates on US federal supply schedule contracts. `total` is 0 and `summary` is null when nothing matches. Source: US General Services Administration. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"role":{"type":"string","minLength":2,"maxLength":80,"description":"Words to look up, for example software engineer. Matched as a keyword search across labor category, contractor name and contract number, so some rates may not be for that job title"},"min_years_experience":{"type":"integer","minimum":0,"maximum":45,"description":"Only rates for roles that ask for at least this many years of experience"},"education":{"type":"string","enum":["high_school","associates","bachelors","masters","doctorate"],"description":"Only rates for roles that ask for exactly this level of education"},"limit":{"type":"integer","minimum":1,"maximum":25,"default":10,"description":"The most rates to list. The summary always covers every match"}},"required":["role"],"example":{"role":"software engineer","limit":1}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupMarketFederalLaborRatesResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/market-freight-rate":{"post":{"tags":["Lookups"],"operationId":"lookupMarketFreightRate","summary":"Quote a freight lane between two US ZIP codes for a pickup date, by mode.","description":"Quotes the rate to move freight between two US ZIP codes on a pickup date, by mode (ltl, ftl, van or box_truck), as one carrier's quote for that lane: the rate for the whole shipment with every included service, transit time, pickup and delivery dates, when the quote lapses and whether it is firm or indicative. Nothing is booked. ltl shares a trailer by the pallet, ftl is a whole 53-foot dry van, van is a cargo van and box_truck is a 26-foot box truck. Use it to check a billed freight charge against the lane's going rate. For ltl give the pallets, the weight per pallet and the pallet dimensions; for van and box_truck give the pallets and the weight per pallet; for ftl the lane and date are enough. A lane the mode does not serve is refused as invalid input: try another mode. Covers US lanes. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"origin_zip":{"type":"string","pattern":"^\\d{5}$","description":"Where the freight is collected"},"destination_zip":{"type":"string","pattern":"^\\d{5}$","description":"Where the freight is delivered"},"mode":{"type":"string","enum":["ltl","ftl","van","box_truck"],"description":"How the freight moves. Picks the quote asked for; there is no default"},"pickup_date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"The day the freight is collected: today (UTC) or later"},"pallets":{"type":"integer","minimum":1,"description":"How many pallets. Required for ltl, van (up to 3) and box_truck (up to 12); not needed for ftl"},"weight_lbs_per_pallet":{"type":"integer","minimum":1,"description":"The weight of each pallet in pounds. Required for ltl, van (3,500 lb in all) and box_truck (10,000 lb in all); not needed for ftl"},"length_in":{"type":"integer","minimum":1,"description":"The length of each pallet in inches. Required for ltl; ignored for other modes"},"width_in":{"type":"integer","minimum":1,"description":"The width of each pallet in inches. Required for ltl; ignored for other modes"},"height_in":{"type":"integer","minimum":1,"description":"The height of each pallet in inches, up to 85. Required for ltl; ignored for other modes"}},"required":["origin_zip","destination_zip","mode","pickup_date"],"example":{"origin_zip":"90012","destination_zip":"94105","mode":"ltl","pickup_date":"2026-10-20","pallets":2,"weight_lbs_per_pallet":800,"length_in":48,"width_in":40,"height_in":48}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupMarketFreightRateResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/market-truck-rates":{"post":{"tags":["Lookups"],"operationId":"lookupMarketTruckRates","summary":"Look up weekly refrigerated produce truck rates and availability by shipping district and destination.","description":"Returns reported weekly rates for refrigerated produce loads, not a quote, from the US Department of Agriculture. Origins are shipping districts. Each lane includes weekly low, high, midpoint and rate per mile, plus truck availability: 1 means surplus, 3 adequate supply and 5 shortage, with intermediate values 2 and 4. Origin and optional destination match uppercase substrings. Omit destination to return several lanes. Reads one page of weeks × 40 rows, capped at 1000, newest first; keeps up to weeks rows per lane from that page. History is available from the first call. Lane details use the newest row. Empty numeric fields are null. No match returns an empty lanes list. Source: US Department of Agriculture. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"origin":{"type":"string","minLength":2,"maxLength":80,"description":"Shipping district substring, for example Salinas or Florida"},"destination":{"type":"string","minLength":2,"maxLength":80,"description":"Destination city substring, for example Chicago"},"weeks":{"type":"integer","minimum":1,"maximum":26,"default":4,"description":"Most recent weeks per lane"}},"required":["origin"],"example":{"origin":"Salinas","destination":"Chicago","weeks":1}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupMarketTruckRatesResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/find/record-customs-rulings":{"post":{"tags":["Lookups"],"operationId":"findRecordCustomsRulings","summary":"Find published US customs rulings showing how similar goods were classified.","description":"Searches rulings published by US Customs and Border Protection, closest match first, with ruling numbers you can cite, dates, tariff numbers and revocation status. A ruling binds only the goods it describes. The rate itself comes from Duty Rate. New rulings are added daily as issued. Each answer includes the ruling date and a link to the ruling page. The optional tariff_number prefix filters the returned page. Fewer than limit rulings may remain; total is the source match count before filtering. Source: US Customs and Border Protection. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"query":{"type":"string","minLength":2,"maxLength":200,"description":"Search words, for example bluetooth speaker"},"tariff_number":{"type":"string","pattern":"^\\d{4}(?:\\.\\d{2}(?:\\.\\d{4})?)?$","description":"Keep rulings with a tariff number starting with this prefix, for example 8518, 8518.22 or 8518.22.0000"},"limit":{"type":"integer","minimum":1,"maximum":20,"default":10,"description":"The most rulings to fetch before the optional tariff filter"}},"required":["query"],"example":{"query":"bluetooth speaker","limit":1}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FindRecordCustomsRulingsResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/find/record-dockets":{"post":{"tags":["Lookups"],"operationId":"findRecordDockets","summary":"Find the US federal agency dockets, rulemaking and nonrulemaking, that match search words.","description":"Searches the dockets of US federal agencies on the federal regulations portal, newest change first: docket id, agency, type (rulemaking or nonrulemaking), title, the date of its last change and a link. A docket is the file a rule or notice and its public comments sit in; this returns the dockets, not the documents or comments inside them. Optionally narrow by `agency` (its acronym, for example FAA or EPA) and by `docket_type` (rulemaking or nonrulemaking). Use it to find where an agency keeps the record of a rule and its public comments; use the Federal Register documents tool for the published rules and notices themselves. `total` is how many dockets matched, including any beyond `limit`, and is 0 when none did. Each docket links to its page on the portal, which lists its documents and comments. Source: US General Services Administration. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"query":{"type":"string","minLength":2,"maxLength":200,"description":"Search words, for example unmanned aircraft"},"agency":{"type":"string","minLength":2,"maxLength":10,"pattern":"^[A-Za-z0-9]+$","description":"Only dockets of this agency, as its acronym, for example FAA or EPA"},"docket_type":{"type":"string","enum":["rulemaking","nonrulemaking"],"description":"Only dockets of this kind"},"limit":{"type":"integer","minimum":1,"maximum":25,"default":10,"description":"The most dockets to return"}},"required":["query"],"example":{"query":"unmanned aircraft","agency":"FAA","limit":2}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FindRecordDocketsResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/find/record-federal-register":{"post":{"tags":["Lookups"],"operationId":"findRecordFederalRegister","summary":"Find the rules, proposed rules and notices the US government published in the Federal Register that match search words.","description":"Searches the US Federal Register, the government's daily journal of rules, proposed rules, notices and presidential documents, from the US Office of the Federal Register, newest first: document number, title, type, abstract, publication date, issuing agencies and links. It covers documents published since 1994 and returns the abstract, not the full text. Optionally narrow by `type` (rule, proposed_rule, notice or presidential), by `agency` (the agency's Federal Register slug, for example federal-aviation-administration), and by publication date with `published_after` and `published_before` (YYYY-MM-DD). Use it to find what the government has said or proposed about a subject, a regulation or a company. Each document links to its page and its PDF: open the link for the full text. `total` is how many documents matched, including any beyond `limit`, and is 0 when none did. Source: US Office of the Federal Register. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"query":{"type":"string","minLength":2,"maxLength":200,"description":"Search words, for example drone registration"},"type":{"type":"string","enum":["rule","proposed_rule","notice","presidential"],"description":"Only this kind of document"},"agency":{"type":"string","minLength":2,"maxLength":80,"description":"Only documents from this agency, as its Federal Register slug, for example federal-aviation-administration"},"published_after":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Only documents published on or after this date"},"published_before":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Only documents published on or before this date"},"limit":{"type":"integer","minimum":1,"maximum":20,"default":10,"description":"The most documents to return"}},"required":["query"],"example":{"query":"drone registration","type":"rule","limit":1}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FindRecordFederalRegisterResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/find/record-clinical-trials":{"post":{"tags":["Lookups"],"operationId":"findRecordClinicalTrials","summary":"Find the registered clinical studies that match a condition, a treatment or other search words.","description":"Searches the clinical studies registered with the US National Library of Medicine, in any country, for a condition, a treatment or other words, most recently updated first: registry number, title, status, phases, conditions, interventions, sponsor, enrollment, dates, site countries and link. A study record is what the sponsor registered, not a finding about a treatment. Give `condition`, `query` or both, and optionally narrow by `status` (recruiting, not_yet_recruiting, active_not_recruiting, completed, terminated, withdrawn or suspended). Each study also gives its study type, start and primary completion dates and the date it was last updated. Use it to see what research is registered on a disease or a drug, who sponsors it and how far along it is. Contact and investigator details are not returned. `total` is how many studies matched, including any beyond `limit`, and is 0 when none did. Source: US National Library of Medicine. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"condition":{"type":"string","minLength":2,"maxLength":120,"description":"A condition or disease, for example psoriasis"},"query":{"type":"string","minLength":2,"maxLength":200,"description":"A treatment or other search words, for example secukinumab"},"status":{"type":"string","enum":["recruiting","not_yet_recruiting","active_not_recruiting","completed","terminated","withdrawn","suspended"],"description":"Only studies with this status"},"limit":{"type":"integer","minimum":1,"maximum":20,"default":10,"description":"The most studies to return"}},"example":{"condition":"psoriasis","query":"secukinumab","status":"recruiting","limit":1}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FindRecordClinicalTrialsResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/find/record-publications":{"post":{"tags":["Lookups"],"operationId":"findRecordPublications","summary":"Search the PubMed biomedical literature with free text, newest or most relevant first, with citation details and how many papers matched in all.","description":"Searches PubMed, the US National Library of Medicine's index of biomedical papers, newest or most relevant first: title, journal, dates, first three authors, DOI, PubMed Central id, publication types and link. Only citation fields are returned, never an abstract or full text. The answer lists what a public index holds: it is for research and is not medical advice. `total` is how many papers matched in all, including any beyond `limit`, and is 0 when none did. `query_translation` shows how the source expanded the search (MeSH terms, plurals, the year range). Field tags such as `[Title]` or `[MeSH Terms]` and `AND`, `OR` and `NOT` are passed to the source as written. Give `from_year`, `to_year` or both to keep papers published in those years; one alone is open on the other side. `sort` is `newest` (by publication date, the default) or `relevance`. Each paper also gives its author count. Registered studies are in `record_clinical_trials_find`; the papers NCBI links to one gene are in `gene_publications`. Source: US National Library of Medicine (PubMed). Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"query":{"type":"string","minLength":2,"maxLength":300,"description":"PubMed search text, for example semaglutide AND kidney; field tags such as [Title] or [MeSH Terms] and AND/OR/NOT are allowed"},"from_year":{"type":"integer","minimum":1800,"description":"Only papers published in this year or later, no later than the current year"},"to_year":{"type":"integer","minimum":1800,"description":"Only papers published in this year or earlier, no later than the current year"},"sort":{"type":"string","enum":["newest","relevance"],"default":"newest","description":"newest (by publication date) or relevance"},"limit":{"type":"integer","minimum":1,"maximum":20,"default":10,"description":"The most papers to return"}},"required":["query"],"example":{"query":"semaglutide AND kidney","from_year":2024,"to_year":2026,"sort":"relevance","limit":3}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FindRecordPublicationsResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/find/record-court-cases":{"post":{"tags":["Lookups"],"operationId":"findRecordCourtCases","summary":"Find court decisions and dockets by search words, court, date, case name or docket number.","description":"Searches a public archive of published US federal and state court opinions, or federal dockets and their filings with kind=dockets, by relevance: case names, courts, filing dates, citations, docket numbers, excerpts and links. The source's terms prohibit using this data for credit, insurance, employment, housing or other eligibility decisions covered by the Fair Credit Reporting Act. For opinions, the filing date is the decision date; for dockets, it is when the case was filed. Citations come when available. Coverage varies by court and does not include every case or filing. Only the first page is read, with at most limit matches returned. Docket totals above 2,000 are approximate, with up to 6% error. An excerpt is the start of an opinion or a matching filing, at most 500 characters; it is not a case summary. Open the URL for the source record. Source: US federal and state courts (public court records). Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"query":{"type":"string","minLength":1,"maxLength":500,"description":"Search words, with quotes for an exact phrase and AND, OR or NOT between terms, for example patent"},"kind":{"type":"string","enum":["opinions","dockets"],"default":"opinions","description":"opinions searches published federal and state decisions; dockets searches federal cases and their filings. Default opinions"},"court":{"type":"string","pattern":"^[a-z][a-z0-9]{0,29}$","description":"Only this court, by its short court ID, for example scotus, cafc or txed"},"filed_after":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Only cases filed on or after this date, YYYY-MM-DD; for opinions, this is the decision date"},"filed_before":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Only cases filed on or before this date, YYYY-MM-DD; for opinions, this is the decision date"},"case_name":{"type":"string","minLength":1,"maxLength":200,"description":"Search within case names, for example Merck"},"docket_number":{"type":"string","minLength":1,"maxLength":100,"description":"Search within docket numbers, for example 23-1027"},"limit":{"type":"integer","minimum":1,"maximum":20,"default":10,"description":"The most matches to return from the first page, from 1 to 20. Default 10"}},"required":["query"],"example":{"query":"patent","court":"cafc","case_name":"Merck","docket_number":"23-1027","filed_after":"2025-01-01","filed_before":"2025-12-31","limit":1}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FindRecordCourtCasesResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/record-vulnerability":{"post":{"tags":["Lookups"],"operationId":"lookupRecordVulnerability","summary":"Look up the published record of a software vulnerability by its CVE identifier.","description":"Returns a software vulnerability's record from the National Vulnerability Database of the US National Institute of Standards and Technology, by CVE identifier: description, dates, analysis status, severity, weakness types, known-exploited status and references. Affected product versions are not returned. A record is what the database publishes, not a measure of the risk to any one system. The record gives a description in English, when it was published and last modified, its analysis status, its severity (the newest CVSS version that has a primary score, with the score, the rating word and the vector), the weakness types, whether it is on the US list of known exploited vulnerabilities (with the date added, the date action is due and the required action), the first 10 references with their tags and a link to the record. `total` is 1, or 0 when the database has no such identifier. Times are UTC. This product uses the NVD API but is not endorsed or certified by the NVD. Source: US National Institute of Standards and Technology. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"cve_id":{"type":"string","pattern":"^CVE-\\d{4}-\\d{4,}$","description":"The CVE identifier, for example CVE-2021-44228. Lower case is accepted"}},"required":["cve_id"],"example":{"cve_id":"CVE-2021-44228"}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupRecordVulnerabilityResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/company-vat-registration":{"post":{"tags":["Lookups"],"operationId":"lookupCompanyVatRegistration","summary":"Check whether a VAT number is registered for cross-border trade in an EU member state or Northern Ireland.","description":"Checks with the European Commission whether a VAT number is registered today for cross-border trade in an EU member state or Northern Ireland, with the registered name and address where the member state gives them. It confirms registration, not who owns or controls the company. A member state service that does not answer fails the call. Give `country`, the two-letter code the source uses (`EL` for Greece, `XI` for Northern Ireland), and `vat_number`; spaces, dots and dashes are removed, and a leading country code equal to `country` is removed. `registered` is true when the number is registered and false when the source says it is not. Some member states confirm a number and withhold the name and address, which are then `null`. `checked_at` is when the source made the check. A number that is not registered is a completed result. When a member state's own service does not answer or is too busy, the call fails and is never reported as not registered. Source: European Commission. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"country":{"type":"string","enum":["AT","BE","BG","CY","CZ","DE","DK","EE","EL","ES","FI","FR","HR","HU","IE","IT","LT","LU","LV","MT","NL","PL","PT","RO","SE","SI","SK","XI"],"description":"Two-letter code the source uses: the 27 EU member states (EL for Greece) or XI for Northern Ireland"},"vat_number":{"type":"string","minLength":2,"maxLength":40,"pattern":"^[A-Za-z0-9 .-]+$","description":"The VAT number, 2 to 14 letters and digits once spaces, dots and dashes are removed; a leading country code equal to country is removed"}},"required":["country","vat_number"],"example":{"country":"IE","vat_number":"6388047V"}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupCompanyVatRegistrationResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/gene-summary":{"post":{"tags":["Lookups"],"operationId":"lookupGeneSummary","summary":"Describe a gene from its NCBI Gene ID or official symbol: name, aliases, organism, position on the genome and a summary of its function.","description":"Describes a gene from the Gene database of the US National Center for Biotechnology Information, by NCBI Gene ID or official symbol: symbol, full name, aliases, organism, chromosome and band, position and strand, exon count, curated function summary and OMIM ids. When several genes carry a symbol, the first is described and the rest are listed in `other_gene_ids`. Give exactly one of `gene_id` and `symbol`; `taxon_id` picks the organism for a symbol search and is human (9606) unless set. A symbol is matched without regard to case in the organism. The position is on the current assembly. The function summary comes with the note saying who wrote it. `status` says whether the record is live, replaced (then `current_gene_id` names the record to use) or discontinued. `gene` is null when no gene has the id or the symbol. Covers every organism with genes in the Gene database. Coordinates are zero-based, as the source gives them. Source: US National Center for Biotechnology Information. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"gene_id":{"type":"string","pattern":"^\\d{1,12}$","description":"An NCBI Gene ID, digits only, for example 7157"},"symbol":{"type":"string","minLength":1,"maxLength":30,"pattern":"^[^\\s\"[\\]]+$","description":"An official gene symbol, for example TP53, matched without regard to case in the organism `taxon_id` names"},"taxon_id":{"type":"integer","minimum":1,"maximum":999999999,"default":9606,"description":"The organism as an NCBI Taxonomy ID, used with `symbol`; 9606 (human) unless set, 10090 is mouse"}},"example":{"symbol":"TP53"}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupGeneSummaryResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/gene-pathways":{"post":{"tags":["Lookups"],"operationId":"lookupGenePathways","summary":"Look up the lowest-level biological pathways a gene’s products take part in, by NCBI Gene ID.","description":"Returns the lowest-level pathways a gene's products take part in, from Reactome (CC0, quarterly releases): curated human pathways and pathways inferred for other species. Pass the gene's own organism as `taxon_id`: a Gene ID belongs to one organism, and a mismatch returns an empty list. No diagrams or images are returned. taxon_id is human (9606) by default. Inferred pathways are computed from human pathways by orthology rather than curated for this species; in_disease pathways describe disease mechanisms. Returns up to limit pathways in source order, with total counting all pathways the source returned. An unknown gene or a gene with no pathways returns an empty list. Source: Reactome. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"gene_id":{"type":"string","pattern":"^\\d{1,12}$","description":"An NCBI Gene ID, for example 7157"},"taxon_id":{"type":"integer","minimum":1,"maximum":999999999,"default":9606,"description":"The gene’s own organism as an NCBI Taxonomy ID; 9606 is human, 10090 is mouse"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":50,"description":"Maximum pathways returned, in source order"}},"required":["gene_id"],"example":{"gene_id":"7157","limit":1}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupGenePathwaysResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/find/gene-variants":{"post":{"tags":["Lookups"],"operationId":"findGeneVariants","summary":"Find ClinVar variants in a human gene by NCBI Gene ID or official symbol.","description":"Reports what ClinVar, the public variant registry of the US National Center for Biotechnology Information, says about variants in a gene, by NCBI Gene ID or official human symbol: up to 20 variants with their classifications and the total count. Classifications are submitters' and expert panels' interpretations, for research; not medical advice. Aliases do not match. Supply exactly one NCBI Gene ID or official human gene symbol, never a person's genome, sequencing data or a VCF file. Use gene_resolve to resolve aliases first. Optionally filter by ClinVar classification properties and expert panel review; these properties can include combined classifications. By default, single_gene excludes large deletions and duplications spanning multiple genes; include_multi_gene includes them. Variants come in search order, and the total is the ClinVar search count. Empty classifications are null; no match returns total 0 and an empty variants list. Each vcv can be passed to variant_clinical_significance for details, including somatic and oncogenicity classifications. ClinVar refreshes weekly; classifications carry their last evaluated dates. NCBI places no restriction on use of ClinVar. Source: US National Center for Biotechnology Information (ClinVar). Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"gene_id":{"type":"string","minLength":1,"maxLength":12,"pattern":"^\\d+$(?![\\s\\S])","description":"NCBI Gene ID, for example 672; supply exactly one of gene_id or symbol"},"symbol":{"type":"string","minLength":1,"maxLength":30,"pattern":"^[A-Za-z0-9][A-Za-z0-9._-]*$(?![\\s\\S])","description":"Official human gene symbol, for example BRCA1; use gene_resolve for aliases"},"classification":{"type":"string","enum":["pathogenic","likely_pathogenic","uncertain","likely_benign","benign","conflicting"],"description":"ClinVar classification property filter; may include combined classifications"},"expert_panel_only":{"type":"boolean","default":false,"description":"Only variants reviewed by an expert panel"},"include_multi_gene":{"type":"boolean","default":false,"description":"Include variants spanning multiple genes"},"limit":{"type":"integer","minimum":1,"maximum":20,"default":10,"description":"Maximum number of variants returned"}},"additionalProperties":false,"example":{"gene_id":"7157","classification":"pathogenic","expert_panel_only":true,"limit":1}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FindGeneVariantsResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/resolve/compound":{"post":{"tags":["Lookups"],"operationId":"resolveCompound","summary":"Resolve a name, CAS number, InChIKey or SMILES to chemical compound identities.","description":"Resolves a compound name, CAS registry number, InChIKey or SMILES to PubChem compounds of the US National Center for Biotechnology Information: identifiers, computed names, molecular formulas, InChIKeys, connectivity SMILES and compound page links. Identity only: no synonym lists, depositor records, synthesis routes, preparation methods or precursor lists. Give exactly one of name (a common, trade or systematic name, or a CAS registry number), inchikey or smiles. Matches retain the source order, up to limit. Ambiguous is true whenever the source matched more than one CID, even if limit returns only one. An unknown compound returns an empty matches list. SMILES containing / or \\ are refused because the source path form cannot carry them. Source: US National Center for Biotechnology Information (PubChem). Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":2,"maxLength":200,"description":"A common, trade or systematic chemical name, or a CAS registry number such as 50-78-2; give exactly one of name, inchikey or smiles"},"inchikey":{"type":"string","minLength":27,"maxLength":27,"pattern":"^[A-Z]{14}-[A-Z]{10}-[A-Z]$","description":"The compound InChIKey; give exactly one of name, inchikey or smiles"},"smiles":{"type":"string","minLength":1,"maxLength":500,"description":"A SMILES structure string without / or \\, which the source path form cannot carry; give exactly one of name, inchikey or smiles"},"limit":{"type":"integer","minimum":1,"maximum":10,"default":5,"description":"The most matching compounds to return"}},"example":{"name":"aspirin"}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResolveCompoundResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/resolve/gene":{"post":{"tags":["Lookups"],"operationId":"resolveGene","summary":"Resolve a gene symbol, an alias or an Ensembl gene ID to NCBI Gene IDs, with official symbol, name, aliases and organism.","description":"Resolves a gene symbol (TP53), alias (P53, HER2) or Ensembl gene ID to the matching live genes in the Gene database of the US National Center for Biotechnology Information: NCBI Gene ID, symbol, full name, aliases, status, organism, chromosome, band and page link. A query whose search finds more than 20 live records fails rather than returning a partial answer. Give `query`: an official gene symbol, an alias or an Ensembl gene ID (ENSG00000141510; a version suffix is dropped). Letters, digits, dots, dashes and `_` only. `taxon_id` picks the organism and is human (9606) unless set. Returns up to `limit` genes: genes whose official symbol is the query first, then genes that carry it as an alias, each in the source's order. The NCBI Gene ID is the input of Gene Summary. `matched_on` says how each gene matched. A search hit that carries the query as neither its symbol nor an alias is dropped. `ambiguous` is true when more than one gene matched and none has the query as its official symbol. An unknown query returns an empty matches list. Replaced and discontinued Gene IDs are not returned. Data from NCBI Gene at the US National Center for Biotechnology Information; official human symbols are assigned by the HUGO Gene Nomenclature Committee. Source: US National Center for Biotechnology Information. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"query":{"type":"string","minLength":1,"maxLength":40,"pattern":"^[A-Za-z0-9][A-Za-z0-9._-]*$","description":"An official gene symbol (TP53), an alias (P53, HER2) or an Ensembl gene ID (ENSG00000141510, a version suffix is dropped)"},"taxon_id":{"type":"integer","minimum":1,"maximum":999999999,"default":9606,"description":"The organism as an NCBI Taxonomy ID; 9606 (human) unless set, 10090 is mouse"},"limit":{"type":"integer","minimum":1,"maximum":10,"default":5,"description":"The most matching genes to return"}},"required":["query"],"example":{"query":"HER2"}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResolveGeneResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/protein-structure":{"post":{"tags":["Lookups"],"operationId":"lookupProteinStructure","summary":"Give the experimental structures or the predicted model of a protein by its UniProt accession.","description":"Returns a protein's structures by UniProt accession: with `coverage` set to `experimental`, the newest RCSB Protein Data Bank entries with method, resolution, release date and files; with `predicted`, the EMBL-EBI predicted model with its confidence and files. A predicted model is a computed estimate, not an experimental structure: low-confidence regions should not be read as structure. `experimental` lists the newest entries in the Protein Data Bank that contain the protein, each with its title, experimental method, resolution in angstrom, release date, page and structure file, with `total` counting every matching entry. `predicted` returns the predicted model for the accession, with its version, creation date, residue range, mean confidence, the fraction of residues at each confidence level, and its structure and error-image files, or null when no model exists. Predicted models come from the predicted-structure database at EMBL-EBI, used under CC BY 4.0; experimental entries come from the RCSB Protein Data Bank. Use it to check whether a protein has a solved structure, to find the file to load into a viewer or a docking run, or to judge how far a predicted model can be trusted. Covers proteins with a UniProt accession. The sequence, alignment links and the names of the prediction software and its maker are not returned. Source: RCSB Protein Data Bank; EMBL-EBI. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"accession":{"type":"string","pattern":"^(?:[OPQ][0-9][A-Z0-9]{3}[0-9]|[A-NR-Z][0-9](?:[A-Z][A-Z0-9]{2}[0-9]){1,2})$","description":"The UniProt accession of the protein, for example P04637"},"coverage":{"type":"string","enum":["experimental","predicted"],"description":"Which kind of structure: experimental (entries in the Protein Data Bank) or predicted (the predicted model)"},"limit":{"type":"integer","minimum":1,"maximum":25,"default":10,"description":"How many experimental structures to return, newest release first (1 to 25). Ignored for predicted"}},"required":["accession","coverage"],"example":{"accession":"P04637","coverage":"experimental","limit":2}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupProteinStructureResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/compound-properties":{"post":{"tags":["Lookups"],"operationId":"lookupCompoundProperties","summary":"Give the computed molecular descriptors of a chemical compound by its compound identifier (CID) or InChIKey.","description":"Returns the computed molecular descriptors of a compound, by PubChem CID or InChIKey, from the US National Center for Biotechnology Information: IUPAC name, formula, InChIKey, molecular weight, exact mass, XLogP, polar surface area, hydrogen bond donor and acceptor counts, rotatable bonds, heavy atoms, formal charge and complexity. These are values the source computes from the structure, not measurements. Molecular weight is in g/mol, exact mass in Da and topological polar surface area in square angstroms. A link to the compound page is included. Use it to characterise a compound in a literature review, a screening library or a regulatory file. Give exactly one of `cid` and `inchikey`. `compound` is null when the source knows no compound with that identifier. Synonyms, depositor records, and any synthesis or preparation data are not returned. Source: US National Center for Biotechnology Information (PubChem). Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"cid":{"type":"integer","minimum":1,"maximum":999999999,"description":"The compound identifier (CID), for example 2244"},"inchikey":{"type":"string","minLength":27,"maxLength":27,"pattern":"^[A-Z]{14}-[A-Z]{10}-[A-Z]$","description":"The standard InChIKey of the compound, for example BSYNRYMUTXBXSQ-UHFFFAOYSA-N"}},"example":{"cid":2244}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupCompoundPropertiesResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/compound-hazards":{"post":{"tags":["Lookups"],"operationId":"lookupCompoundHazards","summary":"Give the GHS hazard classification of a chemical compound by its compound identifier (CID), name or CAS number.","description":"Returns the GHS hazard classification of a compound, by PubChem CID, name or CAS number, from the US National Center for Biotechnology Information: pictograms, signal word, hazard statements and precautionary codes, one classification per classifying source. Classifications come from the EU harmonised classification and the Hazardous Substances Data Bank of the US National Library of Medicine; others are left out. A name is a common, trade or systematic name, or a CAS registry number such as 50-00-0. Give exactly one of `cid` and `name`. Classifications come in source order: the GHS pictograms with their codes (GHS05), the signal word, the hazard statements with their codes (H314) and the precautionary statement codes. The EU harmonised classification is Regulation (EC) No 1272/2008. A compound classified only by other sources returns an empty list. `classified` is true when a returned classification has a hazard statement. A name matching several compounds uses the first and lists them all in `matched_cids`. `compound` is null when the name or CID matches nothing, or the source has no classification for the compound. Toxicity values, exposure limits, the full safety data sheet, and any synthesis or preparation data are not returned. Source: US National Center for Biotechnology Information (PubChem). Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"cid":{"type":"integer","minimum":1,"maximum":999999999,"description":"The compound identifier (CID), for example 712"},"name":{"type":"string","minLength":2,"maxLength":200,"description":"A common, trade or systematic name, or a CAS registry number such as 50-00-0"}},"example":{"name":"50-00-0"}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupCompoundHazardsResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/compound-targets":{"post":{"tags":["Lookups"],"operationId":"lookupCompoundTargets","summary":"Find a compound’s protein targets and mechanisms of action, with supporting references.","description":"Reports what the Open Targets Platform public database says about a drug or clinical candidate's protein targets and mechanisms of action, with gene symbols and references, by ChEMBL id or name. For research; not medical advice. Indications, adverse events, warnings, measured bioactivity and synthesis or preparation data are not returned. Give exactly one of chembl_id or name. A PubChem CID is not accepted: pass the compound’s name, which Compound Resolve and Compound Properties return. A name search selects the first hit and lists up to three candidates so you can retry by ChEMBL id. An unknown compound returns matched: false. Source: Open Targets Platform (EMBL-EBI and partners). Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"chembl_id":{"type":"string","pattern":"^CHEMBL[1-9][0-9]{0,8}(?![\\s\\S])","description":"ChEMBL molecule identifier; lowercase is accepted"},"name":{"type":"string","minLength":2,"maxLength":100,"description":"Drug or compound name; the first search hit is used"}},"example":{"chembl_id":"CHEMBL1201580"}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupCompoundTargetsResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/gene-diseases":{"post":{"tags":["Lookups"],"operationId":"lookupGeneDiseases","summary":"Rank the diseases linked to a human gene by association evidence, with per-datatype scores.","description":"Reports the diseases the Open Targets Platform (CC0) associates with a human gene, strongest overall score first, with the evidence score of each datatype. A score between 0 and 1 summarises the strength of the evidence that the gene and disease are associated; it is not a measure of causation or clinical risk. For research; not medical advice. The datatypes are genetic association, somatic mutation, known drug, affected pathway, literature, RNA expression, animal model and genetic literature. Human genes only. Pass an official gene symbol or an Ensembl gene ID; a version suffix is dropped. A symbol matches only a search hit with exactly that name, ignoring case: otherwise matched is false and the near hits are listed as candidates so you can retry by Ensembl ID. An unknown Ensembl ID returns matched: false. Source: Open Targets Platform (EMBL-EBI and partners). Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"gene":{"type":"string","minLength":1,"maxLength":30,"pattern":"^[A-Za-z0-9._-]+(?![\\s\\S])","description":"An official human gene symbol (BRCA1) or an Ensembl gene ID (ENSG00000012048); a version suffix is dropped"},"limit":{"type":"integer","minimum":1,"maximum":25,"default":10,"description":"Diseases returned, highest overall score first"}},"required":["gene"],"example":{"gene":"BRCA1","limit":2}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupGeneDiseasesResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/gene-expression":{"post":{"tags":["Lookups"],"operationId":"lookupGeneExpression","summary":"Look up median expression of a human gene across normal tissues, highest expression first.","description":"Reports the median expression of a human gene across donors of normal (non-diseased) tissue, in transcripts per million (TPM), from the open-access summary data of the Genotype-Tissue Expression (GTEx) project, US National Institutes of Health. Values are static between releases; the answer names the dataset. The data is for research and is not medical advice. Please cite the GTEx Portal (https://gtexportal.org) and dbGaP accession phs000424. Pass an official human gene symbol or an Ensembl gene ID, with or without a version. Exactly one matching reference row is required; otherwise matched is false and candidates lists the returned rows. Tissues are sorted by highest median first; omit limit for all tissues. Source: Genotype-Tissue Expression (GTEx) project, US National Institutes of Health. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"gene":{"type":"string","minLength":1,"maxLength":30,"pattern":"^[A-Za-z0-9._-]+(?![\\s\\S])","description":"Official human gene symbol (TP53) or Ensembl gene ID (ENSG00000141510), with or without a version"},"limit":{"type":"integer","minimum":1,"maximum":60,"description":"Tissues returned, highest median first; omit for all tissues"}},"required":["gene"],"example":{"gene":"TP53","limit":2}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupGeneExpressionResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/gene-publications":{"post":{"tags":["Lookups"],"operationId":"lookupGenePublications","summary":"List the PubMed papers NCBI links to a gene by its NCBI Gene ID, most recently added first, with citation details and how many are linked in all.","description":"Lists the PubMed papers the US National Center for Biotechnology Information links to a gene, by NCBI Gene ID, most recently added first: title, journal, dates, first three authors, DOI, PubMed Central id, publication types and link. Only citation fields are returned, never an abstract or the full text. This is the curated gene-to-paper link list, not a literature search. `total` is how many papers are linked in all. Each paper also gives its author count. The order is by PubMed id, highest first, which is the order papers were added to PubMed; it is not the order of publication. The answer reports what a public database links to the gene: it is for research and is not medical advice. Takes a Gene ID only, never a sequence, a genome or a variant file; use `gene_resolve` to find the Gene ID for a symbol or alias. A gene with no linked papers, or an id no gene has, is a completed answer with `total` 0. Source: US National Center for Biotechnology Information. Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"gene_id":{"type":"string","pattern":"^\\d{1,12}$","description":"An NCBI Gene ID, digits only, for example 7157 for human TP53; `gene_resolve` finds it from a symbol or alias"},"limit":{"type":"integer","minimum":1,"maximum":20,"default":10,"description":"Papers returned, most recently added to PubMed first"}},"required":["gene_id"],"example":{"gene_id":"7157","limit":3}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupGenePublicationsResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/resolve/variant":{"post":{"tags":["Lookups"],"operationId":"resolveVariant","summary":"Resolve an HGVS expression or dbSNP rsID to ClinVar variant identities.","description":"Says which variant ClinVar, the public variant registry of the US National Center for Biotechnology Information, records under one HGVS expression or dbSNP rsID, for research; not medical advice. Identity only: no germline, somatic or oncogenicity classification, conditions or submissions; pass vcv to variant_clinical_significance for those. Supply exactly one HGVS expression on a reference sequence accession (genomic, coding, non-coding or protein) or one dbSNP rsID, never a person's genome, sequencing data or a VCF file. The expression is matched as one quoted variant name; expressions containing double quotes or square brackets are refused, so use the rsID for repeat notation. An rsID can match several alleles at one position: returns up to five variations carrying that rsID. A short protein change can match several variants too; ambiguous is then true. No match returns an empty variants list. ClinVar refreshes weekly, and accession versions change when records change. NCBI places no restriction on use of ClinVar. Source: US National Center for Biotechnology Information (ClinVar). Flat price per lookup. The result is returned in the same response.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"hgvs":{"type":"string","minLength":5,"maxLength":200,"pattern":"^(NC|NG|NM|NR|NP|XM|XR|XP)_[0-9]+(\\.[0-9]+)?(\\([A-Za-z0-9._-]+\\))?:[gcnpmr]\\.[^\\x00-\\x1f\\x7f]+$(?![\\s\\S])","description":"HGVS expression starting with a reference sequence accession, for example NM_007294.4:c.5266dup or NM_007294.4(BRCA1):c.5266dup; supply only hgvs or rsid"},"rsid":{"type":"string","pattern":"^rs\\d{1,12}$(?![\\s\\S])","description":"dbSNP identifier, for example rs80357906; supply only rsid or hgvs"}},"additionalProperties":false,"example":{"hgvs":"NM_007294.4:c.5266dup"}}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResolveVariantResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/person-email-status":{"post":{"tags":["Verification"],"operationId":"personEmailStatus","summary":"Verify email deliverability","security":[{"x402Payment":[],"stagingKey":[]}],"description":"`Idempotency-Key` is optional and applies to wallet sessions only. A retry counts as the same request only when the first 202 response included `idempotency_key`: a retry with the same key, the same input and a fresh `X-Agent-Proof` (scope `submit`) then returns the original job and receipt. If the 202 did not include `idempotency_key`, a repeated request is quoted and charged as a new call. Access-token sessions always pay per call. An accepted job can finish and be billed after the client stops waiting.","parameters":[{"schema":{"type":"string","minLength":1,"maxLength":255},"required":false,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string"},"required":false,"name":"X-Agent-Proof","in":"header"},{"schema":{"type":"string"},"required":false,"name":"X-Agent-ID","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"fresh":{"type":"boolean","description":"Look the record up again instead of using OneShot's stored copy from an earlier lookup, and refresh that copy. Off by default: a record stored within its freshness window is returned as is, with `cached: true` and its `fetched_at`."},"email":{"type":"string","format":"email"}},"required":["email"]}}}},"responses":{"202":{"description":"Accepted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobAcceptedResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"409":{"description":"A request with this key is still in progress (`request_in_flight`; wait for the `Retry-After` delay), or this payment authorization has already been used (`payment_already_used`)"},"422":{"description":"Idempotency key reused with different input"},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Temporarily unavailable, and the request may or may not have been accepted. Look the key up with GET /v1/submissions/recover before retrying"}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/search":{"post":{"tags":["Search"],"operationId":"webSearch","summary":"Synchronous web search","description":"Returns search results inline (synchronous, not async).","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"query":{"type":"string","minLength":1,"maxLength":500},"max_results":{"type":"integer","minimum":1,"maximum":20,"default":5},"published_within":{"type":"string","enum":["day","week","month","year"],"description":"Only results published within the last day, week, month or year"}},"required":["query"]}}}},"responses":{"200":{"description":"Search results","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebSearchResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/web-read":{"post":{"tags":["Search"],"operationId":"readWebPage","summary":"Read a web page and convert to markdown","description":"Returns the page inline (synchronous, not async): `url`, `markdown`, `screenshot_url`, `metadata`, `truncated` and `hidden_removed`. `request_id` stays valid for `GET /v1/requests/:id`.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","maxLength":2048,"format":"uri"}},"required":["url"]}}}},"responses":{"200":{"description":"Page content","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebReadResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/changes":{"post":{"tags":["Lookups"],"operationId":"changes","summary":"What changed about an entity since a date","description":"Flat price per call. A window with no changes is a completed, charged result. The answer reaches back only as far as `recorded_since`, and not through an interval of a dataset's history no release was read for (`history_gaps`); `partial` says so. For healthcare_exclusions use input {entity: person|company, release: YYYY-MM, name? | npi? | upin?, previous_release?, after?}. Exact names return all matches; corrections are row removals plus additions. Missing releases are partial. since/until do not select the window in this mode.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangesRequest"}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangesResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.005"}}}},"/v1/tools/benchmark":{"post":{"tags":["Lookups"],"operationId":"benchmark","summary":"Where a value sits among its peers","description":"Flat price per call. An attribute with no recorded facts is refused before payment. A peer set under 20 is refused after payment; the call is recorded as failed and refunded. The peers are the shared facts we recorded; `population` says whether that is the whole population or only the entities that have been looked up.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BenchmarkRequest"}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BenchmarkResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.005"}}}},"/v1/tools/watch":{"post":{"tags":["Watch"],"operationId":"createWatch","summary":"Watch one attribute of an entity and be told when it changes","description":"Only attributes covered by a validated scheduled dataset can be watched; any other is refused and the response's `watchable` field names what can be watched now. A watch starts when it is created: earlier changes are what Changes is for. At most 100 watches per agent. When the next change would pass `max_spend`, or your credits cannot pay for it, the watch is paused with the reason and you are notified once; changes that happen meanwhile are delivered when it runs again. Changes arrive as `watch_change` notifications and, with a `webhook_url`, as signed webhooks. Free. Each change delivered is charged to prepaid credits, up to `max_spend`.\nLive execution is not available on staging.","security":[{"agentId":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WatchCreateRequest"}}}},"responses":{"201":{"description":"Watch created","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"allOf":[{"$ref":"#/components/schemas/Watch"},{"type":"object","properties":{"webhook_secret":{"type":"string","description":"The signing secret of the webhook. Shown once, when the webhook is set"}}}]}},"required":["success","data"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":false,"x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","stagingKey"]}},"get":{"tags":["Watch"],"operationId":"listWatches","summary":"List your watches","description":"Free. Your watches with status, the reason when paused, the amount spent, the changes delivered and the last delivery.","security":[{"agentId":[],"stagingKey":[]}],"responses":{"200":{"description":"Watches","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"watches":{"type":"array","items":{"$ref":"#/components/schemas/Watch"}},"count":{"type":"integer"},"price_per_change":{"type":"number"}},"required":["watches","count","price_per_change"]}},"required":["success","data"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","stagingKey"]}}},"/v1/tools/watch/{id}":{"patch":{"tags":["Watch"],"operationId":"updateWatch","summary":"Change a watch: its cap, its webhook, or pause or resume it","description":"Free. Raising `max_spend` resumes a watch paused at its cap and delivers what waited. `paused: true` pauses your own watch; `paused: false` resumes it. A watch paused for credits runs again by itself once credits can pay.","security":[{"agentId":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WatchPatchRequest"}}}},"responses":{"200":{"description":"Watch updated","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"allOf":[{"$ref":"#/components/schemas/Watch"},{"type":"object","properties":{"webhook_secret":{"type":"string","description":"The signing secret of the webhook. Shown once, when the webhook is set"}}}]}},"required":["success","data"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","stagingKey"]}},"delete":{"tags":["Watch"],"operationId":"deleteWatch","summary":"Delete a watch","description":"Free. A deleted watch delivers and charges nothing more.","security":[{"agentId":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"Deleted","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"deleted":{"type":"boolean","enum":[true]}},"required":["id","deleted"]}},"required":["success","data"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","stagingKey"]}}},"/v1/tools/lookup/company-sanctions":{"post":{"tags":["Lookups"],"operationId":"company_sanctions","summary":"Entries on the sanctions lists we hold that match a company name","description":"Flat price per call. A list that is out of date fails the call, and a failed call is not charged. No match is a completed, charged result with a total of 0. A screening aid, not a legal determination. No match means no entry on the lists named scored at or above the minimum; it does not mean the party is clear. If a list has never been loaded, or its published version has not been confirmed current by a successful check within 72 hours, the call fails with `list_out_of_date` (503), naming each list with `as_of` (the file's own date) and `checked_at`, and is not charged.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanySanctionsRequest"}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanySanctionsResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.005"}}}},"/v1/tools/lookup/person-sanctions":{"post":{"tags":["Lookups"],"operationId":"person_sanctions","summary":"Entries on the sanctions lists we hold that match a person name","description":"Flat price per call. A list that is out of date fails the call, and a failed call is not charged. No match is a completed, charged result with a total of 0. A screening aid, not a legal determination. No match means no entry on the lists named scored at or above the minimum; it does not mean the party is clear. If a list has never been loaded, or its published version has not been confirmed current by a successful check within 72 hours, the call fails with `list_out_of_date` (503), naming each list with `as_of` (the file's own date) and `checked_at`, and is not charged.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersonSanctionsRequest"}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersonSanctionsResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.005"}}}},"/v1/tools/lookup/place-permits":{"post":{"tags":["Lookups"],"operationId":"place_permits","summary":"Look up building permits recorded against a covered US street address","description":"NYC DOB permit issuances (legacy BIS dataset) and Chicago building permits since 2006, excluding voided or revoked permits. Exact site address matching; no match does not establish that no work occurred. NYC DOB NOW records are not included. Unsupported jurisdictions return 422 before payment. Missing, refreshing, failed or unchecked-for-72-hours data returns 503. issued_from must be on or before issued_to. A no-match result is charged.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BuildingPermitsRequest"}}}},"responses":{"200":{"description":"Recorded permits for the site address","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BuildingPermitsResponse"}}}},"202":{"description":"Answer saved; payment confirmation is pending. Retry with the same Idempotency-Key."},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"409":{"description":"Original payment authorization expired unused"},"422":{"description":"Address outside coverage, or NYC borough not supplied"},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Permit data unavailable or stale"}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}}}},"/v1/tools/lookup/company-insider-trades":{"post":{"tags":["Lookups"],"operationId":"company_insider_trades","summary":"Insider transactions reported for a company in quarterly Forms 3, 4 and 5 datasets","description":"Quarterly Forms 3, 4 and 5 transaction filings, posted about a week after each quarter ends. The current quarter’s filings are not yet included. Filings without transaction rows are excluded. All reporting owners of a filing accompany its transactions; the source does not assign individual transaction rows to individual owners. Exactly one of cik and ticker is required. Invalid dates and reversed ranges return 400 before payment; unavailable data returns 503 before payment. Results are newest filing first, with inclusive filing-date filters.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsiderTradesRequest"}}}},"responses":{"200":{"description":"Insider transaction rows and release evidence","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsiderTradesResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Dataset unpublished, failed, overdue or disabled"}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/lookup/company-private-raises":{"post":{"tags":["Lookups"],"operationId":"company_private_raises","summary":"Private exempt offerings a company has notified in quarterly Form D data sets","description":"Quarterly Form D and D/A notices of exempt offerings, posted about a week after each quarter ends. The current quarter’s notices are not yet included. Amendments are listed as their own notices with previous_accession_number, so the newest notice of an offering carries its latest figures. Issuer and related-person street addresses, ZIP codes and phone numbers are excluded. Invalid dates and reversed ranges return 400 before payment; unavailable data returns 503 before payment. Results are newest filing first, with inclusive filing-date filters. The answer, job, receipt and charge are saved together; a retry with the same Idempotency-Key replays the saved answer without a second charge.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivateRaisesRequest"}}}},"responses":{"200":{"description":"Form D notices and release evidence","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivateRaisesResponse"}}}},"202":{"description":"Answer saved; payment confirmation is pending. Retry with the same Idempotency-Key."},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"409":{"description":"Original payment authorization expired unused"},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Dataset unpublished, failed, overdue or disabled"}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/commerce/buy":{"post":{"tags":["Commerce"],"operationId":"purchaseProduct","summary":"Purchase a product","description":"Quote-to-Pay. The agent purchases the specified product on the agent's behalf. The paid leg (the call that carries `X-Quote-ID`) is always idempotent: every paid attempt is deduplicated by the quote id (`quote:<X-Quote-ID>`, no body hash), and an optional `Idempotency-Key` is honoured on top. The 202 returns the client's key, else the quote-derived one, as `idempotency_key`. A retry of a lost response with the same `X-Quote-ID` (under any `Idempotency-Key` or none), or with the same `Idempotency-Key` and the same `product_url`, `shipping_address`, `quantity` and `variant_id` (even under a new quote), returns the original 202 with `Idempotent-Replay: true` and settles no second payment, for 24 hours; the same `Idempotency-Key` with different purchase input returns 422 `idempotency_key_reuse`, and a retry while the first attempt is still running returns 409 `request_in_flight`. The quote leg (no `X-Quote-ID`) never claims a key and stays repeatable. 503 `quote_store_unavailable` (with `Retry-After`) means the quote could not be claimed and no order was placed. A wallet-signed payment has already settled: do not sign a new authorization or re-present the same one (409 `payment_already_used`); contact support with the `X-Quote-ID`. A credit-funded purchase was not charged, since credits are debited only after the claim: retry with the same `X-Quote-ID`.\nLive execution is not available on staging.","security":[{"x402Payment":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[A-Za-z0-9_.:-]+$","description":"Optional on the paid leg. Honoured when sent and bound to the purchase input, on top of the always-on `quote:<X-Quote-ID>` deduplication. Ignored on the quote leg."},"required":false,"description":"Optional on the paid leg. Honoured when sent and bound to the purchase input, on top of the always-on `quote:<X-Quote-ID>` deduplication. Ignored on the quote leg.","name":"Idempotency-Key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"product_url":{"type":"string","format":"uri"},"shipping_address":{"type":"object","properties":{"first_name":{"type":"string","minLength":1,"maxLength":100},"last_name":{"type":"string","minLength":1,"maxLength":100},"street":{"type":"string","minLength":1,"maxLength":255},"street2":{"type":"string","maxLength":255},"city":{"type":"string","minLength":1,"maxLength":100},"state":{"type":"string","minLength":1,"maxLength":100},"zip_code":{"type":"string","minLength":1,"maxLength":20},"country":{"type":"string","enum":["US"],"default":"US"},"email":{"type":"string","format":"email"},"phone":{"type":"string","minLength":1,"maxLength":20}},"required":["first_name","last_name","street","city","state","zip_code","phone"]},"quantity":{"type":"integer","exclusiveMinimum":0,"default":1},"variant_id":{"type":"string","maxLength":100}},"required":["product_url","shipping_address"]}}}},"responses":{"202":{"description":"Accepted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobAcceptedResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":false,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}]}}},"/v1/tools/find/product":{"post":{"tags":["Commerce"],"operationId":"searchProducts","summary":"Search products","description":"The search runs in the API; the answer is the job envelope, and the products (each with the `product_url` Purchase accepts) are read at `GET /v1/requests/:id`.\nLive execution is not available on staging.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"query":{"type":"string","minLength":1,"maxLength":200},"limit":{"type":"integer","exclusiveMinimum":0,"maximum":50,"default":10}},"required":["query"]}}}},"responses":{"202":{"description":"Accepted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobAcceptedResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":false,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/physical-mail/validate-address":{"post":{"tags":["Physical Mail"],"operationId":"validatePostalAddress","summary":"Validate a U.S. address","description":"Requires a write-scoped wallet proof. Does not purchase or send mail.\nLive execution is not available on staging.","security":[{"agentId":[],"agentProof":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"address_line1":{"type":"string","minLength":1,"maxLength":200},"address_line2":{"type":"string","maxLength":200},"address_city":{"type":"string","minLength":1,"maxLength":100},"address_state":{"type":"string","pattern":"^[A-Z]{2}$"},"address_zip":{"type":"string","pattern":"^\\d{5}(-\\d{4})?$"},"address_country":{"type":"string","enum":["US"],"default":"US"}},"required":["name","address_line1","address_city","address_state","address_zip"],"additionalProperties":false}}}},"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","properties":{"deliverable":{"type":"boolean"},"deliverability":{"type":"string"},"address":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"address_line1":{"type":"string","minLength":1,"maxLength":200},"address_line2":{"type":"string","maxLength":200},"address_city":{"type":"string","minLength":1,"maxLength":100},"address_state":{"type":"string","pattern":"^[A-Z]{2}$"},"address_zip":{"type":"string","pattern":"^\\d{5}(-\\d{4})?$"},"address_country":{"type":"string","enum":["US"],"default":"US"}},"required":["name","address_line1","address_city","address_state","address_zip"],"additionalProperties":false}},"required":["deliverable","deliverability","address"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":false,"x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","agentProof","stagingKey"]}}},"/v1/tools/physical-mail/preview":{"post":{"tags":["Physical Mail"],"operationId":"previewPhysicalMail","summary":"Render an uncharged test proof and quote a mailpiece","description":"Requires a write-scoped wallet proof. Does not purchase or send mail.\nLive execution is not available on staging.","security":[{"agentId":[],"agentProof":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"to":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"address_line1":{"type":"string","minLength":1,"maxLength":200},"address_line2":{"type":"string","maxLength":200},"address_city":{"type":"string","minLength":1,"maxLength":100},"address_state":{"type":"string","pattern":"^[A-Z]{2}$"},"address_zip":{"type":"string","pattern":"^\\d{5}(-\\d{4})?$"},"address_country":{"type":"string","enum":["US"],"default":"US"}},"required":["name","address_line1","address_city","address_state","address_zip"],"additionalProperties":false},"from":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"address_line1":{"type":"string","minLength":1,"maxLength":200},"address_line2":{"type":"string","maxLength":200},"address_city":{"type":"string","minLength":1,"maxLength":100},"address_state":{"type":"string","pattern":"^[A-Z]{2}$"},"address_zip":{"type":"string","pattern":"^\\d{5}(-\\d{4})?$"},"address_country":{"type":"string","enum":["US"],"default":"US"}},"required":["name","address_line1","address_city","address_state","address_zip"],"additionalProperties":false},"artwork":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["letter"]},"file":{"type":"string","format":"uuid"},"color":{"type":"boolean","default":false},"double_sided":{"type":"boolean","default":false}},"required":["kind","file"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["postcard"]},"front":{"type":"string","format":"uuid"},"back":{"type":"string","format":"uuid"}},"required":["kind","front","back"],"additionalProperties":false}]}},"required":["to","from","artwork"],"additionalProperties":false}}}},"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","properties":{"quote_id":{"type":"string"},"input":{"type":"object","properties":{"to":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"address_line1":{"type":"string","minLength":1,"maxLength":200},"address_line2":{"type":"string","maxLength":200},"address_city":{"type":"string","minLength":1,"maxLength":100},"address_state":{"type":"string","pattern":"^[A-Z]{2}$"},"address_zip":{"type":"string","pattern":"^\\d{5}(-\\d{4})?$"},"address_country":{"type":"string","enum":["US"],"default":"US"}},"required":["name","address_line1","address_city","address_state","address_zip"],"additionalProperties":false},"from":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"address_line1":{"type":"string","minLength":1,"maxLength":200},"address_line2":{"type":"string","maxLength":200},"address_city":{"type":"string","minLength":1,"maxLength":100},"address_state":{"type":"string","pattern":"^[A-Z]{2}$"},"address_zip":{"type":"string","pattern":"^\\d{5}(-\\d{4})?$"},"address_country":{"type":"string","enum":["US"],"default":"US"}},"required":["name","address_line1","address_city","address_state","address_zip"],"additionalProperties":false},"artwork":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["letter"]},"file":{"type":"string","format":"uuid"},"color":{"type":"boolean","default":false},"double_sided":{"type":"boolean","default":false}},"required":["kind","file"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["postcard"]},"front":{"type":"string","format":"uuid"},"back":{"type":"string","format":"uuid"}},"required":["kind","front","back"],"additionalProperties":false}]}},"required":["to","from","artwork"],"additionalProperties":false},"input_hash":{"type":"string"},"status":{"type":"string","enum":["rendering","ready"]},"preview":{"type":"object","properties":{"url":{"type":["string","null"]},"thumbnails":{"type":"array","items":{}}},"required":["url","thumbnails"]},"total_usdc":{"type":["string","null"]},"expires_at":{"type":"string"}},"required":["quote_id","input","input_hash","status","preview","total_usdc","expires_at"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":false,"x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","agentProof","stagingKey"]}}},"/v1/tools/physical-mail/approve":{"post":{"tags":["Physical Mail"],"operationId":"approvePhysicalMail","summary":"Explicitly approve the exact mailpiece and price","description":"Requires a write-scoped wallet proof. Does not purchase or send mail.\nLive execution is not available on staging.","security":[{"agentId":[],"agentProof":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"quote_id":{"type":"string","format":"uuid"},"input_hash":{"type":"string"},"total_usdc":{"type":"string"},"approved":{"type":"boolean","enum":[true]}},"required":["quote_id","input_hash","total_usdc","approved"]}}}},"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","properties":{"quote_id":{"type":"string"},"approval_id":{"type":"string"}},"required":["quote_id","approval_id"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":false,"x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","agentProof","stagingKey"]}}},"/v1/tools/physical-mail/send":{"post":{"tags":["Physical Mail"],"operationId":"sendPhysicalMail","summary":"Purchase an individually approved mailpiece","description":"Requires a submit-scoped wallet proof and Idempotency-Key. Approval and quote are bound to the owner. Payment settles before the mail is submitted. Recover the same key after any uncertain response.\nLive execution is not available on staging.","security":[{"agentId":[],"agentProof":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string","minLength":1,"maxLength":255},"required":true,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string"},"required":false,"name":"X-Max-Cost-USDC","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"quote_id":{"type":"string","format":"uuid"},"approval_id":{"type":"string","format":"uuid"},"memo":{"type":"string"},"decisionContext":{"type":"object","additionalProperties":{}}},"required":["quote_id","approval_id"]}}}},"responses":{"200":{"description":"Result","content":{"application/json":{"schema":{"type":"object","properties":{"order_id":{"type":"string"},"quote_id":{"type":"string"},"order_status":{"type":"string"},"payment_status":{"type":"string"},"fulfillment_status":{"type":"string"},"receipt_id":{"type":"string"},"signed_receipt":{},"events":{"type":"array","items":{"type":"object","properties":{"event_id":{"type":"string"},"event_type":{"type":"string"},"occurred_at":{"type":"string"}},"required":["event_id","event_type","occurred_at"]}},"total_usdc":{"type":"string"},"idempotency_key":{"type":"string"},"delivery_proves_readership":{"type":"boolean","enum":[false]}},"required":["order_id","quote_id","order_status","payment_status","fulfillment_status","receipt_id","events","total_usdc","idempotency_key","delivery_proves_readership"]}}}},"202":{"description":"Order accepted","content":{"application/json":{"schema":{"type":"object","properties":{"order_id":{"type":"string"},"quote_id":{"type":"string"},"order_status":{"type":"string"},"payment_status":{"type":"string"},"fulfillment_status":{"type":"string"},"receipt_id":{"type":"string"},"signed_receipt":{},"events":{"type":"array","items":{"type":"object","properties":{"event_id":{"type":"string"},"event_type":{"type":"string"},"occurred_at":{"type":"string"}},"required":["event_id","event_type","occurred_at"]}},"total_usdc":{"type":"string"},"idempotency_key":{"type":"string"},"delivery_proves_readership":{"type":"boolean","enum":[false]}},"required":["order_id","quote_id","order_status","payment_status","fulfillment_status","receipt_id","events","total_usdc","idempotency_key","delivery_proves_readership"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":false,"x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","agentProof","stagingKey"]}}},"/v1/tools/physical-mail/assets":{"post":{"tags":["Physical Mail"],"operationId":"uploadPhysicalMailArtwork","summary":"Upload immutable print-ready artwork (20 MB maximum)","security":[{"agentId":[],"agentProof":[],"stagingKey":[]}],"requestBody":{"content":{"application/pdf":{"schema":{"type":"string","format":"binary"}},"image/png":{"schema":{"type":"string","format":"binary"}},"image/jpeg":{"schema":{"type":"string","format":"binary"}}}},"responses":{"200":{"description":"Owner-scoped asset ID","content":{"application/json":{"schema":{"type":"object","properties":{"asset_id":{"type":"string"},"content_hash":{"type":"string"},"mime_type":{"type":"string"}},"required":["asset_id","content_hash","mime_type"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"description":"Upload immutable print-ready artwork (20 MB maximum)\nLive execution is not available on staging.","x-staging-execution-supported":false,"x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","agentProof","stagingKey"]}}},"/v1/tools/physical-mail/quotes/{id}":{"get":{"tags":["Physical Mail"],"operationId":"getPhysicalMailQuote","summary":"Get a letter or postcard quote","security":[{"agentId":[],"agentProof":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"Owned quote or order; delivery never proves readership","content":{"application/json":{"schema":{"type":"object","properties":{"quote_id":{"type":"string"},"input":{"type":"object","properties":{"to":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"address_line1":{"type":"string","minLength":1,"maxLength":200},"address_line2":{"type":"string","maxLength":200},"address_city":{"type":"string","minLength":1,"maxLength":100},"address_state":{"type":"string","pattern":"^[A-Z]{2}$"},"address_zip":{"type":"string","pattern":"^\\d{5}(-\\d{4})?$"},"address_country":{"type":"string","enum":["US"],"default":"US"}},"required":["name","address_line1","address_city","address_state","address_zip"],"additionalProperties":false},"from":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"address_line1":{"type":"string","minLength":1,"maxLength":200},"address_line2":{"type":"string","maxLength":200},"address_city":{"type":"string","minLength":1,"maxLength":100},"address_state":{"type":"string","pattern":"^[A-Z]{2}$"},"address_zip":{"type":"string","pattern":"^\\d{5}(-\\d{4})?$"},"address_country":{"type":"string","enum":["US"],"default":"US"}},"required":["name","address_line1","address_city","address_state","address_zip"],"additionalProperties":false},"artwork":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["letter"]},"file":{"type":"string","format":"uuid"},"color":{"type":"boolean","default":false},"double_sided":{"type":"boolean","default":false}},"required":["kind","file"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["postcard"]},"front":{"type":"string","format":"uuid"},"back":{"type":"string","format":"uuid"}},"required":["kind","front","back"],"additionalProperties":false}]}},"required":["to","from","artwork"],"additionalProperties":false},"input_hash":{"type":"string"},"status":{"type":"string","enum":["rendering","ready"]},"preview":{"type":"object","properties":{"url":{"type":["string","null"]},"thumbnails":{"type":"array","items":{}}},"required":["url","thumbnails"]},"total_usdc":{"type":["string","null"]},"expires_at":{"type":"string"}},"required":["quote_id","input","input_hash","status","preview","total_usdc","expires_at"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"description":"Get a letter or postcard quote","x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","agentProof","stagingKey"]}}},"/v1/tools/physical-mail/orders/{id}":{"get":{"tags":["Physical Mail"],"operationId":"getPhysicalMailOrder","summary":"Get a mail order and its status","security":[{"agentId":[],"agentProof":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"Owned quote or order; delivery never proves readership","content":{"application/json":{"schema":{"type":"object","properties":{"order_id":{"type":"string"},"quote_id":{"type":"string"},"order_status":{"type":"string"},"payment_status":{"type":"string"},"fulfillment_status":{"type":"string"},"receipt_id":{"type":"string"},"signed_receipt":{},"events":{"type":"array","items":{"type":"object","properties":{"event_id":{"type":"string"},"event_type":{"type":"string"},"occurred_at":{"type":"string"}},"required":["event_id","event_type","occurred_at"]}},"total_usdc":{"type":"string"},"idempotency_key":{"type":"string"},"delivery_proves_readership":{"type":"boolean","enum":[false]}},"required":["order_id","quote_id","order_status","payment_status","fulfillment_status","receipt_id","events","total_usdc","idempotency_key","delivery_proves_readership"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"description":"Get a mail order and its status","x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","agentProof","stagingKey"]}}},"/v1/tools/physical-mail/orders/recover":{"get":{"tags":["Physical Mail"],"operationId":"recoverPhysicalMailOrder","summary":"Find a mail order by its Idempotency-Key","security":[{"agentId":[],"agentProof":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"key","in":"query"}],"responses":{"200":{"description":"Owned quote or order; delivery never proves readership","content":{"application/json":{"schema":{"type":"object","properties":{"order_id":{"type":"string"},"quote_id":{"type":"string"},"order_status":{"type":"string"},"payment_status":{"type":"string"},"fulfillment_status":{"type":"string"},"receipt_id":{"type":"string"},"signed_receipt":{},"events":{"type":"array","items":{"type":"object","properties":{"event_id":{"type":"string"},"event_type":{"type":"string"},"occurred_at":{"type":"string"}},"required":["event_id","event_type","occurred_at"]}},"total_usdc":{"type":"string"},"idempotency_key":{"type":"string"},"delivery_proves_readership":{"type":"boolean","enum":[false]}},"required":["order_id","quote_id","order_status","payment_status","fulfillment_status","receipt_id","events","total_usdc","idempotency_key","delivery_proves_readership"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"description":"Find a mail order by its Idempotency-Key","x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","agentProof","stagingKey"]}}},"/v1/tools/physical-mail/orders/{id}/cancel":{"post":{"tags":["Physical Mail"],"operationId":"cancelPhysicalMail","summary":"Request cancellation of a mail order; not guaranteed once the mail has been submitted","security":[{"agentId":[],"agentProof":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"}],"responses":{"202":{"description":"Cancellation requested; status may stay pending","content":{"application/json":{"schema":{"type":"object","properties":{"order_id":{"type":"string"},"quote_id":{"type":"string"},"order_status":{"type":"string"},"payment_status":{"type":"string"},"fulfillment_status":{"type":"string"},"receipt_id":{"type":"string"},"signed_receipt":{},"events":{"type":"array","items":{"type":"object","properties":{"event_id":{"type":"string"},"event_type":{"type":"string"},"occurred_at":{"type":"string"}},"required":["event_id","event_type","occurred_at"]}},"total_usdc":{"type":"string"},"idempotency_key":{"type":"string"},"delivery_proves_readership":{"type":"boolean","enum":[false]}},"required":["order_id","quote_id","order_status","payment_status","fulfillment_status","receipt_id","events","total_usdc","idempotency_key","delivery_proves_readership"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"description":"Request cancellation of a mail order; not guaranteed once the mail has been submitted\nLive execution is not available on staging.","x-staging-execution-supported":false,"x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","agentProof","stagingKey"]}}},"/v1/tools/build":{"post":{"tags":["Build"],"operationId":"buildWebsite","summary":"Generate a website","description":"Quote-to-Pay. Generates a single-page website with the supplied brand, products, and lead capture.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"build_id":{"type":"string","format":"uuid"},"type":{"type":"string","enum":["saas","portfolio","agency","personal","product","funnel","restaurant","event"],"default":"saas"},"product":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":255},"description":{"type":"string","minLength":10,"maxLength":5000},"industry":{"type":"string","maxLength":500},"pricing":{"type":"string","maxLength":500}},"required":["name","description"]},"source_url":{"type":"string","format":"uri"},"sections":{"type":"array","items":{"type":"string","maxLength":500},"maxItems":50},"pages":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":100,"pattern":"^\\/[a-z0-9]+(?:-[a-z0-9]+)*(?:\\/[a-z0-9]+(?:-[a-z0-9]+)*)?$"},"name":{"type":"string","minLength":1,"maxLength":60},"purpose":{"type":"string","maxLength":1000},"sections":{"type":"array","items":{"type":"string","maxLength":500},"maxItems":20}},"required":["path","name"]},"maxItems":8,"description":"Extra pages beyond the home page, e.g. [{ path: \"/pricing\", name: \"Pricing\" }]"},"changes":{"type":"string","minLength":1,"maxLength":5000,"description":"With build_id: natural-language edits to apply to that build's existing code (keeps everything else)"},"lead_capture":{"type":"object","properties":{"enabled":{"type":"boolean","default":false},"inbox_email":{"type":"string","format":"email"}}},"brand":{"type":"object","properties":{"primary_color":{"type":"string","pattern":"^#[0-9A-Fa-f]{6}$"},"font":{"type":"string","maxLength":100},"tone":{"type":"string","enum":["professional","playful","bold","minimal"]}}},"images":{"type":"object","properties":{"hero":{"type":"string","format":"uri"},"logo":{"type":"string","format":"uri"}}},"domain":{"type":"string","maxLength":255}},"required":["product"]}}}},"responses":{"202":{"description":"Accepted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobAcceptedResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}]}}},"/v1/tools/solve":{"post":{"tags":["Tools"],"operationId":"solve","summary":"Plan vehicle routes within capacity and time windows, assign items to options (lanes to carriers, lots to suppliers, requests to budget lines) at least cost or most value under capacities and share rules, pack items within bin capacities, or schedule jobs on resources under precedence, capacity and calendars. Returns the best solution found, its proven bound, constraint checks and conflicts.","description":"Per problem size band and requested time limit.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"problem":{"type":"string","enum":["routing"]},"time_limit_s":{"type":"integer","minimum":1,"maximum":300,"default":30},"routing":{"type":"object","properties":{"distance_unit":{"type":"string","minLength":1,"pattern":"^(?:[^\\u0000\\uD800-\\uDFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF])*$","default":"km"},"time_unit":{"type":"string","minLength":1,"pattern":"^(?:[^\\u0000\\uD800-\\uDFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF])*$","default":"min"},"speed":{"type":"number","minimum":1e-9,"maximum":1000000000000,"default":40},"objective":{"type":"string","enum":["distance","time","vehicles"]},"vehicles":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"pattern":"^(?:[^\\u0000\\uD800-\\uDFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF])*$"},"capacity":{"type":"number","minimum":0,"maximum":1000000000000},"start":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"pattern":"^(?:[^\\u0000\\uD800-\\uDFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF])*$"}},"required":["id"],"additionalProperties":false},{"type":"object","properties":{"lat":{"type":"number","minimum":-90,"maximum":90},"lng":{"type":"number","minimum":-180,"maximum":180}},"required":["lat","lng"],"additionalProperties":false}]},"end":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"pattern":"^(?:[^\\u0000\\uD800-\\uDFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF])*$"}},"required":["id"],"additionalProperties":false},{"type":"object","properties":{"lat":{"type":"number","minimum":-90,"maximum":90},"lng":{"type":"number","minimum":-180,"maximum":180}},"required":["lat","lng"],"additionalProperties":false}]},"shift":{"type":"object","properties":{"start":{"type":"integer","minimum":0,"maximum":1000000000000},"end":{"type":"integer","minimum":0,"maximum":1000000000000}},"required":["start","end"],"additionalProperties":false}},"required":["id","capacity","start"],"additionalProperties":false},"minItems":1},"stops":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"pattern":"^(?:[^\\u0000\\uD800-\\uDFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF])*$"},"location":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"pattern":"^(?:[^\\u0000\\uD800-\\uDFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF])*$"}},"required":["id"],"additionalProperties":false},{"type":"object","properties":{"lat":{"type":"number","minimum":-90,"maximum":90},"lng":{"type":"number","minimum":-180,"maximum":180}},"required":["lat","lng"],"additionalProperties":false}]},"demand":{"type":"number","minimum":0,"maximum":1000000000000,"default":0},"window":{"type":"object","properties":{"start":{"type":"integer","minimum":0,"maximum":1000000000000},"end":{"type":"integer","minimum":0,"maximum":1000000000000}},"required":["start","end"],"additionalProperties":false},"service_time":{"type":"integer","minimum":0,"maximum":1000000000000,"default":0}},"required":["id","location"],"additionalProperties":false},"minItems":1,"maxItems":500},"matrix":{"type":"object","properties":{"ids":{"type":"array","items":{"type":"string","minLength":1,"pattern":"^(?:[^\\u0000\\uD800-\\uDFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF])*$"},"minItems":1},"distance":{"type":"array","items":{"type":"array","items":{"type":"number","minimum":0,"maximum":1000000000000}}},"time":{"type":"array","items":{"type":"array","items":{"type":"integer","minimum":0,"maximum":1000000000000}}}},"required":["ids"],"additionalProperties":false}},"required":["objective","vehicles","stops"],"additionalProperties":false}},"required":["problem","routing"],"additionalProperties":false},{"type":"object","properties":{"problem":{"type":"string","enum":["allocation"]},"time_limit_s":{"type":"integer","minimum":1,"maximum":300,"default":30},"allocation":{"type":"object","properties":{"objective":{"type":"string","enum":["minimise_cost","maximise_value"]},"split":{"type":"boolean","default":false},"max_total_cost":{"type":"number","minimum":0,"maximum":1000000000000},"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"pattern":"^(?:[^\\u0000\\uD800-\\uDFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF])*$"},"quantity":{"type":"number","exclusiveMinimum":0,"maximum":1000000000000,"default":1}},"required":["id"],"additionalProperties":false},"minItems":1},"options":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"pattern":"^(?:[^\\u0000\\uD800-\\uDFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF])*$"},"capacity":{"type":"number","minimum":0,"maximum":1000000000000}},"required":["id"],"additionalProperties":false},"minItems":1},"pairs":{"type":"array","items":{"type":"object","properties":{"item":{"type":"string","minLength":1,"pattern":"^(?:[^\\u0000\\uD800-\\uDFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF])*$"},"option":{"type":"string","minLength":1,"pattern":"^(?:[^\\u0000\\uD800-\\uDFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF])*$"},"cost":{"type":"number","minimum":0,"maximum":1000000000000},"value":{"type":"number","minimum":0,"maximum":1000000000000}},"required":["item","option","cost"],"additionalProperties":false},"minItems":1},"min_share":{"type":"array","items":{"type":"object","properties":{"option":{"type":"string","minLength":1,"pattern":"^(?:[^\\u0000\\uD800-\\uDFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF])*$"},"item":{"type":"string","minLength":1,"pattern":"^(?:[^\\u0000\\uD800-\\uDFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF])*$"},"share":{"type":"number","minimum":0,"maximum":1},"if_used":{"type":"boolean","default":false}},"required":["option","share"],"additionalProperties":false},"default":[]},"max_share":{"type":"array","items":{"type":"object","properties":{"option":{"type":"string","minLength":1,"pattern":"^(?:[^\\u0000\\uD800-\\uDFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF])*$"},"item":{"type":"string","minLength":1,"pattern":"^(?:[^\\u0000\\uD800-\\uDFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF])*$"},"share":{"type":"number","minimum":0,"maximum":1}},"required":["option","share"],"additionalProperties":false},"default":[]},"required":{"type":"array","items":{"type":"object","properties":{"item":{"type":"string","minLength":1,"pattern":"^(?:[^\\u0000\\uD800-\\uDFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF])*$"},"option":{"type":"string","minLength":1,"pattern":"^(?:[^\\u0000\\uD800-\\uDFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF])*$"}},"required":["item","option"],"additionalProperties":false},"default":[]},"forbidden":{"type":"array","items":{"type":"object","properties":{"item":{"type":"string","minLength":1,"pattern":"^(?:[^\\u0000\\uD800-\\uDFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF])*$"},"option":{"type":"string","minLength":1,"pattern":"^(?:[^\\u0000\\uD800-\\uDFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF])*$"}},"required":["item","option"],"additionalProperties":false},"default":[]}},"required":["objective","items","options","pairs"],"additionalProperties":false}},"required":["problem","allocation"],"additionalProperties":false},{"type":"object","properties":{"problem":{"type":"string","enum":["packing"]},"time_limit_s":{"type":"integer","minimum":1,"maximum":300,"default":30},"packing":{"type":"object","properties":{"variant":{"type":"string","enum":["bin","knapsack"]},"dimensions":{"type":"array","items":{"type":"string","minLength":1,"pattern":"^(?:[^\\u0000\\uD800-\\uDFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF])*$"},"minItems":1},"bins":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"pattern":"^(?:[^\\u0000\\uD800-\\uDFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF])*$"},"capacity":{"type":"object","additionalProperties":{"type":"number","minimum":0,"maximum":1000000000000}},"quantity":{"type":"integer","minimum":1,"maximum":1000000,"default":1}},"required":["id","capacity"],"additionalProperties":false},"minItems":1},"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"pattern":"^(?:[^\\u0000\\uD800-\\uDFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF])*$"},"size":{"type":"object","additionalProperties":{"type":"number","minimum":0,"maximum":1000000000000}},"value":{"type":"number","minimum":0,"maximum":1000000000000},"quantity":{"type":"integer","minimum":1,"maximum":1000000,"default":1}},"required":["id","size"],"additionalProperties":false},"minItems":1},"incompatible":{"type":"array","items":{"type":"array","prefixItems":[{"type":"string","minLength":1,"pattern":"^(?:[^\\u0000\\uD800-\\uDFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF])*$"},{"type":"string","minLength":1,"pattern":"^(?:[^\\u0000\\uD800-\\uDFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF])*$"}]}}},"required":["variant","dimensions","bins","items"],"additionalProperties":false}},"required":["problem","packing"],"additionalProperties":false},{"type":"object","properties":{"problem":{"type":"string","enum":["schedule"]},"time_limit_s":{"type":"integer","minimum":1,"maximum":300,"default":30},"schedule":{"type":"object","properties":{"time_unit":{"type":"string","minLength":1,"pattern":"^(?:[^\\u0000\\uD800-\\uDFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF])*$","default":"min"},"objective":{"type":"string","enum":["makespan","tardiness","cost"]},"jobs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"pattern":"^(?:[^\\u0000\\uD800-\\uDFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF])*$"},"duration":{"type":"integer","minimum":0,"maximum":1000000000000},"release":{"type":"integer","minimum":0,"maximum":1000000000000,"default":0},"due":{"type":"integer","minimum":0,"maximum":1000000000000},"needs":{"type":"object","additionalProperties":{"type":"number","minimum":0,"maximum":1000000}},"weight":{"type":"number","minimum":0,"maximum":1000000,"default":1}},"required":["id","duration"],"additionalProperties":false},"minItems":1},"resources":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"pattern":"^(?:[^\\u0000\\uD800-\\uDFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF])*$"},"capacity":{"type":"number","minimum":0,"maximum":1000000},"calendar":{"type":"array","items":{"type":"object","properties":{"start":{"type":"integer","minimum":0,"maximum":1000000000000},"end":{"type":"integer","minimum":0,"maximum":1000000000000}},"required":["start","end"],"additionalProperties":false}},"cost_per_unit_time":{"type":"number","minimum":0,"maximum":1000000,"default":0}},"required":["id","capacity"],"additionalProperties":false},"minItems":1},"precedence":{"type":"array","items":{"type":"object","properties":{"before":{"type":"string","minLength":1,"pattern":"^(?:[^\\u0000\\uD800-\\uDFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF])*$"},"after":{"type":"string","minLength":1,"pattern":"^(?:[^\\u0000\\uD800-\\uDFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF])*$"},"lag":{"type":"integer","minimum":0,"maximum":1000000000000,"default":0}},"required":["before","after"],"additionalProperties":false},"default":[]}},"required":["objective","jobs","resources"],"additionalProperties":false}},"required":["problem","schedule"],"additionalProperties":false}]}}}},"responses":{"202":{"description":"Job accepted; read the result at GET /v1/requests/:id.","content":{"application/json":{"schema":{"type":"object","properties":{"request_id":{"type":"string"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["processing"]}},"required":["request_id","receipt_id","status"]}}}},"400":{"description":"Named input error, infeasible_input with conflicts[], or invalid quote; nothing is charged."},"402":{"description":"Quote by problem size and requested time limit. Retry with payment and X-Quote-ID."},"503":{"description":"Solve is not configured."}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}]}}},"/v1/tools/predict":{"post":{"tags":["Tools"],"operationId":"predict","summary":"Predict outcomes with their uncertainty. model simulation: named distributions and arithmetic outputs, returning means, medians and percentiles. model forecast: a time series of 8 or more points projected up to 365 steps ahead, returning point forecasts and prediction intervals. model alignment: local sequence comparison across the supplied sequences, returning matched regions with identity, coverage and significance. All return consistency checks.","description":"Per problem size and requested time limit.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"model":{"type":"string","enum":["simulation"]},"time_limit_s":{"type":"integer","minimum":1,"maximum":120,"default":20},"simulation":{"type":"object","properties":{"runs":{"type":"integer","minimum":100,"maximum":100000,"default":10000},"seed":{"type":"integer","minimum":0,"maximum":4294967295},"percentiles":{"type":"array","items":{"type":"number","minimum":0,"maximum":100},"minItems":1,"maxItems":20,"default":[5,10,25,50,75,90,95]},"variables":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[A-Za-z_][A-Za-z0-9_]*$"},"distribution":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["fixed"]},"value":{"type":"number"}},"required":["kind","value"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["uniform"]},"min":{"type":"number"},"max":{"type":"number"}},"required":["kind","min","max"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["normal"]},"mean":{"type":"number"},"sd":{"type":"number","exclusiveMinimum":0}},"required":["kind","mean","sd"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["lognormal"]},"log_mean":{"type":"number"},"log_sd":{"type":"number","exclusiveMinimum":0}},"required":["kind","log_mean","log_sd"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["triangular"]},"min":{"type":"number"},"mode":{"type":"number"},"max":{"type":"number"}},"required":["kind","min","mode","max"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["bernoulli"]},"p":{"type":"number","minimum":0,"maximum":1}},"required":["kind","p"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["discrete"]},"values":{"type":"array","items":{"type":"number"},"minItems":1,"maxItems":100},"weights":{"type":"array","items":{"type":"number","minimum":0},"minItems":1,"maxItems":100}},"required":["kind","values"],"additionalProperties":false}]}},"required":["id","distribution"],"additionalProperties":false},"minItems":1,"maxItems":50},"outputs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[A-Za-z_][A-Za-z0-9_]*$"},"expression":{"type":"string","minLength":1,"maxLength":1000}},"required":["id","expression"],"additionalProperties":false},"minItems":1,"maxItems":10}},"required":["variables","outputs"],"additionalProperties":false}},"required":["model","simulation"],"additionalProperties":false},{"type":"object","properties":{"model":{"type":"string","enum":["forecast"]},"time_limit_s":{"type":"integer","minimum":1,"maximum":120,"default":20},"forecast":{"type":"object","properties":{"series":{"type":"array","items":{"type":"object","properties":{"t":{"anyOf":[{"type":"string","minLength":1},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]},"y":{"type":"number"}},"required":["t","y"],"additionalProperties":false},"minItems":8,"maxItems":10000},"horizon":{"type":"integer","minimum":1,"maximum":365},"frequency":{"type":"string","enum":["hourly","daily","weekly","monthly","quarterly","yearly"]},"seasonal_period":{"type":"integer","minimum":2,"maximum":366},"interval_levels":{"type":"array","items":{"type":"integer","minimum":50,"maximum":99},"minItems":1,"maxItems":3,"default":[80,95]},"floor":{"type":"number"}},"required":["series","horizon"],"additionalProperties":false}},"required":["model","forecast"],"additionalProperties":false},{"type":"object","properties":{"model":{"type":"string","enum":["alignment"]},"time_limit_s":{"type":"integer","minimum":1,"maximum":120,"default":20},"alignment":{"type":"object","properties":{"mode":{"type":"string","enum":["pairwise","search"]},"sequence_type":{"type":"string","enum":["auto","protein","nucleotide"],"default":"auto"},"sequences":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":128},"sequence":{"type":"string"}},"required":["id","sequence"],"additionalProperties":false},"minItems":1,"maxItems":50}},"required":["mode","sequences"],"additionalProperties":false}},"required":["model","alignment"],"additionalProperties":false}]}}}},"responses":{"202":{"description":"Job accepted; read the result at GET /v1/requests/:id.","content":{"application/json":{"schema":{"type":"object","properties":{"request_id":{"type":"string"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["processing"]}},"required":["request_id","receipt_id","status"]}}}},"400":{"description":"Named input error or invalid quote; nothing is charged."},"402":{"description":"Quote by problem size (scenario size, or the sequences to compare) and requested time limit. Retry with payment and X-Quote-ID."},"503":{"description":"Predict is not configured."}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}]}}},"/v1/tools/browser":{"post":{"tags":["Browser"],"operationId":"runBrowserTask","summary":"Run a browser automation task","description":"Quote-to-Pay. The agent drives a real browser to complete the task. The paid leg (the call that carries `X-Quote-ID`) is idempotent: replay, never re-attempt. Every paid attempt is deduplicated by the quote id (`quote:<X-Quote-ID>`, no body hash), and an optional `Idempotency-Key` is honoured on top, bound to `task`, `start_url`, `allowed_domains`, `output_schema`, `session_id`, `profile_id` and `max_steps`. The 202 returns the client's key, else the quote-derived one, as `idempotency_key`. A retry of a lost response with the same `X-Quote-ID` (under any `Idempotency-Key` or none), or with the same `Idempotency-Key` and the same task input (even under a new quote), returns the original 202 and `request_id` with `Idempotent-Replay: true`, settles no second payment and never runs the browser agent a second time, for 24 hours; the same `Idempotency-Key` with different task input returns 422 `idempotency_key_reuse`, and a retry while the first attempt is still running returns 409 `request_in_flight`. The quote leg (no `X-Quote-ID`) never claims a key and stays repeatable. A key is claimed, replayed or recorded only for a caller that has proven it holds the wallet (a payment proof it signed, a signed `x-agent-proof`, or an access token); a rejection answered before any charge (400 `invalid_quote`) is never recorded under a key. The 202 is recorded before the agent is started, so a lost response after dispatch still replays. If the quote could not be claimed, no task was started: a wallet-signed payment has settled and the attempt answers 409 `quote_claim_unresolved`, recorded and replayed to every retry, with the settled amount returned as account credit; request a new quote. A credit-funded task was not charged, since credits are debited only after the claim, and answers 503 `quote_store_unavailable` (with `Retry-After`): retry with the same `X-Quote-ID`.\nLive execution is not available on staging.","security":[{"x402Payment":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[A-Za-z0-9_.:-]+$","description":"Optional on the paid leg. Honoured when sent and bound to the task input, on top of the always-on `quote:<X-Quote-ID>` deduplication. Ignored on the quote leg."},"required":false,"description":"Optional on the paid leg. Honoured when sent and bound to the task input, on top of the always-on `quote:<X-Quote-ID>` deduplication. Ignored on the quote leg.","name":"Idempotency-Key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"task":{"type":"string","minLength":10,"maxLength":50000},"output_schema":{"type":"object","additionalProperties":{}},"start_url":{"type":"string","format":"uri"},"allowed_domains":{"type":"array","items":{"type":"string","maxLength":255},"maxItems":100},"session_id":{"type":"string","format":"uuid"},"profile_id":{"type":"string","maxLength":100},"secrets":{"type":"object","additionalProperties":{"type":"string"}},"max_steps":{"type":"integer","minimum":25,"maximum":100}},"required":["task"]}}}},"responses":{"202":{"description":"Accepted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobAcceptedResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":false,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}]}}},"/v1/tools/browser/profiles":{"post":{"tags":["Browser"],"operationId":"createBrowserProfile","summary":"Create a persistent browser profile","security":[{"agentId":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"cookies":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1},"value":{"type":"string"},"url":{"type":"string","format":"uri"},"domain":{"type":"string","minLength":1},"path":{"type":"string"},"expires":{"type":"number","maximum":253402300799},"httpOnly":{"type":"boolean"},"secure":{"type":"boolean"},"sameSite":{"type":"string","enum":["Strict","Lax","None"]},"partitionKey":{"type":"string","format":"uri"}},"required":["name","value"],"additionalProperties":false},"maxItems":1000},"storage_state":{"type":"object","properties":{"cookies":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1},"value":{"type":"string"},"url":{"type":"string","format":"uri"},"domain":{"type":"string","minLength":1},"path":{"type":"string"},"expires":{"type":"number","maximum":253402300799},"httpOnly":{"type":"boolean"},"secure":{"type":"boolean"},"sameSite":{"type":"string","enum":["Strict","Lax","None"]},"partitionKey":{"type":"string","format":"uri"}},"required":["name","value"],"additionalProperties":false},"maxItems":1000},"origins":{"type":"array","items":{"type":"object","properties":{"origin":{"type":"string","format":"uri"},"localStorage":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"value":{"type":"string"}},"required":["name","value"],"additionalProperties":false}}},"required":["origin","localStorage"],"additionalProperties":false},"maxItems":100}},"required":["cookies","origins"],"additionalProperties":false}},"required":["name"],"additionalProperties":false}}}},"responses":{"201":{"description":"Profile created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BrowserProfile"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"description":"Create a persistent browser profile\nLive execution is not available on staging.","x-staging-execution-supported":false,"x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","stagingKey"]}},"get":{"tags":["Browser"],"operationId":"listBrowserProfiles","summary":"List browser profiles","security":[{"agentId":[],"stagingKey":[]}],"responses":{"200":{"description":"Profile list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BrowserProfileListResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"description":"List browser profiles","x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","stagingKey"]}}},"/v1/tools/browser/profiles/{id}":{"delete":{"tags":["Browser"],"operationId":"deleteBrowserProfile","summary":"Delete a browser profile","security":[{"agentId":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"Deleted","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"}},"required":["success"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"description":"Delete a browser profile","x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","stagingKey"]}}},"/v1/tools/browser/profiles/{id}/setup/start":{"post":{"tags":["Browser"],"operationId":"startBrowserProfileSetup","summary":"start interactive login / 2FA setup","description":"Account connection for the profile owner. Start and link return a single-use setup_url; link rotates any earlier link and page session. With no active setup, link requires start_url or returns 409 no_setup. Status does not rotate links and reports completed_at. Treat setup_url and the deprecated live_url as secrets and never log them. Finish saves the browser state; it does not confirm that site sign-in worked.\nLive execution is not available on staging.","security":[{"agentId":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"start_url":{"type":"string","format":"uri"}},"required":["start_url"],"additionalProperties":false}}}},"responses":{"200":{"description":"Setup status","content":{"application/json":{"schema":{"type":"object","properties":{"profile_id":{"type":"string"},"status":{"type":"string"},"session_id":{"type":"string"},"live_url":{"type":["string","null"],"deprecated":true,"description":"Deprecated: use setup_url. Removed in the next release."},"setup_url":{"type":"string"},"setup_url_expires_at":{"type":"string"},"expires_at":{"type":"string"},"stored_cookies":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"domain":{"type":"string"},"path":{"type":"string"}},"required":["name","domain","path"]}},"verification":{"type":"string","enum":["fresh_browser_before_navigation"]}},"required":["profile_id","status"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":false,"x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","stagingKey"]}}},"/v1/tools/browser/profiles/{id}/setup/status":{"post":{"tags":["Browser"],"operationId":"statusBrowserProfileSetup","summary":"status interactive login / 2FA setup","description":"Account connection for the profile owner. Start and link return a single-use setup_url; link rotates any earlier link and page session. With no active setup, link requires start_url or returns 409 no_setup. Status does not rotate links and reports completed_at. Treat setup_url and the deprecated live_url as secrets and never log them. Finish saves the browser state; it does not confirm that site sign-in worked.\nLive execution is not available on staging.","security":[{"agentId":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":false}}}},"responses":{"200":{"description":"Setup status","content":{"application/json":{"schema":{"type":"object","properties":{"profile_id":{"type":"string"},"status":{"type":"string"},"session_id":{"type":"string"},"live_url":{"type":["string","null"],"deprecated":true,"description":"Deprecated: use setup_url. Removed in the next release."},"completed_at":{"type":["string","null"]},"expires_at":{"type":"string"},"stored_cookies":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"domain":{"type":"string"},"path":{"type":"string"}},"required":["name","domain","path"]}},"verification":{"type":"string","enum":["fresh_browser_before_navigation"]}},"required":["profile_id","status","completed_at"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":false,"x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","stagingKey"]}}},"/v1/tools/browser/profiles/{id}/setup/finish":{"post":{"tags":["Browser"],"operationId":"finishBrowserProfileSetup","summary":"finish interactive login / 2FA setup","description":"Account connection for the profile owner. Start and link return a single-use setup_url; link rotates any earlier link and page session. With no active setup, link requires start_url or returns 409 no_setup. Status does not rotate links and reports completed_at. Treat setup_url and the deprecated live_url as secrets and never log them. Finish saves the browser state; it does not confirm that site sign-in worked.\nLive execution is not available on staging.","security":[{"agentId":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":false}}}},"responses":{"200":{"description":"Setup status","content":{"application/json":{"schema":{"type":"object","properties":{"profile_id":{"type":"string"},"status":{"type":"string"},"session_id":{"type":"string"},"live_url":{"type":["string","null"],"deprecated":true,"description":"Deprecated: use setup_url. Removed in the next release."},"expires_at":{"type":"string"},"stored_cookies":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"domain":{"type":"string"},"path":{"type":"string"}},"required":["name","domain","path"]}},"verification":{"type":"string","enum":["fresh_browser_before_navigation"]}},"required":["profile_id","status"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":false,"x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","stagingKey"]}}},"/v1/tools/browser/profiles/{id}/setup/link":{"post":{"tags":["Browser"],"operationId":"linkBrowserProfileSetup","summary":"link interactive login / 2FA setup","description":"Account connection for the profile owner. Start and link return a single-use setup_url; link rotates any earlier link and page session. With no active setup, link requires start_url or returns 409 no_setup. Status does not rotate links and reports completed_at. Treat setup_url and the deprecated live_url as secrets and never log them. Finish saves the browser state; it does not confirm that site sign-in worked.\nLive execution is not available on staging.","security":[{"agentId":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"start_url":{"type":"string","format":"uri"}},"additionalProperties":false}}}},"responses":{"200":{"description":"Setup status","content":{"application/json":{"schema":{"type":"object","properties":{"profile_id":{"type":"string"},"status":{"type":"string"},"setup_url":{"type":"string"},"setup_url_expires_at":{"type":"string"},"expires_at":{"type":"string"}},"required":["profile_id","status"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"No active setup; supply start_url","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","enum":["no_setup"]}},"required":["error"]}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":false,"x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","stagingKey"]}}},"/v1/tools/linkedin/connect":{"post":{"tags":["LinkedIn"],"operationId":"linkedinConnect","summary":"Create a hosted LinkedIn login link for a human to connect their account","description":"Free. Declares the actions the agent is asking the human to grant (read, reply, view_profile, react, invite; comment reserved). The human completes LinkedIn login on the hosted page; ownership is bound to this agent only after OneShot verifies the account server-side. Poll GET /connect/{intentId}. The link expires in 30 minutes and is returned exactly once. Never embed it in an iframe.\nLive execution is not available on staging.","security":[{"agentProof":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"requested_actions":{"type":"array","items":{"type":"string","enum":["read","reply","view_profile","react","invite","comment"]},"minItems":1,"maxItems":6},"success_redirect_url":{"type":"string","maxLength":2048},"failure_redirect_url":{"type":"string","maxLength":2048}},"required":["requested_actions"],"additionalProperties":false}}}},"responses":{"201":{"description":"Intent created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkedInConnectIntentIssued"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":false,"x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentProof","stagingKey"]}}},"/v1/tools/linkedin/connect/{intentId}":{"get":{"tags":["LinkedIn"],"operationId":"linkedinConnectStatus","summary":"Connection intent status","description":"Free. `completed` carries the connected account. `failed` carries a `failure_reason` (e.g. identity_mismatch, duplicate_member, source_not_ok).","security":[{"agentProof":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"intentId","in":"path"}],"responses":{"200":{"description":"Intent","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkedInConnectIntent"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentProof","stagingKey"]}}},"/v1/tools/linkedin/accounts":{"get":{"tags":["LinkedIn"],"operationId":"linkedinListAccounts","summary":"List connected LinkedIn accounts","description":"Free. Revoked accounts are hidden unless `include_revoked=true`.","security":[{"agentProof":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string","enum":["true","false"]},"required":false,"name":"include_revoked","in":"query"}],"responses":{"200":{"description":"Accounts","content":{"application/json":{"schema":{"type":"object","properties":{"accounts":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/LinkedInAccount"},{"type":"object"}]}}},"required":["accounts"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentProof","stagingKey"]}}},"/v1/tools/linkedin/accounts/{id}":{"get":{"tags":["LinkedIn"],"operationId":"linkedinGetAccount","summary":"Get a connected LinkedIn account","security":[{"agentProof":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"Account","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/LinkedInAccount"},{"type":"object"}]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"description":"Get a connected LinkedIn account","x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentProof","stagingKey"]}},"delete":{"tags":["LinkedIn"],"operationId":"linkedinRevoke","summary":"Revoke a connected LinkedIn account","description":"Free. Ends the grant, cancels every queued action that has not started sending (each fails with `grant_revoked`), and disconnects the LinkedIn session. Stored messages are kept for 30 days, then deleted.","security":[{"agentProof":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"Revoked","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"status":{"type":"string","enum":["revoked"]},"revoked_at":{"type":"string","format":"date-time"},"cancelled_sends":{"type":"integer"},"connection_deleted":{"type":"boolean"}},"required":["id","status","revoked_at","cancelled_sends","connection_deleted"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentProof","stagingKey"]}}},"/v1/tools/linkedin/accounts/{id}/reconnect":{"post":{"tags":["LinkedIn"],"operationId":"linkedinReconnect","summary":"Create a hosted reconnect link for an existing account","description":"Free. Reconnect an existing account or upgrade its grant, including while connected. Fresh hosted authentication and server-side identity verification are required. requested_actions replaces the entire grant; omit it to retain current actions. Preserves account ID and history. Additive upgrades preserve queued writes; removing actions invalidates older queued writes. If the connection no longer exists, returns 409 `connect_required` with `details.next_action=connect`; account reads then report `connection_deleted` and `reconnect_required=false`. Start a new connect intent with freshly selected grants.\nLive execution is not available on staging.","security":[{"agentProof":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"requested_actions":{"type":"array","items":{"type":"string","enum":["read","reply","view_profile","react","invite","comment"]},"minItems":1,"maxItems":6},"success_redirect_url":{"type":"string","maxLength":2048},"failure_redirect_url":{"type":"string","maxLength":2048}},"additionalProperties":false}}}},"responses":{"201":{"description":"Reconnect intent created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkedInConnectIntentIssued"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":false,"x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentProof","stagingKey"]}}},"/v1/tools/linkedin/sync":{"post":{"tags":["LinkedIn"],"operationId":"linkedinSync","summary":"Sync message history from a connected account (one bounded, paid run)","description":"One flat price buys up to `max_pages` × 250 messages, newest first. A run that reaches that limit is `paused`; call again with `mode: continue` to resume it. A run that finds nothing new is still charged. Requests rejected before payment (ownership, grant, status, run already active) are free. Automatic background updates are never charged. Poll `GET /v1/requests/{request_id}` for live progress and `GET /accounts/{id}/sync` for coverage.\nLive execution is not available on staging.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"account_id":{"type":"string","format":"uuid"},"mode":{"type":"string","enum":["continue","restart","history"],"default":"continue"},"max_pages":{"type":"integer","minimum":1,"maximum":10,"default":10},"memo":{"type":"string","maxLength":1000},"decisionContext":{"type":"object","additionalProperties":{}}},"required":["account_id"],"additionalProperties":false}}}},"responses":{"202":{"description":"Run queued","content":{"application/json":{"schema":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":["string","null"]},"run_id":{"type":"string","format":"uuid"},"status":{"type":"string","enum":["processing"]},"tool":{"type":"string","enum":["linkedin"]},"kind":{"type":"string"},"resumed_from_cursor":{"type":"boolean"},"max_pages":{"type":"integer"},"coverage":{"$ref":"#/components/schemas/LinkedInCoverage"},"sync_state":{"type":"string","enum":["reconnect_required","never_synced","syncing","partial","complete"]}},"required":["request_id","receipt_id","run_id","status","tool","kind","resumed_from_cursor","max_pages","coverage","sync_state"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"409":{"description":"reconnect_required or sync_in_progress"},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":false,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/linkedin/accounts/{id}/sync":{"get":{"tags":["LinkedIn"],"operationId":"linkedinSyncStatus","summary":"Coverage + recent runs for an account","security":[{"agentProof":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"Sync status","content":{"application/json":{"schema":{"type":"object","properties":{"account_id":{"type":"string","format":"uuid"},"sync_state":{"type":"string","enum":["reconnect_required","never_synced","syncing","partial","complete"]},"coverage":{"$ref":"#/components/schemas/LinkedInCoverage"},"active_run":{"$ref":"#/components/schemas/LinkedInSyncRun"},"last_run":{"$ref":"#/components/schemas/LinkedInSyncRun"},"runs":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/LinkedInSyncRun"},{"type":"object"}]}}},"required":["account_id","sync_state","coverage","active_run","last_run","runs"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"description":"Coverage + recent runs for an account","x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentProof","stagingKey"]}}},"/v1/tools/linkedin/sync/{runId}":{"get":{"tags":["LinkedIn"],"operationId":"linkedinSyncRun","summary":"One sync run","security":[{"agentProof":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"runId","in":"path"}],"responses":{"200":{"description":"Run","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/LinkedInSyncRun"},{"type":"object"}]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"description":"One sync run","x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentProof","stagingKey"]}}},"/v1/tools/linkedin/accounts/{id}/conversations":{"get":{"tags":["LinkedIn"],"operationId":"linkedinConversations","summary":"List synced conversations (free, keyset-paginated)","description":"Free. Newest activity first. Every response carries `coverage` and `sync_state`. An empty list with `sync_state != complete` means not synced yet, never an empty inbox. `since` returns conversations changed after that time (polling).","security":[{"agentProof":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","maxLength":512},"required":false,"name":"cursor","in":"query"},{"schema":{"type":"integer","minimum":1,"maximum":100,"default":50},"required":false,"name":"limit","in":"query"},{"schema":{"type":"string","format":"date-time"},"required":false,"name":"since","in":"query"},{"schema":{"type":"string","enum":["true","false"]},"required":false,"name":"unread","in":"query"},{"schema":{"type":"string","enum":["true","false"]},"required":false,"name":"archived","in":"query"}],"responses":{"200":{"description":"Conversations","content":{"application/json":{"schema":{"type":"object","properties":{"conversations":{"type":"array","items":{"$ref":"#/components/schemas/LinkedInConversation"}},"next_cursor":{"type":["string","null"]},"has_more":{"type":"boolean"},"coverage":{"$ref":"#/components/schemas/LinkedInCoverage"},"sync_state":{"type":"string","enum":["reconnect_required","never_synced","syncing","partial","complete"]}},"required":["conversations","next_cursor","has_more","coverage","sync_state"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentProof","stagingKey"]}}},"/v1/tools/linkedin/accounts/{id}/messages":{"get":{"tags":["LinkedIn"],"operationId":"linkedinMessages","summary":"List synced messages (free, keyset-paginated)","description":"Free. Newest first. Filter by `conversation_id`, `direction` (`inbound` = the human received it; use `since` as a reply watermark), `since` (sent after), `changed_since` (edited/read/deleted after). Deleted messages are hidden unless `include_deleted=true`.","security":[{"agentProof":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":false,"name":"conversation_id","in":"query"},{"schema":{"type":"string","maxLength":512},"required":false,"name":"cursor","in":"query"},{"schema":{"type":"integer","minimum":1,"maximum":100,"default":50},"required":false,"name":"limit","in":"query"},{"schema":{"type":"string","format":"date-time"},"required":false,"name":"since","in":"query"},{"schema":{"type":"string","format":"date-time"},"required":false,"name":"changed_since","in":"query"},{"schema":{"type":"string","enum":["inbound","outbound"]},"required":false,"name":"direction","in":"query"},{"schema":{"type":"string","enum":["true","false"]},"required":false,"name":"include_deleted","in":"query"}],"responses":{"200":{"description":"Messages","content":{"application/json":{"schema":{"type":"object","properties":{"messages":{"type":"array","items":{"$ref":"#/components/schemas/LinkedInMessage"}},"next_cursor":{"type":["string","null"]},"has_more":{"type":"boolean"},"coverage":{"$ref":"#/components/schemas/LinkedInCoverage"},"sync_state":{"type":"string","enum":["reconnect_required","never_synced","syncing","partial","complete"]}},"required":["messages","next_cursor","has_more","coverage","sync_state"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentProof","stagingKey"]}}},"/v1/tools/linkedin/reply":{"post":{"tags":["LinkedIn"],"operationId":"linkedinReply","summary":"Send a reply in an existing conversation (paid; requires Idempotency-Key)","description":"Requires an `Idempotency-Key` header: a retry with the same key replays the accepted response instead of paying and sending twice. A repeat can also return 409 `duplicate_request` with the original `request_id`. Before payment the route checks ownership, the `reply` grant, account status, that the conversation is not read-only, content safety, and the per-account daily cap (default 50, shared across every caller of that account; 429 `account_send_limit` with `resets_at`). The grant is checked again just before sending. Sends are spaced at random intervals, so a reply can be delayed. Outcome via `GET /v1/requests/{request_id}`: `sent` (with `external_message_id`), `failed` with an error code (`grant_revoked`, `account_disconnected`, `recipient_not_connected`, `content_rejected`, `rate_limited`, `account_send_limit`), or `send_status: ambiguous` while delivery is unconfirmed (up to 24 hours; an unconfirmed send is never sent again blindly and never refunded automatically). A message LinkedIn accepted cannot be recalled.\nLive execution is not available on staging.","security":[{"x402Payment":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string","minLength":1,"maxLength":255},"required":true,"name":"Idempotency-Key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"account_id":{"type":"string","format":"uuid"},"conversation_id":{"type":"string","format":"uuid"},"text":{"type":"string","minLength":1,"maxLength":4000},"memo":{"type":"string","maxLength":1000},"decisionContext":{"type":"object","additionalProperties":{}}},"required":["account_id","conversation_id","text"],"additionalProperties":false}}}},"responses":{"202":{"description":"Reply queued","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkedInReplyAccepted"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"409":{"description":"account_not_ready, conversation_read_only, or duplicate_request (Idempotency-Key already used; carries the original request_id)"},"429":{"description":"account_send_limit: daily per-account cap reached; retry after resets_at"},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":false,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/linkedin/message":{"post":{"tags":["LinkedIn"],"operationId":"linkedinMessage","summary":"Message a first-degree connection (paid; requires Idempotency-Key)","description":"Sends to a person, not a conversation: OneShot writes into the 1:1 conversation the account already has with them, or starts one. Use it after an invitation is accepted, or for a connection the account has never messaged. `profile` takes what `invite` takes: a linkedin.com/in/<slug> URL, a slug or LinkedIn's id for the person (`external_id`). Requires the `reply` grant and an `Idempotency-Key` header; a retry with the same key never sends twice. Shares the reply daily cap (default 50 per account; 429 `account_send_limit` with `resets_at`) and pacing. Outcome via `GET /v1/requests/{request_id}`: `sent` with `conversation_id`, `message_id` and `external_message_id` (the conversation then appears in the conversation and message lists), or `failed` with an error code. Two codes mean \"defer, not fail\": `not_connected` (the person is not a first-degree connection; invite them first) and `rate_limited` (LinkedIn throttled the account; retry later with a new key). Others: `target_not_found`, `grant_revoked`, `account_disconnected`, `content_rejected`, `account_send_limit`. A message that failed before sending is refunded as credit. `send_status: ambiguous` means delivery is unconfirmed (up to 24 hours); an unconfirmed send is never sent again blindly. A message LinkedIn accepted cannot be recalled.\nLive execution is not available on staging.","security":[{"x402Payment":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string","minLength":1,"maxLength":255},"required":true,"name":"Idempotency-Key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"account_id":{"type":"string","format":"uuid"},"profile":{"type":"string","minLength":1,"maxLength":512},"text":{"type":"string","minLength":1,"maxLength":4000},"memo":{"type":"string","maxLength":1000},"decisionContext":{"type":"object","additionalProperties":{}}},"required":["account_id","profile","text"],"additionalProperties":false}}}},"responses":{"202":{"description":"Message queued","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkedInMessageAccepted"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"409":{"description":"account_not_ready, or duplicate_request (Idempotency-Key already used; carries the original request_id)"},"429":{"description":"account_send_limit: the daily per-account cap shared with replies is reached; retry after resets_at"},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":false,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/linkedin/accounts/{id}/invitations":{"get":{"tags":["LinkedIn"],"operationId":"linkedinInvitations","summary":"List invitations sent through OneShot and their status (free)","description":"Free. Most recently changed first. `changed_since` returns invitations whose status changed after that time (polling). Status: `pending`, `accepted` (with `accepted_at`), `withdrawn`, `declined_or_unknown` (it left the pending list without connecting, or its outcome could not be confirmed) or `not_sent` (no invitation went out under this id). Acceptance is checked about every 15 minutes while an invitation is pending. It does not depend on a message being exchanged: accepting an invitation does not create a conversation. `expired` is not reported: an expired invitation cannot be told apart from a declined one.","security":[{"agentProof":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","enum":["pending","accepted","withdrawn","declined_or_unknown","not_sent"]},"required":false,"name":"status","in":"query"},{"schema":{"type":"string","format":"date-time"},"required":false,"name":"changed_since","in":"query"},{"schema":{"type":"integer","minimum":1,"maximum":100,"default":50},"required":false,"name":"limit","in":"query"}],"responses":{"200":{"description":"Invitations","content":{"application/json":{"schema":{"type":"object","properties":{"invitations":{"type":"array","items":{"$ref":"#/components/schemas/LinkedInInvitation"}}},"required":["invitations"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentProof","stagingKey"]}}},"/v1/tools/linkedin/accounts/{id}/invitations/{invitationId}":{"get":{"tags":["LinkedIn"],"operationId":"linkedinInvitation","summary":"One invitation and its status (free)","description":"Free. `invitationId` is the `invitation_id` returned by `invite`. Status: `pending`, `accepted` (with `accepted_at`), `withdrawn`, `declined_or_unknown` (it left the pending list without connecting, or its outcome could not be confirmed) or `not_sent` (no invitation went out under this id). Acceptance is checked about every 15 minutes while an invitation is pending. It does not depend on a message being exchanged: accepting an invitation does not create a conversation. `expired` is not reported: an expired invitation cannot be told apart from a declined one.","security":[{"agentProof":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","format":"uuid"},"required":true,"name":"invitationId","in":"path"}],"responses":{"200":{"description":"Invitation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkedInInvitation"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentProof","stagingKey"]}}},"/v1/tools/linkedin/profile-view":{"post":{"tags":["LinkedIn"],"operationId":"linkedinViewProfile","summary":"View a profile through the connected account (paid; requires Idempotency-Key)","description":"Requires the `view_profile` grant. `notify: false` (default) is a data read that still counts toward the daily cap; `notify: true` makes the human appear in the target's \"who viewed your profile\" and cannot be undone. Result via `GET /v1/requests/{request_id}`: a public-safe `profile` summary (name, headline, location, network distance; never contact info). With `sections: [\"experience\"]` (the only accepted value; an unknown one is a 400 before payment) the profile also carries `experience`, a list of `{ company, title, start, end, current, location }` in LinkedIn's order (an entry with no company is dropped; no descriptions or pictures), and `experience_complete`, which is `false` when LinkedIn held the section back (throttled) or an entry was dropped, so an empty list is then not proof of no jobs. Without `sections`, both keys are absent from the HTTP result and the view is unchanged (the SDK returns them as `null`); `[]` with `experience_complete: true` means the profile shows no experience. A view with sections is one view: same price and daily cap. A timeout is retried once automatically, then the request fails with `service_unavailable`. There is no ambiguous state. Per-account daily cap default 100 (429 `account_send_limit`).\nLive execution is not available on staging.","security":[{"x402Payment":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string","minLength":1,"maxLength":255},"required":true,"name":"Idempotency-Key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"account_id":{"type":"string","format":"uuid"},"identifier":{"type":"string","minLength":1,"maxLength":512},"notify":{"type":"boolean","default":false},"sections":{"type":"array","items":{"type":"string","enum":["experience"]},"maxItems":8},"memo":{"type":"string","maxLength":1000},"decisionContext":{"type":"object","additionalProperties":{}}},"required":["account_id","identifier"],"additionalProperties":false}}}},"responses":{"202":{"description":"Queued","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkedInEngagementAccepted"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"account_send_limit"},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":false,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/linkedin/react":{"post":{"tags":["LinkedIn"],"operationId":"linkedinReact","summary":"React to a post through the connected account (paid; requires Idempotency-Key)","description":"Requires the `react` grant. `post_id` is the LinkedIn social id (urn:li:activity:… / urn:li:ugcPost:…). A timeout is retried once automatically, then the request fails with `service_unavailable`. There is no ambiguous state. Reactions can be removed by the human on LinkedIn but not through this API. Per-account daily cap default 50 (429 `account_send_limit`).\nLive execution is not available on staging.","security":[{"x402Payment":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string","minLength":1,"maxLength":255},"required":true,"name":"Idempotency-Key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"account_id":{"type":"string","format":"uuid"},"post_id":{"type":"string","minLength":1,"maxLength":255},"reaction_type":{"type":"string","enum":["like","celebrate","support","love","insightful","funny"],"default":"like"},"memo":{"type":"string","maxLength":1000},"decisionContext":{"type":"object","additionalProperties":{}}},"required":["account_id","post_id"],"additionalProperties":false}}}},"responses":{"202":{"description":"Queued","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkedInEngagementAccepted"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"account_send_limit"},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":false,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/linkedin/invite":{"post":{"operationId":"linkedinInvite","tags":["LinkedIn"],"summary":"Send a LinkedIn invitation","description":"Send a connection invitation. Requires invite grant. Default 25/day per account, UTC reset; no additional pacing. Note maximum 300 characters; LinkedIn may apply a shorter limit to some accounts. Result: sent, already_connected, pending. Failures carry a structured error code. An uncertain send is never sent again blindly. Paid per invitation; see Pricing. Requires Idempotency-Key. Poll GET /v1/requests/{request_id} for the outcome.\nLive execution is not available on staging.","security":[{"x402Payment":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string","minLength":1,"maxLength":255},"required":true,"name":"Idempotency-Key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"account_id":{"type":"string","format":"uuid"},"profile":{"type":"string","minLength":1,"maxLength":512},"note":{"type":"string"},"memo":{"type":"string","maxLength":1000},"decisionContext":{"type":"object","additionalProperties":{}}},"required":["account_id","profile"],"additionalProperties":false}}}},"responses":{"202":{"description":"Queued","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkedInInvitationAccepted"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"409":{"description":"Account not ready or idempotency conflict; a duplicate key returns the original request_id"},"429":{"description":"Rate limit or daily invitation cap; Retry-After and details.retry_after indicate when to retry"},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":false,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/linkedin/invite/withdraw":{"post":{"operationId":"linkedinWithdrawInvitation","tags":["LinkedIn"],"summary":"Withdraw a LinkedIn invitation","description":"Withdraw a OneShot-tracked invitation using its stable invitation_id. Requires invite grant. Queued sends are cancelled; sent pending invitations are withdrawn. Does not remove connections or restore daily send capacity. Result: cancelled_before_send, withdrawn, already_withdrawn, not_pending. Paid per withdrawal; see Pricing. Requires Idempotency-Key. Poll GET /v1/requests/{request_id} for the outcome.\nLive execution is not available on staging.","security":[{"x402Payment":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string","minLength":1,"maxLength":255},"required":true,"name":"Idempotency-Key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"account_id":{"type":"string","format":"uuid"},"invitation_id":{"type":"string","format":"uuid"},"memo":{"type":"string","maxLength":1000},"decisionContext":{"type":"object","additionalProperties":{}}},"required":["account_id","invitation_id"],"additionalProperties":false}}}},"responses":{"202":{"description":"Queued","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkedInInvitationAccepted"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"409":{"description":"Account not ready or idempotency conflict; a duplicate key returns the original request_id"},"429":{"description":"Rate limit or daily invitation cap; Retry-After and details.retry_after indicate when to retry"},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":false,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/ledger/invoices":{"post":{"tags":["Connected systems"],"operationId":"ledgerInvoices","summary":"Invoices from a connected accounting system","description":"Read-only, on a connection the agent holds to an accounting system (`POST /v1/connections` with `kind: \"app\"`). Nothing fetched is stored; every record carries the system's own id in `source`. A refused read (another agent's, a revoked, expired or wrong-system connection, a system that is not available) is answered before payment. Answers inline from the connected system; nothing fetched is stored.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"connection_id":{"type":"string","format":"uuid","description":"The connection to read. An agent can have several connections to the same system: list your connections first (`GET /v1/connections`) and pick by `system` and `account_label`."},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25,"description":"Records per page, 1 to 100."},"cursor":{"type":"string","pattern":"^[1-9]\\d{0,11}$","description":"The next_cursor of the previous page."},"from":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Records issued on or after this date (YYYY-MM-DD)."},"to":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Records issued on or before this date (YYYY-MM-DD)."},"status":{"type":"string","enum":["open","paid","overdue","all"],"default":"all","description":"open, paid, overdue or all."},"counterparty":{"type":"string","minLength":1,"maxLength":120,"description":"Only records whose counterparty name contains this text."}},"required":["connection_id"],"additionalProperties":false}}}},"responses":{"200":{"description":"One page of invoices","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LedgerRecordPageResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}}}},"/v1/tools/ledger/bills":{"post":{"tags":["Connected systems"],"operationId":"ledgerBills","summary":"Bills from a connected accounting system","description":"Read-only, on a connection the agent holds to an accounting system (`POST /v1/connections` with `kind: \"app\"`). Nothing fetched is stored; every record carries the system's own id in `source`. A refused read (another agent's, a revoked, expired or wrong-system connection, a system that is not available) is answered before payment. Answers inline from the connected system; nothing fetched is stored.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"connection_id":{"type":"string","format":"uuid","description":"The connection to read. An agent can have several connections to the same system: list your connections first (`GET /v1/connections`) and pick by `system` and `account_label`."},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25,"description":"Records per page, 1 to 100."},"cursor":{"type":"string","pattern":"^[1-9]\\d{0,11}$","description":"The next_cursor of the previous page."},"from":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Records issued on or after this date (YYYY-MM-DD)."},"to":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Records issued on or before this date (YYYY-MM-DD)."},"status":{"type":"string","enum":["open","paid","overdue","all"],"default":"all","description":"open, paid, overdue or all."},"counterparty":{"type":"string","minLength":1,"maxLength":120,"description":"Only records whose counterparty name contains this text."}},"required":["connection_id"],"additionalProperties":false}}}},"responses":{"200":{"description":"One page of bills","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LedgerRecordPageResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}}}},"/v1/tools/ledger/reports":{"post":{"tags":["Connected systems"],"operationId":"ledgerReports","summary":"A balance sheet, profit and loss or trial balance from a connected accounting system (per-system coverage differs)","description":"Read-only, on a connection the agent holds to an accounting system (`POST /v1/connections` with `kind: \"app\"`). Nothing fetched is stored; every record carries the system's own id in `source`. A refused read (another agent's, a revoked, expired or wrong-system connection, a system that is not available) is answered before payment. QuickBooks, Xero and Zoho Books serve all three reports (Xero a profit and loss of at most 365 days; Zoho Books a profit and loss with `from`, refused as unsupported_for_system before payment without it). NetSuite reports are refused before payment. Answers inline from the connected system; nothing fetched is stored.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"connection_id":{"type":"string","format":"uuid","description":"The connection to read. An agent can have several connections to the same system: list your connections first (`GET /v1/connections`) and pick by `system` and `account_label`."},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25,"description":"Records per page, 1 to 100."},"cursor":{"type":"string","pattern":"^[1-9]\\d{0,11}$","description":"The next_cursor of the previous page."},"type":{"type":"string","enum":["balance_sheet","profit_and_loss","trial_balance"],"description":"balance_sheet, profit_and_loss or trial_balance. QuickBooks, Xero and Zoho Books: all three (Xero: a profit_and_loss of at most 365 days; Zoho Books: a profit_and_loss needs `from`). NetSuite: no reports."},"as_of":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Balance sheet and trial balance: the date the report stands at (YYYY-MM-DD); today when left out."},"from":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Profit and loss: the first day of the period (YYYY-MM-DD)."},"to":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Profit and loss: the last day of the period (YYYY-MM-DD)."}},"required":["connection_id","type"],"additionalProperties":false}}}},"responses":{"200":{"description":"The report rows","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LedgerReportResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}}}},"/v1/tools/ledger/bank_transactions":{"post":{"tags":["Connected systems"],"operationId":"ledgerBankTransactions","summary":"Bank account lines from a connected accounting system, each with its bank-statement match and attachment status (per-system coverage differs)","description":"Read-only, on a connection the agent holds to an accounting system (`POST /v1/connections` with `kind: \"app\"`). Nothing fetched is stored; every record carries the system's own id in `source`. A refused read (another agent's, a revoked, expired or wrong-system connection, a system that is not available) is answered before payment. Xero serves every line with its `reconciled` and `has_attachment` flags and both filters. QuickBooks serves `has_attachment` from its attachment records, `reconciled` as null on every line, the `reconciled: true` filter only, and refuses `reconciled: false` before payment. Zoho Books and NetSuite bank transactions are refused before payment. Answers inline from the connected system; nothing fetched is stored.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"connection_id":{"type":"string","format":"uuid","description":"The connection to read. An agent can have several connections to the same system: list your connections first (`GET /v1/connections`) and pick by `system` and `account_label`."},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25,"description":"Records per page, 1 to 100."},"cursor":{"type":"string","pattern":"^[1-9]\\d{0,11}$","description":"The next_cursor of the previous page."},"from":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"The first day of the period (YYYY-MM-DD)."},"to":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"The last day of the period (YYYY-MM-DD), at most 366 days after `from`."},"bank_account_id":{"type":"string","minLength":1,"maxLength":120,"description":"Only the lines of this bank account: an id from the `bank_accounts` of an earlier answer."},"reconciled":{"type":"boolean","description":"true: only lines matched off against the bank statement; false: only lines not yet matched. Left out: both."},"missing_attachment":{"type":"boolean","description":"true: only lines with no receipt or document attached. Left out or false: every line."}},"required":["connection_id","from","to"],"additionalProperties":false}}}},"responses":{"200":{"description":"One page of bank account lines","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LedgerBankTransactionPageResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}}}},"/v1/tools/ledger/invoice-lines":{"post":{"tags":["Connected systems"],"operationId":"ledgerInvoiceLines","summary":"Invoice and credit memo item lines from NetSuite","description":"Read-only, on a connection the agent holds to an accounting system (`POST /v1/connections` with `kind: \"app\"`). Nothing fetched is stored; every record carries the system's own id in `source`. A refused read (another agent's, a revoked, expired or wrong-system connection, a system that is not available) is answered before payment. Invoice and credit memo item lines from NetSuite: invoice, issue date, counterparty, item, quantity, amount and currency. Sold units are positive; credit memo quantity and amount are negative. Voided transactions and non-item lines are excluded. Required invoice dates from/to must be at most 400 days apart; up to 500 lines per page. No aggregation: group by customer, item or month yourself. QuickBooks, Xero and Zoho Books invoice lines are not supported and are refused as unsupported_for_system before payment. Read-only. Nothing fetched is stored.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"connection_id":{"type":"string","format":"uuid","description":"The connection to read. An agent can have several connections to the same system: list your connections first (`GET /v1/connections`) and pick by `system` and `account_label`."},"from":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Invoice date on or after this date (YYYY-MM-DD)."},"to":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Invoice date on or before this date, at most 400 days after from."},"counterparty":{"type":"string","minLength":1,"maxLength":120,"description":"Only records whose counterparty name contains this text."},"item":{"type":"string","minLength":1,"maxLength":120,"description":"Only lines whose item name contains this text."},"limit":{"type":"integer","minimum":1,"maximum":500,"default":25,"description":"Lines per page, 1 to 500; default 25."},"cursor":{"type":"string","pattern":"^[1-9]\\d{0,11}$","description":"The next_cursor of the previous page."}},"required":["connection_id","from","to"],"additionalProperties":false}}}},"responses":{"200":{"description":"One page of invoice and credit memo item lines","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LedgerInvoiceLinePageResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}}}},"/v1/tools/crm/accounts":{"post":{"tags":["Connected systems"],"operationId":"crmAccounts","summary":"Accounts from a connected Salesforce or HubSpot account","description":"Read-only Salesforce or HubSpot records on the chosen connection. Nothing fetched is stored. Personal data is returned inline only and omitted from logs. A refused connection is rejected before payment. Name filtering can yield an empty page; continue while next_cursor is present. Owner and stage are the system identifiers; unavailable fields are null.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"connection_id":{"type":"string","format":"uuid","description":"The connection to read. An agent can have several connections to the same system: list your connections first (`GET /v1/connections`) and pick by `system` and `account_label`."},"query":{"type":"string","minLength":1,"maxLength":120,"description":"Name contains this text, case insensitive."},"updated_since":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Updated on or after this ISO date (YYYY-MM-DD, UTC)."},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"cursor":{"type":"string","minLength":1,"maxLength":100,"description":"Send next_cursor from the previous page with the same filters."}},"required":["connection_id"],"additionalProperties":false}}}},"responses":{"200":{"description":"One page of CRM records","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"allOf":[{"type":"object","properties":{"records":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":["string","null"]},"updated_at":{"type":["string","null"]},"source":{"type":"object","properties":{"system":{"type":"string","enum":["salesforce","hubspot"]},"id":{"type":"string"}},"required":["system","id"]},"domain":{"type":["string","null"]},"industry":{"type":["string","null"]},"owner":{"type":["string","null"]}},"required":["id","name","updated_at","source","domain","industry","owner"]}},"next_cursor":{"type":"string"}},"required":["records"]},{"type":"object","properties":{"receipt_id":{"type":"string"}},"required":["receipt_id"]}]}},"required":["success","data"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}}}},"/v1/tools/crm/contacts":{"post":{"tags":["Connected systems"],"operationId":"crmContacts","summary":"Contacts from a connected Salesforce or HubSpot account","description":"Read-only Salesforce or HubSpot records on the chosen connection. Nothing fetched is stored. Personal data is returned inline only and omitted from logs. A refused connection is rejected before payment. Name filtering can yield an empty page; continue while next_cursor is present. Owner and stage are the system identifiers; unavailable fields are null.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"connection_id":{"type":"string","format":"uuid","description":"The connection to read. An agent can have several connections to the same system: list your connections first (`GET /v1/connections`) and pick by `system` and `account_label`."},"query":{"type":"string","minLength":1,"maxLength":120,"description":"Name contains this text, case insensitive."},"updated_since":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Updated on or after this ISO date (YYYY-MM-DD, UTC)."},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"cursor":{"type":"string","minLength":1,"maxLength":100,"description":"Send next_cursor from the previous page with the same filters."},"account_id":{"type":"string","minLength":1,"maxLength":100}},"required":["connection_id"],"additionalProperties":false}}}},"responses":{"200":{"description":"One page of CRM records","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"allOf":[{"type":"object","properties":{"records":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":["string","null"]},"updated_at":{"type":["string","null"]},"source":{"type":"object","properties":{"system":{"type":"string","enum":["salesforce","hubspot"]},"id":{"type":"string"}},"required":["system","id"]},"title":{"type":["string","null"]},"email":{"type":["string","null"]},"phone":{"type":["string","null"]},"account":{"type":"object","properties":{"id":{"type":["string","null"]},"name":{"type":["string","null"]}},"required":["id","name"]}},"required":["id","name","updated_at","source","title","email","phone","account"]}},"next_cursor":{"type":"string"}},"required":["records"]},{"type":"object","properties":{"receipt_id":{"type":"string"}},"required":["receipt_id"]}]}},"required":["success","data"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}}}},"/v1/tools/crm/opportunities":{"post":{"tags":["Connected systems"],"operationId":"crmOpportunities","summary":"Opportunities from a connected Salesforce or HubSpot account","description":"Read-only Salesforce or HubSpot records on the chosen connection. Nothing fetched is stored. Personal data is returned inline only and omitted from logs. A refused connection is rejected before payment. Name filtering can yield an empty page; continue while next_cursor is present. Owner and stage are the system identifiers; unavailable fields are null.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"connection_id":{"type":"string","format":"uuid","description":"The connection to read. An agent can have several connections to the same system: list your connections first (`GET /v1/connections`) and pick by `system` and `account_label`."},"query":{"type":"string","minLength":1,"maxLength":120,"description":"Name contains this text, case insensitive."},"updated_since":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Updated on or after this ISO date (YYYY-MM-DD, UTC)."},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25},"cursor":{"type":"string","minLength":1,"maxLength":100,"description":"Send next_cursor from the previous page with the same filters."},"account_id":{"type":"string","minLength":1,"maxLength":100},"status":{"type":"string","enum":["open","won","lost","all"],"default":"all"}},"required":["connection_id"],"additionalProperties":false}}}},"responses":{"200":{"description":"One page of CRM records","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"allOf":[{"type":"object","properties":{"records":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":["string","null"]},"updated_at":{"type":["string","null"]},"source":{"type":"object","properties":{"system":{"type":"string","enum":["salesforce","hubspot"]},"id":{"type":"string"}},"required":["system","id"]},"account":{"type":"object","properties":{"id":{"type":["string","null"]},"name":{"type":["string","null"]}},"required":["id","name"]},"stage":{"type":["string","null"]},"status":{"type":"string","enum":["open","won","lost"]},"amount":{"type":["number","null"]},"currency":{"type":["string","null"]},"close_date":{"type":["string","null"]},"owner":{"type":["string","null"]}},"required":["id","name","updated_at","source","account","stage","status","amount","currency","close_date","owner"]}},"next_cursor":{"type":"string"}},"required":["records"]},{"type":"object","properties":{"receipt_id":{"type":"string"}},"required":["receipt_id"]}]}},"required":["success","data"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}}}},"/v1/tools/crm/notes":{"post":{"tags":["Connected systems"],"operationId":"crmNotesCreate","summary":"Add a plain text note to a connected Salesforce or HubSpot record, behind approval","description":"Add a plain text note. Requires approval unless an enabled agent policy allows it. Retry after approval with the same Idempotency-Key and X-Approval-Id. A missing write scope returns connection_scope_missing; use Reconnect in the console. The note body is kept only in the approval record. An uncertain write is never dispatched again with the same key.","security":[{"x402Payment":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[A-Za-z0-9_.:-]+$"},"required":true,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string"},"required":false,"name":"X-Approval-Id","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"connection_id":{"type":"string","format":"uuid"},"record":{"type":"object","properties":{"type":{"type":"string","enum":["account","contact","opportunity"]},"id":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-zA-Z0-9]+$"}},"required":["type","id"],"additionalProperties":false},"body":{"type":"string","minLength":1,"maxLength":5000}},"required":["connection_id","record","body"],"additionalProperties":false}}}},"responses":{"200":{"description":"The created note, or its original result on replay","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"id":{"type":"string","minLength":1},"created_at":{"type":"string","format":"date-time"},"source":{"type":"object","properties":{"system":{"type":"string","enum":["salesforce","hubspot"]},"id":{"type":"string"}},"required":["system","id"]}},"required":["id","created_at","source"]}},"required":["success","data"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}}}},"/v1/tools/mailbox/messages":{"post":{"tags":["Connected systems"],"summary":"Search a connected mailbox","operationId":"mailboxMessages","description":"Read-only data on the selected connection. Nothing fetched is stored. Searches return at most 50 rows. Content reads return base64 up to 10 MB; known oversized content refuses before payment. Google Drive reads Sheets as CSV, with optional sheet selecting a tab; other Drive content is not supported yet. Gmail reads inline MIME attachments only. Pass opaque identifiers and cursors unchanged.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"connection_id":{"type":"string","format":"uuid"},"query":{"type":"string","minLength":1,"maxLength":500},"limit":{"type":"integer","minimum":1,"maximum":50,"default":25},"cursor":{"type":"string","minLength":1,"maxLength":4096},"from":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"to":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"sender":{"type":"string","maxLength":254,"format":"email"},"has_attachments":{"type":"boolean"}},"required":["connection_id","query","from","to"],"additionalProperties":false}}}},"responses":{"200":{"description":"Inline connected data","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"allOf":[{"type":"object","properties":{"records":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"received_at":{"type":["string","null"]},"sender":{"type":"object","properties":{"name":{"type":["string","null"]},"address":{"type":["string","null"]}},"required":["name","address"]},"subject":{"type":["string","null"]},"snippet":{"type":"string","maxLength":300},"attachments":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":["string","null"]},"content_type":{"type":["string","null"]},"size":{"type":["number","null"]}},"required":["id","name","content_type","size"]}},"source":{"type":"object","properties":{"system":{"type":"string"},"id":{"type":"string"}},"required":["system","id"]}},"required":["id","received_at","sender","subject","snippet","attachments","source"]}},"next_cursor":{"type":"string"}},"required":["records"]},{"type":"object","properties":{"receipt_id":{"type":"string"}},"required":["receipt_id"]}]}},"required":["success","data"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}}}},"/v1/tools/mailbox/attachment":{"post":{"tags":["Connected systems"],"summary":"Read a connected mailbox attachment as base64","operationId":"mailboxAttachment","description":"Read-only data on the selected connection. Nothing fetched is stored. Searches return at most 50 rows. Content reads return base64 up to 10 MB; known oversized content refuses before payment. Google Drive reads Sheets as CSV, with optional sheet selecting a tab; other Drive content is not supported yet. Gmail reads inline MIME attachments only. Pass opaque identifiers and cursors unchanged.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"connection_id":{"type":"string","format":"uuid"},"message_id":{"type":"string","minLength":1,"maxLength":2048},"attachment_id":{"type":"string","minLength":1,"maxLength":2048}},"required":["connection_id","message_id","attachment_id"],"additionalProperties":false}}}},"responses":{"200":{"description":"Inline connected data","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"allOf":[{"type":"object","properties":{"name":{"type":"string"},"content_type":{"type":"string"},"size":{"type":"integer","minimum":0},"base64":{"type":"string"}},"required":["name","content_type","size","base64"]},{"type":"object","properties":{"receipt_id":{"type":"string"}},"required":["receipt_id"]}]}},"required":["success","data"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}}}},"/v1/tools/files/search":{"post":{"tags":["Connected systems"],"summary":"Search a connected file store","operationId":"filesSearch","description":"Read-only data on the selected connection. Nothing fetched is stored. Searches return at most 50 rows. Content reads return base64 up to 10 MB; known oversized content refuses before payment. Google Drive reads Sheets as CSV, with optional sheet selecting a tab; other Drive content is not supported yet. Gmail reads inline MIME attachments only. Pass opaque identifiers and cursors unchanged.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"connection_id":{"type":"string","format":"uuid"},"query":{"type":"string","minLength":1,"maxLength":500},"limit":{"type":"integer","minimum":1,"maximum":50,"default":25},"cursor":{"type":"string","minLength":1,"maxLength":4096},"folder_id":{"type":"string","minLength":1,"maxLength":2048}},"required":["connection_id","query"],"additionalProperties":false}}}},"responses":{"200":{"description":"Inline connected data","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"allOf":[{"type":"object","properties":{"records":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":["string","null"]},"path":{"type":["string","null"]},"content_type":{"type":["string","null"]},"size":{"type":["number","null"]},"modified_at":{"type":["string","null"]},"source":{"type":"object","properties":{"system":{"type":"string"},"id":{"type":"string"}},"required":["system","id"]}},"required":["id","name","path","content_type","size","modified_at","source"]}},"next_cursor":{"type":"string"}},"required":["records"]},{"type":"object","properties":{"receipt_id":{"type":"string"}},"required":["receipt_id"]}]}},"required":["success","data"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}}}},"/v1/tools/files/read":{"post":{"tags":["Connected systems"],"summary":"Read a connected file as base64","operationId":"filesRead","description":"Read-only data on the selected connection. Nothing fetched is stored. Searches return at most 50 rows. Content reads return base64 up to 10 MB; known oversized content refuses before payment. Google Drive reads Sheets as CSV, with optional sheet selecting a tab; other Drive content is not supported yet. Gmail reads inline MIME attachments only. Pass opaque identifiers and cursors unchanged.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"connection_id":{"type":"string","format":"uuid"},"file_id":{"type":"string","minLength":1,"maxLength":2048},"sheet":{"type":"string","minLength":1,"maxLength":100}},"required":["connection_id","file_id"],"additionalProperties":false}}}},"responses":{"200":{"description":"Inline connected data","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"allOf":[{"type":"object","properties":{"name":{"type":"string"},"content_type":{"type":"string"},"size":{"type":"integer","minimum":0},"base64":{"type":"string"}},"required":["name","content_type","size","base64"]},{"type":"object","properties":{"receipt_id":{"type":"string"}},"required":["receipt_id"]}]}},"required":["success","data"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}}}},"/v1/tools/identity/start":{"post":{"tags":["Identity"],"operationId":"identityStart","summary":"Start an identity verification session for a named person and get a link to hand them","description":"Start an identity verification session. Charged at start; subject to the agent's approval rules. Nothing is sent to the person: hand them verification_url. Poll GET /v1/requests/{id} for the result: status (approved, declined, resubmission_requested, expired or abandoned), reason, document_type, issuing_country, name_matches and decided_at. The document number, images, date of birth and address are never kept. A session the person declines or abandons, or that expires after 7 days, is not refunded. Send an Idempotency-Key (header or idempotency_key in the body): the same key with the same input returns the same session.","security":[{"x402Payment":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[A-Za-z0-9_.:-]+$"},"required":false,"name":"Idempotency-Key","in":"header"},{"schema":{"type":"string"},"required":false,"name":"X-Approval-Id","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"full_name":{"type":"string","minLength":1,"maxLength":200,"description":"The name of the person being verified, as it appears on their document"},"email":{"type":"string","maxLength":320,"format":"email","description":"Their email address (optional; deleted when the session ends)"},"purpose":{"type":"string","minLength":1,"maxLength":140,"description":"Why they are asked; shown to them on the consent page"},"idempotency_key":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[A-Za-z0-9_.:-]+$","description":"The idempotency key, when not sent as the Idempotency-Key header"},"memo":{"type":"string","maxLength":1000},"decisionContext":{"type":"object","additionalProperties":{}}},"required":["full_name","purpose"]}}}},"responses":{"202":{"description":"The waiting session","content":{"application/json":{"schema":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"receipt_id":{"type":"string"},"status":{"type":"string","enum":["pending"]},"verification_url":{"type":"string","format":"uri","description":"A link on our domain to hand to the person; it opens the consent page and then the hosted flow"},"expires_at":{"type":"string","format":"date-time","description":"When the session expires if nobody finishes it (7 days)"}},"required":["request_id","status","verification_url","expires_at"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.002"}}}},"/v1/tools/balance":{"get":{"tags":["Balance"],"operationId":"getAgentBalance","summary":"Get agent on-chain + credit balance","security":[{"agentId":[],"stagingKey":[]}],"responses":{"200":{"description":"Balance","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BalanceResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"description":"Get agent on-chain + credit balance","x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","stagingKey"]}}},"/v1/tools/discover":{"get":{"tags":["MCP"],"operationId":"discoverTools","summary":"Search the public tool catalog (free)","description":"Uses the loop discovery index and cards with public MCP names and input schemas. Only tools permitted by the caller’s grant are searchable. Omit query/category for the directory. Category pages contain up to five tools; pass nextCursor with the same category/query. Invalid or mismatched cursors return 400. No tools are executed or charged.","security":[{"accessToken":[],"stagingKey":[]},{"agentId":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string"},"required":false,"name":"query","in":"query"},{"schema":{"type":"string"},"required":false,"name":"category","in":"query"},{"schema":{"type":"string"},"required":false,"name":"cursor","in":"query"}],"responses":{"200":{"description":"Category directory, tool summaries, or a cursor-without-category error","content":{"application/json":{"schema":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["directory"]},"categories":{"type":"array","items":{"type":"object","properties":{"category":{"type":"string"},"label":{"type":"string"},"count":{"type":"integer"}},"required":["category","label","count"]}}},"required":["kind","categories"]},{"type":"object","properties":{"kind":{"type":"string","enum":["tools"]},"tools":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"purpose":{"type":"string"},"requiredInputs":{"type":"array","items":{"type":"string"}}},"required":["name","purpose","requiredInputs"]}},"nextCursor":{"type":["string","null"]},"message":{"type":"string"},"searchedCategories":{"type":"array","items":{"type":"string"}}},"required":["kind","tools","nextCursor"]},{"type":"object","properties":{"kind":{"type":"string","enum":["error"]},"error":{"type":"string"}},"required":["kind","error"]}]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["accessToken","stagingKey","agentId","stagingKey"]}}},"/v1/tools/notifications":{"get":{"tags":["Notifications"],"operationId":"listNotifications","summary":"List agent notifications","security":[{"agentId":[],"stagingKey":[]}],"parameters":[{"schema":{"type":["boolean","null"]},"required":false,"name":"unread","in":"query"},{"schema":{"type":"integer","minimum":1,"maximum":200},"required":false,"name":"limit","in":"query"}],"responses":{"200":{"description":"Notifications","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationListResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"description":"List agent notifications","x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","stagingKey"]}}},"/v1/tools/notifications/read-all":{"patch":{"tags":["Notifications"],"operationId":"markAllNotificationsRead","summary":"Mark all notifications as read","security":[{"agentId":[],"stagingKey":[]}],"responses":{"200":{"description":"Marked","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"updated":{"type":"integer"}},"required":["success","updated"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"description":"Mark all notifications as read","x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","stagingKey"]}}},"/v1/tools/notifications/{id}/read":{"patch":{"tags":["Notifications"],"operationId":"markNotificationRead","summary":"Mark a single notification as read","security":[{"agentId":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"Marked","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"}},"required":["success"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"description":"Mark a single notification as read","x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","stagingKey"]}}},"/v1/agents/me/budgets":{"get":{"tags":["Budgets"],"operationId":"getAgentBudgets","summary":"Spend budget and today's utilization","description":"Returns the agent's configured spend budget plus live utilization for the current UTC day. Agents with no budget set are unlimited:`daily_usdc` is null and `spent_today_usdc` is still reported. Readable with an agent access token; for token sessions `spent_today_usdc` includes credit-funded calls, since credits are what they pay with.","security":[{"agentId":[],"agentProof":[],"stagingKey":[]},{"accessToken":[],"stagingKey":[]}],"responses":{"200":{"description":"Budget status","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentBudgetStatusResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","agentProof","stagingKey","accessToken","stagingKey"]}},"put":{"tags":["Budgets"],"operationId":"setAgentBudgets","summary":"Set or clear the spend budget","description":"Sets the agent's spend budget. Fields are tri-state: an absent key leaves the stored value alone, an explicit `null` clears it (for `alert_at`/`pause_at`, resets to the default 0.8 / 1.0), and a number sets it, so a partial update never wipes the caps it didn't mention. Enforced on every paid call; over-budget calls receive 403 `budget_exceeded`. The SDKs send this once automatically when constructed with a `budgets` config. Refused with 403 `budgets_read_only_for_access_tokens` for agent access-token sessions.","security":[{"agentId":[],"agentProof":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentBudgetUpdateRequest"}}}},"responses":{"200":{"description":"Stored budget","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentBudgetUpdateResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","agentProof","stagingKey"]}}},"/v1/approvals":{"post":{"tags":["Approvals"],"operationId":"createApproval","summary":"Ask a named human to decide","description":"Pages the approver by email and/or SMS with a single-use link. Poll GET /v1/approvals/{id} for the decision. Free; at most 20 pending per agent.","security":[{"agentId":[],"agentProof":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateApprovalRequest"}}}},"responses":{"201":{"description":"Pending approval","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/Approval"}},"required":["success","data"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","agentProof","stagingKey"]}},"get":{"tags":["Approvals"],"operationId":"listApprovals","summary":"List this agent's approvals","security":[{"agentId":[],"agentProof":[],"stagingKey":[]},{"accessToken":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string","enum":["pending","approved","denied","expired","cancelled","consumed"]},"required":false,"name":"status","in":"query"},{"schema":{"type":"integer"},"required":false,"name":"limit","in":"query"}],"responses":{"200":{"description":"Approvals","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"approvals":{"type":"array","items":{"$ref":"#/components/schemas/Approval"}}},"required":["approvals"]}},"required":["success","data"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"description":"List this agent's approvals","x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","agentProof","stagingKey","accessToken","stagingKey"]}}},"/v1/approvals/{id}":{"get":{"tags":["Approvals"],"operationId":"getApproval","summary":"Read one approval","security":[{"agentId":[],"agentProof":[],"stagingKey":[]},{"accessToken":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"Approval","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/Approval"}},"required":["success","data"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"description":"Read one approval","x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","agentProof","stagingKey","accessToken","stagingKey"]}}},"/v1/approvals/{id}/cancel":{"post":{"tags":["Approvals"],"operationId":"cancelApproval","summary":"Withdraw a pending approval","security":[{"agentId":[],"agentProof":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"Cancelled approval","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/Approval"}},"required":["success","data"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"description":"Withdraw a pending approval","x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","agentProof","stagingKey"]}}},"/v1/agents/me/action-policy":{"get":{"tags":["Approvals"],"operationId":"getActionPolicy","summary":"Current action policy","description":"Null when the agent has no policy. CRM notes still require approval by default; other calls are not held or denied without a policy.","security":[{"agentId":[],"agentProof":[],"stagingKey":[]},{"accessToken":[],"stagingKey":[]}],"responses":{"200":{"description":"Policy","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/ActionPolicy"}},"required":["success","data"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","agentProof","stagingKey","accessToken","stagingKey"]}},"put":{"tags":["Approvals"],"operationId":"setActionPolicy","summary":"Replace the action policy","description":"Rules decide, per gated action including crm/notes, whether it runs, is denied (403 `action_denied_by_policy`) or is held for a human (403 `approval_required` with `approval_id`). A held call is not run or charged; retry it with `X-Approval-Id` once approved and it runs once. A matching deny beats a matching require_approval. Refused for agent access-token sessions.","security":[{"agentId":[],"agentProof":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"enabled":{"type":"boolean"},"rules":{"type":"array","items":{"$ref":"#/components/schemas/ActionPolicyRule"},"maxItems":25},"approver":{"type":"object","properties":{"email":{"type":["string","null"]},"phone":{"type":["string","null"]}},"required":["email","phone"]},"timeout_seconds":{"type":"integer"}},"required":["rules"]}}}},"responses":{"200":{"description":"Stored policy","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"allOf":[{"$ref":"#/components/schemas/ActionPolicy"},{"type":"object"}]}},"required":["success","data"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","agentProof","stagingKey"]}},"delete":{"tags":["Approvals"],"operationId":"deleteActionPolicy","summary":"Remove the action policy","security":[{"agentId":[],"agentProof":[],"stagingKey":[]}],"responses":{"200":{"description":"Removed","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"null"}},"required":["success","data"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"description":"Remove the action policy","x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","agentProof","stagingKey"]}}},"/v1/connections":{"post":{"tags":["Connections"],"operationId":"startConnection","summary":"Start an authorized-access connection","description":"Returns the link to approve on the system's own page. The signed callback marks the connection active after verifying account ownership. For a system that authorizes with a key, the key is stored encrypted, the account is created and checked in this request, and the connection is returned active with no link; a key the system does not accept returns 400 key_refused and leaves nothing stored. An unavailable system returns 503 not_configured; extra fields, or a key for a system that signs in on its own page, return 400 invalid_request. Names must be unique among this agent's live connections.","security":[{"agentId":[],"agentProof":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StartConnectionRequest"}}}},"responses":{"201":{"description":"The connection (pending with the link to open, or active for a key-authorized system)","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"allOf":[{"$ref":"#/components/schemas/Connection"},{"type":"object","properties":{"link":{"type":["string","null"],"description":"The link to approve on the system's own page. Null for a system that authorizes with a key: the connection is active already."}},"required":["link"]}]}},"required":["success","data"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","agentProof","stagingKey"]}},"get":{"tags":["Connections"],"operationId":"listConnections","summary":"List this agent's connections","security":[{"agentId":[],"agentProof":[],"stagingKey":[]}],"responses":{"200":{"description":"Connections","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"connections":{"type":"array","items":{"$ref":"#/components/schemas/Connection"}}},"required":["connections"]}},"required":["success","data"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"description":"List this agent's connections","x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","agentProof","stagingKey"]}}},"/v1/connections/{id}":{"delete":{"tags":["Connections"],"operationId":"revokeConnection","summary":"Revoke a connection","description":"The next use fails. OneShot attempts to end the system grant, marks the connection revoked and deletes any encrypted customer credential even if the system is unreachable. Reads refuse not_found (also for another agent), not_active, expired, revoked or wrong_system.","security":[{"agentId":[],"agentProof":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"Revoked connection","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/Connection"}},"required":["success","data"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","agentProof","stagingKey"]}}},"/v1/connections/{id}/reconnect":{"post":{"tags":["Connections"],"operationId":"reconnectConnection","summary":"Reconnect a connection or upgrade its CRM write scope","description":"An expired business-system connection or active CRM connection missing the note write scope can be reconnected: the answer is a new link to sign in on the system's own page. A connection on a system that authorizes with a key may carry a new api_key, which replaces the stored key; the account is re-created from the stored key in this request and the connection is returned active with no link. The connection keeps its id and name, and waits as expired until the signed callback completes the reconnect, replaces the account and marks it active; when the system does not let OneShot end the old sign-in, the connection stays expired and the same link can be opened again. The link expires in an hour; the connection then keeps its status in step with the system again, and a new reconnect answers a new link. A connection on a system with separate data centers reconnects at the stored region, or at the region sent, which replaces it; a connection made before the region was recorded answers 400 region_required until a reconnect names it, and keeps its id when it does. Any other connection (pending, already write-capable and active, revoked, or GitHub) returns 409 not_expired; an unavailable system returns 503 not_configured; a system that did not answer returns 502 host_error. Status is kept honest lazily: a list or a read asks the system at most once every 10 minutes per connection, and a sign-in the customer ended inside the system then shows as expired or revoked. An organization admin reconnects through the console route POST /v1/org/connections/{id}/reconnect, audited as org.connection_reconnected.","security":[{"agentId":[],"agentProof":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReconnectConnectionRequest"}}}},"responses":{"200":{"description":"The connection and the link to open (null for a key-authorized connection, active again)","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"allOf":[{"$ref":"#/components/schemas/Connection"},{"type":"object","properties":{"link":{"type":["string","null"],"description":"The link to approve on the system's own page. Null for a system that authorizes with a key: the connection is active already."}},"required":["link"]}]}},"required":["success","data"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"not_expired: the connection is neither expired nor eligible for a CRM write-scope upgrade"},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","agentProof","stagingKey"]}}},"/v1/connections/oauth":{"get":{"tags":["Connections"],"operationId":"forwardConnectionOauth","summary":"Forward the system OAuth answer","description":"Registered redirect URI for OneShot OAuth apps. Forwards only code, state, error, error_description and QuickBooks realmId to the fixed authentication callback. Request-provided destinations are ignored. Rate limited.","parameters":[{"schema":{"type":"string"},"required":false,"name":"code","in":"query"},{"schema":{"type":"string"},"required":false,"name":"state","in":"query"},{"schema":{"type":"string"},"required":false,"name":"error","in":"query"},{"schema":{"type":"string"},"required":false,"name":"error_description","in":"query"},{"schema":{"type":"string"},"required":false,"name":"realmId","in":"query"}],"responses":{"302":{"description":"Fixed authentication callback"},"429":{"description":"Too many callbacks"}},"security":[{"stagingKey":[]}],"x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["stagingKey"]}}},"/v1/connections/callback":{"get":{"tags":["Connections"],"operationId":"completeConnection","summary":"Complete a connection using signed state","description":"App connections activate only when the account is active, belongs to this connection id and still matches the stored account reference. Refusal reasons: invalid, expired, used, not_owner, not_installer, no_write_access, too_many_repositories, host_error, not_configured. An org-started connection returns to its trusted console page.","parameters":[{"schema":{"type":"string"},"required":true,"name":"state","in":"query"},{"schema":{"type":"string"},"required":false,"name":"installation_id","in":"query"},{"schema":{"type":"string"},"required":false,"name":"code","in":"query"}],"responses":{"200":{"description":"Connected page"},"303":{"description":"Return to console with outcome"},"400":{"description":"Invalid or expired state, or too many repositories"},"403":{"description":"not_owner, not_installer or no_write_access; connection unchanged"},"409":{"description":"used"},"429":{"description":"Too many callbacks"},"502":{"description":"host_error"},"503":{"description":"not_configured"}},"security":[{"stagingKey":[]}],"x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["stagingKey"]}}},"/v1/agents/me/access-tokens":{"post":{"tags":["Access Tokens"],"operationId":"createAccessToken","summary":"Mint an agent access token","description":"Creates a revocable, credits-only bearer credential for this agent, for use where the wallet key cannot be (hosted MCP clients, cloud runners). The plaintext `token` is returned once and never stored; keep it secret. Token sessions pay from the agent's credit balance, count against the stored daily budget, and cannot change budgets or mint other tokens. Optional `expires_in_days` is a positive whole number of days. Without an explicit expiry or an organization cap, new tokens expire after 90 days. Existing tokens keep their expiry. An organization cap requires this value within the cap or returns 400 `token_lifetime_exceeds_policy`. Expired credentials return 401 `access_token_expired`. OAuth bridges are re-derived and exempt from the cap. At most 20 active tokens per agent (`too_many_access_tokens`).","security":[{"agentId":[],"agentProof":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccessTokenCreateRequest"}}}},"responses":{"201":{"description":"Token created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccessTokenCreatedResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Access-token session (`access_tokens_cannot_mint_tokens`) — sign the request with the agent wallet","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","agentProof","stagingKey"]}},"get":{"tags":["Access Tokens"],"operationId":"listAccessTokens","summary":"List access tokens","description":"Lists this agent's access tokens (prefix, label, expiry, minter, last use, revocation, and credit-funded spend attributed to each token today). Plaintext tokens are never returned. Pass `active=true` to hide revoked and expired tokens.","security":[{"agentId":[],"agentProof":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string","enum":["true","false"]},"required":false,"name":"active","in":"query"}],"responses":{"200":{"description":"Token list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccessTokenListResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Access-token session (`access_tokens_cannot_mint_tokens`) — sign the request with the agent wallet","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","agentProof","stagingKey"]}}},"/v1/agents/me/access-tokens/{id}":{"delete":{"tags":["Access Tokens"],"operationId":"revokeAccessToken","summary":"Revoke an access token","description":"Revokes one of this agent's tokens. Sessions using it fail with 401 `access_token_revoked` from the next request.","security":[{"agentId":[],"agentProof":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"Token revoked","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccessTokenRevokeResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Access-token session (`access_tokens_cannot_mint_tokens`) — sign the request with the agent wallet","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not found, or not this agent's token (`access_token_not_found`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","agentProof","stagingKey"]}}},"/v1/agents/me":{"get":{"tags":["Access Tokens"],"operationId":"getAgentMe","summary":"Resolve the calling agent","description":"Returns the agent behind the caller's credential: its id and wallet address, plus which credential type authenticated the call. Access-token sessions use this to learn the agent's wallet address.","security":[{"agentId":[],"agentProof":[],"stagingKey":[]},{"accessToken":[],"stagingKey":[]}],"responses":{"200":{"description":"Agent identity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentMeResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","agentProof","stagingKey","accessToken","stagingKey"]}}},"/v1/credits/top-up":{"post":{"tags":["Credits"],"operationId":"topUpCredits","summary":"Add prepaid credits by paying USDC (x402)","description":"Wallet sessions only. Call once with { amount } and no payment to receive a 402 whose PAYMENT-REQUIRED header prices exactly that amount; sign the USDC authorization and call again with the payment-signature header. The payment settles on-chain and the same amount is added to the agent's credit balance — the balance access-token (hosted MCP) sessions spend from. Access-token sessions are refused with 503 route_unavailable_for_access_tokens: credits cannot be bought with credits. The settlement transaction hash is the idempotency key. The SDKs wrap both legs: TypeScript agent.topUpCredits(amount), Python client.top_up_credits(amount).","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreditsTopUpRequest"}}}},"responses":{"200":{"description":"Credited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreditsTopUpResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required (first call) or the presented payment was rejected","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreditsTopUpPaymentRequired"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Access-token sessions cannot top up","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}]}}},"/v1/credits/checkout":{"post":{"tags":["Credits"],"operationId":"checkoutCreditsWithCard","summary":"Add prepaid credits by paying with a card (Stripe Checkout)","description":"Top up an agent's prepaid credit balance in USD with a card, without holding USDC. Returns a hosted checkout `url`: redirect the buyer to it. The checkout page collects a company name and tax ID and issues the receipt or invoice. The balance is credited only once the payment is confirmed, never when the session is created: poll GET /v1/tools/balance for the credited amount. Card-funded credits work the same as credits bought with USDC for balance, spend budgets, and credit history.","security":[{"agentId":[],"agentProof":[],"stagingKey":[]},{"accessToken":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreditsCheckoutRequest"}}}},"responses":{"200":{"description":"Checkout session created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreditsCheckoutResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"502":{"description":"Stripe Checkout session creation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Card top-up is not available","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","agentProof","stagingKey","accessToken","stagingKey"]}}},"/mcp":{"post":{"tags":["MCP"],"operationId":"mcpStreamableHttp","summary":"Hosted MCP endpoint (Streamable HTTP)","description":"Model Context Protocol over Streamable HTTP, for clients that cannot run a local process (Grok Bot, hosted runners). Same tools as `@oneshot-agent/mcp-server`.Authenticate with an agent access token; tool calls are billed to the agent's credit balance under its stored budget — a shortfall or an exhausted cap comes back as a tool result with `isError: true` and a JSON body (`insufficient_credits` / `budget_exceeded`). Stateless: no session ids, POST only. Send `Accept: application/json, text/event-stream`; responses stream as SSE.","security":[{"accessToken":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"jsonrpc":{"type":"string","enum":["2.0"]},"method":{"type":"string"},"id":{"anyOf":[{"type":"string"},{"type":"number"}]},"params":{"type":"object","additionalProperties":{}}},"required":["jsonrpc","method"],"description":"A JSON-RPC 2.0 request or notification per the MCP specification"}}}},"responses":{"200":{"description":"JSON-RPC response(s), streamed as `text/event-stream`","content":{"text/event-stream":{"schema":{"type":"string"}}}},"202":{"description":"Notification accepted (no body)"},"401":{"description":"Missing, invalid or revoked access token (`WWW-Authenticate: Bearer`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"405":{"description":"GET/DELETE — the endpoint is stateless, POST only"},"406":{"description":"Accept header must include `application/json` and `text/event-stream`"},"429":{"description":"Rate limited (120 requests/min per agent)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["accessToken","stagingKey"]}}},"/v1/tools/inbox":{"get":{"tags":["Inbox"],"operationId":"listInboxEmails","summary":"List inbound emails","security":[{"agentId":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string","format":"date-time"},"required":false,"name":"since","in":"query"},{"schema":{"type":"integer","minimum":1,"maximum":200},"required":false,"name":"limit","in":"query"},{"schema":{"type":["boolean","null"]},"required":false,"name":"include_body","in":"query"}],"responses":{"200":{"description":"Inbox list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InboxEmailListResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"description":"List inbound emails","x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","stagingKey"]}}},"/v1/tools/inbox/{emailId}":{"get":{"tags":["Inbox"],"operationId":"getInboxEmail","summary":"Get a specific inbound email","security":[{"agentId":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"emailId","in":"path"}],"responses":{"200":{"description":"Email","content":{"application/json":{"schema":{"type":"object","properties":{"hidden_removed":{"type":"integer","minimum":0,"description":"Removed hidden segments in this returned message"},"untrusted_content":{"type":"boolean","enum":[true]},"authenticated":{"type":"boolean","description":"Whether provider verification establishes From-domain alignment; false for failed or missing results"},"id":{"type":"string"},"from":{"type":"string"},"subject":{"type":"string"},"received_at":{"type":["string","null"]},"thread_id":{"type":["string","null"]},"body":{"type":["string","null"],"description":"Readable body derived from filtered HTML when available (only when include_body=true)"},"body_html":{"type":["string","null"],"description":"HTML body with hidden content removed (only when include_body=true)"},"attachments":{"type":"array","items":{"type":"object","properties":{"filename":{"type":"string"},"content_type":{"type":"string"},"size":{"type":"integer"},"content":{"type":"string","description":"Base64-encoded content (only when include_body=true)"}},"required":["filename"]}}},"required":["hidden_removed","untrusted_content","authenticated","id","from","subject","received_at"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not found"},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"description":"Get a specific inbound email","x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","stagingKey"]}}},"/v1/tools/sms/inbox":{"get":{"tags":["Inbox"],"operationId":"listInboxSms","summary":"List inbound SMS messages","security":[{"agentId":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string","format":"date-time"},"required":false,"name":"since","in":"query"},{"schema":{"type":"integer","minimum":1,"maximum":200},"required":false,"name":"limit","in":"query"},{"schema":{"type":"string"},"required":false,"name":"from","in":"query"}],"responses":{"200":{"description":"SMS list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InboxSmsListResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"description":"List inbound SMS messages","x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","stagingKey"]}}},"/v1/tools/sms/inbox/{messageId}":{"get":{"tags":["Inbox"],"operationId":"getInboxSms","summary":"Get a specific inbound SMS","security":[{"agentId":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"messageId","in":"path"}],"responses":{"200":{"description":"SMS","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"from":{"type":"string"},"to":{"type":"string"},"body":{"type":"string"},"num_media":{"type":["integer","null"]},"media_urls":{"type":["array","null"],"items":{"type":"string"}},"thread_id":{"type":["string","null"]},"related_outbound_id":{"type":["string","null"]},"received_at":{"type":["string","null"]},"created_at":{"type":["string","null"]}},"required":["id","from","to","body","received_at","created_at"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not found"},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"description":"Get a specific inbound SMS","x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","stagingKey"]}}},"/v1/soul/register":{"post":{"tags":["Soul Marketplace"],"operationId":"registerSoul","summary":"Register as a soul seller","description":"Returns a `soul_key` (shown only once) used as the bearer token for seller dashboard endpoints.","security":[{"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":255},"slug":{"type":"string","minLength":3,"maxLength":100,"pattern":"^[a-z0-9-]+$"},"bio":{"type":"string","maxLength":1000},"avatar_url":{"type":"string","format":"uri"},"soul_md":{"type":"string","minLength":10,"maxLength":51200},"soul_price":{"type":["number","null"],"minimum":0,"maximum":10000},"service":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":255},"slug":{"type":"string","minLength":3,"maxLength":100,"pattern":"^[a-z0-9-]+$"},"description":{"type":"string","maxLength":2000},"price_usd":{"type":"number","minimum":0.01,"maximum":1000},"input_schema":{"type":"object","properties":{}},"sandbox":{"type":"boolean"}},"required":["name","slug","price_usd"]}},"required":["name","slug","soul_md"]}}}},"responses":{"201":{"description":"Registered","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SoulRegisterResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["stagingKey"]}}},"/v1/soul":{"get":{"tags":["Soul Marketplace"],"operationId":"listSouls","summary":"List all souls (prefer GET /v1/soul/browse)","security":[{"stagingKey":[]}],"responses":{"200":{"description":"Soul list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SoulListResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"description":"List all souls (prefer GET /v1/soul/browse)","x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["stagingKey"]}}},"/v1/soul/browse":{"get":{"tags":["Soul Marketplace"],"operationId":"browseSouls","summary":"Browse souls with pagination","security":[{"stagingKey":[]}],"parameters":[{"schema":{"type":"string"},"required":false,"name":"category","in":"query"},{"schema":{"type":"integer","minimum":1,"maximum":100},"required":false,"name":"limit","in":"query"},{"schema":{"type":["integer","null"],"minimum":0},"required":false,"name":"offset","in":"query"}],"responses":{"200":{"description":"Souls","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SoulListResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"description":"Browse souls with pagination","x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["stagingKey"]}}},"/v1/soul/search":{"get":{"tags":["Soul Marketplace"],"operationId":"searchSouls","summary":"Search souls","security":[{"stagingKey":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"query","in":"query"},{"schema":{"type":"string"},"required":false,"name":"category","in":"query"}],"responses":{"200":{"description":"Search results","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SoulSearchResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"description":"Search souls","x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["stagingKey"]}}},"/v1/soul/service-types":{"get":{"tags":["Soul Marketplace"],"operationId":"listSoulServiceTypes","summary":"Get standard service type taxonomy","security":[{"stagingKey":[]}],"responses":{"200":{"description":"Service types","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SoulServiceTypesResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"description":"Get standard service type taxonomy","x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["stagingKey"]}}},"/v1/soul/templates":{"get":{"tags":["Soul Marketplace"],"operationId":"listSoulTemplates","summary":"Get service templates","security":[{"stagingKey":[]}],"responses":{"200":{"description":"Templates","content":{"application/json":{"schema":{"type":"object","properties":{"templates":{"type":"array","items":{"type":"object","additionalProperties":{}}}},"required":["templates"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"description":"Get service templates","x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["stagingKey"]}}},"/v1/soul/stats":{"get":{"tags":["Soul Marketplace"],"operationId":"getSoulStats","summary":"Marketplace statistics","security":[{"stagingKey":[]}],"responses":{"200":{"description":"Stats","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SoulStatsResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"description":"Marketplace statistics","x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["stagingKey"]}}},"/v1/soul/{wallet}":{"get":{"tags":["Soul Marketplace"],"operationId":"getSoulByWalletOrSlug","summary":"Get a soul profile by wallet address or slug","description":"The names `browse`, `search`, `service-types`, `templates`, `stats` and `register` are routes of their own, so they are never looked up as a slug.","security":[{"stagingKey":[]}],"parameters":[{"schema":{"type":"string","description":"Ethereum wallet address (0x…) or soul slug"},"required":true,"description":"Ethereum wallet address (0x…) or soul slug","name":"wallet","in":"path"}],"responses":{"200":{"description":"Soul profile","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SoulProfile"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not found"},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["stagingKey"]}}},"/v1/soul/{slug}/agent.json":{"get":{"tags":["Soul Marketplace"],"operationId":"getSoulAgentCard","summary":"Get a soul's A2A Agent Card","description":"Discovery only, in the platform card's (`/.well-known/agent.json`) structure and version. Skills are the soul's active services. `url` is this path, whose POST is the soul's A2A JSON-RPC endpoint. System, suspended and removed souls return 404.","security":[{"stagingKey":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"slug","in":"path"}],"responses":{"200":{"description":"Agent Card","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"version":{"type":"string"},"url":{"type":"string"},"iconUrl":{"type":"string"},"provider":{"type":"object","properties":{"organization":{"type":"string"},"url":{"type":"string"}},"required":["organization","url"]},"capabilities":{"type":"object","properties":{"streaming":{"type":"boolean"},"pushNotifications":{"type":"boolean"},"stateTransitionHistory":{"type":"boolean"}},"required":["streaming","pushNotifications","stateTransitionHistory"]},"defaultInputModes":{"type":"array","items":{"type":"string"}},"defaultOutputModes":{"type":"array","items":{"type":"string"}},"skills":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"tags":{"type":"array","items":{"type":"string"}}},"required":["id","name","description","tags"]}}},"required":["name","description","version","url","provider","capabilities","defaultInputModes","defaultOutputModes","skills"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["stagingKey"]}},"post":{"tags":["Soul Marketplace"],"operationId":"soulA2aRpc","summary":"Call a soul over A2A JSON-RPC","description":"The per-soul card's `url`. `SendMessage` (one `data` part as the service input, `metadata.skill` = a card skill id) runs `POST /v1/soul/{slug}/services/{skill}/execute`, with its authentication and quote-to-pay flow; `GetTask` reads `GET /v1/soul/jobs/{id}` (buyer or seller only). HTTP statuses and headers are preserved; failures carry the original response in `error.data`.","security":[{"x402Payment":[],"stagingKey":[]},{"agentId":[],"agentProof":[],"stagingKey":[]},{"accessToken":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"slug","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"jsonrpc":{"type":"string","enum":["2.0"]},"id":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"null"}]},"method":{"type":"string","enum":["SendMessage","GetTask"]},"params":{"type":"object","additionalProperties":{}}},"required":["jsonrpc","id","method","params"]}}}},"responses":{"200":{"description":"JSON-RPC result or error (GetTask, unsupported method)","content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"202":{"description":"SendMessage: soul job dispatched; `result` is the task","content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required: JSON-RPC error -32002 with the soul quote in `error.data`","content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey","agentId","agentProof","stagingKey","accessToken","stagingKey"],"protocols":[{"x402":{}}]}}},"/v1/soul/{slug}/purchase":{"post":{"tags":["Soul Marketplace"],"operationId":"purchaseSoulMd","summary":"Purchase a soul.md (one-time)","description":"Quote-to-Pay. Buys a copy of the soul's soul.md document.","security":[{"x402Payment":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"slug","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"quantity":{"type":"integer","exclusiveMinimum":0,"default":1}}}}}},"responses":{"200":{"description":"Purchased","content":{"application/json":{"schema":{"type":"object","properties":{"soul_md":{"type":"string"}},"required":["soul_md"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}]}}},"/v1/soul/{slug}/services/{serviceSlug}/execute":{"post":{"tags":["Soul Marketplace"],"operationId":"executeSoulService","summary":"Execute a soul service (hire the soul)","description":"Quote-to-Pay. Pays the soul's service price and executes the service. Returns an async job.","security":[{"x402Payment":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"slug","in":"path"},{"schema":{"type":"string"},"required":true,"name":"serviceSlug","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"input":{"type":"object","additionalProperties":{}}},"required":["input"]}}}},"responses":{"202":{"description":"Accepted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobAcceptedResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}]}}},"/v1/soul/jobs/{id}":{"get":{"tags":["Soul Marketplace"],"operationId":"getSoulJob","summary":"Get service job status (buyer view)","security":[{"x402Payment":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"Job","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SoulJob"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"description":"Get service job status (buyer view)","x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}]}}},"/v1/soul/jobs/{id}/rate":{"post":{"tags":["Soul Marketplace"],"operationId":"rateSoulJob","summary":"Rate a completed service execution","security":[{"x402Payment":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"rating":{"type":"integer","minimum":1,"maximum":5},"review":{"type":"string","maxLength":1000}},"required":["rating"]}}}},"responses":{"200":{"description":"Rated","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"}},"required":["success"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"description":"Rate a completed service execution","x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}]}}},"/v1/soul/jobs/{id}/files":{"get":{"tags":["Soul Marketplace"],"operationId":"listSoulJobFiles","summary":"List job output files","security":[{"x402Payment":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"Files","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SoulFileListResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"description":"List job output files","x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}]}}},"/v1/soul/jobs/{id}/files/{filepath}":{"get":{"tags":["Soul Marketplace"],"operationId":"downloadSoulJobFile","summary":"Download a job output file","security":[{"x402Payment":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string"},"required":true,"name":"filepath","in":"path"}],"responses":{"200":{"description":"File contents (binary stream)","content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not found"},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"description":"Download a job output file","x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}]}}},"/v1/soul/me/soul":{"put":{"tags":["Soul Marketplace"],"operationId":"updateMySoulMd","summary":"Update soul.md","security":[{"soulKey":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"soul_md":{"type":"string"}},"required":["soul_md"]}}}},"responses":{"200":{"description":"Updated (or unchanged: identical to the caller's own current soul.md — no writes)","content":{"application/json":{"schema":{"type":"object","properties":{"version":{"type":"integer"},"soul_hash":{"type":"string"},"unchanged":{"type":"boolean"}},"required":["version","soul_hash"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"duplicate_soul — this soul.md content is identical to another soul's; souls must be unique","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"description":"Update soul.md","x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["soulKey","stagingKey"]}},"delete":{"tags":["Soul Marketplace"],"operationId":"removeMySoul","summary":"Remove my soul from Soul Markets","description":"Pauses your soul and disables its services, so it is no longer listed, sold or hired. Records of past jobs, ratings and payouts are kept.","security":[{"soulKey":[],"stagingKey":[]}],"responses":{"200":{"description":"Removed","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"removed":{"type":"boolean"},"message":{"type":"string"}},"required":["success","removed","message"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"not_removable: a soul that is not a Soul Markets soul, or is suspended","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["soulKey","stagingKey"]}}},"/v1/soul/me/soul-price":{"put":{"tags":["Soul Marketplace"],"operationId":"updateMySoulPrice","summary":"Update soul.md price","security":[{"soulKey":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"soul_price":{"type":["number","null"],"minimum":0,"maximum":10000}},"required":["soul_price"]}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"type":"object","properties":{"price":{"type":"string"}},"required":["price"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"description":"Update soul.md price","x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["soulKey","stagingKey"]}}},"/v1/soul/me/services":{"get":{"tags":["Soul Marketplace"],"operationId":"listMyServices","summary":"List my services","security":[{"soulKey":[],"stagingKey":[]}],"responses":{"200":{"description":"Services","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SoulServiceListResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"description":"List my services","x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["soulKey","stagingKey"]}},"post":{"tags":["Soul Marketplace"],"operationId":"createMyService","summary":"Create a service","security":[{"soulKey":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":255},"slug":{"type":"string","minLength":3,"maxLength":100,"pattern":"^[a-z0-9-]+$"},"description":{"type":"string","maxLength":2000},"price_usd":{"type":"number","minimum":0.01,"maximum":1000},"input_schema":{"type":"object","properties":{}},"sandbox":{"type":"boolean"}},"required":["name","slug","price_usd"]}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"slug":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"price_usdc":{"type":"string"},"category":{"type":"string"},"enabled":{"type":"boolean"},"created_at":{"type":"string","format":"date-time"}},"required":["id","slug","title","price_usdc","enabled","created_at"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"description":"Create a service","x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["soulKey","stagingKey"]}}},"/v1/soul/me/services/{slug}":{"put":{"tags":["Soul Marketplace"],"operationId":"updateMyService","summary":"Update a service","security":[{"soulKey":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"slug","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":255},"description":{"type":"string","maxLength":2000},"price_usd":{"type":"number","minimum":0.01,"maximum":1000},"input_schema":{"type":"object","properties":{}},"sandbox":{"type":"boolean"},"active":{"type":"boolean"}}}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"slug":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"price_usdc":{"type":"string"},"category":{"type":"string"},"enabled":{"type":"boolean"},"created_at":{"type":"string","format":"date-time"}},"required":["id","slug","title","price_usdc","enabled","created_at"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"description":"Update a service","x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["soulKey","stagingKey"]}},"delete":{"tags":["Soul Marketplace"],"operationId":"deleteMyService","summary":"Disable a service","security":[{"soulKey":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"slug","in":"path"}],"responses":{"200":{"description":"Disabled","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"}},"required":["success"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"description":"Disable a service","x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["soulKey","stagingKey"]}}},"/v1/soul/me/jobs":{"get":{"tags":["Soul Marketplace"],"operationId":"listMySoulJobs","summary":"List jobs as seller","security":[{"soulKey":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string"},"required":false,"name":"status","in":"query"},{"schema":{"type":"integer","minimum":1,"maximum":100},"required":false,"name":"limit","in":"query"}],"responses":{"200":{"description":"Jobs","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SoulJobListResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"description":"List jobs as seller","x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["soulKey","stagingKey"]}}},"/v1/soul/me/jobs/{id}":{"get":{"tags":["Soul Marketplace"],"operationId":"getMySoulJob","summary":"Get job detail (seller view)","security":[{"soulKey":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"Job","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SoulJob"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"description":"Get job detail (seller view)","x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["soulKey","stagingKey"]}}},"/v1/soul/me/balance":{"get":{"tags":["Soul Marketplace"],"operationId":"getMySoulBalance","summary":"Get seller earnings balance","security":[{"soulKey":[],"stagingKey":[]}],"responses":{"200":{"description":"Balance","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SoulSellerBalanceResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"description":"Get seller earnings balance","x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["soulKey","stagingKey"]}}},"/v1/soul/me/payout":{"post":{"tags":["Soul Marketplace"],"operationId":"requestSoulPayout","summary":"Request a payout","security":[{"soulKey":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"amount":{"type":"number","minimum":10}}}}}},"responses":{"202":{"description":"Payout queued","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SoulPayoutResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"description":"Request a payout","x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["soulKey","stagingKey"]}}},"/v1/soul/me/link-wallet":{"put":{"tags":["Soul Marketplace"],"operationId":"linkSoulPayoutWallet","summary":"Link a wallet for payouts","security":[{"soulKey":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"wallet_address":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"}},"required":["wallet_address"]}}}},"responses":{"200":{"description":"Linked","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"}},"required":["success"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"description":"Link a wallet for payouts","x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["soulKey","stagingKey"]}}},"/v1/compute/documents":{"post":{"tags":["Compute"],"operationId":"uploadComputeDocument","summary":"Upload a private document for a Document Extraction goal","security":[{"agentId":[],"agentProof":[],"stagingKey":[]},{"accessToken":[],"stagingKey":[]}],"description":"Signed write proof or access token. PDF, PNG or JPEG; 10 MiB, 20 pages, 20 active uploads per owner. Access expires after 24 hours; expired bytes are deleted by daily cleanup. Returns an owner-bound document ID for params.document_extraction.documents.","requestBody":{"required":true,"content":{"application/pdf":{"schema":{"type":"string","format":"binary"}},"image/png":{"schema":{"type":"string","format":"binary"}},"image/jpeg":{"schema":{"type":"string","format":"binary"}}}},"responses":{"201":{"description":"Document stored","content":{"application/json":{"schema":{"type":"object","properties":{"document_id":{"type":"string","format":"uuid"},"mime":{"type":"string"},"pages":{"type":"integer"},"sha256":{"type":"string"},"expires_at":{"type":"string"}},"required":["document_id","mime","pages","sha256","expires_at"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Request body exceeds the 10 MiB limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"415":{"description":"Unsupported document type","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Invalid or encrypted document, or document page limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Document validation busy or upload unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","agentProof","stagingKey","accessToken","stagingKey"]}}},"/v1/compute/documents/{id}":{"delete":{"tags":["Compute"],"operationId":"deleteComputeDocument","summary":"Delete your uploaded document","security":[{"agentId":[],"agentProof":[],"stagingKey":[]},{"accessToken":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"id","in":"path"}],"responses":{"204":{"description":"Deleted, or not present for this owner"},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"description":"Delete your uploaded document","x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","agentProof","stagingKey","accessToken","stagingKey"]}}},"/v1/compute":{"post":{"tags":["Compute"],"operationId":"createComputeGoal","summary":"Create a compute goal","description":"Quote-to-Pay. Creates a multi-step orchestration goal that uses tools autonomously to reach an objective. `done_check` says what done means: a `count` over the goal's own tasks, events or emails, a `tool_result` predicate, or `owner`. The agent running the goal can propose that it is complete; only the check, evaluated in code, or the goal's owner can confirm it. A goal with no `done_check` waits in `awaiting_confirmation` for its owner (see /respond). An unknown kind or a malformed threshold is a 400 at quote time. At payment, missing supported systems hold the goal in `awaiting_connection` without a session or spend; `requires` names the systems and connect URLs. Connecting releases it. After 7 days held, the unused budget (the entire charge including quote fee for an unstarted goal) is refunded as credit. The quote says what the goal needs (`context.requires`, `context.feasibility`). Only a proof refuses, as a 400 with no quote and no charge: `system_unsupported` (the message names the system read), `deadline_in_past` or `infeasible_input` (a Solve-shaped param whose preflight finds `conflicts`).","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"objective":{"type":"string","minLength":10,"maxLength":10000},"params":{"type":"object","properties":{"document_extraction":{"type":"object","properties":{"documents":{"type":"array","items":{"type":"string","format":"uuid"},"minItems":1,"maxItems":10},"fields":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","pattern":"^[A-Za-z][A-Za-z0-9_]{0,63}$"},"description":{"type":"string","minLength":1,"maxLength":500},"type":{"type":"string","enum":["string","number","boolean"]}},"required":["name","description","type"],"additionalProperties":false},"minItems":1,"maxItems":50},"confidence_threshold":{"type":"number","minimum":0,"maximum":1,"default":0.8}},"required":["documents","fields"],"additionalProperties":false},"result_recipients":{"type":"array","items":{"type":"string","maxLength":254,"format":"email"},"minItems":1,"maxItems":20}},"additionalProperties":{}},"budget_usdc":{"type":"number","exclusiveMinimum":0},"deadline":{"type":"string","format":"date-time"},"soul_slug":{"type":"string","maxLength":100},"soul_service_slug":{"type":"string","maxLength":100},"schedule":{"type":"object","properties":{"cron":{"type":"string","maxLength":100},"budget_per_run":{"type":"number","exclusiveMinimum":0},"max_runs":{"type":"integer","exclusiveMinimum":0}},"required":["cron","budget_per_run"]},"approvals":{"type":"object","properties":{"spend_over_usdc":{"type":"number","minimum":0},"tools":{"type":"array","items":{"type":"string","minLength":1,"maxLength":64},"maxItems":50}},"additionalProperties":false},"done_check":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["count"]},"of":{"type":"string","enum":["tasks","events","emails"]},"tool":{"type":"string","minLength":1,"maxLength":64},"status":{"type":"string","minLength":1,"maxLength":32},"event_type":{"type":"string","enum":["email_reply","sms_reply","voice_completed","task_completed","task_failed"]},"at_least":{"type":"integer","minimum":1,"maximum":1000000}},"required":["kind","of","at_least"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["tool_result"]},"tool":{"type":"string","minLength":1,"maxLength":64},"path":{"type":"string","pattern":"^[A-Za-z0-9_]+(\\.[A-Za-z0-9_]+){0,7}$"},"equals":{"anyOf":[{"type":"string","maxLength":500},{"type":"number"},{"type":"boolean"}]},"at_least":{"type":"number"}},"required":["kind","tool"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["owner"]}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["cases"]},"finished_states":{"type":"array","items":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"minItems":1,"maxItems":20},"owner_required_for":{"type":"array","items":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"maxItems":20},"min_cases":{"type":"integer","minimum":1,"maximum":1000000}},"required":["kind","finished_states"],"additionalProperties":false}]},"scope":{"type":"object","properties":{"unit":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":200},"starts_on":{"type":"string","enum":["list","event","schedule","once"]}},"required":["name","starts_on"],"additionalProperties":false},"per_unit":{"type":"object","properties":{"uses":{"type":"array","items":{"type":"object","properties":{"tool":{"type":"string","minLength":1,"maxLength":64},"qty":{"type":"integer","minimum":1,"maximum":1000000},"max_attempts":{"type":"integer","minimum":1,"maximum":1000000},"target":{"type":"string","minLength":1,"maxLength":200},"persistence":{"type":"object","properties":{"max_attempts":{"type":"integer","minimum":1,"maximum":1000000},"spacing_seconds":{"type":"integer","minimum":0,"maximum":31536000},"escalate_to":{"type":"string","minLength":1,"maxLength":64},"then":{"type":"string","enum":["owner","give_up"]}},"required":["max_attempts","spacing_seconds","then"],"additionalProperties":false}},"required":["tool","qty","max_attempts"],"additionalProperties":false},"maxItems":50},"step_allowance":{"type":"integer","minimum":0,"maximum":100000},"done":{"type":"array","items":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"minItems":1}},"required":["uses","step_allowance","done"],"additionalProperties":false},"overhead":{"type":"object","properties":{"uses":{"type":"array","items":{"type":"object","properties":{"tool":{"type":"string","minLength":1,"maxLength":64},"qty":{"type":"integer","minimum":1,"maximum":1000000},"max_attempts":{"type":"integer","minimum":1,"maximum":1000000}},"required":["tool","qty","max_attempts"],"additionalProperties":false},"maxItems":50},"step_allowance":{"type":"integer","minimum":0,"maximum":100000}},"required":["uses","step_allowance"],"additionalProperties":false},"volume":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["list"]},"count":{"type":"integer","minimum":1,"maximum":1000000}},"required":["kind","count"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["open"]}},"required":["kind"],"additionalProperties":false}]},"unpriced":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":200},"reason":{"type":"string","enum":["connection","quoted_tool"]},"assumption":{"type":"string","minLength":1,"maxLength":500}},"required":["name","reason"],"additionalProperties":false},"maxItems":50}},"required":["unit","per_unit","overhead","volume","unpriced"],"additionalProperties":false},"egress_allowlist":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"maxItems":50}},"required":["objective"]}}}},"responses":{"202":{"description":"Accepted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobAcceptedResponse"}}}},"400":{"description":"Bad request, or a goal refused on a proof (`system_unsupported`, `deadline_in_past`, `infeasible_input`); nothing is quoted or charged","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/ComputeRefusedResponse"},{"$ref":"#/components/schemas/ErrorResponse"}]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required: the compute quote with what the goal needs for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/ComputeQuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"422":{"description":"The model call failed or its scope could not be priced. No quote or payment challenge is created.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","enum":["scope_unreadable"]},"missing_fields":{"type":"array","items":{"type":"string"}}},"required":["error","missing_fields"]}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}]}},"get":{"tags":["Compute"],"operationId":"listComputeGoals","summary":"List your compute goals","description":"The caller's own goals, newest first. Pass `next_cursor` back as `cursor` for the next page; it is null on the last page. A signed read proof or an access token is required (the unsigned legacy-read flag does not apply). An invalid `limit` or `cursor` is a 400. A2A `ListTasks` is served by this route.","security":[{"agentId":[],"agentProof":[],"stagingKey":[]},{"accessToken":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string","description":"Goals per page, 1 to 100 (default 20)"},"required":false,"name":"limit","in":"query"},{"schema":{"type":"string","description":"The previous page's `next_cursor`"},"required":false,"name":"cursor","in":"query"}],"responses":{"200":{"description":"Goals","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"goals":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"status":{"type":"string"},"name":{"type":"string"},"created_at":{"type":"string"},"completed_at":{"type":["string","null"]}},"required":["id","status","name","created_at","completed_at"]}},"next_cursor":{"type":["string","null"]},"limit":{"type":"integer"}},"required":["goals","next_cursor","limit"]}},"required":["success","data"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","agentProof","stagingKey","accessToken","stagingKey"]}}},"/v1/compute/{goalId}":{"get":{"tags":["Compute"],"operationId":"getComputeGoal","summary":"Get goal status","description":"Optional `claims` distinguish observed from inferred statements. Each claim has text, kind, sources resolved to { tool, input_summary, as_of, retrieved_at, call_id }, and optional zero-based basis indices of earlier claims. Input summaries are redacted and limited to 500 characters; as_of is null when unreported. Includes `result`, the goal's answer in the planner's words once it has finished (what its tasks produced is at `/outputs`), `done_check`, the latest `check_result`, and `end_reason` once the goal has ended: `check_passed`, `owner_confirmed`, `check_failed`, `budget_exhausted`, `deadline_passed`, `planner_failed`, `impossible` (the agent proved it cannot be done and code verified the proof) or `impossible_unverified` (it claimed so with no proof code could check; the owner may dispute it through /respond). A goal that runs out of budget waits in `awaiting_budget` for funding. Its `budget_hold` reports completed and remaining units and a code-priced cost to finish (or price per unit for open goals). After 7 days unanswered it ends `failed/budget_exhausted` and the remainder is credited.","security":[{"agentId":[],"agentProof":[],"stagingKey":[]},{"accessToken":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"goalId","in":"path"}],"responses":{"200":{"description":"Goal","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComputeGoalResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","agentProof","stagingKey","accessToken","stagingKey"]}}},"/v1/compute/{goalId}/tasks":{"get":{"tags":["Compute"],"operationId":"listComputeTasks","summary":"List tasks under a goal","security":[{"agentId":[],"agentProof":[],"stagingKey":[]},{"accessToken":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"goalId","in":"path"},{"schema":{"type":"string"},"required":false,"name":"status","in":"query"},{"schema":{"type":"integer","minimum":1,"maximum":200},"required":false,"name":"limit","in":"query"}],"responses":{"200":{"description":"Tasks","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComputeTaskListResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"description":"List tasks under a goal","x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","agentProof","stagingKey","accessToken","stagingKey"]}}},"/v1/compute/{goalId}/cases":{"get":{"tags":["Compute"],"operationId":"listComputeCases","summary":"List the cases of a goal","description":"A case is a sub-agent with a key that is unique in its goal, a budget, a step limit and a record (`state`, `owner`, `next_action`, `due_date`, `evidence`). Paged and filterable by `state` (comma separated), so the measures in a case study (share merged, age of the open cases) are a query. `counts` is the goal's cases by state whatever the filter.","security":[{"agentId":[],"agentProof":[],"stagingKey":[]},{"accessToken":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"goalId","in":"path"},{"schema":{"type":"string"},"required":false,"name":"state","in":"query"},{"schema":{"type":"integer","minimum":1,"maximum":200},"required":false,"name":"limit","in":"query"},{"schema":{"type":["integer","null"],"minimum":0},"required":false,"name":"offset","in":"query"}],"responses":{"200":{"description":"Cases","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComputeCaseListResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","agentProof","stagingKey","accessToken","stagingKey"]}}},"/v1/compute/{goalId}/events":{"post":{"tags":["Compute"],"operationId":"sendComputeEvent","summary":"Send an event to a case","description":"The owner's systems send what happened. With `case_key` it opens that case or wakes it (one key is one case; a finished case is reopened); without, it goes to the goal's root. The same `event_id` sent twice is one event. Needs a signed write proof or an access token; for a goal on an account enabled for cases.","security":[{"agentId":[],"agentProof":[],"stagingKey":[]},{"accessToken":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"goalId","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":200},"case_key":{"type":"string","minLength":1,"maxLength":200},"task":{"type":"string","minLength":1,"maxLength":20000},"budget_usdc":{"type":"number","minimum":0},"step_limit":{"type":"integer","minimum":1}},"required":["event_id","task"]}}}},"responses":{"202":{"description":"Accepted","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"target":{"type":"string","enum":["case","root"]},"case_key":{"type":["string","null"]},"outcome":{"type":"string"}},"required":["target","case_key","outcome"]}},"required":["success","data"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","agentProof","stagingKey","accessToken","stagingKey"]}}},"/v1/compute/{goalId}/cases/{key}":{"get":{"tags":["Compute"],"operationId":"getComputeCase","summary":"Read one case by its key","description":"The case's record, what named people decided (`decisions`: who, when, how, from which message), the questions it asked (`asks`) and its result deliveries (`deliveries`, with attempts and the last error).","security":[{"agentId":[],"agentProof":[],"stagingKey":[]},{"accessToken":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"goalId","in":"path"},{"schema":{"type":"string"},"required":true,"name":"key","in":"path"}],"responses":{"200":{"description":"Case","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","additionalProperties":{}}},"required":["success","data"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","agentProof","stagingKey","accessToken","stagingKey"]}}},"/v1/compute/{goalId}/result-webhook":{"get":{"tags":["Compute"],"operationId":"getComputeResultWebhook","summary":"Where results are sent and the secret that signs them","description":"The goal's `params.result_webhook_url` and the secret to verify `X-OneShot-Signature` with (`t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<body>\">`).","security":[{"agentId":[],"agentProof":[],"stagingKey":[]},{"accessToken":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"goalId","in":"path"}],"responses":{"200":{"description":"Result webhook","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","properties":{"url":{"type":["string","null"]},"secret":{"type":["string","null"]},"signature_header":{"type":"string"}},"required":["url","secret","signature_header"]}},"required":["success","data"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","agentProof","stagingKey","accessToken","stagingKey"]}}},"/v1/compute/{goalId}/outputs":{"get":{"tags":["Compute"],"operationId":"listComputeOutputs","summary":"List what a goal produced","description":"The files the goal's sandbox tasks left and the tool results too large for a task row. Each has a `key`; read one at `/v1/compute/{goalId}/outputs/{key}`. The goal's short answer is `result` on `GET /v1/compute/{goalId}`.","security":[{"agentId":[],"agentProof":[],"stagingKey":[]},{"accessToken":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"goalId","in":"path"}],"responses":{"200":{"description":"Outputs","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComputeOutputListResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","agentProof","stagingKey","accessToken","stagingKey"]}}},"/v1/compute/{goalId}/outputs/{key}":{"get":{"tags":["Compute"],"operationId":"readComputeOutput","summary":"Read one output of a goal","description":"`key` is the full key from the list and may contain slashes, for example `artifacts/<task_id>/result.txt`. `content` is null when the output was too large to keep (`readable: false`); `truncated` is true when it was cut to 200,000 characters.","security":[{"agentId":[],"agentProof":[],"stagingKey":[]},{"accessToken":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"goalId","in":"path"},{"schema":{"type":"string"},"required":true,"name":"key","in":"path"}],"responses":{"200":{"description":"Output","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComputeOutputReadResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","agentProof","stagingKey","accessToken","stagingKey"]}}},"/v1/compute/{goalId}/budget":{"get":{"tags":["Compute"],"operationId":"getComputeBudget","summary":"Get budget status","security":[{"agentId":[],"agentProof":[],"stagingKey":[]},{"accessToken":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"goalId","in":"path"}],"responses":{"200":{"description":"Budget","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComputeBudgetResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"description":"Get budget status","x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","agentProof","stagingKey","accessToken","stagingKey"]}}},"/v1/compute/{goalId}/cancel":{"post":{"tags":["Compute"],"operationId":"cancelComputeGoal","summary":"Cancel a goal","security":[{"agentId":[],"agentProof":[],"stagingKey":[]},{"accessToken":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"goalId","in":"path"}],"responses":{"200":{"description":"Cancelled","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"}},"required":["success"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"description":"Cancel a goal","x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","agentProof","stagingKey","accessToken","stagingKey"]}}},"/v1/compute/{goalId}/pause":{"post":{"tags":["Compute"],"operationId":"pauseComputeGoal","summary":"Pause a recurring goal","security":[{"agentId":[],"agentProof":[],"stagingKey":[]},{"accessToken":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"goalId","in":"path"}],"responses":{"200":{"description":"Paused","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"}},"required":["success"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"description":"Pause a recurring goal","x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","agentProof","stagingKey","accessToken","stagingKey"]}}},"/v1/compute/{goalId}/resume":{"post":{"tags":["Compute"],"operationId":"resumeComputeGoal","summary":"Resume a paused goal","security":[{"agentId":[],"agentProof":[],"stagingKey":[]},{"accessToken":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"goalId","in":"path"}],"responses":{"200":{"description":"Resumed","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"}},"required":["success"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"description":"Resume a paused goal","x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","agentProof","stagingKey","accessToken","stagingKey"]}}},"/v1/compute/{goalId}/fund":{"post":{"tags":["Compute"],"operationId":"fundComputeGoal","summary":"Top up a goal's budget","description":"Quote-to-Pay. Resumes an `awaiting_budget` goal with its saved work, remaining balance and reservations intact. Also funds an active or paused recurring goal, or any goal (one-off or recurring) that ended `failed` with `end_reason: budget_exhausted`. Funding the latter credits its budget, sets it back to `active` (`end_reason: null`) and wakes its runner; it keeps its id, tasks, workspace, outputs, done-check and deadline, and the receipt written when it ends again covers only what it spent since. Goals that ended any other way (`check_failed`, `deadline_passed`, `planner_failed`, `impossible`, `impossible_unverified`, `check_passed`, `owner_confirmed`, cancelled) stay final (400 `invalid_state`), as does a goal whose deadline has passed (400 `deadline_passed`). 409 `refund_pending` (retryable, `Retry-After`) while the first ending's refund is still waiting on in-flight tool calls.","security":[{"x402Payment":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"goalId","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"amount_usdc":{"type":"number","exclusiveMinimum":0}},"required":["amount_usdc"]}}}},"responses":{"200":{"description":"Funded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComputeBudgetResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}]}}},"/v1/compute/{goalId}/respond":{"post":{"tags":["Compute"],"operationId":"respondToComputeGoal","summary":"Answer a goal: a human-approval task, or whether it is done","description":"Requires a signed write proof or an access token. With `start_anyway: true` and no `task_id` or `confirm_done`: release an `awaiting_connection` goal even if its system is not connected; 409 `not_awaiting_connection` otherwise. With `continue_without_tool: true` and no `task_id` or `confirm_done`: release an `awaiting_tool` goal (held for a requested tool, #3173) without the tool, `response` being the message it resumes with; 409 `not_awaiting_tool` otherwise. With `task_id`: answer a `human_approval` task (`approved`, `response`). With `confirm_done` and no `task_id`: the owner's answer for a goal in `awaiting_confirmation`. `true` completes it (`end_reason: owner_confirmed`). `false` sends it back to the agent with `response` as the reason. 409 `not_awaiting_confirmation` otherwise. 409 `parts_not_passed` when the goal has declared parts and one has not passed its own done check: the goal stays awaiting confirmation and the message names the part. Only the owner can confirm; the agent that ran the goal cannot. With `dispute: true` and no `task_id` or `confirm_done`: dispute a goal that ended `impossible_unverified`, with `response` as the reason; the dispute is recorded on the goal and its receipt and refunds nothing. 409 `not_disputable` for any other goal. 503 `receipt_signing_unavailable` (retryable) when its signed receipt cannot be signed again; nothing is recorded.","security":[{"agentId":[],"agentProof":[],"stagingKey":[]},{"accessToken":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"goalId","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"task_id":{"type":"string"},"approved":{"type":"boolean"},"response":{"type":"string","minLength":1},"confirm_done":{"type":"boolean"},"start_anyway":{"type":"boolean","enum":[true]},"continue_without_tool":{"type":"boolean","enum":[true]},"dispute":{"type":"boolean","enum":[true]}}}}}},"responses":{"200":{"description":"Response accepted","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"}},"required":["success"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","agentProof","stagingKey","accessToken","stagingKey"]}}},"/v1/analytics/spend/breakdown":{"get":{"tags":["Analytics"],"operationId":"getSpendBreakdown","summary":"Spend breakdown by tool category","security":[{"agentId":[],"agentProof":[],"stagingKey":[]},{"accessToken":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"integer","minimum":1,"maximum":365},"required":false,"name":"period","in":"query"},{"schema":{"type":["boolean","null"]},"required":false,"name":"subcategories","in":"query"}],"responses":{"200":{"description":"Breakdown","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnalyticsBreakdownResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"description":"Spend breakdown by tool category","x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","agentProof","stagingKey","accessToken","stagingKey"]}}},"/v1/analytics/rocs":{"get":{"tags":["Analytics"],"operationId":"getRocs","summary":"Return-on-compute-spend","security":[{"agentId":[],"agentProof":[],"stagingKey":[]},{"accessToken":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"integer","minimum":1,"maximum":365},"required":false,"name":"period","in":"query"}],"responses":{"200":{"description":"ROCS","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RocsResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"description":"Return-on-compute-spend","x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","agentProof","stagingKey","accessToken","stagingKey"]}}},"/v1/analytics/receipts":{"get":{"tags":["Analytics"],"operationId":"listReceipts","summary":"List receipts","security":[{"agentId":[],"agentProof":[],"stagingKey":[]},{"accessToken":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"integer","minimum":1,"maximum":365},"required":false,"name":"period","in":"query"},{"schema":{"type":"string","enum":["data","verification","communication","commerce","infrastructure","agent_to_agent"],"description":"Filter by receipt category. Must be one of the listed values."},"required":false,"name":"category","in":"query"},{"schema":{"type":"integer","minimum":1,"maximum":100,"description":"Results per page. Hard ceiling of 100 (default 50); higher values are clamped."},"required":false,"name":"limit","in":"query"},{"schema":{"type":["integer","null"],"minimum":0},"required":false,"name":"offset","in":"query"},{"schema":{"type":"string","format":"date-time","description":"Lower bound on created_at, inclusive (ISO 8601). Page through a fixed window with `until` to reach receipts older than the 100-row cap."},"required":false,"name":"since","in":"query"},{"schema":{"type":"string","format":"date-time","description":"Upper bound on created_at, inclusive (ISO 8601)."},"required":false,"name":"until","in":"query"}],"responses":{"200":{"description":"Receipts","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReceiptListResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"description":"List receipts","x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","agentProof","stagingKey","accessToken","stagingKey"]}}},"/v1/analytics/receipts/{receiptId}/value":{"patch":{"tags":["Analytics"],"operationId":"tagReceiptValue","summary":"Tag a receipt with business value","security":[{"agentId":[],"agentProof":[],"stagingKey":[]},{"accessToken":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string","description":"Either a rcpt_… receipt id or the request_id/job_id (UUID) returned from the originating tool call."},"required":true,"description":"Either a rcpt_… receipt id or the request_id/job_id (UUID) returned from the originating tool call.","name":"receiptId","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","enum":["revenue","lead","conversion","savings","engagement"]},"amount":{"type":"number","exclusiveMinimum":0,"maximum":1000000},"label":{"type":"string","maxLength":200}},"required":["type","amount"]}}}},"responses":{"200":{"description":"Tagged","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"}},"required":["success"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"description":"Tag a receipt with business value","x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","agentProof","stagingKey","accessToken","stagingKey"]}}},"/v1/analytics/outcomes":{"post":{"tags":["Analytics"],"operationId":"tagOutcomeValue","summary":"Record an outcome value by correlation key (goalId)","description":"Attribute a GTM outcome (reply, booked meeting, closed deal) to a whole cadence in one call, instead of one tagReceiptValue per receipt. Recording the same `goal_id` and type again updates that outcome instead of adding another. An outcome is stored as `pending` until it is confirmed.","security":[{"agentId":[],"agentProof":[],"stagingKey":[]},{"accessToken":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"goal_id":{"type":"string","minLength":1,"maxLength":255},"type":{"type":"string","enum":["revenue","lead","conversion","savings","engagement"]},"amount":{"type":"number","exclusiveMinimum":0,"maximum":1000000},"label":{"type":"string","maxLength":200}},"required":["goal_id","type","amount"]}}}},"responses":{"200":{"description":"Recorded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OutcomeTagResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","agentProof","stagingKey","accessToken","stagingKey"]}}},"/v1/analytics/rocs/by-goal":{"get":{"tags":["Analytics"],"operationId":"getRocsByGoal","summary":"Per-cadence RoCS rollup (spend vs. value grouped by goalId)","security":[{"agentId":[],"agentProof":[],"stagingKey":[]},{"accessToken":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"integer","minimum":1,"maximum":365},"required":false,"name":"period","in":"query"},{"schema":{"type":"string","description":"Restrict the rollup to a single cadence correlation key."},"required":false,"name":"goal_id","in":"query"}],"responses":{"200":{"description":"RoCS by goal","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoCSByGoalResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"description":"Per-cadence RoCS rollup (spend vs. value grouped by goalId)","x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","agentProof","stagingKey","accessToken","stagingKey"]}}},"/v1/audit/receipts":{"get":{"tags":["Audit"],"operationId":"exportAuditReceipts","summary":"Export receipts for audit and compliance","description":"Returns the authenticated agent's append-only receipt log in oldest-first order. To get the next page, pass `next_cursor` as `cursor` on the next request.","security":[{"agentId":[],"agentProof":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string","description":"Opaque cursor returned as `next_cursor` by the previous page."},"required":false,"name":"cursor","in":"query"},{"schema":{"type":"integer","minimum":1,"maximum":500,"default":100,"description":"Maximum receipts to return (default 100, maximum 500)."},"required":false,"name":"limit","in":"query"}],"responses":{"200":{"description":"Receipt export page","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuditReceiptExportResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"No agent is registered for the wallet address","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","agentProof","stagingKey"]}}},"/v1/requests/{id}":{"get":{"tags":["Jobs"],"operationId":"getJobStatus","summary":"Get async job status and result","description":"Poll the result of any async tool call. Returns the final result when `status` is `completed`.","security":[{"agentId":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string","description":"request_id from the original tool call"},"required":true,"description":"request_id from the original tool call","name":"id","in":"path"}],"responses":{"200":{"description":"Job status","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobStatusResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not found"},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","stagingKey"]}}},"/v1/submissions/recover":{"get":{"tags":["Jobs"],"operationId":"recoverSubmission","summary":"Recover a paid submission without creating another charge","description":"Looks up durable submissions and generic idempotency records by endpoint and key, scoped to the authenticated wallet. Requires a fresh signed wallet proof with scope `read` or an access-token session. Completed 2xx records return the cached envelope with live job status when a request_id exists; inline results retain their original shape. Pending records return 409 request_in_flight. Generic completed records expire after 24 hours; expired, missing and non-2xx records return 404. Durable submissions retain their existing retention. For commerce/buy and browser, key may also be quote:<X-Quote-ID> when no client key was sent; an existing client-key record takes precedence. A 404 does not prove the request was rejected: a request still in progress can be accepted afterwards.","security":[{"agentId":[],"agentProof":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string","enum":["lookup/person-profile","lookup/person-email","lookup/person-email-status","lookup/place-permits","lookup/company-private-raises","physical-mail/send","solve","predict","sms","sms/send","voice","voice/call","email","email/send","linkedin","linkedin/reply","linkedin/message","linkedin/profile-view","linkedin/react","linkedin/invite","linkedin/invite/withdraw","crm/notes","commerce/buy","browser"]},"required":true,"name":"endpoint","in":"query"},{"schema":{"type":"string","minLength":1,"maxLength":255},"required":true,"name":"key","in":"query"}],"responses":{"200":{"description":"Original envelope with live job status when available","content":{"application/json":{"schema":{"type":"object","properties":{"request_id":{"type":"string"},"receipt_id":{"type":"string"},"status":{"type":"string"},"settlement_status":{"type":"string"},"idempotency_key":{"type":"string"}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"No matching submission","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"request_in_flight: the idempotency claim is still pending","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Recovery temporarily unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","agentProof","stagingKey"]}}},"/v1/status":{"get":{"tags":["Meta"],"operationId":"getServiceStatus","summary":"Service status, in more detail than /health","security":[],"responses":{"200":{"description":"Healthy","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","enum":["healthy"]},"observed_at":{"type":"string"},"dependencies":{"type":"object","additionalProperties":{}}},"required":["status","observed_at","dependencies"]}}}},"503":{"description":"Degraded; paid calls may still be available","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","enum":["degraded"]},"observed_at":{"type":"string"},"dependencies":{"type":"object","additionalProperties":{}}},"required":["status","observed_at","dependencies"]}}}}},"description":"Service status, in more detail than /health","x-payment-info":{"authMode":"none","paymentRequired":false,"securitySchemes":[]}}},"/.well-known/acp/manifest.json":{"get":{"tags":["Stripe ACP"],"operationId":"getAcpManifest","summary":"ACP discovery manifest","description":"Stripe Agent Commerce Protocol — describes the seller and products.","security":[{"stagingKey":[]}],"responses":{"200":{"description":"Manifest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AcpManifestResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["stagingKey"]}}},"/acp/checkout_sessions":{"post":{"tags":["Stripe ACP"],"operationId":"createAcpCheckoutSession","summary":"Create a checkout session","security":[{"acpBearer":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string","enum":["2026-01-30"],"description":"Required ACP protocol version"},"required":true,"description":"Required ACP protocol version","name":"API-Version","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"line_items":{"type":"array","items":{"type":"object","properties":{"product_id":{"type":"string"},"quantity":{"type":"integer","exclusiveMinimum":0},"unit_price_usdc":{"type":"string"}},"required":["product_id","quantity"]}},"buyer":{"type":"object","properties":{"agent_id":{"type":"string"},"wallet":{"type":"string"},"email":{"type":"string","format":"email"}}},"metadata":{"type":"object","additionalProperties":{"type":"string"}}},"required":["line_items"]}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AcpCheckoutSessionResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"description":"Create a checkout session","x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["acpBearer","stagingKey"]}}},"/acp/checkout_sessions/{id}":{"get":{"tags":["Stripe ACP"],"operationId":"getAcpCheckoutSession","summary":"Retrieve a checkout session","security":[{"acpBearer":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","enum":["2026-01-30"],"description":"Required ACP protocol version"},"required":true,"description":"Required ACP protocol version","name":"API-Version","in":"header"}],"responses":{"200":{"description":"Session","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AcpCheckoutSessionResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not found"},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"description":"Retrieve a checkout session","x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["acpBearer","stagingKey"]}},"post":{"tags":["Stripe ACP"],"operationId":"updateAcpCheckoutSession","summary":"Update a checkout session","security":[{"acpBearer":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"line_items":{"type":"array","items":{"type":"object","properties":{"product_id":{"type":"string"},"quantity":{"type":"integer","exclusiveMinimum":0},"unit_price_usdc":{"type":"string"}},"required":["product_id","quantity"]}},"buyer":{"type":"object","properties":{"agent_id":{"type":"string"},"wallet":{"type":"string"},"email":{"type":"string","format":"email"}}},"metadata":{"type":"object","additionalProperties":{"type":"string"}}},"required":["line_items"]}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AcpCheckoutSessionResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"description":"Update a checkout session","x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["acpBearer","stagingKey"]}}},"/acp/checkout_sessions/{id}/complete":{"post":{"tags":["Stripe ACP"],"operationId":"completeAcpCheckoutSession","summary":"Complete and pay for a session","security":[{"acpBearer":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"payment_token":{"type":"string"}},"required":["payment_token"]}}}},"responses":{"200":{"description":"Completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AcpCheckoutSessionResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"description":"Complete and pay for a session","x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["acpBearer","stagingKey"]}}},"/acp/checkout_sessions/{id}/cancel":{"post":{"tags":["Stripe ACP"],"operationId":"cancelAcpCheckoutSession","summary":"Cancel a checkout session","security":[{"acpBearer":[],"stagingKey":[]}],"parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","enum":["2026-01-30"],"description":"Required ACP protocol version"},"required":true,"description":"Required ACP protocol version","name":"API-Version","in":"header"}],"responses":{"200":{"description":"Cancelled","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AcpCheckoutSessionResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"description":"Cancel a checkout session","x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["acpBearer","stagingKey"]}}},"/health":{"get":{"tags":["Meta"],"operationId":"getHealth","summary":"Service health check","security":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"description":"Service health check","x-payment-info":{"authMode":"none","paymentRequired":false,"securitySchemes":[]}}},"/v1/stats":{"get":{"tags":["Meta"],"operationId":"getStats","summary":"Public service statistics","security":[{"stagingKey":[]}],"responses":{"200":{"description":"Stats","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatsResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"description":"Public service statistics","x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["stagingKey"]}}},"/v1/staging/applications":{"post":{"operationId":"applyForStaging","tags":["Staging"],"summary":"Apply for staging tester access","description":"Wallet proof scope is staging:{METHOD}:{path relative to /v1/staging}:{sha256 of the JSON body, or {} for GET, lowercase hex without 0x}. Nonces are single-use. SDK methods sign this automatically.","security":[{"agentId":[],"agentProof":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"contact":{"type":"string","minLength":3,"maxLength":254},"purpose":{"type":"string","minLength":10,"maxLength":2000}},"required":["contact","purpose"]}}}},"responses":{"202":{"description":"Application received (applying again returns the existing application)","content":{"application/json":{"schema":{"type":"object","properties":{"wallet":{"type":"string"},"status":{"type":"string"},"created_at":{"type":"string"}},"required":["wallet","status","created_at"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","agentProof"]}}},"/v1/staging/applications/me":{"get":{"operationId":"getStagingApplication","tags":["Staging"],"summary":"Check your staging application","description":"Wallet proof scope is staging:{METHOD}:{path relative to /v1/staging}:{sha256 of the JSON body, or {} for GET, lowercase hex without 0x}. Nonces are single-use. SDK methods sign this automatically.","security":[{"agentId":[],"agentProof":[]}],"responses":{"200":{"description":"Approval status and tester policy","content":{"application/json":{"schema":{"type":"object","properties":{"wallet":{"type":"string"},"status":{"type":"string"},"tester_id":{"type":["string","null"]},"daily_micros":{"type":["number","null"]},"tools":{"type":["array","null"],"items":{"type":"string"}},"expires_at":{"type":["string","null"]},"active":{"type":["boolean","null"]}},"required":["wallet","status","tester_id","daily_micros","tools","expires_at","active"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","agentProof"]}}},"/v1/staging/credential":{"post":{"operationId":"obtainStagingKey","tags":["Staging"],"summary":"Get or rotate your staging key","description":"Wallet proof scope is staging:{METHOD}:{path relative to /v1/staging}:{sha256 of the JSON body, or {} for GET, lowercase hex without 0x}. Nonces are single-use. SDK methods sign this automatically. You must be an approved, active tester. Rotating the key invalidates the previous one, including queued work authorized with it.","security":[{"agentId":[],"agentProof":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"responses":{"201":{"description":"Plaintext credential, returned only on issuance","content":{"application/json":{"schema":{"type":"object","properties":{"staging_key":{"type":"string"}},"required":["staging_key"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-payment-info":{"authMode":"apiKey","paymentRequired":false,"securitySchemes":["agentId","agentProof"]}}},"/v1/tools/tax/rates":{"post":{"tags":["Connections"],"operationId":"taxRates","summary":"The sales tax rate at a location, from a connected tax system","description":"Read-only; answered inline from the connected system. Refused before payment, and not charged: 400 invalid_request (the body), 400 connection_wrong_system (not a tax system), 404 connection_not_found (also for another agent's connection), 409 connection_expired, connection_revoked or connection_not_active, 503 not_configured (the system is not available right now). A read that fails after payment is returned as account credit.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"connection_id":{"type":"string","format":"uuid","description":"The connection to read. An agent can have several connections to the same system: list your connections first (`GET /v1/connections`) and pick by `system` and `account_label`."},"country":{"type":"string","pattern":"^[A-Z]{2}$","default":"US","description":"Two-letter country code; US when omitted."},"zip":{"type":"string","minLength":1,"maxLength":16,"description":"Postal code of the location."},"state":{"type":"string","minLength":1,"maxLength":32,"description":"State or province code, for a more precise rate."},"city":{"type":"string","minLength":1,"maxLength":80,"description":"City, for a more precise rate."},"street":{"type":"string","minLength":1,"maxLength":120,"description":"Street address, for a rooftop-precise rate where the system offers one."}},"required":["connection_id","zip"],"additionalProperties":false}}}},"responses":{"200":{"description":"The rate at the location","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaxRatesResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}}}},"/v1/tools/tax/calculate":{"post":{"tags":["Connections"],"operationId":"taxCalculate","summary":"The sales tax on an order, from a connected tax system; records nothing at the system","description":"Read-only: a quote, no transaction is created at the system. Refused before payment, and not charged: 400 invalid_request (the body), 400 connection_wrong_system (not a tax system), 404 connection_not_found (also for another agent's connection), 409 connection_expired, connection_revoked or connection_not_active, 503 not_configured (the system is not available right now). A read that fails after payment is returned as account credit.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"connection_id":{"type":"string","format":"uuid","description":"The connection to read. An agent can have several connections to the same system: list your connections first (`GET /v1/connections`) and pick by `system` and `account_label`."},"from":{"type":"object","properties":{"country":{"type":"string","pattern":"^[A-Z]{2}$","description":"Two-letter country code."},"zip":{"type":"string","minLength":1,"maxLength":16,"description":"Postal code."},"state":{"type":"string","minLength":1,"maxLength":32,"description":"State or province code. Required for US and CA."},"city":{"type":"string","minLength":1,"maxLength":80},"street":{"type":"string","minLength":1,"maxLength":120}},"required":["country","zip"],"additionalProperties":false,"description":"Where the order ships from."},"to":{"type":"object","properties":{"country":{"type":"string","pattern":"^[A-Z]{2}$","description":"Two-letter country code."},"zip":{"type":"string","minLength":1,"maxLength":16,"description":"Postal code."},"state":{"type":"string","minLength":1,"maxLength":32,"description":"State or province code. Required for US and CA."},"city":{"type":"string","minLength":1,"maxLength":80},"street":{"type":"string","minLength":1,"maxLength":120}},"required":["country","zip"],"additionalProperties":false,"description":"Where the order ships to."},"line_items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":64,"description":"Your reference for the line; returned in the breakdown."},"quantity":{"type":"integer","minimum":1,"maximum":100000,"default":1},"unit_price":{"type":"number","minimum":0,"maximum":1000000000,"description":"Price of one unit, before tax."},"discount":{"type":"number","minimum":0,"maximum":1000000000,"description":"Discount on the whole line, before tax."},"product_tax_code":{"type":"string","minLength":1,"maxLength":32,"description":"The system's product tax category code, when the goods are not taxed at the general rate."}},"required":["unit_price"],"additionalProperties":false},"minItems":1,"maxItems":100,"description":"The goods on the order."},"shipping":{"type":"number","minimum":0,"maximum":1000000000,"default":0,"description":"Shipping charged on the order, before tax."}},"required":["connection_id","from","to","line_items"],"additionalProperties":false}}}},"responses":{"200":{"description":"The tax on the order","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaxCalculateResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}}}},"/v1/tools/shipping/shipments":{"post":{"tags":["Connections"],"operationId":"shippingShipments","summary":"Shipments and their labels, from a connected shipping system","description":"Read-only; answered inline from the connected system. Refused before payment, and not charged: 400 invalid_request (the body), 400 unsupported_for_system (an input the system cannot serve), 400 connection_wrong_system (not a shipping system), 404 connection_not_found (also for another agent's connection), 409 connection_expired, connection_revoked or connection_not_active, 503 not_configured (the system is not available right now). A read that fails after payment is returned as account credit.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"connection_id":{"type":"string","format":"uuid","description":"The connection to read. An agent can have several connections to the same system: list your connections first (`GET /v1/connections`) and pick by `system` and `account_label`."},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25,"description":"Shipments per page, 1 to 100."},"cursor":{"type":"string","minLength":1,"maxLength":64,"description":"The next_cursor of the previous page."},"from":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Shipments created on or after this day (YYYY-MM-DD)."},"to":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Shipments created on or before this day (YYYY-MM-DD)."},"status":{"type":"string","pattern":"^[a-z_]{1,32}$","description":"Only shipments in this status, as the system names it (for example label_purchased)."}},"required":["connection_id"],"additionalProperties":false}}}},"responses":{"200":{"description":"One page of shipments","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShippingShipmentsResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}}}},"/v1/tools/shipping/tracking":{"post":{"tags":["Connections"],"operationId":"shippingTracking","summary":"Status and events of one shipment, from a connected shipping system","description":"Read-only; answered inline from the connected system. Refused before payment, and not charged: 400 invalid_request (the body), 400 unsupported_for_system (an input the system cannot serve), 400 connection_wrong_system (not a shipping system), 404 connection_not_found (also for another agent's connection), 409 connection_expired, connection_revoked or connection_not_active, 503 not_configured (the system is not available right now). A read that fails after payment is returned as account credit.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"connection_id":{"type":"string","format":"uuid","description":"The connection to read. An agent can have several connections to the same system: list your connections first (`GET /v1/connections`) and pick by `system` and `account_label`."},"shipment_id":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[A-Za-z0-9._-]+$","description":"The shipment to track, by the system's shipment id."},"carrier":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[A-Za-z0-9._-]+$","description":"The carrier code, with tracking_number, to track a package without a shipment id."},"tracking_number":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[A-Za-z0-9._-]+$","description":"The tracking number, with carrier."}},"required":["connection_id"],"additionalProperties":false}}}},"responses":{"200":{"description":"The shipment's status and events","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShippingTrackingResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}}}},"/v1/tools/shipping/rates":{"post":{"tags":["Connections"],"operationId":"shippingRates","summary":"The rates already quoted on an existing shipment, from a connected shipping system; quotes nothing new","description":"Read-only: reads the rates of an existing shipment; no shipment, quote or label is created. Refused before payment, and not charged: 400 invalid_request (the body), 400 unsupported_for_system (an input the system cannot serve), 400 connection_wrong_system (not a shipping system), 404 connection_not_found (also for another agent's connection), 409 connection_expired, connection_revoked or connection_not_active, 503 not_configured (the system is not available right now). A read that fails after payment is returned as account credit.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"connection_id":{"type":"string","format":"uuid","description":"The connection to read. An agent can have several connections to the same system: list your connections first (`GET /v1/connections`) and pick by `system` and `account_label`."},"shipment_id":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[A-Za-z0-9._-]+$","description":"The existing shipment whose quoted rates to read. Nothing is quoted or created."}},"required":["connection_id","shipment_id"],"additionalProperties":false}}}},"responses":{"200":{"description":"The rates already quoted on the shipment","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShippingRatesResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}}}},"/v1/tools/procurement/transactions":{"post":{"tags":["Connected systems"],"operationId":"procurementTransactions","summary":"Card and spend transactions, from a connected spend system","description":"Read-only; answered inline from the connected system. Refused before payment, and not charged: 400 invalid_request (the body), 400 connection_wrong_system (not a procurement system), 404 connection_not_found (also for another agent's connection), 409 connection_expired, connection_revoked or connection_not_active, 503 not_configured (the system is not available right now). A read that fails after payment is returned as account credit.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"connection_id":{"type":"string","format":"uuid","description":"The connection to read. An agent can have several connections to the same system: list your connections first (`GET /v1/connections`) and pick by `system` and `account_label`."},"from":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Transactions made on or after this day (YYYY-MM-DD)."},"to":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Transactions made on or before this day (YYYY-MM-DD)."},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25,"description":"Transactions per page, 1 to 100."},"cursor":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,64}$","description":"The next_cursor of the previous page."}},"required":["connection_id"],"additionalProperties":false}}}},"responses":{"200":{"description":"One page of transactions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProcurementTransactionsResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}}}},"/v1/tools/procurement/bills":{"post":{"tags":["Connected systems"],"operationId":"procurementBills","summary":"Bills awaiting or past approval, from a connected spend system","description":"Read-only; answered inline from the connected system. Refused before payment, and not charged: 400 invalid_request (the body), 400 connection_wrong_system (not a procurement system), 404 connection_not_found (also for another agent's connection), 409 connection_expired, connection_revoked or connection_not_active, 503 not_configured (the system is not available right now). A read that fails after payment is returned as account credit.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"connection_id":{"type":"string","format":"uuid","description":"The connection to read. An agent can have several connections to the same system: list your connections first (`GET /v1/connections`) and pick by `system` and `account_label`."},"from":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Bills issued on or after this day (YYYY-MM-DD)."},"to":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Bills issued on or before this day (YYYY-MM-DD)."},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25,"description":"Bills per page, 1 to 100."},"cursor":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,64}$","description":"The next_cursor of the previous page."}},"required":["connection_id"],"additionalProperties":false}}}},"responses":{"200":{"description":"One page of bills","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProcurementBillsResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}}}},"/v1/tools/procurement/suppliers":{"post":{"tags":["Connected systems"],"operationId":"procurementSuppliers","summary":"Suppliers and their all-time spend, from a connected spend system","description":"Read-only; answered inline from the connected system. Refused before payment, and not charged: 400 invalid_request (the body), 400 connection_wrong_system (not a procurement system), 404 connection_not_found (also for another agent's connection), 409 connection_expired, connection_revoked or connection_not_active, 503 not_configured (the system is not available right now). A read that fails after payment is returned as account credit.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"connection_id":{"type":"string","format":"uuid","description":"The connection to read. An agent can have several connections to the same system: list your connections first (`GET /v1/connections`) and pick by `system` and `account_label`."},"from":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Suppliers added on or after this day (YYYY-MM-DD)."},"to":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Suppliers added on or before this day (YYYY-MM-DD)."},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25,"description":"Suppliers per page, 1 to 100."},"cursor":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,64}$","description":"The next_cursor of the previous page."}},"required":["connection_id"],"additionalProperties":false}}}},"responses":{"200":{"description":"One page of suppliers","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProcurementSuppliersResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}}}},"/v1/tools/meetings/list":{"post":{"tags":["Connected systems"],"operationId":"meetingsList","summary":"Meetings recorded by a connected meeting recorder","description":"Read-only; answered inline from the connected system. Refused before payment, and not charged: 400 invalid_request (the body), 400 unsupported_for_system (a cursor or meeting id the system never answered), 400 connection_wrong_system (not a meeting recorder), 404 connection_not_found (also for another agent's connection), 409 connection_expired, connection_revoked or connection_not_active, 503 not_configured (the system is not available right now). A read that fails after payment is returned as account credit.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"connection_id":{"type":"string","format":"uuid","description":"The connection to read. An agent can have several connections to the same system: list your connections first (`GET /v1/connections`) and pick by `system` and `account_label`."},"since":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Meetings that started on or after this day (YYYY-MM-DD, UTC)."},"query":{"type":"string","minLength":1,"maxLength":200,"description":"Meetings whose title, or a participant's name or email, contains this text (any case)."},"limit":{"type":"integer","minimum":1,"maximum":100,"default":25,"description":"Meetings per page, 1 to 100."},"cursor":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,64}$","description":"The next_cursor of the previous page."}},"required":["connection_id"],"additionalProperties":false}}}},"responses":{"200":{"description":"One page of meetings","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeetingsListResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}}}},"/v1/tools/meetings/get":{"post":{"tags":["Connected systems"],"operationId":"meetingsGet","summary":"One meeting's summary, action items and transcript, from a connected meeting recorder","description":"Read-only; answered inline from the connected system. Refused before payment, and not charged: 400 invalid_request (the body), 400 unsupported_for_system (a cursor or meeting id the system never answered), 400 connection_wrong_system (not a meeting recorder), 404 connection_not_found (also for another agent's connection), 409 connection_expired, connection_revoked or connection_not_active, 503 not_configured (the system is not available right now). A read that fails after payment is returned as account credit.","security":[{"x402Payment":[],"stagingKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"connection_id":{"type":"string","format":"uuid","description":"The connection to read. An agent can have several connections to the same system: list your connections first (`GET /v1/connections`) and pick by `system` and `account_label`."},"meeting_id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,64}$","description":"The id of the meeting, as meetings_list answers it."},"include":{"type":"array","items":{"type":"string","enum":["summary","action_items","transcript"]},"minItems":1,"default":["summary","action_items"],"description":"What to read besides the meeting itself: summary, action_items and transcript. Default summary and action_items; the transcript only when asked for."}},"required":["connection_id","meeting_id"],"additionalProperties":false}}}},"responses":{"200":{"description":"One meeting with the parts asked for","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeetingsGetResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment required — x402 quote for wallet callers, or `insufficient_credits` for access-token sessions whose credit balance cannot cover the price","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuoteRequiredResponse"},{"$ref":"#/components/schemas/InsufficientCreditsResponse"}]}}}},"403":{"description":"Agent spend budget exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BudgetExceededResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"x-staging-execution-supported":true,"x-payment-info":{"authMode":"x402","paymentRequired":true,"securitySchemes":["x402Payment","stagingKey"],"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.001"}}}}},"webhooks":{}}