ai
record AI token usage for the calling user
Changed onpost/w/{workspace}/ai/usage
Request
- Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
- URL: /api/w/{workspace}/ai/usage
- Auth: one of:
- HTTP bearer
- API key in cookie token
Path parameters
workspacestring required
Request body
Response
usage recorded
Changes
- info
added the new
cloudflareenum value to the request property// - info
added the new
typesafeenum value to the request property//
- info
- info
endpoint added
- info