import { OneShot } from "@oneshot-agent/sdk";const agent = new OneShot({ privateKey: process.env.AGENT_PRIVATE_KEY });const result = await agent.tool("benchmark", { attribute: "vehicle_complaints", field: "total", peers: { model_year: 2019 }, key: "HONDA:CR-V:2019",});
{ "success": true, "data": { "request_id": "6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11", "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 }, "value": 37, "percentile": 66.67 }}
Compares one numeric field across a set of peers and returns the distribution and, for an entity or a value you give, its percentile. No polling.
What the peers are
Each entity’s current, public record; never a private record or a stored search. Fewer than 20 peers is refused.population:
looked_up: only entities someone has looked up.
partial: no validated, fresh coverage record for these peers; population_detail.reason says why.
complete: the whole population: a complete baseline, a dataset checked within its expected interval, and peers inside its declared scope.
Authentication
Requires x402 payment in the payment-signature header.
Request body
string
required
A data tool, for example vehicle_complaints. Any other name is refused before payment; the response lists the names that work.
string
required
The numeric field to compare. For vehicle_complaints: total, crashes, fires, injuries, deaths. For vehicle_recalls and place_disasters: total.
object
make and model_year for vehicle_complaints and vehicle_recalls, state for place_disasters. Case-insensitive. Up to 5. Without any, every recorded entity is a peer.
string
The entity key of a peer, to place its own value. At most one of key and value.
number
A value to place in the distribution.
string
Required when the attribute has facts from more than one source; the refusal lists them.
Response (200)
integer
Peers compared. Never fewer than 20.
number
The distribution; quartiles are interpolated.
string
When the newest peer fact was last seen
string
Which entities the source covers
string
looked_up, partial or complete
object
reason, plus the coverage record when there is one: dataset, state (healthy, check_overdue, publication_failed, source_unreachable, stuck_lease, delta_gap, disabled, unpublished), scope, historical_start (when recording started), published_at, source_version (the source’s own date)
number | null
Yours, or the entity’s own; null when you gave neither.
number | null
0 to 100: the share of peers below value plus half the share equal to it.
The response also repeats attribute, field, peers and source.
400 not_in_population: key is not a peer, or has no number in field.
400 invalid_input with sources: source is missing.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"OneShot","colors":{"primary":"#0D9373","light":"#07C983","dark":"#0D9373"},"logo":{"light":"https://mintcdn.com/freebutter/UWfg9gt1IfuWbDDt/logo/light.svg?fit=max\u0026auto=format\u0026n=UWfg9gt1IfuWbDDt\u0026q=85\u0026s=72428dae0201cd91a3041443d2963096","dark":"https://mintcdn.com/freebutter/UWfg9gt1IfuWbDDt/logo/dark.svg?fit=max\u0026auto=format\u0026n=UWfg9gt1IfuWbDDt\u0026q=85\u0026s=907ce345784fcc6d335e3eb76243d67b"},"favicon":"https://mintcdn.com/freebutter/iT_x5apMd2XzdoGo/favicon.svg?fit=max\u0026auto=format\u0026n=iT_x5apMd2XzdoGo\u0026q=85\u0026s=af15dfc50b92ef314849364d5408de8e","navbar":{"links":[{"href":"https://oneshotagent.com","label":"Website"},{"href":"https://oneshotagent.com/trust","label":"Trust Center"},{"href":"https://oneshotagent.com/security","label":"Security"}],"primary":{"type":"button","label":"Start for free","href":"https://oneshotagent.com/console"}},"footer":{"socials":{"github":"https://github.com/oneshot-agent/sdk","twitter":"https://twitter.com/oneshotAIagent","linkedin":"https://www.linkedin.com/company/oneshot-agent","discord":"https://discord.gg/NnPt3DTmXR"}},"seo":{},"styling":{"latex":false},"metadata":{"timestamp":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"freebutter","hasAudioNarration":false,"actualSubdomain":"freebutter","customDomains":["docs.oneshotagent.com"],"gitSource":{"type":"github","owner":"tormine","repo":"oneshot","deployBranch":"main","contentDirectory":"apps/docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6af6f4b023024a424fe6182f","clientVersion":"0.0.4142","searchFilterCounts":[{"language":"default","tag":"API Reference","count":221},{"language":"default","tag":"Data","count":110},{"language":"default","tag":"Get Started","count":40},{"language":"default","tag":"Messaging","count":34},{"language":"default","tag":"Compute","count":24},{"language":"default","tag":"Companies \u0026 finance","count":24},{"language":"default","tag":"Life sciences","count":22},{"language":"default","tag":"Health","count":19},{"language":"default","tag":"OneShot GTM","count":18},{"language":"default","tag":"Places \u0026 hazards","count":16}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".docs-object{display:block;width:220px;max-width:55%;height:auto;margin:-0.5rem 0 0 -2rem;pointer-events:none}"}],"page":{"pagePath":"api-reference/benchmark","slug":"/api-reference/benchmark","pageMetadata":{"title":"Benchmark","api":"POST https://win.oneshotagent.com/v1/tools/benchmark","description":"Where a value sits among its peers: count, quartiles, median and the place of an entity or a value","href":"/api-reference/benchmark"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Where a value sits among its peers: count, quartiles, median and the place of an entity or a value\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,ul:`ul`,..._provideComponents(),...props.components},{Heading,Info,ParamField,ResponseField}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Compares one numeric field across a set of peers and returns the distribution and, for an entity or a value you give, its percentile. No polling.`}),`\n`,_jsx(Heading,{level:`2`,id:`what-the-peers-are`,children:`What the peers are`}),`\n`,_jsx(_components.p,{children:`Each entity’s current, public record; never a private record or a stored search. Fewer than 20 peers is refused.`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`population`}),`:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`looked_up`}),`: only entities someone has looked up.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`partial`}),`: no validated, fresh coverage record for these peers; `,_jsx(_components.code,{children:`population_detail.reason`}),` says why.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`complete`}),`: the whole population: a complete baseline, a dataset checked within its expected interval, and `,_jsx(_components.code,{children:`peers`}),` inside its declared scope.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`authentication`,children:`Authentication`}),`\n`,_jsxs(_components.p,{children:[`Requires x402 payment in the `,_jsx(_components.code,{children:`payment-signature`}),` header.`]}),`\n`,_jsx(Heading,{level:`2`,id:`request-body`,children:`Request body`}),`\n`,_jsx(ParamField,{body:`attribute`,type:`string`,required:true,id:`param-attribute`,children:_jsxs(_components.p,{children:[`A data tool, for example `,_jsx(_components.code,{children:`vehicle_complaints`}),`. Any other name is refused before payment; the response lists the names that work.`]})}),`\n`,_jsx(ParamField,{body:`field`,type:`string`,required:true,id:`param-field`,children:_jsxs(_components.p,{children:[`The numeric field to compare. For `,_jsx(_components.code,{children:`vehicle_complaints`}),`: `,_jsx(_components.code,{children:`total`}),`, `,_jsx(_components.code,{children:`crashes`}),`, `,_jsx(_components.code,{children:`fires`}),`, `,_jsx(_components.code,{children:`injuries`}),`, `,_jsx(_components.code,{children:`deaths`}),`. For `,_jsx(_components.code,{children:`vehicle_recalls`}),` and `,_jsx(_components.code,{children:`place_disasters`}),`: `,_jsx(_components.code,{children:`total`}),`.`]})}),`\n`,_jsx(ParamField,{body:`peers`,type:`object`,id:`param-peers`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`make`}),` and `,_jsx(_components.code,{children:`model_year`}),` for `,_jsx(_components.code,{children:`vehicle_complaints`}),` and `,_jsx(_components.code,{children:`vehicle_recalls`}),`, `,_jsx(_components.code,{children:`state`}),` for `,_jsx(_components.code,{children:`place_disasters`}),`. Case-insensitive. Up to 5. Without any, every recorded entity is a peer.`]})}),`\n`,_jsx(ParamField,{body:`key`,type:`string`,id:`param-key`,children:_jsxs(_components.p,{children:[`The entity key of a peer, to place its own value. At most one of `,_jsx(_components.code,{children:`key`}),` and `,_jsx(_components.code,{children:`value`}),`.`]})}),`\n`,_jsx(ParamField,{body:`value`,type:`number`,id:`param-value`,children:_jsx(_components.p,{children:`A value to place in the distribution.`})}),`\n`,_jsx(ParamField,{body:`source`,type:`string`,id:`param-source`,children:_jsx(_components.p,{children:`Required when the attribute has facts from more than one source; the refusal lists them.`})}),`\n`,`\n`,_jsx(Heading,{level:`2`,id:`response-200`,children:`Response (200)`}),`\n`,_jsx(ResponseField,{name:`data.count`,type:`integer`,id:`param-data-count`,children:_jsx(_components.p,{children:`Peers compared. Never fewer than 20.`})}),`\n`,_jsx(ResponseField,{name:`data.min, data.p25, data.median, data.p75, data.max`,type:`number`,id:`param-data-min-data-p25-data-median-data-p75-data-max`,children:_jsx(_components.p,{children:`The distribution; quartiles are interpolated.`})}),`\n`,_jsx(ResponseField,{name:`data.as_of`,type:`string`,id:`param-data-as-of`,children:_jsx(_components.p,{children:`When the newest peer fact was last seen`})}),`\n`,_jsx(ResponseField,{name:`data.coverage`,type:`string`,id:`param-data-coverage`,children:_jsx(_components.p,{children:`Which entities the source covers`})}),`\n`,_jsx(ResponseField,{name:`data.population`,type:`string`,id:`param-data-population`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`looked_up`}),`, `,_jsx(_components.code,{children:`partial`}),` or `,_jsx(_components.code,{children:`complete`})]})}),`\n`,_jsx(ResponseField,{name:`data.population_detail`,type:`object`,id:`param-data-population-detail`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`reason`}),`, plus the coverage record when there is one: `,_jsx(_components.code,{children:`dataset`}),`, `,_jsx(_components.code,{children:`state`}),` (`,_jsx(_components.code,{children:`healthy`}),`, `,_jsx(_components.code,{children:`check_overdue`}),`, `,_jsx(_components.code,{children:`publication_failed`}),`, `,_jsx(_components.code,{children:`source_unreachable`}),`, `,_jsx(_components.code,{children:`stuck_lease`}),`, `,_jsx(_components.code,{children:`delta_gap`}),`, `,_jsx(_components.code,{children:`disabled`}),`, `,_jsx(_components.code,{children:`unpublished`}),`), `,_jsx(_components.code,{children:`scope`}),`, `,_jsx(_components.code,{children:`historical_start`}),` (when recording started), `,_jsx(_components.code,{children:`published_at`}),`, `,_jsx(_components.code,{children:`source_version`}),` (the source’s own date)`]})}),`\n`,_jsx(ResponseField,{name:`data.value`,type:`number | null`,id:`param-data-value`,children:_jsxs(_components.p,{children:[`Yours, or the entity’s own; `,_jsx(_components.code,{children:`null`}),` when you gave neither.`]})}),`\n`,_jsx(ResponseField,{name:`data.percentile`,type:`number | null`,id:`param-data-percentile`,children:_jsxs(_components.p,{children:[`0 to 100: the share of peers below `,_jsx(_components.code,{children:`value`}),` plus half the share equal to it.`]})}),`\n`,_jsxs(_components.p,{children:[`The response also repeats `,_jsx(_components.code,{children:`attribute`}),`, `,_jsx(_components.code,{children:`field`}),`, `,_jsx(_components.code,{children:`peers`}),` and `,_jsx(_components.code,{children:`source`}),`.`]}),`\n`,`\n`,`\n`,_jsxs(Info,{children:[`See `,_jsx(_components.a,{href:`/pricing`,children:`Pricing`}),` for the price of a call.`]}),`\n`,_jsx(Heading,{level:`2`,id:`errors`,children:`Errors`}),`\n`,_jsx(_components.p,{children:`Refused before any payment:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`400 invalid_input`}),`: the attribute cannot be benchmarked, or `,_jsx(_components.code,{children:`field`}),` or a `,_jsx(_components.code,{children:`peers`}),` filter is not one it declares.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`400 no_data`}),`: nothing is recorded for the attribute yet.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`400 invalid_request`}),`: wrong shape, both `,_jsx(_components.code,{children:`key`}),` and `,_jsx(_components.code,{children:`value`}),`, or more than 5 peer filters.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Found after the read, once payment is taken, and refunded automatically; the response carries `,_jsx(_components.code,{children:`request_id`}),` and `,_jsx(_components.code,{children:`receipt_id`}),`:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`400 too_few_peers`}),`: fewer than 20 peers (`,_jsx(_components.code,{children:`count`}),`, `,_jsx(_components.code,{children:`minimum`}),`, `,_jsx(_components.code,{children:`population`}),`). Widen `,_jsx(_components.code,{children:`peers`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`400 not_in_population`}),`: `,_jsx(_components.code,{children:`key`}),` is not a peer, or has no number in `,_jsx(_components.code,{children:`field`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`400 invalid_input`}),` with `,_jsx(_components.code,{children:`sources`}),`: `,_jsx(_components.code,{children:`source`}),` is missing.`]}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Benchmark","api":"POST https://win.oneshotagent.com/v1/tools/benchmark","description":"Where a value sits among its peers: count, quartiles, median and the place of an entity or a value","href":"/api-reference/benchmark"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Info,ParamField,RequestExample,ResponseExample,ResponseField}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Compares one numeric field across a set of peers and returns the distribution and, for an entity or a value you give, its percentile. No polling.`}),`\n`,_jsx(Heading,{level:`2`,id:`what-the-peers-are`,children:`What the peers are`}),`\n`,_jsx(_components.p,{children:`Each entity’s current, public record; never a private record or a stored search. Fewer than 20 peers is refused.`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`population`}),`:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`looked_up`}),`: only entities someone has looked up.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`partial`}),`: no validated, fresh coverage record for these peers; `,_jsx(_components.code,{children:`population_detail.reason`}),` says why.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`complete`}),`: the whole population: a complete baseline, a dataset checked within its expected interval, and `,_jsx(_components.code,{children:`peers`}),` inside its declared scope.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`authentication`,children:`Authentication`}),`\n`,_jsxs(_components.p,{children:[`Requires x402 payment in the `,_jsx(_components.code,{children:`payment-signature`}),` header.`]}),`\n`,_jsx(Heading,{level:`2`,id:`request-body`,children:`Request body`}),`\n`,_jsx(ParamField,{body:`attribute`,type:`string`,required:true,id:`param-attribute`,children:_jsxs(_components.p,{children:[`A data tool, for example `,_jsx(_components.code,{children:`vehicle_complaints`}),`. Any other name is refused before payment; the response lists the names that work.`]})}),`\n`,_jsx(ParamField,{body:`field`,type:`string`,required:true,id:`param-field`,children:_jsxs(_components.p,{children:[`The numeric field to compare. For `,_jsx(_components.code,{children:`vehicle_complaints`}),`: `,_jsx(_components.code,{children:`total`}),`, `,_jsx(_components.code,{children:`crashes`}),`, `,_jsx(_components.code,{children:`fires`}),`, `,_jsx(_components.code,{children:`injuries`}),`, `,_jsx(_components.code,{children:`deaths`}),`. For `,_jsx(_components.code,{children:`vehicle_recalls`}),` and `,_jsx(_components.code,{children:`place_disasters`}),`: `,_jsx(_components.code,{children:`total`}),`.`]})}),`\n`,_jsx(ParamField,{body:`peers`,type:`object`,id:`param-peers`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`make`}),` and `,_jsx(_components.code,{children:`model_year`}),` for `,_jsx(_components.code,{children:`vehicle_complaints`}),` and `,_jsx(_components.code,{children:`vehicle_recalls`}),`, `,_jsx(_components.code,{children:`state`}),` for `,_jsx(_components.code,{children:`place_disasters`}),`. Case-insensitive. Up to 5. Without any, every recorded entity is a peer.`]})}),`\n`,_jsx(ParamField,{body:`key`,type:`string`,id:`param-key`,children:_jsxs(_components.p,{children:[`The entity key of a peer, to place its own value. At most one of `,_jsx(_components.code,{children:`key`}),` and `,_jsx(_components.code,{children:`value`}),`.`]})}),`\n`,_jsx(ParamField,{body:`value`,type:`number`,id:`param-value`,children:_jsx(_components.p,{children:`A value to place in the distribution.`})}),`\n`,_jsx(ParamField,{body:`source`,type:`string`,id:`param-source`,children:_jsx(_components.p,{children:`Required when the attribute has facts from more than one source; the refusal lists them.`})}),`\n`,`\n`,_jsx(Heading,{level:`2`,id:`response-200`,children:`Response (200)`}),`\n`,_jsx(ResponseField,{name:`data.count`,type:`integer`,id:`param-data-count`,children:_jsx(_components.p,{children:`Peers compared. Never fewer than 20.`})}),`\n`,_jsx(ResponseField,{name:`data.min, data.p25, data.median, data.p75, data.max`,type:`number`,id:`param-data-min-data-p25-data-median-data-p75-data-max`,children:_jsx(_components.p,{children:`The distribution; quartiles are interpolated.`})}),`\n`,_jsx(ResponseField,{name:`data.as_of`,type:`string`,id:`param-data-as-of`,children:_jsx(_components.p,{children:`When the newest peer fact was last seen`})}),`\n`,_jsx(ResponseField,{name:`data.coverage`,type:`string`,id:`param-data-coverage`,children:_jsx(_components.p,{children:`Which entities the source covers`})}),`\n`,_jsx(ResponseField,{name:`data.population`,type:`string`,id:`param-data-population`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`looked_up`}),`, `,_jsx(_components.code,{children:`partial`}),` or `,_jsx(_components.code,{children:`complete`})]})}),`\n`,_jsx(ResponseField,{name:`data.population_detail`,type:`object`,id:`param-data-population-detail`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`reason`}),`, plus the coverage record when there is one: `,_jsx(_components.code,{children:`dataset`}),`, `,_jsx(_components.code,{children:`state`}),` (`,_jsx(_components.code,{children:`healthy`}),`, `,_jsx(_components.code,{children:`check_overdue`}),`, `,_jsx(_components.code,{children:`publication_failed`}),`, `,_jsx(_components.code,{children:`source_unreachable`}),`, `,_jsx(_components.code,{children:`stuck_lease`}),`, `,_jsx(_components.code,{children:`delta_gap`}),`, `,_jsx(_components.code,{children:`disabled`}),`, `,_jsx(_components.code,{children:`unpublished`}),`), `,_jsx(_components.code,{children:`scope`}),`, `,_jsx(_components.code,{children:`historical_start`}),` (when recording started), `,_jsx(_components.code,{children:`published_at`}),`, `,_jsx(_components.code,{children:`source_version`}),` (the source’s own date)`]})}),`\n`,_jsx(ResponseField,{name:`data.value`,type:`number | null`,id:`param-data-value`,children:_jsxs(_components.p,{children:[`Yours, or the entity’s own; `,_jsx(_components.code,{children:`null`}),` when you gave neither.`]})}),`\n`,_jsx(ResponseField,{name:`data.percentile`,type:`number | null`,id:`param-data-percentile`,children:_jsxs(_components.p,{children:[`0 to 100: the share of peers below `,_jsx(_components.code,{children:`value`}),` plus half the share equal to it.`]})}),`\n`,_jsxs(_components.p,{children:[`The response also repeats `,_jsx(_components.code,{children:`attribute`}),`, `,_jsx(_components.code,{children:`field`}),`, `,_jsx(_components.code,{children:`peers`}),` and `,_jsx(_components.code,{children:`source`}),`.`]}),`\n`,_jsxs(RequestExample,{children:[_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`9`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`9`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://win.oneshotagent.com/v1/tools/benchmark`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"payment-signature: \u003cbase64 x402 payment>\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"attribute\": \"vehicle_complaints\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"field\": \"total\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"peers\": { \"model_year\": 2019 },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"key\": \"HONDA:CR-V:2019\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`SDK`,numberOfLines:`10`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`10`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`OneShot`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"@oneshot-agent/sdk\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` agent`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` OneShot`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({ `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`privateKey:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` process`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`env`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`AGENT_PRIVATE_KEY`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` });`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` result`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` agent`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`tool`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"benchmark\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` attribute:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"vehicle_complaints\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` field:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"total\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` peers:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`model_year:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 2019`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` key:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"HONDA:CR-V:2019\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`]})})})]}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:`200`,numberOfLines:`32`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`32`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"request_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"completed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tool\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"benchmark\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"attribute\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"vehicle_complaints\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"field\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"total\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"peers\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"model_year\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2019`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"source\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"count\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`42`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"min\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"p25\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`6`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"median\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`19`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"p75\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`52.5`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"max\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`311`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"as_of\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-09-30T12:00:00.000Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"coverage\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Vehicles sold in the United States\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"population\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"looked_up\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"population_detail\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"reason\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"the peers are only entities that someone has looked up\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"dataset\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"state\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"scope\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"historical_start\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"published_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"source_version\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"value\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`37`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"percentile\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`66.67`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),`\n`,_jsxs(Info,{children:[`See `,_jsx(_components.a,{href:`/pricing`,children:`Pricing`}),` for the price of a call.`]}),`\n`,_jsx(Heading,{level:`2`,id:`errors`,children:`Errors`}),`\n`,_jsx(_components.p,{children:`Refused before any payment:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`400 invalid_input`}),`: the attribute cannot be benchmarked, or `,_jsx(_components.code,{children:`field`}),` or a `,_jsx(_components.code,{children:`peers`}),` filter is not one it declares.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`400 no_data`}),`: nothing is recorded for the attribute yet.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`400 invalid_request`}),`: wrong shape, both `,_jsx(_components.code,{children:`key`}),` and `,_jsx(_components.code,{children:`value`}),`, or more than 5 peer filters.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Found after the read, once payment is taken, and refunded automatically; the response carries `,_jsx(_components.code,{children:`request_id`}),` and `,_jsx(_components.code,{children:`receipt_id`}),`:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`400 too_few_peers`}),`: fewer than 20 peers (`,_jsx(_components.code,{children:`count`}),`, `,_jsx(_components.code,{children:`minimum`}),`, `,_jsx(_components.code,{children:`population`}),`). Widen `,_jsx(_components.code,{children:`peers`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`400 not_in_population`}),`: `,_jsx(_components.code,{children:`key`}),` is not a peer, or has no number in `,_jsx(_components.code,{children:`field`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`400 invalid_input`}),` with `,_jsx(_components.code,{children:`sources`}),`: `,_jsx(_components.code,{children:`source`}),` is missing.`]}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Benchmark","api":"POST https://win.oneshotagent.com/v1/tools/benchmark","description":"Where a value sits among its peers: count, quartiles, median and the place of an entity or a value","href":"/api-reference/benchmark"}}}},"mdxExtracts":{"tableOfContents":[{"title":"What the peers are","slug":"what-the-peers-are","depth":2,"children":[]},{"title":"Authentication","slug":"authentication","depth":2,"children":[]},{"title":"Request body","slug":"request-body","depth":2,"children":[]},{"title":"Response (200)","slug":"response-200","depth":2,"children":[]},{"title":"Errors","slug":"errors","depth":2,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"cURL","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"9\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -X\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> POST\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> https://win.oneshotagent.com/v1/tools/benchmark\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Content-Type: application/json\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"payment-signature: \u0026#x3C;base64 x402 payment>\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -d\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> '{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"attribute\": \"vehicle_complaints\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"field\": \"total\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"peers\": { \"model_year\": 2019 },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"key\": \"HONDA:CR-V:2019\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }'\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"SDK","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"typescript\">\u003ccode language=\"typescript\" numberOfLines=\"10\">\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\">import\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> { \u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">OneShot\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> } \u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\">from\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"@oneshot-agent/sdk\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">const\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4FC1FF\"> agent\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\"> new\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\"> OneShot\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">({ \u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">privateKey:\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> process\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">env\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4FC1FF\">AGENT_PRIVATE_KEY\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> });\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">const\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4FC1FF\"> result\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\"> await\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> agent\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">tool\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"benchmark\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> attribute:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"vehicle_complaints\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> field:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"total\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> peers:\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> { \u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">model_year:\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\"> 2019\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> key:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"HONDA:CR-V:2019\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">});\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"200","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"32\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"success\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"data\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"request_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"completed\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"tool\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"benchmark\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"attribute\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"vehicle_complaints\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"field\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"total\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"peers\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: { \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"model_year\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">2019\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"source\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"count\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">42\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"min\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">0\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"p25\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">6\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"median\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">19\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"p75\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">52.5\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"max\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">311\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"as_of\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-09-30T12:00:00.000Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"coverage\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Vehicles sold in the United States\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"population\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"looked_up\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"population_detail\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"reason\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"the peers are only entities that someone has looked up\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"dataset\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"state\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"scope\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"historical_start\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"published_at\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"source_version\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"value\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">37\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"percentile\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">66.67\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Benchmark","path":"/v1/tools/benchmark","servers":[{"url":"https://win.oneshotagent.com"}],"method":"post","request":{"security":[],"parameters":{"query":{},"header":{},"cookie":{},"path":{}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"attribute":[{"type":"string","description":"A data tool, for example `vehicle_complaints` . Any other name is refused before payment; the response lists the names that work.","required":true}],"field":[{"type":"string","description":"The numeric field to compare. For `vehicle_complaints` : `total` , `crashes` , `fires` , `injuries` , `deaths` . For `vehicle_recalls` and `place_disasters` : `total` .","required":true}],"peers":[{"type":"object","properties":{},"description":"`make` and `model_year` for `vehicle_complaints` and `vehicle_recalls` , `state` for `place_disasters` . Case-insensitive. Up to 5. Without any, every recorded entity is a peer."}],"key":[{"type":"string","description":"The entity key of a peer, to place its own value. At most one of `key` and `value` ."}],"value":[{"type":"number","description":"A value to place in the distribution."}],"source":[{"type":"string","description":"Required when the attribute has facts from more than one source; the refusal lists them."}]}}],"examples":{"example":{"value":{"attribute":"\u003cstring>","field":"\u003cstring>","peers":{},"key":"\u003cstring>","value":123,"source":"\u003cstring>"}}}}}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"data.count":[{"type":"integer","description":"Peers compared. Never fewer than 20."}],"data.min, data.p25, data.median, data.p75, data.max":[{"type":"number","description":"The distribution; quartiles are interpolated."}],"data.as_of":[{"type":"string","description":"When the newest peer fact was last seen"}],"data.coverage":[{"type":"string","description":"Which entities the source covers"}],"data.population":[{"type":"string","description":"`looked_up` , `partial` or `complete`"}],"data.population_detail":[{"type":"object","properties":{},"description":"`reason` , plus the coverage record when there is one: `dataset` , `state` ( `healthy` , `check_overdue` , `publication_failed` , `source_unreachable` , `stuck_lease` , `delta_gap` , `disabled` , `unpublished` ), `scope` , `historical_start` (when recording started), `published_at` , `source_version` (the source’s own date)"}],"data.value":[{"type":"object","properties":{},"description":"Yours, or the entity’s own; `null` when you gave neither."}],"data.percentile":[{"type":"object","properties":{},"description":"0 to 100: the share of peers below `value` plus half the share equal to it."}]}}],"examples":{"example":{"value":{"data.count":123,"data.min, data.p25, data.median, data.p75, data.max":123,"data.as_of":"\u003cstring>","data.coverage":"\u003cstring>","data.population":"\u003cstring>","data.population_detail":{},"data.value":{},"data.percentile":{}}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"freebutter","siteName":"OneShot","title":"Benchmark - OneShot","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-07T21:23:38.760Z","originalFileLocation":"api-reference/benchmark.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Where a value sits among its peers: count, quartiles, median and the place of an entity or a value\">\u003cmeta data-mint-head name=\"application-name\" content=\"OneShot\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/freebutter/Hs16x93Q_iOT-ism/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/freebutter/Hs16x93Q_iOT-ism/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/freebutter/Hs16x93Q_iOT-ism/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/freebutter/Hs16x93Q_iOT-ism/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/freebutter/Hs16x93Q_iOT-ism/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/freebutter/Hs16x93Q_iOT-ism/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/freebutter/Hs16x93Q_iOT-ism/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/freebutter/Hs16x93Q_iOT-ism/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/freebutter/Hs16x93Q_iOT-ism/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Benchmark - OneShot\">\u003cmeta data-mint-head property=\"og:description\" content=\"Where a value sits among its peers: count, quartiles, median and the place of an entity or a value\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"OneShot\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.oneshotagent.com/api-reference/benchmark\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://freebutter.mintlify.site/_mintlify/api/og/v2?division=Monitoring\u0026amp;title=Benchmark\u0026amp;description=Where+a+value+sits+among+its+peers%3A+count%2C+quartiles%2C+median+and+the+place+of+an+entity+or+a+value\u0026amp;theme=2572df72db31606c972f696e\u0026amp;signature=95ca27c4cb9f28b5ef0231724f0b4e2257902d802ce57b757a18f98282b3f972\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Benchmark - OneShot\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Where a value sits among its peers: count, quartiles, median and the place of an entity or a value\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://freebutter.mintlify.site/_mintlify/api/og/v2?division=Monitoring\u0026amp;title=Benchmark\u0026amp;description=Where+a+value+sits+among+its+peers%3A+count%2C+quartiles%2C+median+and+the+place+of+an+entity+or+a+value\u0026amp;theme=2572df72db31606c972f696e\u0026amp;signature=95ca27c4cb9f28b5ef0231724f0b4e2257902d802ce57b757a18f98282b3f972\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/freebutter/Hs16x93Q_iOT-ism/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"OneShot\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0D9373\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.oneshotagent.com/api-reference/benchmark\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/benchmark.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.oneshotagent.com/#organization\",\"name\":\"OneShot\",\"url\":\"https://docs.oneshotagent.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/freebutter/UWfg9gt1IfuWbDDt/logo/light.svg?fit=max\u0026auto=format\u0026n=UWfg9gt1IfuWbDDt\u0026q=85\u0026s=72428dae0201cd91a3041443d2963096\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.oneshotagent.com#website\",\"name\":\"OneShot\",\"url\":\"https://docs.oneshotagent.com\",\"publisher\":{\"@id\":\"https://docs.oneshotagent.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.oneshotagent.com/api-reference/benchmark#webpage\",\"url\":\"https://docs.oneshotagent.com/api-reference/benchmark\",\"name\":\"Benchmark\",\"description\":\"Where a value sits among its peers: count, quartiles, median and the place of an entity or a value\",\"dateModified\":\"2026-11-07T21:23:38.760Z\",\"isPartOf\":{\"@id\":\"https://docs.oneshotagent.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.oneshotagent.com/api-reference/benchmark#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.oneshotagent.com/api-reference/benchmark#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Monitoring\",\"item\":\"https://docs.oneshotagent.com/api-reference/watch\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Benchmark\",\"item\":\"https://docs.oneshotagent.com/api-reference/benchmark\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.oneshotagent.com/api-reference/benchmark#apireference\",\"headline\":\"Benchmark\",\"name\":\"Benchmark\",\"description\":\"Where a value sits among its peers: count, quartiles, median and the place of an entity or a value\",\"url\":\"https://docs.oneshotagent.com/api-reference/benchmark\",\"mainEntityOfPage\":{\"@id\":\"https://docs.oneshotagent.com/api-reference/benchmark#webpage\"},\"dateModified\":\"2026-11-07T21:23:38.760Z\",\"publisher\":{\"@id\":\"https://docs.oneshotagent.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.oneshotagent.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"OneShot\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"OneShot\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/benchmark.md","siteName":"OneShot","nav":{"global":null,"tabs":[{"tab":"Get Started","pages":[{"title":"Get Started","href":"/introduction"}]},{"tab":"API Reference","groups":[{"group":"Overview","pages":[{"title":"OpenAPI Specification","sidebarTitle":"OpenAPI Spec","icon":"file-code","href":"/api-reference/openapi"}]},{"group":"Compute","pages":[{"group":"Goals","pages":[{"title":"Compute","sidebarTitle":"Create a goal","api":"POST https://win.oneshotagent.com/v1/compute","href":"/api-reference/compute/create"},{"title":"Goal Status","sidebarTitle":"Status","api":"GET https://win.oneshotagent.com/v1/compute/{goalId}","href":"/api-reference/compute/status"},{"title":"Goal Tasks","sidebarTitle":"Tasks","api":"GET https://win.oneshotagent.com/v1/compute/{goalId}/tasks","href":"/api-reference/compute/tasks"},{"title":"Goal Cases","sidebarTitle":"Cases","api":"GET https://win.oneshotagent.com/v1/compute/{goalId}/cases","href":"/api-reference/compute/cases"},{"title":"Goal Outcomes","sidebarTitle":"Outcomes","api":"GET https://win.oneshotagent.com/v1/compute/{goalId}/outcomes","href":"/api-reference/compute/outcomes"},{"title":"Goal Outputs","sidebarTitle":"Outputs","api":"GET https://win.oneshotagent.com/v1/compute/{goalId}/outputs","href":"/api-reference/compute/outputs"}]},{"group":"Goal types","pages":[{"group":"Document Extraction","root":{"title":"Document Extraction","sidebarTitle":"Document Extraction","href":"/api-reference/compute/document-extraction"},"pages":[{"title":"Upload a document","sidebarTitle":"Upload a document","api":"POST https://win.oneshotagent.com/v1/compute/documents","href":"/api-reference/compute/documents-upload"},{"title":"Delete a document","sidebarTitle":"Delete a document","api":"DELETE https://win.oneshotagent.com/v1/compute/documents/{id}","href":"/api-reference/compute/documents-delete"}]}]},{"group":"Tools","pages":[{"title":"Solve","sidebarTitle":"Solve","api":"POST https://win.oneshotagent.com/v1/tools/solve","href":"/api-reference/solve"},{"title":"Predict","sidebarTitle":"Predict","api":"POST https://win.oneshotagent.com/v1/tools/predict","href":"/api-reference/predict"},{"title":"Predict: Alignment","sidebarTitle":"Predict: Alignment","api":"POST https://win.oneshotagent.com/v1/tools/predict","href":"/api-reference/predict-alignment"}]},{"group":"Working with a goal","pages":[{"title":"Events, Questions and Results","sidebarTitle":"Events, questions and results","api":"POST https://win.oneshotagent.com/v1/compute/{goalId}/events","href":"/api-reference/compute/events"},{"title":"Send events in bulk","sidebarTitle":"Send events in bulk","api":"POST https://win.oneshotagent.com/v1/compute/{goalId}/events/bulk","href":"/api-reference/compute/events-bulk"},{"title":"My Cases","sidebarTitle":"My cases","api":"GET https://win.oneshotagent.com/v1/org/cases/mine","href":"/api-reference/compute/cases-mine"},{"title":"Post to a Case","sidebarTitle":"Post to a case","api":"POST https://win.oneshotagent.com/v1/org/goals/{goalId}/cases/{key}/events","href":"/api-reference/compute/case-events"},{"title":"Upload a list","sidebarTitle":"Upload a list","api":"POST https://win.oneshotagent.com/v1/compute/lists","href":"/api-reference/compute/lists-upload"},{"title":"Respond to a Goal","sidebarTitle":"Respond","api":"POST https://win.oneshotagent.com/v1/compute/{goalId}/respond","href":"/api-reference/compute/respond"}]},{"group":"Budget and control","pages":[{"title":"Compute Budget","sidebarTitle":"Budget","api":"GET https://win.oneshotagent.com/v1/compute/{goalId}/budget","href":"/api-reference/compute/budget"},{"title":"Fund Goal","sidebarTitle":"Fund","api":"POST https://win.oneshotagent.com/v1/compute/{goalId}/fund","href":"/api-reference/compute/fund"},{"title":"Pause Goal","sidebarTitle":"Pause","api":"POST https://win.oneshotagent.com/v1/compute/{goalId}/pause","href":"/api-reference/compute/pause"},{"title":"Resume Goal","sidebarTitle":"Resume","api":"POST https://win.oneshotagent.com/v1/compute/{goalId}/resume","href":"/api-reference/compute/resume"},{"title":"Stop Goal Now","sidebarTitle":"Stop now","api":"POST https://win.oneshotagent.com/v1/compute/{goalId}/stop","href":"/api-reference/compute/stop"},{"title":"Cancel Cases","sidebarTitle":"Cancel cases","api":"POST https://win.oneshotagent.com/v1/compute/{goalId}/cases/cancel","href":"/api-reference/compute/cases-cancel"},{"title":"Cancel Goal","sidebarTitle":"Cancel","api":"POST https://win.oneshotagent.com/v1/compute/{goalId}/cancel","href":"/api-reference/compute/cancel"}]}]},{"group":"Connections","root":{"title":"Connections","sidebarTitle":"Overview","href":"/api-reference/connections/overview"},"pages":[{"title":"Repositories","sidebarTitle":"Repositories","api":"POST https://win.oneshotagent.com/v1/connections","href":"/api-reference/connections/repositories"},{"title":"Accounting","api":"POST https://win.oneshotagent.com/v1/tools/ledger/invoices","href":"/api-reference/connections/accounting"},{"title":"CRM","api":"POST https://win.oneshotagent.com/v1/tools/crm/accounts","href":"/api-reference/connections/crm"},{"title":"Follow Up Boss and Affinity","api":"POST https://win.oneshotagent.com/v1/tools/crm/opportunities","href":"/api-reference/connections/crm/systems"},{"title":"Tax","api":"POST https://win.oneshotagent.com/v1/tools/tax/rates","href":"/api-reference/connections/tax"},{"title":"Shipping","api":"POST https://win.oneshotagent.com/v1/tools/shipping/shipments","href":"/api-reference/connections/shipping"},{"title":"Procurement","api":"POST https://win.oneshotagent.com/v1/tools/procurement/transactions","href":"/api-reference/connections/procurement"},{"title":"Meetings","api":"POST https://win.oneshotagent.com/v1/tools/meetings/list","href":"/api-reference/connections/meetings"},{"title":"Phone calls","api":"POST https://win.oneshotagent.com/v1/tools/calls/list","href":"/api-reference/connections/calls"},{"title":"Legal matters","api":"POST https://win.oneshotagent.com/v1/tools/matters/list","href":"/api-reference/connections/matters"},{"title":"Client work","api":"POST https://win.oneshotagent.com/v1/tools/client_work/clients","href":"/api-reference/connections/client-work"},{"title":"Portfolio","api":"POST https://win.oneshotagent.com/v1/tools/portfolio/holdings","href":"/api-reference/connections/portfolio"},{"title":"Practice","api":"POST https://win.oneshotagent.com/v1/tools/practice/patients","href":"/api-reference/connections/practice"},{"title":"Mailbox","api":"POST https://win.oneshotagent.com/v1/tools/mailbox/messages","href":"/api-reference/connections/mailbox"},{"title":"Files","api":"POST https://win.oneshotagent.com/v1/tools/files/search","href":"/api-reference/connections/files"},{"title":"Field service","api":"POST https://win.oneshotagent.com/v1/tools/field_service/clients","href":"/api-reference/connections/field-service"}]},{"group":"Data","pages":[{"group":"Companies \u0026 finance","pages":[{"title":"Adviser Registration","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-adviser-registration","href":"/api-reference/lookup/company-adviser-registration"},{"title":"Bank Profile","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-bank-profile","href":"/api-reference/lookup/company-bank-profile"},{"title":"Company Dossier","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-dossier","href":"/api-reference/lookup/company-dossier"},{"title":"Company Filings","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-filings","href":"/api-reference/lookup/company-filings"},{"title":"Consumer Finance Complaints","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-consumer-complaints","href":"/api-reference/lookup/company-consumer-complaints"},{"title":"Domain Registration","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-domain-registration","href":"/api-reference/lookup/company-domain-registration"},{"title":"Environmental Compliance","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-environmental-compliance","href":"/api-reference/lookup/company-environmental-compliance"},{"title":"Export Restrictions","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-export-restrictions","href":"/api-reference/lookup/company-export-restrictions"},{"title":"Federal Awards","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-federal-awards","href":"/api-reference/lookup/company-federal-awards"},{"title":"Fund Holdings","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-fund-holdings","href":"/api-reference/lookup/company-fund-holdings"},{"title":"Home Price Index","api":"POST https://win.oneshotagent.com/v1/tools/lookup/place-home-price-index","href":"/api-reference/lookup/place-home-price-index"},{"title":"Insider Trades","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-insider-trades","href":"/api-reference/lookup/company-insider-trades"},{"title":"Interest Rates","api":"POST https://win.oneshotagent.com/v1/tools/lookup/market-interest-rates","href":"/api-reference/lookup/market-interest-rates"},{"title":"Jobs and Wages","api":"POST https://win.oneshotagent.com/v1/tools/lookup/place-jobs-wages","href":"/api-reference/lookup/place-jobs-wages"},{"title":"Legal Entity Identifier","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-legal-identifier","href":"/api-reference/lookup/company-legal-identifier"},{"title":"Motor Carrier Record","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-motor-carrier","href":"/api-reference/lookup/company-motor-carrier"},{"title":"Nonprofit Status","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-nonprofit-status","href":"/api-reference/lookup/company-nonprofit-status"},{"title":"Private Raises","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-private-raises","href":"/api-reference/lookup/company-private-raises"},{"title":"Radio Licenses","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-radio-licenses","href":"/api-reference/lookup/company-radio-licenses"},{"title":"Reported Financials","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-financials","href":"/api-reference/lookup/company-financials"},{"title":"Sanctions Listing","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-sanctions","href":"/api-reference/sanctions"},{"title":"SBA Loans","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-sba-loans","href":"/api-reference/lookup/company-sba-loans"},{"title":"VAT Registration","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-vat-registration","href":"/api-reference/lookup/company-vat-registration"},{"title":"Visa Sponsorship","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-visa-sponsorship","href":"/api-reference/lookup/company-visa-sponsorship"}]},{"group":"Health","pages":[{"title":"Care Quality Ratings","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-care-quality","href":"/api-reference/lookup/company-care-quality"},{"title":"Clinical Trials","api":"POST https://win.oneshotagent.com/v1/tools/find/record-clinical-trials","href":"/api-reference/lookup/record-clinical-trials"},{"title":"Cosmetic Adverse Events","api":"POST https://win.oneshotagent.com/v1/tools/lookup/product-cosmetic-adverse-events","href":"/api-reference/lookup/product-cosmetic-adverse-events"},{"title":"Device Adverse Events","api":"POST https://win.oneshotagent.com/v1/tools/lookup/product-device-adverse-events","href":"/api-reference/lookup/product-device-adverse-events"},{"title":"Device Clearances","api":"POST https://win.oneshotagent.com/v1/tools/lookup/product-device-clearances","href":"/api-reference/lookup/product-device-clearances"},{"title":"Device Identifier","api":"POST https://win.oneshotagent.com/v1/tools/lookup/product-device-identifier","href":"/api-reference/lookup/product-device-identifier"},{"title":"Drug Acquisition Cost","api":"POST https://win.oneshotagent.com/v1/tools/lookup/market-drug-acquisition-cost","href":"/api-reference/lookup/market-drug-acquisition-cost"},{"title":"Drug Adverse Events","api":"POST https://win.oneshotagent.com/v1/tools/lookup/product-drug-adverse-events","href":"/api-reference/lookup/product-drug-adverse-events"},{"title":"Drug Equivalents","api":"POST https://win.oneshotagent.com/v1/tools/lookup/product-drug-equivalents","href":"/api-reference/lookup/product-drug-equivalents"},{"title":"Drug Label","api":"POST https://win.oneshotagent.com/v1/tools/lookup/product-drug-label","href":"/api-reference/lookup/product-drug-label"},{"title":"Drug Shortages","api":"POST https://win.oneshotagent.com/v1/tools/lookup/product-drug-shortages","href":"/api-reference/lookup/product-drug-shortages"},{"title":"FDA Establishment Registration","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-fda-registration","href":"/api-reference/lookup/company-fda-registration"},{"title":"Health Inspections","api":"POST https://win.oneshotagent.com/v1/tools/lookup/business-health-inspections","href":"/api-reference/lookup/business-health-inspections"},{"title":"Health Provider Registration","api":"POST https://win.oneshotagent.com/v1/tools/lookup/person-health-provider","href":"/api-reference/lookup/person-health-provider"},{"title":"Health Provider Registration (organization)","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-health-provider","href":"/api-reference/lookup/company-health-provider"},{"title":"Hospitals","api":"POST https://win.oneshotagent.com/v1/tools/lookup/place-hospitals","href":"/api-reference/lookup/place-hospitals"},{"title":"Medicare Drug Spending","api":"POST https://win.oneshotagent.com/v1/tools/lookup/market-medicare-drug-spending","href":"/api-reference/lookup/market-medicare-drug-spending"},{"title":"Medicare Fee Schedule","api":"POST https://win.oneshotagent.com/v1/tools/lookup/market-medicare-fees","href":"/api-reference/lookup/market-medicare-fees"},{"title":"Medicare Ownership","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-medicare-ownership","href":"/api-reference/lookup/company-medicare-ownership"}]},{"group":"Places \u0026 hazards","pages":[{"title":"Building Permits","api":"POST https://win.oneshotagent.com/v1/tools/lookup/place-permits","href":"/api-reference/building-permits"},{"title":"Disaster Declarations","api":"POST https://win.oneshotagent.com/v1/tools/lookup/place-disasters","href":"/api-reference/lookup/place-disasters"},{"title":"Drinking Water","api":"POST https://win.oneshotagent.com/v1/tools/lookup/place-drinking-water","href":"/api-reference/lookup/place-drinking-water"},{"title":"Earthquakes","api":"POST https://win.oneshotagent.com/v1/tools/lookup/place-earthquakes","href":"/api-reference/lookup/place-earthquakes"},{"title":"Environmental Sites","api":"POST https://win.oneshotagent.com/v1/tools/lookup/place-environmental-sites","href":"/api-reference/lookup/place-environmental-sites"},{"title":"Flood Insurance Claims","api":"POST https://win.oneshotagent.com/v1/tools/lookup/place-flood-claims","href":"/api-reference/lookup/place-flood-claims"},{"title":"Flood Zone","api":"POST https://win.oneshotagent.com/v1/tools/lookup/place-flood-zone","href":"/api-reference/lookup/place-flood-zone"},{"title":"Hail and Wind Reports","api":"POST https://win.oneshotagent.com/v1/tools/lookup/place-hail-wind-reports","href":"/api-reference/lookup/place-hail-wind-reports"},{"title":"Hazard Risk","api":"POST https://win.oneshotagent.com/v1/tools/lookup/place-hazard-risk","href":"/api-reference/lookup/place-hazard-risk"},{"title":"Opportunity Zone","api":"POST https://win.oneshotagent.com/v1/tools/lookup/place-opportunity-zone","href":"/api-reference/lookup/place-opportunity-zone"},{"title":"Place Resolve","api":"POST https://win.oneshotagent.com/v1/tools/resolve/place","href":"/api-reference/lookup/place"},{"title":"Schools","api":"POST https://win.oneshotagent.com/v1/tools/lookup/place-schools","href":"/api-reference/lookup/place-schools"},{"title":"Storm Events","api":"POST https://win.oneshotagent.com/v1/tools/lookup/place-storm-events","href":"/api-reference/lookup/place-storm-events"},{"title":"Tropical Cyclones","api":"POST https://win.oneshotagent.com/v1/tools/lookup/place-tropical-cyclones","href":"/api-reference/lookup/place-tropical-cyclones"},{"title":"Weather Alerts","api":"POST https://win.oneshotagent.com/v1/tools/lookup/place-weather-alerts","href":"/api-reference/lookup/place-weather-alerts"},{"title":"Wildfires","api":"POST https://win.oneshotagent.com/v1/tools/lookup/place-wildfires","href":"/api-reference/lookup/place-wildfires"}]},{"group":"Places \u0026 imagery","pages":[{"title":"Camera Check","api":"POST https://win.oneshotagent.com/v1/tools/lookup/place-camera-snapshot","href":"/api-reference/lookup/place-camera-snapshot"},{"title":"Radar Imagery","api":"POST https://win.oneshotagent.com/v1/tools/lookup/place-radar-imagery","href":"/api-reference/lookup/place-radar-imagery"},{"title":"Recent Imagery","api":"POST https://win.oneshotagent.com/v1/tools/lookup/place-recent-imagery","href":"/api-reference/lookup/place-recent-imagery"},{"title":"Satellite Passes","api":"POST https://win.oneshotagent.com/v1/tools/lookup/place-satellite-passes","href":"/api-reference/lookup/place-satellite-passes"}]},{"group":"Products \u0026 vehicles","pages":[{"title":"Aircraft Registration","api":"POST https://win.oneshotagent.com/v1/tools/lookup/aircraft-registration","href":"/api-reference/lookup/aircraft-registration"},{"title":"Crash Ratings","api":"POST https://win.oneshotagent.com/v1/tools/lookup/vehicle-crash-ratings","href":"/api-reference/lookup/vehicle-crash-ratings"},{"title":"Duty Rate","api":"POST https://win.oneshotagent.com/v1/tools/lookup/product-duty-rate","href":"/api-reference/lookup/product-duty-rate"},{"title":"Energy Efficiency Certification","api":"POST https://win.oneshotagent.com/v1/tools/lookup/product-energy-certification","href":"/api-reference/lookup/product-energy-certification"},{"title":"Freight Index","api":"POST https://win.oneshotagent.com/v1/tools/lookup/market-freight-index","href":"/api-reference/lookup/market-freight-index"},{"title":"Freight Rate Quote","api":"POST https://win.oneshotagent.com/v1/tools/lookup/market-freight-rate","href":"/api-reference/lookup/market-freight-rate"},{"title":"Fuel Economy","api":"POST https://win.oneshotagent.com/v1/tools/lookup/vehicle-fuel-economy","href":"/api-reference/lookup/vehicle-fuel-economy"},{"title":"Person Assets","api":"POST https://win.oneshotagent.com/v1/tools/lookup/person-assets","href":"/api-reference/lookup/person-assets"},{"title":"Product Recalls","api":"POST https://win.oneshotagent.com/v1/tools/lookup/product-recalls","href":"/api-reference/lookup/product-recalls"},{"title":"Truck Rates","api":"POST https://win.oneshotagent.com/v1/tools/lookup/market-truck-rates","href":"/api-reference/lookup/market-truck-rates"},{"title":"Vehicle Complaints","api":"POST https://win.oneshotagent.com/v1/tools/lookup/vehicle-complaints","href":"/api-reference/lookup/vehicle-complaints"},{"title":"Vehicle Identification","api":"POST https://win.oneshotagent.com/v1/tools/lookup/vehicle-identification","href":"/api-reference/lookup/vehicle-identification"},{"title":"Vehicle Recalls","api":"POST https://win.oneshotagent.com/v1/tools/lookup/vehicle-recalls","href":"/api-reference/lookup/vehicle-recalls"},{"title":"Vessel Ownership","api":"POST https://win.oneshotagent.com/v1/tools/lookup/vessel-ownership","href":"/api-reference/lookup/vessel-ownership"}]},{"group":"Government \u0026 legal","pages":[{"title":"Contractor License","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-contractor-license","href":"/api-reference/lookup/company-contractor-license"},{"title":"Court Cases","api":"POST https://win.oneshotagent.com/v1/tools/find/record-court-cases","href":"/api-reference/lookup/record-court-cases"},{"title":"Customs Rulings","api":"POST https://win.oneshotagent.com/v1/tools/find/record-customs-rulings","href":"/api-reference/lookup/record-customs-rulings"},{"title":"Federal Labor Rates","api":"POST https://win.oneshotagent.com/v1/tools/lookup/market-federal-labor-rates","href":"/api-reference/lookup/market-federal-labor-rates"},{"title":"Federal Register Documents","api":"POST https://win.oneshotagent.com/v1/tools/find/record-federal-register","href":"/api-reference/lookup/record-federal-register"},{"title":"Federal Solicitations","sidebarTitle":"Solicitations","api":"POST https://win.oneshotagent.com/v1/tools/find/record-solicitations","href":"/api-reference/gov/solicitations"},{"title":"Liquor License","api":"POST https://win.oneshotagent.com/v1/tools/lookup/business-liquor-license","href":"/api-reference/lookup/business-liquor-license"},{"title":"Lobbying","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-lobbying","href":"/api-reference/lookup/company-lobbying"},{"title":"Person Appearances","api":"POST https://win.oneshotagent.com/v1/tools/lookup/person-appearances","href":"/api-reference/lookup/person-appearances"},{"title":"Regulatory Dockets","api":"POST https://win.oneshotagent.com/v1/tools/find/record-dockets","href":"/api-reference/lookup/record-dockets"},{"title":"Vulnerability","api":"POST https://win.oneshotagent.com/v1/tools/lookup/record-vulnerability","href":"/api-reference/lookup/record-vulnerability"}]},{"group":"Life sciences","pages":[{"title":"Compound Hazards","api":"POST https://win.oneshotagent.com/v1/tools/lookup/compound-hazards","href":"/api-reference/lookup/compound-hazards"},{"title":"Compound Properties","api":"POST https://win.oneshotagent.com/v1/tools/lookup/compound-properties","href":"/api-reference/lookup/compound-properties"},{"title":"Compound Resolve","api":"POST https://win.oneshotagent.com/v1/tools/resolve/compound","href":"/api-reference/lookup/compound"},{"title":"Compound Targets","api":"POST https://win.oneshotagent.com/v1/tools/lookup/compound-targets","href":"/api-reference/lookup/compound-targets"},{"title":"Gene Diseases","api":"POST https://win.oneshotagent.com/v1/tools/lookup/gene-diseases","href":"/api-reference/lookup/gene-diseases"},{"title":"Gene Expression","api":"POST https://win.oneshotagent.com/v1/tools/lookup/gene-expression","href":"/api-reference/lookup/gene-expression"},{"title":"Gene Pathways","api":"POST https://win.oneshotagent.com/v1/tools/lookup/gene-pathways","href":"/api-reference/lookup/gene-pathways"},{"title":"Gene Publications","api":"POST https://win.oneshotagent.com/v1/tools/lookup/gene-publications","href":"/api-reference/lookup/gene-publications"},{"title":"Gene Resolve","api":"POST https://win.oneshotagent.com/v1/tools/resolve/gene","href":"/api-reference/lookup/gene"},{"title":"Gene Summary","api":"POST https://win.oneshotagent.com/v1/tools/lookup/gene-summary","href":"/api-reference/lookup/gene-summary"},{"title":"Gene Variants","api":"POST https://win.oneshotagent.com/v1/tools/find/gene-variants","href":"/api-reference/lookup/gene-variants"},{"title":"Organism Identity","api":"POST https://win.oneshotagent.com/v1/tools/resolve/organism","href":"/api-reference/lookup/organism"},{"title":"Protein Domains","api":"POST https://win.oneshotagent.com/v1/tools/lookup/protein-domains","href":"/api-reference/lookup/protein-domains"},{"title":"Protein Function","api":"POST https://win.oneshotagent.com/v1/tools/lookup/protein-function","href":"/api-reference/lookup/protein-function"},{"title":"Protein Interactions","api":"POST https://win.oneshotagent.com/v1/tools/lookup/protein-interactions","href":"/api-reference/lookup/protein-interactions"},{"title":"Protein Resolve","api":"POST https://win.oneshotagent.com/v1/tools/resolve/protein","href":"/api-reference/lookup/protein"},{"title":"Protein Sequence","api":"POST https://win.oneshotagent.com/v1/tools/lookup/protein-sequence","href":"/api-reference/lookup/protein-sequence"},{"title":"Protein Structure","api":"POST https://win.oneshotagent.com/v1/tools/lookup/protein-structure","href":"/api-reference/lookup/protein-structure"},{"title":"Publications","api":"POST https://win.oneshotagent.com/v1/tools/find/record-publications","href":"/api-reference/lookup/record-publications"},{"title":"Variant Clinical Significance","api":"POST https://win.oneshotagent.com/v1/tools/lookup/variant-clinical-significance","href":"/api-reference/lookup/variant-clinical-significance"},{"title":"Variant Frequency","api":"POST https://win.oneshotagent.com/v1/tools/lookup/variant-frequency","href":"/api-reference/lookup/variant-frequency"},{"title":"Variant Resolve","api":"POST https://win.oneshotagent.com/v1/tools/resolve/variant","href":"/api-reference/lookup/variant"}]}]},{"group":"Monitoring","pages":[{"title":"Watch","api":"POST https://win.oneshotagent.com/v1/tools/watch","href":"/api-reference/watch"},{"title":"Changes","api":"POST https://win.oneshotagent.com/v1/tools/changes","description":"What changed about an entity since a date, from the facts we have recorded","href":"/api-reference/changes"},{"title":"Benchmark","api":"POST https://win.oneshotagent.com/v1/tools/benchmark","href":"/api-reference/benchmark"}]},{"group":"Research \u0026 Enrich","pages":[{"title":"Deep Research","api":"POST https://win.oneshotagent.com/v1/tools/research","description":"Research a topic and get a report with citations","href":"/api-reference/research"},{"title":"Person Intelligence","sidebarTitle":"Person Intelligence","api":"POST https://win.oneshotagent.com/v1/tools/lookup/person-dossier","href":"/api-reference/research/person-intelligence"},{"title":"Person Find","api":"POST /v1/tools/find/person","href":"/api-reference/research/person-find"},{"title":"Company Research","sidebarTitle":"Company Research","api":"POST https://win.oneshotagent.com/v1/tools/find/company","href":"/api-reference/research/company"},{"title":"Enrich Profile","api":"POST /v1/tools/lookup/person-profile","href":"/api-reference/enrich/profile"},{"title":"Find Email","api":"POST /v1/tools/lookup/person-email","href":"/api-reference/enrich/email"},{"title":"Verify Email","api":"POST /v1/tools/lookup/person-email-status","href":"/api-reference/verify/email"},{"title":"Identity Verification","api":"POST https://win.oneshotagent.com/v1/tools/identity/start","href":"/api-reference/identity"},{"title":"Local Businesses","sidebarTitle":"Local Businesses","api":"POST https://win.oneshotagent.com/v1/tools/find/business","href":"/api-reference/local/businesses"}]},{"group":"Messaging","pages":[{"group":"Email","pages":[{"title":"Get Email Quote","api":"POST https://win.oneshotagent.com/v1/tools/email/quote","href":"/api-reference/email/quote"},{"title":"Email","api":"POST https://win.oneshotagent.com/v1/tools/email/send","href":"/api-reference/email/send"},{"title":"List Domain Pool","api":"GET https://win.oneshotagent.com/v1/tools/email/domains","href":"/api-reference/email/domains"},{"title":"Connect your sending domain","api":"POST https://win.oneshotagent.com/v1/domains/setup","href":"/api-reference/email/domain-setup"},{"title":"Buy a sending domain","api":"POST https://win.oneshotagent.com/v1/domains/buy","href":"/api-reference/email/domain-purchase"},{"title":"Pause Domain","api":"POST https://win.oneshotagent.com/v1/tools/email/domains/{domain}/pause","href":"/api-reference/email/domain-pause"},{"title":"Resume Domain","api":"POST https://win.oneshotagent.com/v1/tools/email/domains/{domain}/resume","href":"/api-reference/email/domain-resume"}]},{"group":"Email Inbox","pages":[{"title":"Email Inbox","api":"GET https://win.oneshotagent.com/v1/tools/inbox","href":"/api-reference/inbox/list"},{"title":"Read Email","api":"GET https://win.oneshotagent.com/v1/tools/inbox/{emailId}","href":"/api-reference/inbox/get"}]},{"group":"Voice","pages":[{"title":"Voice Call","api":"POST https://win.oneshotagent.com/v1/tools/voice/call","href":"/api-reference/voice/call"},{"title":"Inbound Calls","api":"PUT https://win.oneshotagent.com/v1/tools/voice/numbers/{id}/inbound","href":"/api-reference/voice/inbound"}]},{"group":"SMS","pages":[{"title":"SMS","api":"POST https://win.oneshotagent.com/v1/tools/sms/send","href":"/api-reference/sms/send"},{"title":"SMS Inbox","api":"GET https://win.oneshotagent.com/v1/tools/sms/inbox","href":"/api-reference/sms/inbox-list"},{"title":"Read SMS","api":"GET https://win.oneshotagent.com/v1/tools/sms/inbox/{messageId}","href":"/api-reference/sms/inbox-get"}]},{"group":"Physical Mail","root":{"title":"Physical Mail","sidebarTitle":"Physical Mail","icon":"envelope-open-text","href":"/api-reference/physical-mail/overview"},"pages":[{"title":"Upload artwork","api":"POST https://win.oneshotagent.com/v1/tools/physical-mail/assets","href":"/api-reference/physical-mail/assets"},{"title":"Validate an address","api":"POST https://win.oneshotagent.com/v1/tools/physical-mail/validate-address","href":"/api-reference/physical-mail/validate-address"},{"title":"Preview and quote a mailpiece","sidebarTitle":"Preview","api":"POST https://win.oneshotagent.com/v1/tools/physical-mail/preview","href":"/api-reference/physical-mail/preview"},{"title":"Get a quote","api":"GET https://win.oneshotagent.com/v1/tools/physical-mail/quotes/{id}","href":"/api-reference/physical-mail/quote"},{"title":"Approve a quote","api":"POST https://win.oneshotagent.com/v1/tools/physical-mail/approve","href":"/api-reference/physical-mail/approve"},{"title":"Send an approved mailpiece","sidebarTitle":"Send","api":"POST https://win.oneshotagent.com/v1/tools/physical-mail/send","href":"/api-reference/physical-mail/send"},{"title":"Get an order","api":"GET https://win.oneshotagent.com/v1/tools/physical-mail/orders/{id}","href":"/api-reference/physical-mail/order"},{"title":"Recover an order","api":"GET https://win.oneshotagent.com/v1/tools/physical-mail/orders/recover","href":"/api-reference/physical-mail/recover"},{"title":"Cancel an order","api":"POST https://win.oneshotagent.com/v1/tools/physical-mail/orders/{id}/cancel","href":"/api-reference/physical-mail/cancel"}]},{"group":"LinkedIn","root":{"title":"LinkedIn Messaging","sidebarTitle":"Overview","href":"/api-reference/linkedin/overview"},"pages":[{"title":"Connect a LinkedIn Account","sidebarTitle":"Connect","api":"POST https://win.oneshotagent.com/v1/tools/linkedin/connect","href":"/api-reference/linkedin/connect"},{"title":"Connected Accounts","sidebarTitle":"Accounts","api":"GET https://win.oneshotagent.com/v1/tools/linkedin/accounts","href":"/api-reference/linkedin/accounts"},{"title":"Sync History","sidebarTitle":"Sync","api":"POST https://win.oneshotagent.com/v1/tools/linkedin/sync","href":"/api-reference/linkedin/sync"},{"title":"List Conversations","sidebarTitle":"Conversations","api":"GET https://win.oneshotagent.com/v1/tools/linkedin/accounts/{id}/conversations","href":"/api-reference/linkedin/conversations"},{"title":"List Messages","sidebarTitle":"Messages","api":"GET https://win.oneshotagent.com/v1/tools/linkedin/accounts/{id}/messages","href":"/api-reference/linkedin/messages"},{"title":"Send a Reply","sidebarTitle":"Reply","api":"POST https://win.oneshotagent.com/v1/tools/linkedin/reply","href":"/api-reference/linkedin/reply"},{"title":"Message a Connection","sidebarTitle":"Message","api":"POST https://win.oneshotagent.com/v1/tools/linkedin/message","href":"/api-reference/linkedin/message"},{"title":"Profile Views and Reactions","sidebarTitle":"Engagement","api":"POST https://win.oneshotagent.com/v1/tools/linkedin/profile-view","href":"/api-reference/linkedin/engagement"},{"title":"Send an invitation","api":"POST https://win.oneshotagent.com/v1/tools/linkedin/invite","href":"/api-reference/linkedin/invite"},{"title":"Withdraw an invitation","api":"POST https://win.oneshotagent.com/v1/tools/linkedin/invite/withdraw","href":"/api-reference/linkedin/withdraw"},{"title":"Invitation Status","sidebarTitle":"Invitation status","api":"GET https://win.oneshotagent.com/v1/tools/linkedin/accounts/{id}/invitations","href":"/api-reference/linkedin/invitations"}]}]},{"group":"Web \u0026 Browser","pages":[{"title":"Web Search","api":"POST https://win.oneshotagent.com/v1/tools/search","href":"/api-reference/web-search"},{"title":"Web Read","api":"POST https://win.oneshotagent.com/v1/tools/web-read","href":"/api-reference/web-read"},{"title":"Browser","api":"POST https://win.oneshotagent.com/v1/tools/browser","href":"/api-reference/browser/create"},{"title":"Browser Profiles","api":"POST https://win.oneshotagent.com/v1/tools/browser/profiles","href":"/api-reference/browser/profiles"}]},{"group":"Build","pages":[{"title":"Build Site","api":"POST https://win.oneshotagent.com/v1/tools/build","href":"/api-reference/build/create"},{"title":"Update Build","api":"POST https://win.oneshotagent.com/v1/tools/build","href":"/api-reference/build/update"}]},{"group":"Commerce","pages":[{"title":"Product Search","api":"POST /v1/tools/find/product","href":"/api-reference/find/product"},{"title":"Purchase","api":"POST /v1/tools/commerce/buy","href":"/api-reference/commerce/buy"}]},{"group":"Account \u0026 billing","pages":[{"group":"Account","pages":[{"title":"Notifications","api":"GET /v1/tools/notifications","href":"/api-reference/notifications/list"},{"title":"Mark Read","api":"PATCH /v1/tools/notifications/{id}/read","href":"/api-reference/notifications/read"}]},{"group":"Credits","pages":[{"title":"Top Up Credits","api":"POST https://win.oneshotagent.com/v1/credits/top-up","href":"/api-reference/credits/top-up"}]},{"group":"Budgets","root":{"title":"Spend Budgets","sidebarTitle":"Overview","icon":"gauge","href":"/api-reference/budgets/overview"},"pages":[{"title":"Get Budget","api":"GET https://win.oneshotagent.com/v1/agents/me/budgets","icon":"gauge","href":"/api-reference/budgets/get"},{"title":"Set Budget","api":"PUT https://win.oneshotagent.com/v1/agents/me/budgets","icon":"sliders","href":"/api-reference/budgets/set"}]},{"group":"Approvals","root":{"title":"Approvals","sidebarTitle":"Overview","icon":"circle-check","href":"/api-reference/approvals/overview"},"pages":[{"title":"Ask for approval","api":"POST https://win.oneshotagent.com/v1/approvals","icon":"circle-check","href":"/api-reference/approvals/create"},{"title":"List approvals","api":"GET https://win.oneshotagent.com/v1/approvals","icon":"list","href":"/api-reference/approvals/list"},{"title":"Get approval","api":"GET https://win.oneshotagent.com/v1/approvals/{id}","icon":"circle-info","href":"/api-reference/approvals/get"},{"title":"Cancel approval","api":"POST https://win.oneshotagent.com/v1/approvals/{id}/cancel","icon":"ban","href":"/api-reference/approvals/cancel"},{"title":"Get action policy","api":"GET https://win.oneshotagent.com/v1/agents/me/action-policy","icon":"shield","href":"/api-reference/approvals/get-action-policy"},{"title":"Set action policy","api":"PUT https://win.oneshotagent.com/v1/agents/me/action-policy","icon":"sliders","href":"/api-reference/approvals/set-action-policy"}]},{"group":"Receipts \u0026 Analytics","root":{"title":"Receipts \u0026 Analytics","sidebarTitle":"Overview","icon":"receipt","href":"/api-reference/analytics/overview"},"pages":[{"title":"List Receipts","sidebarTitle":"List Receipts","api":"GET https://win.oneshotagent.com/v1/analytics/receipts","icon":"list","href":"/api-reference/analytics/receipts"},{"title":"Spend Breakdown","sidebarTitle":"Spend Breakdown","api":"GET https://win.oneshotagent.com/v1/analytics/spend/breakdown","icon":"chart-pie","href":"/api-reference/analytics/spend-breakdown"},{"title":"Return on Cognitive Spend","sidebarTitle":"RoCS","api":"GET https://win.oneshotagent.com/v1/analytics/rocs","icon":"chart-line-up","href":"/api-reference/analytics/rocs"},{"title":"Tag Receipt Value","sidebarTitle":"Tag Value","api":"PATCH https://win.oneshotagent.com/v1/analytics/receipts/{receiptId}/value","icon":"tag","href":"/api-reference/analytics/value"}]}]},{"group":"Other","pages":[{"title":"Check Job Status","api":"GET https://win.oneshotagent.com/v1/requests/{id}","href":"/api-reference/status"}]}]},{"tab":"OneShot GTM","pages":[{"title":"OneShot GTM","href":"/oneshot-gtm/introduction"}]},{"tab":"Stripe ACP","pages":[{"title":"Stripe ACP","href":"/api-reference/acp/overview"}]},{"tab":"Soul.Markets","pages":[{"title":"Soul.Markets","href":"/api-reference/soul/overview"}]},{"tab":"SoulHunt","pages":[{"title":"SoulHunt","href":"/api-reference/soulhunt/overview"}]}]},"basePath":"","title":"Benchmark - OneShot","buildId":"dpl_G2Qd45vZZ7MkBiGF9yYx8ZsbbKXX","deploymentId":"dpl_G2Qd45vZZ7MkBiGF9yYx8ZsbbKXX","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-NXj-Rqjv.js","utils-m0thOP-_.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-D13EKcfm.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema--XTdfsEb.js","snippetPresets-D3s4lmAH.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-ChURybxL.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-DL8CiXq2.js","shallow-DI2-YB2E.js","getApiPlaygroundDisplay-DxbW7b_y.js","CodeSnippet-CiNYS0pP.js","CodeSnippets-BT87bThu.js","Page-DSpdRuhM.js","getPastedJson-F_g_IrFQ.js","icon-CCIG5BAs.js","MethodPill-DY3E0jwx.js","DuplicateIcon-BN88xnEg.js","createIcon-VCCc5HO5.js","DynamicMarkdown-CaSwclgK.js","SectionHeading-DXV8nWhc.js","axios-vUo_bRtp.js"]}