Usage batch
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
200
Successful Response
application/json
Responseany
422
Validation Error
application/json
post
/usage-batchNo content
Last updated
Was this helpful?