For the complete documentation index, see llms.txt. This page is also available as Markdown.

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 usage is reported for an incorrect workspace.

Authorizations
OAuth2clientCredentialsRequired
Token URL:

OAuth2authorizationCodeRequired
Authorization URL: Token URL: Refresh URL:
Body
Responses
200

Successful Response

application/json
anyOptional
post
/usage-batch

No content

ZenML Scarf

Last updated

Was this helpful?