curl -X POST https://win.oneshotagent.com/v1/tools/changes \
-H "Content-Type: application/json" \
-H "payment-signature: <base64 x402 payment>" \
-d '{
"attribute": "vehicle_identification",
"key": "1HGCM82633A004352",
"since": "2026-01-01"
}'
import { OneShot } from "@oneshot-agent/sdk";
const agent = new OneShot({ privateKey: process.env.AGENT_PRIVATE_KEY });
const result = await agent.tool("changes", {
attribute: "vehicle_identification",
key: "1HGCM82633A004352",
since: "2026-01-01",
});
{
"success": true,
"data": {
"request_id": "6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11",
"status": "completed",
"tool": "changes",
"attribute": "vehicle_identification",
"key": "1HGCM82633A004352",
"recorded_since": "2026-03-02",
"partial": false,
"changes": [
{
"changed_on": "2026-06-10",
"field": "make",
"before": "HONDA",
"after": "HONDA MOTOR",
"source": "US National Highway Traffic Safety Administration",
"as_of": null
}
],
"truncated": false,
"history_gaps": []
}
}
Monitoring
Changes
What changed about an entity since a date, from the facts we have recorded
POST
/
v1
/
tools
/
changes
curl -X POST https://win.oneshotagent.com/v1/tools/changes \
-H "Content-Type: application/json" \
-H "payment-signature: <base64 x402 payment>" \
-d '{
"attribute": "vehicle_identification",
"key": "1HGCM82633A004352",
"since": "2026-01-01"
}'
import { OneShot } from "@oneshot-agent/sdk";
const agent = new OneShot({ privateKey: process.env.AGENT_PRIVATE_KEY });
const result = await agent.tool("changes", {
attribute: "vehicle_identification",
key: "1HGCM82633A004352",
since: "2026-01-01",
});
{
"success": true,
"data": {
"request_id": "6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11",
"status": "completed",
"tool": "changes",
"attribute": "vehicle_identification",
"key": "1HGCM82633A004352",
"recorded_since": "2026-03-02",
"partial": false,
"changes": [
{
"changed_on": "2026-06-10",
"field": "make",
"before": "HONDA",
"after": "HONDA MOTOR",
"source": "US National Highway Traffic Safety Administration",
"as_of": null
}
],
"truncated": false,
"history_gaps": []
}
}
Returns an entity’s dated changes. Empty windows are charged (Pricing).
Authentication
x402 payment in thepayment-signature header.
Request body
Response (200)
Each has
changed_on (UTC day the later value first appeared), field (e.g. engine.cylinders), before, after, source, as_of (source date or null). Departures/rejoins use $entity, values listed / not_listed.Missing history intervals:
source, from, to (UTC timestamps), hours. Healthcare snapshots return [].Person and company history
- Attributes:
person_profile,person_social_accounts,person_email,person_email_status,company_profile; dossier sections alsoperson_articlesandperson_posts. - Source:
person_dossierfor dossier profiles/social accounts; otherwise the attribute. keyonly (noinput). Person:https://www.linkedin.com/in/<lowercase-slug>without query or trailing slash, or lowercase email without LinkedIn. Company: lowercase domain withoutwww..
curl -X POST https://win.oneshotagent.com/v1/tools/changes \
-H "Content-Type: application/json" \
-H "payment-signature: <base64 x402 payment>" \
-d '{
"attribute": "vehicle_identification",
"key": "1HGCM82633A004352",
"since": "2026-01-01"
}'
import { OneShot } from "@oneshot-agent/sdk";
const agent = new OneShot({ privateKey: process.env.AGENT_PRIVATE_KEY });
const result = await agent.tool("changes", {
attribute: "vehicle_identification",
key: "1HGCM82633A004352",
since: "2026-01-01",
});
{
"success": true,
"data": {
"request_id": "6f1c2a94-0d1e-4b53-9d0e-2f6f0c1f7a11",
"status": "completed",
"tool": "changes",
"attribute": "vehicle_identification",
"key": "1HGCM82633A004352",
"recorded_since": "2026-03-02",
"partial": false,
"changes": [
{
"changed_on": "2026-06-10",
"field": "make",
"before": "HONDA",
"after": "HONDA MOTOR",
"source": "US National Highway Traffic Safety Administration",
"as_of": null
}
],
"truncated": false,
"history_gaps": []
}
}
Errors
Before payment:400 invalid_input: no history for the attribute, or an invalidinput.400 invalid_request: bad date,untilbeforesince, not exactly one ofkeyandinput, orinputover 10,000 characters.
400 invalid_input listing sources when source is missing.
Monthly healthcare exclusion snapshots
attribute: "healthcare_exclusions" with input: { "entity": "person", "release": "2026-09", "name": "FIRST MIDDLE LAST" } (or "company"); since optional.
Input:
- At most one of
name(case-insensitive),npiorupin. A name returns every matching row, not a verified identity. previous_release: "2026-08"compares two held months; a missing month returnspartial: true.- If
truncated, repeat withinput.afterset tonext_row_hash.
matches, the heldcoverageversions, and rows added and removed since the previous held version;as_ofisnull.- A
row_hashidentifies a whole row. A corrected detail is one removal plus one addition; duplicate rows carrymultiplicity, andbefore/aftercarry the row and itscount. source_modified_atis the file timestamp,recorded_atour publication time.identity: "full_row_hash": rows, not people.releaseandprevious_release: selected metadata ornull(run_id,release,version,source_modified_at,recorded_at,row_count).interpretation: row membership; corrections remove then add; removal implies no reinstatement reason.
leie-row:… key. The first import bills no mass event.