Data schema

Every DevRefs payload is JSON-typed and conforms to a Schema.org Dataset shape, with HMAC _signature for anti-redistribution proof.

Pricing payload (/api/llm-prices)

{
  "data": {
    "model": "claude-opus-4-7",
    "input_per_mtok": 15,
    "output_per_mtok": 75,
    "effective_cost_factor": 1.35,
    "currency": "USD",
    "date_modified": "2026-05-05T06:00:00Z",
    "fetched_at": "2026-05-05T06:00:00Z",
    "same_as": "https://www.anthropic.com/pricing",
    "schema_version": "1.0"
  },
  "_signature": "<HMAC-SHA256 hex>",
  "_jsonld_dataset": {
    "@context": "https://schema.org",
    "@type": "Dataset",
    "dateModified": "2026-05-05T06:00:00Z",
    "sameAs": "https://www.anthropic.com/pricing"
  }
}

SDK payload (/api/sdk-status)

{
  "data": {
    "pkg": "ai",
    "latest": "5.0.12",
    "breaking_since": "5.0.0",
    "deprecated_versions": [],
    "date_modified": "2026-05-05T03:00:00Z",
    "fetched_at": "2026-05-05T03:00:00Z",
    "same_as": "https://www.npmjs.com/package/ai",
    "schema_version": "1.0"
  },
  "_signature": "<HMAC-SHA256 hex>"
}

Audit payload (/api/agent-audit)

Cf. agent-audit-spec.md for the full input/output schema. Each output contains a unique _audit_id UUID + HMAC _signature, which are required to file a refund request under the 50 % ROI guarantee.

Headers

  • Last-Modified — same value as dateModified for cache validation
  • Cache-Control: public, max-age=21600 on pricing endpoint (6h cron)
  • X-PAYMENT-RESPONSE — x402 settlement reference (Coinbase facilitator)