Skip to main content
GET
Get a signed record
Use this endpoint to fetch one signed record. Together with EDN’s public key, it has everything needed to verify the record offline. See Signed records.

Required headers

Request

Response

200 OK

Errors

See Error handling.

Authorizations

Authorization
string
header
required

Your EDN API key, sent as Bearer YOUR_API_KEY. Create keys in the Console.

Path Parameters

receipt_id
string
required

The record's ID.

Response

Signed record returned.

A signed record with everything needed to verify it offline.

built_at
string
required

When the record was signed, in RFC 3339 UTC format: the build time for a sip record, or the time the AI response was signed for an ai_response record.

hash_alg
string
required

The hash algorithm, SHA-256.

key_id
string
required

The ID of the key that signed the record. Find its public key at /api/v1/evidence/keys.

payload_b64
string
required

The signed content, base64-encoded. Decode it to get the exact bytes that were signed; they are JSON.

payload_sha256
string
required

SHA-256 of the decoded payload bytes, as sha256: plus 64 hex characters.

receipt_id
string
required

The record's ID.

record_type
enum<string>
required

sip: a record of a SIP build. ai_response: a record of the AI response to a SIP, saved when you send receipt_id to Save a conversation turn.

Available options:
sip,
ai_response
sig_alg
string
required

The signature algorithm, Ed25519.

signature_b64
string
required

The Ed25519 signature over the decoded payload bytes, base64-encoded.

user_id
string
required

The account the record belongs to.

parent_receipt_id
string | null

For an ai_response record, the ID of the SIP record it answers. Otherwise null.

project_id
string | null

The project the record belongs to, if any.

schema
string
default:edn-evidence-receipt

The record format name, edn-evidence-receipt.

schema_version
string
default:2

The record format version.

session_id
string | null

The conversation the record belongs to, if any.