Get workspace
Changed onPlan: Business or higher
Scope: workspaces:read
Returns workspace details, security and publishing policies, seat count, billing period, and default member credit limit. Usage fields are null without permission to view workspace usage. Member details, including roles, are on GET /v1/workspaces/{workspace_id}/members. The num_projects count is eventually consistent and may not immediately reflect project creation or deletion.
Request
- Base URLhttps://api.lovable.dev
- Auth
- API key in header Lovable-API-Key
- or HTTP bearer
Path parameters
Workspace ID.
Headers
Stable API version to serve, as a YYYY-MM-DD date. Omit for the oldest supported stable version, currently 2026-09-11.
Comma-separated beta revision strings to enable on top of the stable version.
Response
OK
Example response
{
"billing_period_ends_at": "2026-02-01T00:00:00Z",
"billing_period_starts_at": "2026-01-01T00:00:00Z",
"created_at": "2026-01-15T09:30:00Z",
"default_monthly_member_credit_limit": 500,
"default_project_visibility": "workspace_edit",
"description": "Marketing site and internal tools for Acme.",
"enable_pii": true,
"enforce_sso": true,
"id": "workspace_01jw3k9m2xq8r5v0c7d4e6f2gh",
"image_url": "https://lovable.dev/cdn/workspaces/acme/avatar.png",
"name": "Acme Inc",
"num_projects": 12,
"num_seats": 25,
"plan": "pro",
"publishing_policy": "workspace_only",
"updated_at": "2026-01-15T09:30:00Z"
}Changes
- info
for the
headerrequest parameterLovable-Version, the format was generalized fromdateto no format - info
added the non-success response with the status
- info
- info
added the non-success response with the status
- info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- info