Sources
Register API sources and manage ingest keys
Register New Source
Registered Sources
Loading…
Integration Quickstart
Send events to the ingest API using your source's API key:
curl -X POST https://costpulse.my/api/v1/events \
-H "Authorization: Bearer cp_<source_id>_<secret>" \
-H "Content-Type: application/json" \
-d '{
"ask_id": "uuid-of-user-request",
"occurred_at": "2026-05-01T12:00:00Z",
"step": "generate",
"provider": "anthropic",
"model": "claude-sonnet-4-6",
"input_tokens": 1024,
"output_tokens": 512,
"latency_ms": 1800,
"ok": true
}'