Skip to main content
POST
Typescript (SDK)

Authorizations

Authorization
string
header
required

Lucid API key (lk_live_... or lk_test_...)

Body

application/json

Input fields for creating a receipt. The backend computes the hash, signature, and wraps metrics.

model_passport_id
string
required
compute_passport_id
string
required
policy_hash
string
required
runtime
string
required
tokens_in
integer
required
tokens_out
integer
required
ttft_ms
integer
required
total_latency_ms
integer
timestamp
integer
trace_id
string
run_id
string
image_hash
string
model_hash
string
attestation
object
execution_mode
string
node_id
string
runtime_hash
string
gpu_fingerprint
string

Response

OK

success
boolean
required
receipt
object
required