Submit one already-redacted snapshot to the codec service. The
response carries the compressed output the connector should splice
into its agent’s tool response in place of the original snapshot_yaml.
For frame_type: "pass-through" responses, compressed_output is
omitted and the connector reuses the snapshot_yaml it sent.
Always 1 for v1. Missing or mismatched value returns
400 version_unsupported.
Available options:
1
Example:
"1"
X-Request-Id
string<uuid>
Optional client-supplied UUID v4. The server echoes this header in
the response and in every error body. If absent or malformed, the
server assigns one.
Accept-Encoding
string
gzip recommended. Snapshot bodies and compressed output are JSON
and benefit from response compression on slow links.
Example:
"gzip"
Body
application/json
session_id
string<uuid>
required
Client-generated UUID v4. Stable across every snapshot in the
session.
task_id
string<uuid>
required
Client-generated UUID v4. Stable across every snapshot in a
single task. Tasks are fully contained in one session.
step
integer
required
0-indexed step within the session. Must increase monotonically
within a session; out-of-order returns 400 step_out_of_order.
Required range: x >= 0
url
string
required
Page URL at the time of snapshot. On the default path it is
already redacted by the connector's Privacy Shield — values
such as IDs, tokens, and other PII-shaped substrings are replaced
with bracketed tokens. Under an accepted bypass
(client_redacted: false + privacy_shield_bypass: true) it is
the raw URL; the service structurally minimizes it before
persisting (host + path + query parameter names; query values,
fragment, and userinfo dropped).
snapshot_yaml
string
required
Playwright-MCP YAML snapshot, UTF-8 encoded. Already redacted
on the default path; raw under an accepted bypass. Maximum
decoded size 2 MiB; larger snapshots return 413 payload_too_large.
Maximum string length: 2097152
client_redacted
boolean
required
Audit signal that the connector's on-device Privacy Shield has
run. true on the default path — missing or false returns
400 privacy_shield_missing unless the bypass conditions below
are met.
false is accepted only under the Privacy Shield bypass
(D018): the request must also carry privacy_shield_bypass: trueand the authenticated key must be provisioned with
privacy_shield_bypass_allowed: true. Either missing returns
400 privacy_shield_missing. See the bypassUnredacted example.
redaction_stats
object
required
Category → count map. Empty {} means the Privacy Shield ran and
matched nothing. Counts only — never the redacted values.
Show child attributes
Examples:
{}
{ "email": 2, "CC_GENERIC": 1 }
{ "phone": 1, "address": 4 }
privacy_shield_bypass
boolean
Optional. Set true alongside client_redacted: false to opt
into an unredacted send. Additive — omitting it (the default
path) is unchanged behaviour. Accepted only when the
authenticated key is provisioned for bypass; otherwise
400 privacy_shield_missing. When true, redaction_stats
is {} and both url and snapshot_yaml are raw.
agent_llm
object
Optional. Customer's agent-LLM metadata, announced on the first
snapshot of a session; ignored on subsequent snapshots of the
same session (the codec service stores it on first sight).
Used to pick the correct tokenizer for token-aware features.
When absent, the codec falls back to tiktoken-fallback with
approximate counts. Char counts are unaffected by this field.
Show child attributes
Response
Snapshot processed. The connector splices compressed_output into
its agent's tool response, or — on frame_type: "pass-through" —
reuses the snapshot_yaml it sent.
frame_type
enum<string>
required
Frame type emitted by the codec. The single-letter values are the
wire encoding; the human-readable meaning of each:
I — keyframe. Full snapshot, returned on the first step of a
session and on forced refreshes (e.g. URL change). Equivalent in
size to the original snapshot.
P — delta. Only what changed since the previous step. Typically
a small fraction of the snapshot size.
P-nochange — no meaningful change since the previous step. The
response carries a sentinel header (=== No Changes (Step N) ===,
with an optional , K in a row suffix on consecutive nochanges)
plus a single short recap line summarising the URL, the
actionable-now element counts on the page, and up to three
recently-changed elements as a small ref anchor. The recap helps
an agent stay oriented across a stretch of no-op turns without
requesting a fresh snapshot.
pass-through — the codec chose not to compress this snapshot
(e.g. a full-table scan where compression wouldn't help). The
connector reuses the snapshot_yaml it sent in the request.
compressed_output is omitted from the response body.
Available options:
I,
P,
P-nochange,
pass-through
compression_stats
object
required
Show child attributes
compressed_output
string
The codec-emitted replacement for snapshot_yaml.
Required when frame_type is I, P, or P-nochange.
Absent when frame_type is pass-through — the
connector reuses the snapshot_yaml it sent in the request.
token_stats
object
Optional. Absent in the v1 steady-state path because
tokenization runs asynchronously after the response is sent.
See TokenStats for the full lifecycle rationale.
The authoritative per-snapshot token data lives on the
usage_events row keyed by (session_id, step); the connector
can fetch it later via the usage-report endpoint.
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"JD Codec","description":"Compress browser-agent perception streams ~80%+ via a stateful, lossy cloud codec — with on-device PII redaction.","colors":{"primary":"#3CFFD0","light":"#3CFFD0","dark":"#1AAA8A"},"logo":{"light":"https://mintcdn.com/jdcodec-88ece141/o1rbPCfC8TRRjpFd/logo/jdcodec-icon.svg?fit=max\u0026auto=format\u0026n=o1rbPCfC8TRRjpFd\u0026q=85\u0026s=b2a5af72537bcc6329e109ab5b895483","dark":"https://mintcdn.com/jdcodec-88ece141/o1rbPCfC8TRRjpFd/logo/jdcodec-icon.svg?fit=max\u0026auto=format\u0026n=o1rbPCfC8TRRjpFd\u0026q=85\u0026s=b2a5af72537bcc6329e109ab5b895483","href":"https://jdcodec.com"},"favicon":"https://mintcdn.com/jdcodec-88ece141/o1rbPCfC8TRRjpFd/logo/jdcodec-icon.svg?fit=max\u0026auto=format\u0026n=o1rbPCfC8TRRjpFd\u0026q=85\u0026s=b2a5af72537bcc6329e109ab5b895483","appearance":{"default":"dark","strict":false},"navbar":{"primary":{"type":"button","label":"Get an API key","href":"mailto:[email protected]?subject=API%20key%20request"}},"footer":{"socials":{},"links":[{"header":"Resources","items":[{"label":"Home","href":"https://jdcodec.com"},{"label":"Privacy","href":"https://jdcodec.com/privacy"},{"label":"Terms","href":"https://jdcodec.com/terms"}]},{"header":"Contact","items":[{"label":"[email protected]","href":"mailto:[email protected]"}]}]},"seo":{"indexing":"all"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"jdcodec-88ece141","hasAudioNarration":false,"actualSubdomain":"jdcodec-88ece141","customDomains":["jdcodec.com"],"gitSource":{"type":"github","owner":"jdcodec","repo":"jdc","deployBranch":"main","contentDirectory":"docs/public","isPrivate":true,"mountPath":"","label":""},"feedback":{"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ae9568c8f05918ed284392c:success","clientVersion":"0.0.4342","searchFilterCounts":[{"language":"default","tag":"Documentation","count":7},{"language":"default","tag":"Concepts","count":4},{"language":"default","tag":"API Reference","count":3},{"language":"default","tag":"Getting Started","count":2},{"language":"default","tag":"Security","count":1},{"language":"default","tag":"Health","count":1},{"language":"default","tag":"Snapshot","count":1},{"language":"default","tag":"Telemetry","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"/docs","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":"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":"site-roles","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":"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":"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":"turbopuffer-dual-write","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":"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":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/snapshot/submit-one-snapshot-for-compression","slug":"/api-reference/snapshot/submit-one-snapshot-for-compression","pageMetadata":{"title":"Submit one snapshot for compression","description":"Submit one already-redacted snapshot to the codec service. The\nresponse carries the compressed output the connector should splice\ninto its agent's tool response in place of the original `snapshot_yaml`.\n\nFor `frame_type: \"pass-through\"` responses, `compressed_output` is\nomitted and the connector reuses the `snapshot_yaml` it sent.\n","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/snapshot","href":"/api-reference/snapshot/submit-one-snapshot-for-compression","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsxs(_components.p, {\n children: [\"Submit one already-redacted snapshot to the codec service. The\\nresponse carries the compressed output the connector should splice\\ninto its agent’s tool response in place of the original \", _jsx(_components.code, {\n children: \"snapshot_yaml\"\n }), \".\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"For \", _jsx(_components.code, {\n children: \"frame_type: \\\"pass-through\\\"\"\n }), \" responses, \", _jsx(_components.code, {\n children: \"compressed_output\"\n }), \" is\\nomitted and the connector reuses the \", _jsx(_components.code, {\n children: \"snapshot_yaml\"\n }), \" it sent.\"]\n })]\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}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Submit one snapshot for compression","description":"Submit one already-redacted snapshot to the codec service. The\nresponse carries the compressed output the connector should splice\ninto its agent's tool response in place of the original `snapshot_yaml`.\n\nFor `frame_type: \"pass-through\"` responses, `compressed_output` is\nomitted and the connector reuses the `snapshot_yaml` it sent.\n","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/snapshot","href":"/api-reference/snapshot/submit-one-snapshot-for-compression","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Snapshot"],"summary":"Submit one snapshot for compression","description":"Submit one already-redacted snapshot to the codec service. The\nresponse carries the compressed output the connector should splice\ninto its agent's tool response in place of the original `snapshot_yaml`.\n\nFor `frame_type: \"pass-through\"` responses, `compressed_output` is\nomitted and the connector reuses the `snapshot_yaml` it sent.\n","operationId":"postSnapshot","parameters":["dc2eb6b6-efb5-4c5a-ac65-99af7b060b1f","626f601e-6ced-42c7-b482-fe7978247aa3","ec955235-a8cc-4ed9-9cbe-bc3e48d47921"],"requestBody":"ae673c86-9af3-4fe0-83d5-ceb893cfa2ce","responses":{"200":"1aa30afe-1549-4133-8851-aecad9f8d15c","400":"3f28593c-e90e-42fa-b641-904c010b1e6c","401":"21a1e080-e975-4ad7-89a2-fb9b47e3e4bf","402":"49cd47a1-3cda-4994-bba2-86cf3b1428f2","410":"2ea241bc-0a72-44b0-b027-4ed1b1fbe911","413":"602a16a2-4051-49d0-ada9-576d9ce55abd","429":"6ec88fc9-9671-461d-b654-2c755162cab1","500":"d1103876-1100-4548-8845-91fb6ec1d6a3","503":"79f19cad-97b0-4832-929a-390455523765"},"method":"post","type":"path","servers":["7249e482-f922-4bdd-a49f-24e969e2fb7a","51a0b2c1-3da3-4273-9cd0-6ddae9448a98"],"security":["79dfe657-983d-4e4e-a5fa-f1a5b47bc2b9"],"path":"/v1/snapshot","baseUrlOptions":["https://api.jdcodec.com","https://api-staging.jdcodec.com"],"title":"Submit one snapshot for compression","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"dc2eb6b6-efb5-4c5a-ac65-99af7b060b1f":{"name":"X-JDC-API-Version","in":"header","required":true,"description":"Always `1` for v1. Missing or mismatched value returns\n`400 version_unsupported`.\n","schema":{"type":"string","enum":["1"],"example":"1","isRequired":true,"description":"Always `1` for v1. Missing or mismatched value returns\n`400 version_unsupported`.\n","uniqueKey":"","typeLabel":"enum\u003cstring>"}},"626f601e-6ced-42c7-b482-fe7978247aa3":{"name":"X-Request-Id","in":"header","required":false,"description":"Optional client-supplied UUID v4. The server echoes this header in\nthe response and in every error body. If absent or malformed, the\nserver assigns one.\n","schema":{"type":"string","format":"uuid","isRequired":false,"description":"Optional client-supplied UUID v4. The server echoes this header in\nthe response and in every error body. If absent or malformed, the\nserver assigns one.\n","uniqueKey":"","typeLabel":"string\u003cuuid>"}},"ec955235-a8cc-4ed9-9cbe-bc3e48d47921":{"name":"Accept-Encoding","in":"header","required":false,"description":"`gzip` recommended. Snapshot bodies and compressed output are JSON\nand benefit from response compression on slow links.\n","schema":{"type":"string","example":"gzip","isRequired":false,"description":"`gzip` recommended. Snapshot bodies and compressed output are JSON\nand benefit from response compression on slow links.\n","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["session_id","task_id","step","url","snapshot_yaml","client_redacted","redaction_stats"],"properties":{"session_id":{"type":"string","format":"uuid","description":"Client-generated UUID v4. Stable across every snapshot in the\nsession.\n","isRequired":true,"uniqueKey":"session_id","typeLabel":"string\u003cuuid>"},"task_id":{"type":"string","format":"uuid","description":"Client-generated UUID v4. Stable across every snapshot in a\nsingle task. Tasks are fully contained in one session.\n","isRequired":true,"uniqueKey":"task_id","typeLabel":"string\u003cuuid>"},"step":{"type":"integer","minimum":0,"description":"0-indexed step within the session. Must increase monotonically\nwithin a session; out-of-order returns `400 step_out_of_order`.\n","isRequired":true,"uniqueKey":"step","typeLabel":"integer"},"url":{"type":"string","description":"Page URL at the time of snapshot. On the default path it is\n**already redacted** by the connector's Privacy Shield — values\nsuch as IDs, tokens, and other PII-shaped substrings are replaced\nwith bracketed tokens. Under an accepted bypass\n(`client_redacted: false` + `privacy_shield_bypass: true`) it is\nthe **raw** URL; the service structurally minimizes it before\npersisting (host + path + query parameter names; query values,\nfragment, and userinfo dropped).\n","isRequired":true,"uniqueKey":"url","typeLabel":"string"},"snapshot_yaml":{"type":"string","maxLength":2097152,"description":"Playwright-MCP YAML snapshot, UTF-8 encoded. **Already redacted**\non the default path; **raw** under an accepted bypass. Maximum\ndecoded size 2 MiB; larger snapshots return `413 payload_too_large`.\n","isRequired":true,"uniqueKey":"snapshot_yaml","typeLabel":"string"},"client_redacted":{"type":"boolean","description":"Audit signal that the connector's on-device Privacy Shield has\nrun. **`true` on the default path** — missing or `false` returns\n`400 privacy_shield_missing` unless the bypass conditions below\nare met.\n\n**`false` is accepted only under the Privacy Shield bypass**\n(D018): the request must also carry `privacy_shield_bypass: true`\n**and** the authenticated key must be provisioned with\n`privacy_shield_bypass_allowed: true`. Either missing returns\n`400 privacy_shield_missing`. See the `bypassUnredacted` example.\n","isRequired":true,"uniqueKey":"client_redacted","typeLabel":"boolean"},"redaction_stats":{"type":"object","additionalProperties":{"type":"integer","minimum":0,"uniqueKey":"redaction_stats.additionalProperties","typeLabel":"integer"},"description":"Category → count map. Empty `{}` means the Privacy Shield ran and\nmatched nothing. **Counts only — never the redacted values.**\n","examples":[{},{"email":2,"CC_GENERIC":1},{"phone":1,"address":4}],"isRequired":true,"uniqueKey":"redaction_stats","typeLabel":"object"},"privacy_shield_bypass":{"type":"boolean","description":"Optional. Set `true` alongside `client_redacted: false` to opt\ninto an unredacted send. Additive — omitting it (the default\npath) is unchanged behaviour. Accepted only when the\nauthenticated key is provisioned for bypass; otherwise\n`400 privacy_shield_missing`. When `true`, `redaction_stats`\nis `{}` and both `url` and `snapshot_yaml` are raw.\n","uniqueKey":"privacy_shield_bypass","typeLabel":"boolean"},"agent_llm":{"type":"object","required":["provider"],"description":"Optional. Customer's agent-LLM metadata, announced on the first\nsnapshot of a session; ignored on subsequent snapshots of the\nsame session (the codec service stores it on first sight).\n\nUsed to pick the correct tokenizer for token-aware features.\nWhen absent, the codec falls back to `tiktoken-fallback` with\napproximate counts. Char counts are unaffected by this field.\n","properties":{"provider":{"type":"string","enum":["anthropic","openai","gemini"],"description":"Customer's downstream LLM provider. Mirrors `TokenSource` minus\n`tiktoken-fallback` — customers never request the fallback\ntokenizer; the server uses it when no `agent_llm` is announced.\n\nFor customers using aggregators (Bedrock, OpenRouter, Vertex, Azure,\nTogether, Fireworks), set this to the *underlying model's*\ntokenizer family — the aggregator does not tokenize, the model\ndoes. Claude on Bedrock or Vertex → `anthropic`; OpenAI on Azure\n→ `openai`; etc.\n","isRequired":true,"uniqueKey":"agent_llm.provider","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"Optional. Example values: `claude-sonnet-4-6`, `gpt-4o`,\n`gemini-2.5-pro`. Refines tokenizer selection when the\nprovider supports multiple tokenizer versions.\n","uniqueKey":"agent_llm.model","typeLabel":"string"}},"uniqueKey":"agent_llm","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"standardPFrame":{"title":"standardPFrame","summary":"Standard step inside an open session","value":{"session_id":"9c1b2f6e-0b8e-4a77-9cfd-3e3f7b5e8d21","task_id":"a7d19e44-31f6-4a02-8f9b-0c2a5fbc11d3","step":7,"url":"https://example.com/admin/catalog/product/edit/id/[REDACTED_ID]","snapshot_yaml":"- role: main\n ref: \"#main\"\n children:\n - role: button\n name: Save\n","client_redacted":true,"redaction_stats":{"email":2,"CC_GENERIC":1}}},"firstStepSparse":{"title":"firstStepSparse","summary":"First step in a fresh session, no PII matched","value":{"session_id":"f47ac10b-58cc-4372-a567-0e02b2c3d479","task_id":"f47ac10b-58cc-4372-a567-0e02b2c3d479","step":0,"url":"https://example.com/dashboard","snapshot_yaml":"- role: main\n ref: \"#main\"\n","client_redacted":true,"redaction_stats":{}}},"bypassUnredacted":{"title":"bypassUnredacted","summary":"Privacy Shield bypass — unredacted send. Accepted only when\nthe key is provisioned for bypass; otherwise\n`400 privacy_shield_missing`.\n","value":{"session_id":"9c1b2f6e-0b8e-4a77-9cfd-3e3f7b5e8d21","task_id":"a7d19e44-31f6-4a02-8f9b-0c2a5fbc11d3","step":3,"url":"https://example.com/admin/orders/order/view/id/100482","snapshot_yaml":"- role: main\n ref: \"#main\"\n children:\n - role: button\n name: Refund\n","client_redacted":false,"privacy_shield_bypass":true,"redaction_stats":{}}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"1aa30afe-1549-4133-8851-aecad9f8d15c":{"description":"Snapshot processed. The connector splices `compressed_output` into\nits agent's tool response, or — on `frame_type: \"pass-through\"` —\nreuses the `snapshot_yaml` it sent.\n","headers":{"X-Request-Id":{"description":"Echoed from `X-Request-Id` on the request, or assigned by the server\nwhen absent. Quote this in support requests.\n","schema":{"type":"string","format":"uuid"}},"X-JDC-Codec-Version":{"description":"Codec build identifier. Format `YYYY.MM.DD+\u003cshort-sha>`. Matches the\n`codec_version` field in the corresponding `UsageEvent`.\n","schema":{"type":"string","example":"2026.05.01+a1b2c3d"}},"Content-Encoding":{"description":"`gzip` when negotiated via `Accept-Encoding`. Absent otherwise.\n","schema":{"type":"string","example":"gzip"}}},"content":{"application/json":{"schema":{"type":"object","required":["frame_type","compression_stats"],"properties":{"frame_type":{"type":"string","enum":["I","P","P-nochange","pass-through"],"description":"Frame type emitted by the codec. The single-letter values are the\nwire encoding; the human-readable meaning of each:\n\n- `I` — keyframe. Full snapshot, returned on the first step of a\n session and on forced refreshes (e.g. URL change). Equivalent in\n size to the original snapshot.\n- `P` — delta. Only what changed since the previous step. Typically\n a small fraction of the snapshot size.\n- `P-nochange` — no meaningful change since the previous step. The\n response carries a sentinel header (`=== No Changes (Step N) ===`,\n with an optional `, K in a row` suffix on consecutive nochanges)\n plus a single short recap line summarising the URL, the\n actionable-now element counts on the page, and up to three\n recently-changed elements as a small ref anchor. The recap helps\n an agent stay oriented across a stretch of no-op turns without\n requesting a fresh snapshot.\n- `pass-through` — the codec chose not to compress this snapshot\n (e.g. a full-table scan where compression wouldn't help). The\n connector reuses the `snapshot_yaml` it sent in the request.\n `compressed_output` is omitted from the response body.\n","isRequired":true,"uniqueKey":"frame_type","typeLabel":"enum\u003cstring>"},"compression_stats":{"type":"object","required":["input_chars","output_chars","codec_ms"],"properties":{"input_chars":{"type":"integer","minimum":0,"description":"Character count of the submitted `snapshot_yaml`.","isRequired":true,"uniqueKey":"compression_stats.input_chars","typeLabel":"integer"},"output_chars":{"type":"integer","minimum":0,"description":"Character count of the emitted output. On pass-through, equals\n`input_chars`.\n","isRequired":true,"uniqueKey":"compression_stats.output_chars","typeLabel":"integer"},"codec_ms":{"type":"number","minimum":0,"description":"Milliseconds spent inside the codec pipeline. On pass-through,\nthis is detection cost only.\n","isRequired":true,"uniqueKey":"compression_stats.codec_ms","typeLabel":"number"}},"isRequired":true,"uniqueKey":"compression_stats","typeLabel":"object"},"compressed_output":{"type":"string","description":"The codec-emitted replacement for `snapshot_yaml`.\n\n- **Required** when `frame_type` is `I`, `P`, or `P-nochange`.\n- **Absent** when `frame_type` is `pass-through` — the\n connector reuses the `snapshot_yaml` it sent in the request.\n","uniqueKey":"compressed_output","typeLabel":"string"},"token_stats":{"type":"object","required":["token_status"],"description":"Optional. Absent in the v1 steady-state path because\ntokenization runs asynchronously after the response is sent.\nSee `TokenStats` for the full lifecycle rationale.\n\nThe authoritative per-snapshot token data lives on the\n`usage_events` row keyed by `(session_id, step)`; the connector\ncan fetch it later via the usage-report endpoint.\n","properties":{"token_status":{"type":"string","enum":["pending","ok","failed"],"description":"Lifecycle of the `token_stats` block.\n\n- `pending` — async tokenization in flight; token-count fields\n absent.\n- `ok` — tokenization succeeded; token-count fields populated.\n- `failed` — tokenization failed terminally; token-count fields\n absent. Customer-facing tooling renders chars as fallback\n context and surfaces \"tokens unavailable for this snapshot\" —\n never an approximate substitute. Honesty over completeness.\n","isRequired":true,"uniqueKey":"token_stats.token_status","typeLabel":"enum\u003cstring>"},"input_tokens":{"type":"integer","minimum":0,"description":"Provider-tokenizer count of the inbound snapshot. Only\nmeaningful when `token_status` is `\"ok\"`.\n","uniqueKey":"token_stats.input_tokens","typeLabel":"integer"},"output_tokens":{"type":"integer","minimum":0,"description":"Provider-tokenizer count of the codec-emitted output. Only\nmeaningful when `token_status` is `\"ok\"`.\n","uniqueKey":"token_stats.output_tokens","typeLabel":"integer"},"token_source":{"type":"string","enum":["anthropic","openai","gemini","tiktoken-fallback"],"description":"Which tokenizer produced the token counts on this row.\n\n`tiktoken-fallback` is `cl100k_base` and is used when the\ncustomer's agent-LLM provider is unset, unsupported, or unknown.\n`cl100k_base` is an OpenAI tokenizer; for Anthropic / Gemini\ncalls its counts are an estimate (~22% under-count vs Anthropic\nbilling on codec-style content), not an invoice number.\nCustomer-facing tooling must surface \"approximate\" when this is\nthe source.\n","uniqueKey":"token_stats.token_source","typeLabel":"enum\u003cstring>"},"token_source_version":{"type":"string","description":"Opaque per-source version string used for cross-batch\ncomparability and to flag rows whose counts came from a\ntokenizer we no longer use.\n\n- API-based tokenizers (Anthropic `count_tokens` endpoint)\n record the month the call was made, e.g.\n `anthropic-api@2026-05`. The API is opaque, so this is\n the finest granularity we can pin from outside;\n cross-month drift gets caught by CI golden fixtures.\n- Library-based tokenizers record the exact package version,\n e.g. `[email protected]` or `@google/[email protected]`.\n","example":"anthropic-api@2026-05","uniqueKey":"token_stats.token_source_version","typeLabel":"string"},"cache_read_input_tokens":{"type":"integer","minimum":0,"description":"Anthropic-specific. Tokens served from prompt cache on this\nsnapshot's LLM call. Absent when `token_source` is not\n`\"anthropic\"` or when the customer's agent did not pass\n`cache_control`. Cache reads bill at 0.1x the base input rate.\n","uniqueKey":"token_stats.cache_read_input_tokens","typeLabel":"integer"},"cache_creation_input_tokens":{"type":"integer","minimum":0,"description":"Anthropic-specific. Tokens written to prompt cache on this\nsnapshot's LLM call. Absent when `token_source` is not\n`\"anthropic\"` or when the customer's agent did not pass\n`cache_control`. Cache writes bill at 1.25x or 2x the base\ninput rate depending on TTL.\n","uniqueKey":"token_stats.cache_creation_input_tokens","typeLabel":"integer"},"cached_content_tokens":{"type":"integer","minimum":0,"description":"Gemini-specific. Tokens served from Gemini's cached-content\nmechanism on this snapshot's LLM call. Absent when\n`token_source` is not `\"gemini\"`.\n","uniqueKey":"token_stats.cached_content_tokens","typeLabel":"integer"}},"uniqueKey":"token_stats","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"pFrame":{"title":"pFrame","summary":"Delta compression on a mid-session step","value":{"frame_type":"P","compressed_output":"P7: [edits] main.children[4] …","compression_stats":{"input_chars":40123,"output_chars":5432,"codec_ms":9.1}}},"pNoChange":{"title":"pNoChange","summary":"No meaningful change since the last step","value":{"frame_type":"P-nochange","compressed_output":"=== No Changes (Step 5, 2 in a row) ===\nURL /admin/catalog/products | page: 1 heading, 1 search, 8 selects, 23 buttons | recent: combobox \"Status\" [ref=e51], button \"Apply Filters\" [ref=e58]\n","compression_stats":{"input_chars":40123,"output_chars":178,"codec_ms":1.4}}},"passThrough":{"title":"passThrough","summary":"Pass-through — codec chose not to compress. The connector\nreuses the `snapshot_yaml` it sent. `compressed_output` is\nomitted from the response body.\n","value":{"frame_type":"pass-through","compression_stats":{"input_chars":220148,"output_chars":220148,"codec_ms":0.4}}}},"exampleType":"examples"}},"exampleType":"examples"},"3f28593c-e90e-42fa-b641-904c010b1e6c":{"description":"Malformed request, missing required fields, Privacy Shield audit\nsignal absent (including a `client_redacted: false` send without an\naccepted bypass), or step out of order.\n","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","request_id"],"properties":{"code":{"type":"string","enum":["version_unsupported","malformed_request","privacy_shield_missing","privacy_shield_structural","privacy_shield_violation","step_out_of_order","auth_missing","auth_invalid","auth_revoked","quota_exceeded","session_expired","payload_too_large","rate_limited","server_error","codec_overloaded","telemetry_value_invalid","telemetry_session_unknown","telemetry_too_late"],"description":"Stable machine-readable error tokens. Clients may branch on these\nvalues. New codes are additive within v1 — existing codes never\nchange meaning.\n\nReserved (defined for forward-compatibility, not emitted in v1):\n\n- `privacy_shield_violation` — placeholder for a future server-side\n secondary check. Defined now so enabling it later requires no\n connector update.\n- `rate_limited` — per-key rate limiting is not enforced in v1.\n Connectors must still handle `429` gracefully so the limit can\n be enabled server-side without client work.\n\nTelemetry-specific (emitted only by the `/v1/telemetry`\nendpoint):\n\n- `telemetry_value_invalid` (400) — a timing value was negative,\n non-numeric, or above the 600 000 ms (10 minute) ceiling.\n Connector should log + drop, not retry.\n- `telemetry_session_unknown` (404) — the `session_id` is unknown\n or not owned by this bearer. Connector should log + drop.\n- `telemetry_too_late` (410) — session has expired (TTL) and the\n telemetry row would have no useful join target. Connector\n drops the data.\n","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable summary. Stable category-level wording; never\nincludes algorithm names, internal state, or any portion of\nthe submitted snapshot.\n","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"request_id":{"type":"string","format":"uuid","description":"Echoes `X-Request-Id` for support correlation.\n","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string\u003cuuid>"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"privacyShieldMissing":{"title":"privacyShieldMissing","summary":"Privacy Shield audit signal absent","value":{"error":{"code":"privacy_shield_missing","message":"Request missing client_redacted=true audit signal.","request_id":"7c2d1e44-9f63-4801-b8e4-2a2bba31c019"}}},"privacyShieldStructural":{"title":"privacyShieldStructural","summary":"Privacy Shield payload present but mis-shaped","value":{"error":{"code":"privacy_shield_structural","message":"redaction_stats must be an object of non-negative integer counts.","request_id":"7c2d1e44-9f63-4801-b8e4-2a2bba31c019"}}},"stepOutOfOrder":{"title":"stepOutOfOrder","summary":"Step number not monotonically increasing","value":{"error":{"code":"step_out_of_order","message":"step must increase monotonically within a session.","request_id":"7c2d1e44-9f63-4801-b8e4-2a2bba31c019"}}},"versionUnsupported":{"title":"versionUnsupported","summary":"X-JDC-API-Version header missing or not accepted","value":{"error":{"code":"version_unsupported","message":"X-JDC-API-Version header missing or not accepted.","request_id":"7c2d1e44-9f63-4801-b8e4-2a2bba31c019"}}}},"exampleType":"examples"}},"exampleType":"examples"},"21a1e080-e975-4ad7-89a2-fb9b47e3e4bf":{"description":"Bearer missing, malformed, unknown, or revoked.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","request_id"],"properties":{"code":{"type":"string","enum":["version_unsupported","malformed_request","privacy_shield_missing","privacy_shield_structural","privacy_shield_violation","step_out_of_order","auth_missing","auth_invalid","auth_revoked","quota_exceeded","session_expired","payload_too_large","rate_limited","server_error","codec_overloaded","telemetry_value_invalid","telemetry_session_unknown","telemetry_too_late"],"description":"Stable machine-readable error tokens. Clients may branch on these\nvalues. New codes are additive within v1 — existing codes never\nchange meaning.\n\nReserved (defined for forward-compatibility, not emitted in v1):\n\n- `privacy_shield_violation` — placeholder for a future server-side\n secondary check. Defined now so enabling it later requires no\n connector update.\n- `rate_limited` — per-key rate limiting is not enforced in v1.\n Connectors must still handle `429` gracefully so the limit can\n be enabled server-side without client work.\n\nTelemetry-specific (emitted only by the `/v1/telemetry`\nendpoint):\n\n- `telemetry_value_invalid` (400) — a timing value was negative,\n non-numeric, or above the 600 000 ms (10 minute) ceiling.\n Connector should log + drop, not retry.\n- `telemetry_session_unknown` (404) — the `session_id` is unknown\n or not owned by this bearer. Connector should log + drop.\n- `telemetry_too_late` (410) — session has expired (TTL) and the\n telemetry row would have no useful join target. Connector\n drops the data.\n","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable summary. Stable category-level wording; never\nincludes algorithm names, internal state, or any portion of\nthe submitted snapshot.\n","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"request_id":{"type":"string","format":"uuid","description":"Echoes `X-Request-Id` for support correlation.\n","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string\u003cuuid>"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"authMissing":{"title":"authMissing","summary":"Authorization header absent","value":{"error":{"code":"auth_missing","message":"Missing Authorization header. Set JDC_API_KEY in your environment.","request_id":"7c2d1e44-9f63-4801-b8e4-2a2bba31c019"}}},"authInvalid":{"title":"authInvalid","summary":"Unknown key id, or wrong secret","value":{"error":{"code":"auth_invalid","message":"Authorization rejected. Regenerate your API key.","request_id":"7c2d1e44-9f63-4801-b8e4-2a2bba31c019"}}},"authRevoked":{"title":"authRevoked","summary":"Key row exists but has been revoked","value":{"error":{"code":"auth_revoked","message":"API key has been revoked. Issue a new key.","request_id":"7c2d1e44-9f63-4801-b8e4-2a2bba31c019"}}}},"exampleType":"examples"}},"exampleType":"examples"},"49cd47a1-3cda-4994-bba2-86cf3b1428f2":{"description":"Key over its configured billing cap.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","request_id"],"properties":{"code":{"type":"string","enum":["version_unsupported","malformed_request","privacy_shield_missing","privacy_shield_structural","privacy_shield_violation","step_out_of_order","auth_missing","auth_invalid","auth_revoked","quota_exceeded","session_expired","payload_too_large","rate_limited","server_error","codec_overloaded","telemetry_value_invalid","telemetry_session_unknown","telemetry_too_late"],"description":"Stable machine-readable error tokens. Clients may branch on these\nvalues. New codes are additive within v1 — existing codes never\nchange meaning.\n\nReserved (defined for forward-compatibility, not emitted in v1):\n\n- `privacy_shield_violation` — placeholder for a future server-side\n secondary check. Defined now so enabling it later requires no\n connector update.\n- `rate_limited` — per-key rate limiting is not enforced in v1.\n Connectors must still handle `429` gracefully so the limit can\n be enabled server-side without client work.\n\nTelemetry-specific (emitted only by the `/v1/telemetry`\nendpoint):\n\n- `telemetry_value_invalid` (400) — a timing value was negative,\n non-numeric, or above the 600 000 ms (10 minute) ceiling.\n Connector should log + drop, not retry.\n- `telemetry_session_unknown` (404) — the `session_id` is unknown\n or not owned by this bearer. Connector should log + drop.\n- `telemetry_too_late` (410) — session has expired (TTL) and the\n telemetry row would have no useful join target. Connector\n drops the data.\n","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable summary. Stable category-level wording; never\nincludes algorithm names, internal state, or any portion of\nthe submitted snapshot.\n","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"request_id":{"type":"string","format":"uuid","description":"Echoes `X-Request-Id` for support correlation.\n","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string\u003cuuid>"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"quotaExceeded":{"title":"quotaExceeded","summary":"Key over its configured billing cap","value":{"error":{"code":"quota_exceeded","message":"API key over its configured billing cap.","request_id":"7c2d1e44-9f63-4801-b8e4-2a2bba31c019"}}}},"exampleType":"examples"}},"exampleType":"examples"},"2ea241bc-0a72-44b0-b027-4ed1b1fbe911":{"description":"Session expired (idle or absolute TTL elapsed). What to do\ndepends on which side of the wire you're on:\n\n- **Connector users** (most customers): the connector handles\n this transparently. It opens a fresh `session_id` and\n `task_id`, re-sends the current snapshot as step 0, and\n continues. No client action required.\n- **Direct API integrators** (custom client builders):\n generate a fresh `session_id` and `task_id` (UUID v4),\n reset `step` to 0, and re-send the current snapshot. The\n previous session's state is gone server-side and cannot\n be recovered; treat the next request as a fresh keyframe.\n","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","request_id"],"properties":{"code":{"type":"string","enum":["version_unsupported","malformed_request","privacy_shield_missing","privacy_shield_structural","privacy_shield_violation","step_out_of_order","auth_missing","auth_invalid","auth_revoked","quota_exceeded","session_expired","payload_too_large","rate_limited","server_error","codec_overloaded","telemetry_value_invalid","telemetry_session_unknown","telemetry_too_late"],"description":"Stable machine-readable error tokens. Clients may branch on these\nvalues. New codes are additive within v1 — existing codes never\nchange meaning.\n\nReserved (defined for forward-compatibility, not emitted in v1):\n\n- `privacy_shield_violation` — placeholder for a future server-side\n secondary check. Defined now so enabling it later requires no\n connector update.\n- `rate_limited` — per-key rate limiting is not enforced in v1.\n Connectors must still handle `429` gracefully so the limit can\n be enabled server-side without client work.\n\nTelemetry-specific (emitted only by the `/v1/telemetry`\nendpoint):\n\n- `telemetry_value_invalid` (400) — a timing value was negative,\n non-numeric, or above the 600 000 ms (10 minute) ceiling.\n Connector should log + drop, not retry.\n- `telemetry_session_unknown` (404) — the `session_id` is unknown\n or not owned by this bearer. Connector should log + drop.\n- `telemetry_too_late` (410) — session has expired (TTL) and the\n telemetry row would have no useful join target. Connector\n drops the data.\n","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable summary. Stable category-level wording; never\nincludes algorithm names, internal state, or any portion of\nthe submitted snapshot.\n","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"request_id":{"type":"string","format":"uuid","description":"Echoes `X-Request-Id` for support correlation.\n","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string\u003cuuid>"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"sessionExpired":{"title":"sessionExpired","summary":"Session idle or absolute TTL elapsed","value":{"error":{"code":"session_expired","message":"Session idle or absolute TTL elapsed. Start a new session_id.","request_id":"7c2d1e44-9f63-4801-b8e4-2a2bba31c019"}}}},"exampleType":"examples"}},"exampleType":"examples"},"602a16a2-4051-49d0-ada9-576d9ce55abd":{"description":"`snapshot_yaml` exceeds 2 MiB decoded. The connector should fall\nthrough to its degraded path and surface the already-redacted\nsnapshot to the agent unchanged.\n","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","request_id"],"properties":{"code":{"type":"string","enum":["version_unsupported","malformed_request","privacy_shield_missing","privacy_shield_structural","privacy_shield_violation","step_out_of_order","auth_missing","auth_invalid","auth_revoked","quota_exceeded","session_expired","payload_too_large","rate_limited","server_error","codec_overloaded","telemetry_value_invalid","telemetry_session_unknown","telemetry_too_late"],"description":"Stable machine-readable error tokens. Clients may branch on these\nvalues. New codes are additive within v1 — existing codes never\nchange meaning.\n\nReserved (defined for forward-compatibility, not emitted in v1):\n\n- `privacy_shield_violation` — placeholder for a future server-side\n secondary check. Defined now so enabling it later requires no\n connector update.\n- `rate_limited` — per-key rate limiting is not enforced in v1.\n Connectors must still handle `429` gracefully so the limit can\n be enabled server-side without client work.\n\nTelemetry-specific (emitted only by the `/v1/telemetry`\nendpoint):\n\n- `telemetry_value_invalid` (400) — a timing value was negative,\n non-numeric, or above the 600 000 ms (10 minute) ceiling.\n Connector should log + drop, not retry.\n- `telemetry_session_unknown` (404) — the `session_id` is unknown\n or not owned by this bearer. Connector should log + drop.\n- `telemetry_too_late` (410) — session has expired (TTL) and the\n telemetry row would have no useful join target. Connector\n drops the data.\n","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable summary. Stable category-level wording; never\nincludes algorithm names, internal state, or any portion of\nthe submitted snapshot.\n","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"request_id":{"type":"string","format":"uuid","description":"Echoes `X-Request-Id` for support correlation.\n","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string\u003cuuid>"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"payloadTooLarge":{"title":"payloadTooLarge","summary":"snapshot_yaml exceeds 2 MiB","value":{"error":{"code":"payload_too_large","message":"snapshot_yaml exceeds 2 MiB. Fall through to the degraded path.","request_id":"7c2d1e44-9f63-4801-b8e4-2a2bba31c019"}}}},"exampleType":"examples"}},"exampleType":"examples"},"6ec88fc9-9671-461d-b654-2c755162cab1":{"description":"Reserved for forward-compatibility. Not emitted in v1; per-key\nrate limits are not enforced today. Connectors must still handle\nthis gracefully (respect `Retry-After`; exponential backoff;\nthen degrade) so enabling the limit later requires no client\nupdate.\n","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","request_id"],"properties":{"code":{"type":"string","enum":["version_unsupported","malformed_request","privacy_shield_missing","privacy_shield_structural","privacy_shield_violation","step_out_of_order","auth_missing","auth_invalid","auth_revoked","quota_exceeded","session_expired","payload_too_large","rate_limited","server_error","codec_overloaded","telemetry_value_invalid","telemetry_session_unknown","telemetry_too_late"],"description":"Stable machine-readable error tokens. Clients may branch on these\nvalues. New codes are additive within v1 — existing codes never\nchange meaning.\n\nReserved (defined for forward-compatibility, not emitted in v1):\n\n- `privacy_shield_violation` — placeholder for a future server-side\n secondary check. Defined now so enabling it later requires no\n connector update.\n- `rate_limited` — per-key rate limiting is not enforced in v1.\n Connectors must still handle `429` gracefully so the limit can\n be enabled server-side without client work.\n\nTelemetry-specific (emitted only by the `/v1/telemetry`\nendpoint):\n\n- `telemetry_value_invalid` (400) — a timing value was negative,\n non-numeric, or above the 600 000 ms (10 minute) ceiling.\n Connector should log + drop, not retry.\n- `telemetry_session_unknown` (404) — the `session_id` is unknown\n or not owned by this bearer. Connector should log + drop.\n- `telemetry_too_late` (410) — session has expired (TTL) and the\n telemetry row would have no useful join target. Connector\n drops the data.\n","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable summary. Stable category-level wording; never\nincludes algorithm names, internal state, or any portion of\nthe submitted snapshot.\n","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"request_id":{"type":"string","format":"uuid","description":"Echoes `X-Request-Id` for support correlation.\n","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string\u003cuuid>"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"rateLimited":{"title":"rateLimited","summary":"Reserved for forward-compatibility","value":{"error":{"code":"rate_limited","message":"Request rate-limited. Respect Retry-After and back off.","request_id":"7c2d1e44-9f63-4801-b8e4-2a2bba31c019"}}}},"exampleType":"examples"}},"exampleType":"examples"},"d1103876-1100-4548-8845-91fb6ec1d6a3":{"description":"Unhandled server-side exception.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","request_id"],"properties":{"code":{"type":"string","enum":["version_unsupported","malformed_request","privacy_shield_missing","privacy_shield_structural","privacy_shield_violation","step_out_of_order","auth_missing","auth_invalid","auth_revoked","quota_exceeded","session_expired","payload_too_large","rate_limited","server_error","codec_overloaded","telemetry_value_invalid","telemetry_session_unknown","telemetry_too_late"],"description":"Stable machine-readable error tokens. Clients may branch on these\nvalues. New codes are additive within v1 — existing codes never\nchange meaning.\n\nReserved (defined for forward-compatibility, not emitted in v1):\n\n- `privacy_shield_violation` — placeholder for a future server-side\n secondary check. Defined now so enabling it later requires no\n connector update.\n- `rate_limited` — per-key rate limiting is not enforced in v1.\n Connectors must still handle `429` gracefully so the limit can\n be enabled server-side without client work.\n\nTelemetry-specific (emitted only by the `/v1/telemetry`\nendpoint):\n\n- `telemetry_value_invalid` (400) — a timing value was negative,\n non-numeric, or above the 600 000 ms (10 minute) ceiling.\n Connector should log + drop, not retry.\n- `telemetry_session_unknown` (404) — the `session_id` is unknown\n or not owned by this bearer. Connector should log + drop.\n- `telemetry_too_late` (410) — session has expired (TTL) and the\n telemetry row would have no useful join target. Connector\n drops the data.\n","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable summary. Stable category-level wording; never\nincludes algorithm names, internal state, or any portion of\nthe submitted snapshot.\n","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"request_id":{"type":"string","format":"uuid","description":"Echoes `X-Request-Id` for support correlation.\n","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string\u003cuuid>"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"serverError":{"title":"serverError","summary":"Unhandled server-side exception","value":{"error":{"code":"server_error","message":"Internal server error. Retry once with jitter, then degrade.","request_id":"7c2d1e44-9f63-4801-b8e4-2a2bba31c019"}}}},"exampleType":"examples"}},"exampleType":"examples"},"79f19cad-97b0-4832-929a-390455523765":{"description":"Server under load; request shed. Connector should respect\n`Retry-After`, then degrade.\n","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","request_id"],"properties":{"code":{"type":"string","enum":["version_unsupported","malformed_request","privacy_shield_missing","privacy_shield_structural","privacy_shield_violation","step_out_of_order","auth_missing","auth_invalid","auth_revoked","quota_exceeded","session_expired","payload_too_large","rate_limited","server_error","codec_overloaded","telemetry_value_invalid","telemetry_session_unknown","telemetry_too_late"],"description":"Stable machine-readable error tokens. Clients may branch on these\nvalues. New codes are additive within v1 — existing codes never\nchange meaning.\n\nReserved (defined for forward-compatibility, not emitted in v1):\n\n- `privacy_shield_violation` — placeholder for a future server-side\n secondary check. Defined now so enabling it later requires no\n connector update.\n- `rate_limited` — per-key rate limiting is not enforced in v1.\n Connectors must still handle `429` gracefully so the limit can\n be enabled server-side without client work.\n\nTelemetry-specific (emitted only by the `/v1/telemetry`\nendpoint):\n\n- `telemetry_value_invalid` (400) — a timing value was negative,\n non-numeric, or above the 600 000 ms (10 minute) ceiling.\n Connector should log + drop, not retry.\n- `telemetry_session_unknown` (404) — the `session_id` is unknown\n or not owned by this bearer. Connector should log + drop.\n- `telemetry_too_late` (410) — session has expired (TTL) and the\n telemetry row would have no useful join target. Connector\n drops the data.\n","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable summary. Stable category-level wording; never\nincludes algorithm names, internal state, or any portion of\nthe submitted snapshot.\n","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"request_id":{"type":"string","format":"uuid","description":"Echoes `X-Request-Id` for support correlation.\n","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string\u003cuuid>"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"codecOverloaded":{"title":"codecOverloaded","summary":"Server under load; request shed","value":{"error":{"code":"codec_overloaded","message":"Codec service overloaded. Respect Retry-After, then degrade.","request_id":"7c2d1e44-9f63-4801-b8e4-2a2bba31c019"}}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"79dfe657-983d-4e4e-a5fa-f1a5b47bc2b9":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"\u003capi_key_id>.\u003capi_key_secret>","description":"API key in two parts separated by a dot, sent as a single bearer:\n\n- `api_key_id` — public, stable, `jdck_`-prefixed lookup handle.\n Safe to log and reference in support conversations.\n- `api_key_secret` — opaque high-entropy string. Shown to the\n customer once at issuance and never again. Server stores only\n its hash.\n\nExample:\n\n Authorization: Bearer jdck_9f3a2b7c8d1e4f05.BASE32URL_SECRET\n","scopes":[]}}},"servers":{"7249e482-f922-4bdd-a49f-24e969e2fb7a":{"url":"https://api.jdcodec.com","description":"Production"},"51a0b2c1-3da3-4273-9cd0-6ddae9448a98":{"url":"https://api-staging.jdcodec.com","description":"Staging"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"\u003capi_key_id>.\u003capi_key_secret>","description":"API key in two parts separated by a dot, sent as a single bearer:\n\n- `api_key_id` — public, stable, `jdck_`-prefixed lookup handle.\n Safe to log and reference in support conversations.\n- `api_key_secret` — opaque high-entropy string. Shown to the\n customer once at issuance and never again. Server stores only\n its hash.\n\nExample:\n\n Authorization: Bearer jdck_9f3a2b7c8d1e4f05.BASE32URL_SECRET\n","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"API key in two parts separated by a dot, sent as a single bearer:\n\n- `api_key_id` — public, stable, `jdck_`-prefixed lookup handle.\n Safe to log and reference in support conversations.\n- `api_key_secret` — opaque high-entropy string. Shown to the\n customer once at issuance and never again. Server stores only\n its hash.\n\nExample:\n\n Authorization: Bearer jdck_9f3a2b7c8d1e4f05.BASE32URL_SECRET\n","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"openapi.yaml"},"subdomain":"jdcodec-88ece141","siteName":"JD Codec","title":"Submit one snapshot for compression - JD Codec","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-05-13T03:48:13.018Z","originalFileLocation":"api-reference/snapshot/submit-one-snapshot-for-compression.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=\"dark\"}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=\"Submit one already-redacted snapshot to the codec service. The response carries the compressed output the connector should splice into its agent\u0026#x27;s tool response in place of the original snapshot_yaml. For frame_type: \u0026quot;pass-through\u0026quot; responses, compressed_output is omitted and the connector reuses the snapshot_yaml it sent.\">\u003cmeta data-mint-head name=\"application-name\" content=\"JD Codec\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/jdcodec-88ece141/OvZgmelJiWjTrYeC/_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=\"/docs/mintlify-assets/_mintlify/favicons/jdcodec-88ece141/OvZgmelJiWjTrYeC/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/jdcodec-88ece141/OvZgmelJiWjTrYeC/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/jdcodec-88ece141/OvZgmelJiWjTrYeC/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/jdcodec-88ece141/OvZgmelJiWjTrYeC/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/jdcodec-88ece141/OvZgmelJiWjTrYeC/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/jdcodec-88ece141/OvZgmelJiWjTrYeC/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/jdcodec-88ece141/OvZgmelJiWjTrYeC/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/jdcodec-88ece141/OvZgmelJiWjTrYeC/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Submit one snapshot for compression - JD Codec\">\u003cmeta data-mint-head property=\"og:description\" content=\"Submit one already-redacted snapshot to the codec service. The response carries the compressed output the connector should splice into its agent\u0026#x27;s tool response in place of the original snapshot_yaml. For frame_type: \u0026quot;pass-through\u0026quot; responses, compressed_output is omitted and the connector reuses the snapshot_yaml it sent.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"JD Codec\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://jdcodec.com/docs/api-reference/snapshot/submit-one-snapshot-for-compression\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://jdcodec-88ece141.mintlify.site/docs/_mintlify/api/og/v2?division=Snapshot\u0026amp;title=Submit+one+snapshot+for+compression\u0026amp;description=Submit+one+already-redacted+snapshot+to+the+codec+service.+The%0Aresponse+carries+the+compressed+output+the+connector+should+splice%0Ainto+its+agent%27s+tool+response\u0026amp;theme=f1349efcae2aef9122a095bc\u0026amp;signature=e4a87cfb33ae31ccf8cd1194ccff5200b54db52830db48e803ecaac2d1b12373\">\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=\"Submit one snapshot for compression - JD Codec\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Submit one already-redacted snapshot to the codec service. The response carries the compressed output the connector should splice into its agent\u0026#x27;s tool response in place of the original snapshot_yaml. For frame_type: \u0026quot;pass-through\u0026quot; responses, compressed_output is omitted and the connector reuses the snapshot_yaml it sent.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://jdcodec-88ece141.mintlify.site/docs/_mintlify/api/og/v2?division=Snapshot\u0026amp;title=Submit+one+snapshot+for+compression\u0026amp;description=Submit+one+already-redacted+snapshot+to+the+codec+service.+The%0Aresponse+carries+the+compressed+output+the+connector+should+splice%0Ainto+its+agent%27s+tool+response\u0026amp;theme=f1349efcae2aef9122a095bc\u0026amp;signature=e4a87cfb33ae31ccf8cd1194ccff5200b54db52830db48e803ecaac2d1b12373\">\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=\"/docs/mintlify-assets/_mintlify/favicons/jdcodec-88ece141/OvZgmelJiWjTrYeC/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"JD Codec\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#3CFFD0\">\u003clink data-mint-head rel=\"canonical\" href=\"https://jdcodec.com/docs/api-reference/snapshot/submit-one-snapshot-for-compression\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/api-reference/snapshot/submit-one-snapshot-for-compression.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://jdcodec.com/#organization\",\"name\":\"JD Codec\",\"url\":\"https://jdcodec.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/jdcodec-88ece141/o1rbPCfC8TRRjpFd/logo/jdcodec-icon.svg?fit=max\u0026auto=format\u0026n=o1rbPCfC8TRRjpFd\u0026q=85\u0026s=b2a5af72537bcc6329e109ab5b895483\"}},{\"@type\":\"WebSite\",\"@id\":\"https://jdcodec.com/docs#website\",\"name\":\"JD Codec\",\"url\":\"https://jdcodec.com/docs\",\"publisher\":{\"@id\":\"https://jdcodec.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://jdcodec.com/docs/api-reference/snapshot/submit-one-snapshot-for-compression#webpage\",\"url\":\"https://jdcodec.com/docs/api-reference/snapshot/submit-one-snapshot-for-compression\",\"name\":\"Submit one snapshot for compression\",\"description\":\"Submit one already-redacted snapshot to the codec service. The response carries the compressed output the connector should splice into its agent's tool response in place of the original snapshot_yaml. For frame_type: \\\"pass-through\\\" responses, compressed_output is omitted and the connector reuses the snapshot_yaml it sent.\",\"dateModified\":\"2026-05-13T03:48:13.018Z\",\"isPartOf\":{\"@id\":\"https://jdcodec.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://jdcodec.com/docs/api-reference/snapshot/submit-one-snapshot-for-compression#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://jdcodec.com/docs/api-reference/snapshot/submit-one-snapshot-for-compression#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"JD Codec\",\"item\":\"https://jdcodec.com/docs\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Submit one snapshot for compression\",\"item\":\"https://jdcodec.com/docs/api-reference/snapshot/submit-one-snapshot-for-compression\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://jdcodec.com/docs/api-reference/snapshot/submit-one-snapshot-for-compression#apireference\",\"headline\":\"Submit one snapshot for compression\",\"name\":\"Submit one snapshot for compression\",\"description\":\"Submit one already-redacted snapshot to the codec service. The response carries the compressed output the connector should splice into its agent's tool response in place of the original snapshot_yaml. For frame_type: \\\"pass-through\\\" responses, compressed_output is omitted and the connector reuses the snapshot_yaml it sent.\",\"url\":\"https://jdcodec.com/docs/api-reference/snapshot/submit-one-snapshot-for-compression\",\"mainEntityOfPage\":{\"@id\":\"https://jdcodec.com/docs/api-reference/snapshot/submit-one-snapshot-for-compression#webpage\"},\"dateModified\":\"2026-05-13T03:48:13.018Z\",\"publisher\":{\"@id\":\"https://jdcodec.com/#organization\"},\"isPartOf\":{\"@id\":\"https://jdcodec.com/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"JD Codec\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"JD Codec\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/api-reference/snapshot/submit-one-snapshot-for-compression.md","siteName":"JD Codec","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":""}]},{"tab":"API Reference","groups":[{"group":"Snapshot","pages":[{"title":"Submit one snapshot for compression","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/snapshot","href":"/api-reference/snapshot/submit-one-snapshot-for-compression"}]},{"group":"Telemetry","pages":[{"title":"Submit connector-side latency measurements","description":"Submit connector-measured timings (Node `hrtime.bigint()`,\nsub-millisecond resolution) for a snapshot the connector has\nalready received a `/v1/snapshot` response for. The codec service\nvalidates the bearer token, sanity-checks values, and writes them\nto its `telemetry` store. Connector NEVER writes to the\nstore directly — trust boundary preserved.\n\nTelemetry is **observability-only and never billable**. Billing\nderives from server-authoritative facts in `usage_events`, which\nare never affected by this endpoint.\n\nThe request is fire-and-forget from the connector's perspective.\nFailure to deliver telemetry should not be retried and never\naffects the connector's response to its agent. If the connector\nis offline or the service is degraded, telemetry is dropped\n(best-effort, no buffering).\n\nSee `SPEC.md` for the underlying `telemetry` table\nshape and the canonical display rule (`NULL` = not recorded;\n`0` = `\u003c1 ms`; `≥1` = numeric ms).\n","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/telemetry","href":"/api-reference/telemetry/submit-connector-side-latency-measurements"}]},{"group":"Health","pages":[{"title":"Liveness probe with codec build identifier","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/health","href":"/api-reference/health/liveness-probe-with-codec-build-identifier"}]}]}]},"basePath":"","title":"Submit one snapshot for compression - JD Codec","deploymentId":"dpl_HkhFaM7Z4J8aYo89NEttjgSHLi43","buildId":"dpl_HkhFaM7Z4J8aYo89NEttjgSHLi43","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CcqyeCsd.js","snippetPresets-BXpjsCLt.js","utils-BMeWgmux.js","style-to-object-BY3JEAdk.js","utils-Bf6nZD9H.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-DXJsGknQ.js","conditional-requirements-CFM0id0Q.js","cloneDeep-DSTtzOf2.js","_Uint8Array-C-edUHQG.js","isObject-FP1Yky1u.js","ApiExamples-COtLQu3-.js","usePlaygroundInputsStore-C9DuRPBP.js","shallow-BibQ6cmh.js","isEqual-DWtTR4xZ.js","CodeSnippets-oTbSvpH0.js","CodeSnippet-aoxflAAu.js","use-playground-group-access-DeGLmdF0.js","Page-O70UOb6U.js","api-description-markdown-CMycxfBq.js","DynamicMarkdown-BYt0i0jS.js","SectionHeading-DPolOHLH.js","MethodPill-BdQtTDPU.js","getPastedJson-DtoM0YdN.js","Check2Icon-DBIn8GjN.js","axios-CsQoIw0U.js","Markdown-dtaz0GJv.js","AssistantPageLink-BoFYfyLr.js","dist-B2jKoWQI.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}