Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
cURL
curl --request GET \ --url http://localhost:8000/api/sessions/{session_id}/cost-breakdown
{ "session_id": "<string>", "total_cost": "<string>", "events": [ { "id": "<string>", "session_id": "<string>", "user_id": "<string>", "provider": "<string>", "quantity": "<string>", "unit_cost": "<string>", "total_cost": "<string>", "created_at": "2023-11-07T05:31:56Z", "agent_id": "<string>" } ], "cost_by_type": {} }
Get cost breakdown for a session.
Successful Response
^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
Show child attributes