{"ok":true,"service":"durable-usage-ledger","public_path":"/durable-usage-ledger/","api_path":"/api/durable-usage-ledger","mode":"sample_get","summary":"Record usage and proof events in a durable ledger-compatible shape for agent runs, receipts, relay states, and paid proof activity.","event":{"event_id":"durable_usage_event_1782605808750_2crcfv","event_type":"receipt_verified","source_service":"investor-demo","rail_key":"compliance_evidenceops","reference_id":"receipt_sample","receipt_id":"receipt_sample","receipt_hash":"receipt_hash_sample","proof_hash":"proof_hash_sample","ledger_state":"ledger_record_ready","usage_state":"usage_event_record_ready","cost_state":"bounded_usage_recorded","model_call_state":null,"payment_state":"payment_reference_ready","delivery_state":"proof_relay_ready","route_state":"/api/proof-relay","public_safe":true,"created_at":"2026-06-28T00:16:48.748Z","event_hash":"dfa9a008c72ae64514cf54c86e495792fc68e077bb4762052249615fe9081332","counter_scope":"public_agent_tooling","counter_bucket":"2026-06-28","counter_increment":1,"max_public_daily_hint":250},"ledger_entry":{"ledger_entry_id":"durable_ledger_entry_1782605808751_1uqxvb","ledger_type":"durable_usage_and_proof_event","event_id":"durable_usage_event_1782605808750_2crcfv","source_service":"investor-demo","rail_key":"compliance_evidenceops","receipt_id":"receipt_sample","receipt_hash":"receipt_hash_sample","proof_hash":"proof_hash_sample","event_hash":"dfa9a008c72ae64514cf54c86e495792fc68e077bb4762052249615fe9081332","verification_state":"receipt_verified_or_pending","relay_state":"proof_relay_ready","payment_state":"payment_reference_ready","created_at":"2026-06-28T00:16:48.748Z"},"persistence":{"usage_event":{"persisted":false,"state":"write_error","target":"wever_usage_events","error":{"code":"PGRST205","details":null,"hint":"Perhaps you meant the table 'public.wever_scout_events'","message":"Could not find the table 'public.wever_usage_events' in the schema cache"},"missing_env":null},"ledger_event":{"persisted":false,"state":"write_error","target":"wever_proof_ledger_events","error":{"code":"PGRST205","details":null,"hint":"Perhaps you meant the table 'public.wever_work_order_events'","message":"Could not find the table 'public.wever_proof_ledger_events' in the schema cache"},"missing_env":null}},"returned_fields":["event","ledger_entry","persistence","next_endpoint"],"next_endpoint":"/api/proof-relay","boundaries":{"accepted_input":"proof, receipt, relay, payment-reference, and model-call state metadata","private_provider_credentials":"Provider credentials remain in environment variables and are not returned by this endpoint.","public_response":"Only state, hashes, IDs, and persistence outcomes are returned."},"timestamp":"2026-06-28T00:16:50.138Z","note":"GET returns a sample ledger-compatible object. POST records supplied proof metadata."}