Get receipt validation metadata
curl --request GET \
--url https://useorgx.com/api/v1/agent-work-receipts/validateconst options = {method: 'GET'};
fetch('https://useorgx.com/api/v1/agent-work-receipts/validate', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://useorgx.com/api/v1/agent-work-receipts/validate"
response = requests.get(url)
print(response.text){
"name": "Agent Work Receipt",
"schema_version": "agent-work-receipt/v0.1",
"schema_url": "https://useorgx.com/schemas/agent-work-receipt/v0.1/schema.json",
"account_required": false,
"persists_submissions": false,
"max_bytes": 262144,
"validation_limits": {
"max_depth": 64,
"max_nodes": 50000,
"max_issues": 100,
"apply_before_schema": true
},
"validation_endpoint": "https://useorgx.com/api/v1/agent-work-receipts/validate",
"import_endpoint": "https://useorgx.com/api/v1/agent-work-receipts",
"schema": {}
}{
"error": {
"code": "<string>",
"message": "<string>",
"issues": [
{}
]
},
"ok": true,
"valid": true
}{
"error": {
"code": "<string>",
"message": "<string>",
"issues": [
{}
]
},
"ok": true,
"valid": true
}Receipt validation
Get receipt validation metadata
Get the supported receipt schema, limits, and a runnable example.
GET
/
agent-work-receipts
/
validate
Get receipt validation metadata
curl --request GET \
--url https://useorgx.com/api/v1/agent-work-receipts/validateconst options = {method: 'GET'};
fetch('https://useorgx.com/api/v1/agent-work-receipts/validate', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://useorgx.com/api/v1/agent-work-receipts/validate"
response = requests.get(url)
print(response.text){
"name": "Agent Work Receipt",
"schema_version": "agent-work-receipt/v0.1",
"schema_url": "https://useorgx.com/schemas/agent-work-receipt/v0.1/schema.json",
"account_required": false,
"persists_submissions": false,
"max_bytes": 262144,
"validation_limits": {
"max_depth": 64,
"max_nodes": 50000,
"max_issues": 100,
"apply_before_schema": true
},
"validation_endpoint": "https://useorgx.com/api/v1/agent-work-receipts/validate",
"import_endpoint": "https://useorgx.com/api/v1/agent-work-receipts",
"schema": {}
}{
"error": {
"code": "<string>",
"message": "<string>",
"issues": [
{}
]
},
"ok": true,
"valid": true
}{
"error": {
"code": "<string>",
"message": "<string>",
"issues": [
{}
]
},
"ok": true,
"valid": true
}Response
Validator metadata and canonical JSON Schema
Allowed value:
"Agent Work Receipt"Allowed value:
"agent-work-receipt/v0.1"Bounded traversal runs before JSON Schema evaluation, so a schema-valid document can still fail with input.structure_limit.
Show child attributes
Show child attributes
Authenticated, workspace-scoped hosted import endpoint
Canonical Agent Work Receipt v0.1 JSON Schema
