{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/zentrik-ai/json-schema/zentrik-ai-post-external-v1-workspaces-response-schema.json",
  "title": "PostExternalV1WorkspacesResponse",
  "x-generated": "2026-11-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/zentrik-ai-openapi-generated.yml#/components/schemas/PostExternalV1WorkspacesResponse",
  "type": "object",
  "properties": {
    "201": {
      "type": "string",
      "description": "Success reference, workspace {id,name}, key {id,name,keyPrefix,scopes,expiresAt,secret}, plan {tier,status,subscriptionEnd}, and replayed."
    },
    "400": {
      "type": "string",
      "description": "Invalid input Invalid reference, name, future expiry or unexpected field."
    },
    "401": {
      "type": "string",
      "description": "Invalid credential The provisioning key is invalid, expired or revoked."
    },
    "403": {
      "type": "string",
      "description": "Not authorized Missing provisioning-only scope, inactive/non-administrator creator, or lost Owner membership."
    },
    "409": {
      "type": "string",
      "description": "Workspace unavailable Expected workspace does not match, or the destination is being deleted."
    },
    "410": {
      "type": "string",
      "description": "Workspace removed This reference previously created a workspace which was deleted. It will not be recreated."
    }
  }
}