Skip to navigation

Get one platform feature's AI Gateway spend per model

View as Markdown

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

accountstringRequired
Account name
featurestringRequired
Platform feature key, from the features breakdown's own rows

Query parameters

fromstringOptional

Start of period (RFC3339, defaults to start of current month)

tostringOptional

End of period (RFC3339, defaults to now)

Response

OK
cost_usddoubleOptional
dailylist of objectsOptional
featurestringOptional
modelslist of objectsOptional
namestringOptional

Errors

502
Bad Gateway Error