Usage batch

Batch Usage Endpoint

post

Endpoint to sync usage.

Args: usage: Dictionary of the usage. Maps workspace ID to a dictionary of features and their usage counts. background_tasks: FastAPI background tasks. auth_context: The authentication context. workspace_manager: The workspace manager.

Raises: IllegalOperationError: If the user is not internal.

Authorizations
OAuth2clientCredentialsRequired
Token URL:

OAuth2authorizationCodeRequired
Authorization URL: Token URL: Refresh URL:
Body
Responses
chevron-right
200

Successful Response

application/json
Responseany
post
/usage-batch

No content

Last updated

Was this helpful?