document-extraction
InvokePrepare a verifier-friendly document extraction receipt package. Public action remains approval-gated.
Input Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"task": {
"type": "string",
"minLength": 5
},
"document_type": {
"default": "text",
"type": "string",
"enum": [
"pdf",
"image",
"text",
"invoice",
"receipt",
"form",
"other"
]
},
"required_fields": {
"type": "array",
"items": {
"type": "string"
}
},
"output_format": {
"default": "json",
"type": "string",
"enum": [
"json",
"csv",
"checklist",
"report"
]
},
"sensitive_data": {
"default": false,
"type": "boolean"
}
},
"required": [
"task",
"document_type",
"output_format",
"sensitive_data"
],
"additionalProperties": false
}
Invoke with curl
curl -s -X POST \
'https://volcanic-document-extraction.45.132.242.18.sslip.io/entrypoints/document-extraction/invoke' \
-H 'Content-Type: application/json' \
-d '
{
"input": {
"task": "string",
"document_type": "pdf",
"output_format": "json",
"sensitive_data": true
}
}
'