Read safe public evidence for a decision receipt
const url = 'https://indepai.app/api/v1/fire-decision/scenarios/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/receipts/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/evidence';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://indepai.app/api/v1/fire-decision/scenarios/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/receipts/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/evidence \ --header 'Authorization: Bearer <token>'Returns the owner-scoped receipt’s frozen field-level provenance. Only safe HTTP(S) source metadata is exposed; internal prompts and reasoning are excluded by the strict response schema.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Owner-scoped decision scenario UUID
Immutable decision receipt UUID
Responses
Section titled “Responses”Frozen field-level evidence and freshness state
object
object
Unique identifier (UUID v4)
Timestamp in ISO 8601 format
Date in ISO 8601 format (YYYY-MM-DD)
object
Unique identifier (UUID v4)
Unique identifier (UUID v4)
Date in ISO 8601 format (YYYY-MM-DD)
Date in ISO 8601 format (YYYY-MM-DD)
Timestamp in ISO 8601 format
Timestamp in ISO 8601 format
Timestamp in ISO 8601 format
object
Unique identifier (UUID v4)
Example
{ "success": true, "data": { "snapshotId": "550e8400-e29b-41d4-a716-446655440000", "readiness": "ready", "resolvedAt": "2024-01-15T10:30:00Z", "scenarioDate": "2024-01-15", "sources": [ { "factId": "550e8400-e29b-41d4-a716-446655440000", "ruleSetId": "550e8400-e29b-41d4-a716-446655440000", "factStatus": "candidate", "effectiveFrom": "2024-01-15", "effectiveTo": "2024-01-15", "verifiedAt": "2024-01-15T10:30:00Z", "warningAfter": "2024-01-15T10:30:00Z", "hardExpiry": "2024-01-15T10:30:00Z", "sourceStatus": "candidate", "sourceKind": "primary_official" } ] }, "meta": { "requestId": "550e8400-e29b-41d4-a716-446655440000", "contractVersion": "decision-contract/1" }}Invalid identifiers
object
Always false for error responses
Error type
Machine-readable error code
Detailed validation errors
object
Path to the invalid field
Error message
Example
{ "success": false, "error": "Validation error", "code": "VALIDATION_ERROR", "details": [ { "path": "currentAge", "message": "Must be between 18 and 100" } ]}Authentication required
object
Always false for error responses
Error type
Machine-readable error code
Detailed validation errors
object
Path to the invalid field
Error message
Example
{ "success": false, "error": "Validation error", "code": "VALIDATION_ERROR", "details": [ { "path": "currentAge", "message": "Must be between 18 and 100" } ]}Owned receipt or evidence snapshot not found
object
Always false for error responses
Error type
Machine-readable error code
Detailed validation errors
object
Path to the invalid field
Error message
Example
{ "success": false, "error": "Validation error", "code": "VALIDATION_ERROR", "details": [ { "path": "currentAge", "message": "Must be between 18 and 100" } ]}