Best for
Documents where forms, tables, signatures, or layout need structured extraction.
Service / document.analysis
Extract normalized forms, tables, signatures, or layout from a document.
01 / Outcome
Prepared, admitted, and continued durably after the initial HTTP response.
Best for
Documents where forms, tables, signatures, or layout need structured extraction.
Returns
A manifest of structured blocks, relationships and counts for each requested feature, with digest-bound result chunks and a notarized receipt; inline up to 64 KiB.
Before you buy
02 / Price
The amount shown is the complete skill checkout price. Preparation fixes the exact amount before approval.
Price · all in
$0.30–$0.75
Bounded range. Preparation fixes the exact price from immutable artifact size before approval.
Read the service SKILL.mdExact terms
Preparation fixes the exact checkout amount before approval. The live payment challenge is binding.
Pricing starts at $0.30: a base amount plus $0.05 per started 1 MiB, up to $0.75 at the current artifact limit. The live preparation is binding.
03 / Contract
These values are generated from the active, digest-verified catalog revision.
04 / Invoke
Start with SKILL.md for agents, HTTP + x402 for HTTP integrations, or MCP for generated tools.
Start from the exact versioned instructions for this service. The skill describes the capability, inputs, payment boundary, retry identity, and evidence without requiring an agent to scrape this page.
curl --fail --silent --show-error https://ausca.com/skills/document-analysis/SKILL.md npx -y skills add auscahq/ausca --skill document-analysis Exact identity: ausca/document-analysis@0.2.1, digest sha256:6abb3bba6662c65844d0533372af4772e515d60f53c8a0177fa7934393a68363.
The front door package wraps this exact flow as a typed client, a CLI, and a local MCP server. Payment signs on your machine under a hard per-call USD cap; the catalog binding, idempotent retry identity, and settlement receipt are built in.
npm install ausca viem # or: pip install ausca import { AuscaClient } from "ausca";
const client = AuscaClient.withLocalKey({
privateKey: process.env.AUSCA_PRIVATE_KEY,
maxPaymentUsd: 0.75,
});
// Save one key per intended purchase before paying; reuse it only to recover.
const savedPurchaseKey = "document-analysis-purchase-0001";
const outcome = await client.invoke(
"document.analysis",
{
"artifact": {
"artifact_uri": "runx:artifact:sha256:4444444444444444444444444444444444444444444444444444444444444444",
"content_digest": "sha256:5555555555555555555555555555555555555555555555555555555555555555",
"media_type": "application/pdf"
},
"feature_types": [
"FORMS",
"TABLES"
]
},
{ idempotencyKey: savedPurchaseKey },
);
console.log(outcome.result, outcome.payment?.transaction); MCP hosts: npx ausca mcp serves this offer as ausca_analyze_document, paying
locally within AUSCA_MAX_PAYMENT_USD.
Send the exact invocation envelope without payment material to discover live binding terms. Use a supported x402 client for the authorized retry; do not paste a sample signature.
curl --request POST https://ausca.com/v1/analyze-document \
--header 'Content-Type: application/json' \
--data @ausca-document-analysis-request.json {
"idempotency_key": "ausca-document-analysis-example-0001",
"input": {
"artifact": {
"artifact_uri": "runx:artifact:sha256:4444444444444444444444444444444444444444444444444444444444444444",
"content_digest": "sha256:5555555555555555555555555555555555555555555555555555555555555555",
"media_type": "application/pdf"
},
"feature_types": [
"FORMS",
"TABLES"
]
},
"input_schema_digest": "sha256:7093216a29925031972d61a7ab5f6013936aac9f81c3c54f51a00a3fef66759b",
"offer_id": "document.analysis",
"offer_revision": "analysis-bytes-r15",
"offer_revision_digest": "sha256:6e0d6fb55bf4416ad8956b54304fc0240680d0acdad5978822340fdec3ae049b",
"output_schema_digest": "sha256:a515b0864320c1a0c7ee7e6ee20ba1eadc94fe58ad955ece7044fd1043b3914c"
} Expected first response: 402 with matching x402 v2 PAYMENT-REQUIRED header and body. A
valid paid retry returns the admitted or replayed invocation.
MCP projects the same Ausca contract. Paid invocation is disabled by default and must be enabled deliberately by a compatible host. MCP does not carry x402 HTTP headers.
{
"jsonrpc": "2.0",
"id": "document-analysis-example",
"method": "tools/call",
"params": {
"name": "ausca_analyze_document",
"arguments": {
"idempotency_key": "ausca-document-analysis-example-0001",
"input": {
"artifact": {
"artifact_uri": "runx:artifact:sha256:4444444444444444444444444444444444444444444444444444444444444444",
"content_digest": "sha256:5555555555555555555555555555555555555555555555555555555555555555",
"media_type": "application/pdf"
},
"feature_types": [
"FORMS",
"TABLES"
]
},
"input_schema_digest": "sha256:7093216a29925031972d61a7ab5f6013936aac9f81c3c54f51a00a3fef66759b",
"offer_id": "document.analysis",
"offer_revision": "analysis-bytes-r15",
"offer_revision_digest": "sha256:6e0d6fb55bf4416ad8956b54304fc0240680d0acdad5978822340fdec3ae049b",
"output_schema_digest": "sha256:a515b0864320c1a0c7ee7e6ee20ba1eadc94fe58ad955ece7044fd1043b3914c"
}
}
} Expected response: the generated invocation result shape. Use ausca_get_invocation for authoritative state and the receipt reference; a
result above the inline bound arrives as output_artifact, readable through
ausca_artifact_access.
05 / Lifecycle
A connection can end while durable work continues. Read back the invocation; do not create a second purchase.
A 202 response means the invocation was admitted, not that execution failed to finish inline. Read the same invocation until it reaches a terminal state.
Cancellation is a bounded request and can lose a race with completion. Results remain available for 24 hours. Retry uncertain purchases with the same idempotency key.
06 / Contract examples
Replace the example artifact commitment and idempotency key. Keep the same key when retrying an uncertain purchase.
{
"idempotency_key": "ausca-document-analysis-example-0001",
"input": {
"artifact": {
"artifact_uri": "runx:artifact:sha256:4444444444444444444444444444444444444444444444444444444444444444",
"content_digest": "sha256:5555555555555555555555555555555555555555555555555555555555555555",
"media_type": "application/pdf"
},
"feature_types": [
"FORMS",
"TABLES"
]
},
"input_schema_digest": "sha256:7093216a29925031972d61a7ab5f6013936aac9f81c3c54f51a00a3fef66759b",
"offer_id": "document.analysis",
"offer_revision": "analysis-bytes-r15",
"offer_revision_digest": "sha256:6e0d6fb55bf4416ad8956b54304fc0240680d0acdad5978822340fdec3ae049b",
"output_schema_digest": "sha256:a515b0864320c1a0c7ee7e6ee20ba1eadc94fe58ad955ece7044fd1043b3914c"
} {
"feature_counts": {
"FORMS": 1,
"TABLES": 0
},
"pages": [
{
"artifact_uri": "runx:artifact:sha256:6666666666666666666666666666666666666666666666666666666666666666",
"content_digest": "sha256:7777777777777777777777777777777777777777777777777777777777777777",
"feature_counts": {
"FORMS": 1,
"TABLES": 0
},
"page_index": 1,
"size_bytes": 1024
}
],
"schema": "ausca.document_analysis.manifest.v1",
"source_digest": "sha256:5555555555555555555555555555555555555555555555555555555555555555"
} SKILL.md: https://ausca.com/skills/document-analysis/SKILL.md
Service: https://ausca.com/services/document-analysis
Endpoint: POST https://ausca.com/v1/analyze-document
Offer: document.analysis
Revision: sha256:6e0d6fb55bf4416ad8956b54304fc0240680d0acdad5978822340fdec3ae049b
Input schema: https://ausca.com/schemas/offers/document-analysis.input.schema.json
Output schema: https://ausca.com/schemas/offers/document-analysis.output.schema.json
Pricing: artifact_bytes; resolve binding terms from live preparation or payment challenge. Executed through an Ausca-owned document analysis capability behind the governed provider boundary.