get
https://api.notdiamond.ai/v2/prompt/adapt//costs
Get LLM usage costs for a specific prompt adaptation run.
This endpoint returns the total cost and detailed usage records for all LLM requests made during a prompt adaptation run. Use this to track costs associated with optimizing prompts for different target models.
Cost Breakdown:
- Total cost across all models used in the adaptation
- Individual usage records with provider, model, tokens, and costs
- Timestamps for each LLM request
Access Control:
- Only accessible by the user who created the adaptation run
- Requires prompt adaptation access
Returns LLM usage costs for a specific prompt adaptation run.
