GET receipts/by-jti/{}
GET /api/v1/receipts/by-jti/{jti}
Looks up a published receipt envelope by JTI.
This operation needs no authentication.
Parameters
jtistring path requiredPattern:^[0-9A-Za-z-]+$
Responses
200 Successful response.
application/json ReceiptsByJti
algstring requiredSignature algorithm (FIPS 186-5)
One of:"ecdsa-p256-sha256"chainReceiptChain requiredclaimsReceiptClaims requiredexpintegerExpiry (optional)
iatinteger requiredIssued-at (Unix seconds)
issstring (uri) requiredIssuer URL identifying the producer, e.g.
https://issuer.example(reserved example domain).jtistring requiredUnique ULID identifier
kidstring requiredKey identifier; resolves via /.well-known/cloakapi-receipt-pubkey.pem
nbfintegerNot-before (defaults to iat)
sigstring requiredBase64url-encoded ECDSA P-256 signature (raw r||s)
substring requiredOpaque request/session identifier; no PII
vstring requiredEnvelope version tag
Example:"v1"
Generated sample
{
"alg": "ecdsa-p256-sha256",
"chain": {
"chain_id": "string",
"prev_hash": "string",
"seq": 0
},
"claims": {
"egress_attestation": {
"attester": "desktop",
"attester_build_hash": "string",
"zero_payload_proof": {}
},
"routing_decision": {
"model": "string",
"provider_id": "string",
"provider_region": "string",
"reason": "user-selected"
},
"tokenisation": {
"detectors": [
{
"count": 0,
"fingerprint_hmac": "string",
"id": "string",
"version": "string"
}
],
"input_hash": "string",
"level": "tokenise-reversible",
"output_hash": "string",
"tokeniser_binary_hash": "string"
},
"x-cloakapi-detection": {
"basis": "client_declared",
"coverage": "rules_only",
"engine_identity": "not_declared"
}
},
"exp": 0,
"iat": 0,
"iss": "https://example.com",
"jti": "string",
"kid": "string",
"nbf": 0,
"sig": "string",
"sub": "string",
"v": "v1"
}400 Error response.
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.
401 Error response.
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.
404 The referenced resource was not found.
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.
429 The route throttle limit was exceeded.
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.
text/html string
503 Error response.
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.