Create a workspace
Create a new workspace for the authenticated user. Management key required.
Authentication
AuthorizationBearer
API key as bearer token in Authorization header
Request
This endpoint expects an object.
name
Name for the new workspace
slug
URL-friendly slug (lowercase alphanumeric and hyphens only)
default_image_model
Default image model for this workspace
default_provider_sort
Default provider sort preference (price, throughput, latency, exacto)
default_text_model
Default text model for this workspace
description
Description of the workspace
is_data_discount_logging_enabled
Whether data discount logging is enabled
is_observability_broadcast_enabled
Whether broadcast is enabled
is_observability_io_logging_enabled
Whether private logging is enabled
Response
Workspace created successfully
data
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
500
Internal Server Error