openapi: 3.1.0 paths: /: get: operationId: getHealthStatus parameters: [] responses: "200": description: "" summary: Get the health status of the application tags: - health x-speakeasy-group: health x-speakeasy-name-override: get /v1/organizations/{organizationId}/workspaces: post: operationId: v1.workspaces.createWorkspace parameters: - name: organizationId required: true in: path description: Organization identifier schema: type: string requestBody: required: true content: application/json: schema: $ref: "#/components/schemas/WorkspaceCreateRequestDTO" responses: "201": description: The workspace has been successfully created content: application/json: schema: $ref: "#/components/schemas/WorkspaceSchema" "500": description: Internal Server Error summary: Create a new workspace tags: - workspaces x-speakeasy-group: workspaces x-speakeasy-name-override: create get: operationId: v1.workspaces.listWorkspaces parameters: - name: organizationId required: true in: path description: Organization identifier schema: type: string responses: "200": description: List of workspaces has been successfully retrieved content: application/json: schema: $ref: "#/components/schemas/WorkspacesListResponseDTO" "500": description: Internal Server Error summary: List all workspaces for an organization tags: - workspaces x-speakeasy-group: workspaces x-speakeasy-name-override: list /v1/organizations/{organizationId}/workspaces/{workspaceId}: patch: operationId: v1.workspaces.updateWorkspace parameters: - name: organizationId required: true in: path description: Organization identifier schema: type: string - name: workspaceId required: true in: path description: Workspace identifier schema: type: string requestBody: required: true content: application/json: schema: $ref: "#/components/schemas/WorkspacePatchRequestDTO" responses: "200": description: The workspace has been successfully updated content: application/json: schema: $ref: "#/components/schemas/WorkspaceSchema" "500": description: Internal Server Error summary: Update an existing workspace tags: - workspaces x-speakeasy-group: workspaces x-speakeasy-name-override: update delete: operationId: v1.workspaces.deleteWorkspace parameters: - name: organizationId required: true in: path description: Organization identifier schema: type: string - name: workspaceId required: true in: path description: Workspace identifier schema: type: string responses: "202": description: The workspace deletion has been accepted "500": description: Internal Server Error summary: Delete a workspace tags: - workspaces x-speakeasy-group: workspaces x-speakeasy-name-override: delete get: operationId: v1.workspaces.getWorkspace parameters: - name: organizationId required: true in: path description: Organization identifier schema: type: string - name: workspaceId required: true in: path description: Workspace identifier schema: type: string responses: "200": description: The workspace details have been successfully retrieved content: application/json: schema: $ref: "#/components/schemas/WorkspaceSchema" "500": description: Internal Server Error summary: Get a specific workspace by ID tags: - workspaces x-speakeasy-group: workspaces x-speakeasy-name-override: get info: title: Cribl.Cloud Public API description: Serves as a public API for the Cribl.Cloud platform and powers the Speakeasy SDK version: "1.0" contact: name: Support url: https://portal.support.cribl.io email: "" tags: - name: workspaces description: "" - name: health description: "" servers: - url: https://publicapi.cribl.cloud components: securitySchemes: clientOauth: type: oauth2 flows: clientCredentials: tokenUrl: https://login.cribl.cloud/oauth2/token scopes: {} x-speakeasy-token-endpoint-additional-properties: audience: type: string example: https://publicapi.cribl.cloud bearerAuth: scheme: bearer bearerFormat: JWT type: http schemas: AWSRegions: type: string enum: - us-west-2 - us-east-1 - eu-central-1 - eu-west-2 - ap-southeast-2 - ca-central-1 - us-east-2 description: AWS region where the workspace is deployed x-speakeasy-unknown-values: allow WorkspaceState: type: string enum: - Workspace-Requested - Workspace-Provisioning - Workspace-Provisioning-Failed - Workspace-Provisioned - Workspace-Active - Workspace-Updated - Workspace-Failed-Update - Workspace-Cleanup-Requested - Workspace-Cleanup-Started - Workspace-Cleanup-Terraform-Completed - Workspace-Cleanup-Terraform-Failed - Workspace-Cleanup-Completed - Workspace-Cleanup-Failed description: Current state of the workspace x-speakeasy-unknown-values: allow WorkspaceSchema: type: object properties: workspaceId: type: string description: Unique identifier for the workspace minLength: 4 maxLength: 41 pattern: ^[a-z0-9]*$ example: main region: description: AWS region where the workspace is deployed example: us-west-2 allOf: - $ref: "#/components/schemas/AWSRegions" lastUpdated: type: string description: Timestamp when the workspace was last updated format: date-time example: 2023-01-01T12:00:00Z leaderFQDN: type: string description: Fully Qualified Domain Name of the workspace leader example: workspace-leader.example.com state: description: Current state of the workspace example: Workspace-Active allOf: - $ref: "#/components/schemas/WorkspaceState" alias: type: string description: User-friendly alias for the workspace example: Production Environment description: type: string description: Detailed description of the workspace example: Main production workspace for customer data processing tags: description: Tags associated with the workspace example: - production - customer-data type: array items: type: string required: - workspaceId - region - lastUpdated - leaderFQDN - state WorkspaceCreateRequestDTO: type: object properties: workspaceId: type: string description: Unique identifier for the workspace minLength: 4 maxLength: 41 pattern: ^[a-z0-9]*$ example: main region: description: AWS region where the workspace is deployed example: us-west-2 allOf: - $ref: "#/components/schemas/AWSRegions" alias: type: string description: User-friendly alias for the workspace example: Production Environment description: type: string description: Detailed description of the workspace example: Main production workspace for customer data processing tags: description: Tags associated with the workspace example: - production - customer-data type: array items: type: string required: - workspaceId - region WorkspacePatchRequestDTO: type: object properties: alias: type: string description: User-friendly alias for the workspace example: Production Environment description: type: string description: Detailed description of the workspace example: Main production workspace for customer data processing tags: description: Tags associated with the workspace example: - production - customer-data type: array items: type: string WorkspacesListResponseDTO: type: object properties: items: description: List of workspaces type: array items: $ref: "#/components/schemas/WorkspaceSchema" count: type: number description: Total number of workspaces example: 5 required: - items - count security: - clientOauth: [] - bearerAuth: [] x-speakeasy-retries: strategy: backoff backoff: initialInterval: 500 maxInterval: 60000 maxElapsedTime: 3600000 exponent: 1.5 statusCodes: - "502" - "503" - "504" retryConnectionErrors: true