Record a cost event
pc_post_companies_by_company_id_cost_eventsRecord a cost event for a company, specifying agent, provider, model, cost in cents, and occurrence timestamp.
Instructions
Record a cost event
Paperclip operation: POST /api/companies/{companyId}/cost-events. Authorization class: board_or_agent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| headers | Yes | ||
| encoding | Yes | ||
| status_code | Yes | ||
| content_type | Yes |