Analytics
Operations related to CFO Board analytics and tenant model rates management.
Get CFO Board Analytics
GET
https://api.prompteasy.eu/v1/analytics/cfo-board
Parameters
start_ datestring<date>queryend_ datestring<date>queryResponse
CFO board analytics data
403Forbidden
Forbidden
Authorization
ApiKeyAuthapiKey in headerBearerAuthhttp (bearer)Update CFO Board Tenant Settings
POST
https://api.prompteasy.eu/v1/analytics/cfo-board/settings
Body
application/json
cfo_ board_ enabledbooleanrequiredEnable or disable CFO Board analytics for the tenant
Example
trueResponse
Settings updated successfully
403Forbidden
Forbidden
Unprocessable Entity
Authorization
ApiKeyAuthapiKey in headerBearerAuthhttp (bearer)List Tenant Model Rates
GET
https://api.prompteasy.eu/v1/analytics/cfo-board/rates
Response
List of configured model rates
403Forbidden
Forbidden
Authorization
ApiKeyAuthapiKey in headerBearerAuthhttp (bearer)Create Tenant Model Rate
POST
https://api.prompteasy.eu/v1/analytics/cfo-board/rates
Body
application/json
model_ patternstringrequiredModel pattern string or regex to match against actual LLM models
Example
claude-3-5-sonnettoken_ unitinteger>= 1Token unit divisor for pricing (default 1,000,000)
Example
1000000prompt_ token_ cost_ centsnumber>= 0Cost in cents per token_unit prompt tokens
Example
300completion_ token_ cost_ centsnumber>= 0Cost in cents per token_unit completion tokens
Example
1500cached_ prompt_ token_ cost_ centsnumber>= 0Cost in cents per token_unit cached prompt tokens
Example
30reasoning_ token_ cost_ centsnumber>= 0Cost in cents per token_unit reasoning tokens
Example
0Response
Rate created successfully
403Forbidden
Forbidden
Unprocessable Entity
Authorization
ApiKeyAuthapiKey in headerBearerAuthhttp (bearer)Update Tenant Model Rate
PUT
Body
application/json
model_ patternstringExample
claude-3-5-sonnettoken_ unitinteger>= 1Example
1000000prompt_ token_ cost_ centsnumber>= 0Example
350completion_ token_ cost_ centsnumber>= 0Example
1500cached_ prompt_ token_ cost_ centsnumber>= 0Example
30reasoning_ token_ cost_ centsnumber>= 0Example
0Parameters
rateintegerrequiredpathResponse
Rate updated successfully
403Forbidden
Forbidden
404Not Found
Not Found
Unprocessable Entity
Authorization
ApiKeyAuthapiKey in headerBearerAuthhttp (bearer)Delete Tenant Model Rate
DELETE
Parameters
rateintegerrequiredpathResponse
204No Content
Rate deleted successfully
403Forbidden
Forbidden
404Not Found
Not Found
Authorization
ApiKeyAuthapiKey in headerBearerAuthhttp (bearer)