Extract digital signature records from PDF bytes.
Use describe("pdf.extract.signatures") when your code needs the complete live JSON Schemas.
At a glance
| Property | Value |
|---|---|
| Package | @runstamp/pdf |
| Domain / verb | pdf / extract |
| Customer jobs | extract, read |
| Deterministic | Yes |
| Side effects | none |
Availability
| Local | SDK | CLI | MCP | Managed API |
|---|---|---|---|---|
| public ga | public ga | public ga | public ga | public ga |
Managed API route: POST /api/v2/operations/pdf/extract/signatures. Managed execution requires a free-trial workspace or an active Platform or Enterprise workspace, and an environment-bound API key.
Input and result
| Schema | Required fields | Optional fields |
|---|---|---|
| Input | none | none |
| Options | none | deterministic, deterministicSeed, timeoutMs, locale, lossPolicy, limits, selector |
| Result value | selector, items | none |
Every success also carries losses, diagnostics, and a hash-bound receipt.
Defaults, limits, and format constraints
Defaults
| Path | Default |
|---|---|
$.deterministic | default=true |
$.lossPolicy | default="collect" |
Formats and profiles
No separate format selector is declared. Accepted artifacts are bounded by the exact input schema.
Other limits
| Path | Constraint |
|---|---|
$.timeoutMs | minimum=1 |
$.limits.maxInputBytes | minimum=1 |
$.limits.maxOutputBytes | minimum=1 |
$.limits.maxPages | minimum=1 |
$.limits.maxElements | minimum=1 |
$.limits.maxArchiveEntries | minimum=1 |
$.limits.maxExpansionRatio | minimum=1 |
$.limits.maxDurationMs | exclusiveMinimum=0maximum=2147483647 |
Invoke
const input = await fetch("https://runstamp.com/demo-evidence/operation-evidence/pdf/pdf.extract.signatures/input.json").then((response) => response.json());
const result = await runstamp.run("pdf.extract.signatures", input);
if (!result.ok) throw new Error(`${result.error.code}: ${result.error.remediation}`);
console.log(result.value, result.losses, result.diagnostics, result.receipt);curl -fsS https://runstamp.com/demo-evidence/operation-evidence/pdf/pdf.extract.signatures/input.json -o input.json
npx -p @runstamp/sdk runstamp ops invoke pdf.extract.signatures --input input.json{
"tool": "runstamp_invoke_operation",
"arguments": {
"operation": "pdf.extract.signatures",
"input": "<JSON from https://runstamp.com/demo-evidence/operation-evidence/pdf/pdf.extract.signatures/input.json>",
"execution_mode": "local"
}
}Errors and losses
Declared errors (7)
common/SCHEMA_REJECTEDcommon/CONTRACT_VIOLATIONcommon/OPERATION_CANCELLEDcommon/OPERATION_TIMEOUTcommon/RESOURCE_LIMIT_EXCEEDEDpdf/LOSS_POLICY_VIOLATEDcommon/UNSUPPORTED_FEATURE
Declared losses (0)
- None.
SDK AbortSignal, CLI exit 130, and MCP cancellation return the typed common/OPERATION_CANCELLED failure envelope.
Verified example and exact contract
- Fixture:
icp-workflow(Signed ITGC audit PDF with an embedded PKCS#7 approval signature). - Example input — SHA-256
0523e82ebd5e153604810216305fddd64c6e1d9f054de8ccefe41b6d894e94b9. - Example result — SHA-256
a0a47b576b4613ae0fa52976d31346b973d7819959d60d4f629394b1918a3c2b. - Verified result SHA-256:
f21ae0ff56acc0937849013446138b85d7fdd7069d7289b5d01e015738046a22. - Qualification lane:
11-pdf-xlsx.
Contract fingerprints
- Descriptor:
bc2a3da6c4a55f795f66ddb244f5f27d242ffff2b7a1f8f5d879bc2fdf591954. - Input schema:
862106739c7360a1f6f1513712f1fa453d315c205829370d9cd536df88f6ffb0. - Options schema:
930804dbc6d61e6dd7cdcae8107bd6610e7c9e4cfa06d6705b2bababc329b028. - Result value schema:
44761d283dfcea59ab77f750308ff1d1fbcee1379b0d37f321ad9221dbcbee78.
The machine-readable operation reference publishes the complete schemas, qualification results, and evidence bindings for every operation.