# Generated public contract; edit the source and localization catalog.
openapi: 3.1.0
jsonSchemaDialect: https://json-schema.org/draft/2020-12/schema
info:
  title: OrbitSpace Goals and workflows API
  version: 1.0.0
  description: Public v1 application contract for goals and workflows. Protocol lifecycle and capability availability are documented in the integration guides.
servers:
  - url: https://api.orbitspace.dev
security:
  - bearerAuth: []
paths:
  /api/v1/goal-experiences:
    post:
      tags:
        - AutonomyService
      operationId: AutonomyService_CreateGoalExperience
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/CreateGoalExperienceRequest"
        required: true
        description: Request body for create goal experience.
      responses:
        "200":
          description: Successful response.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GoalExperience"
        default:
          description: RFC 9457 Problem Details.
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/ProblemDetails"
      summary: Create goal experience
      description: Create goal experience. Supply the fields defined in the request schema.
  /api/v1/goal-experiences/{id}:
    get:
      tags:
        - AutonomyService
      operationId: AutonomyService_GetGoalExperience
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
          description: Identifier of the resource addressed by this schema or URL.
      responses:
        "200":
          description: Successful response.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GoalExperience"
        default:
          description: RFC 9457 Problem Details.
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/ProblemDetails"
      summary: Get goal experience
      description: Get goal experience.
  /api/v1/goal-experiences/{id}/approvals/{approval_id}:decide:
    post:
      tags:
        - AutonomyService
      operationId: AutonomyService_DecideGoalExperienceApproval
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
          description: Identifier of the resource addressed by this schema or URL.
        - name: approval_id
          in: path
          required: true
          schema:
            type: string
          description: Approval id.
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/DecideGoalExperienceApprovalRequest"
        required: true
        description: Request body for decide goal experience approval.
      responses:
        "200":
          description: Successful response.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GoalExperience"
        default:
          description: RFC 9457 Problem Details.
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/ProblemDetails"
      summary: Decide goal experience approval
      description: Decide goal experience approval. Supply the fields defined in the request schema.
  /api/v1/goal-experiences/{id}:addRequirement:
    post:
      tags:
        - AutonomyService
      operationId: AutonomyService_AddGoalExperienceRequirement
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
          description: Identifier of the resource addressed by this schema or URL.
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/AddGoalExperienceRequirementRequest"
        required: true
        description: Request body for add goal experience requirement.
      responses:
        "200":
          description: Successful response.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GoalExperience"
        default:
          description: RFC 9457 Problem Details.
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/ProblemDetails"
      summary: Add goal experience requirement
      description: Add goal experience requirement. Supply the fields defined in the request schema.
  /api/v1/goal-experiences/{id}:control:
    post:
      tags:
        - AutonomyService
      operationId: AutonomyService_ControlGoalExperience
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
          description: Identifier of the resource addressed by this schema or URL.
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/ControlGoalExperienceRequest"
        required: true
        description: Request body for control goal experience.
      responses:
        "200":
          description: Successful response.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/GoalExperience"
        default:
          description: RFC 9457 Problem Details.
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/ProblemDetails"
      summary: Control goal experience
      description: Control goal experience. Supply the fields defined in the request schema.
  /api/v1/goals:
    get:
      tags:
        - AutonomyService
      operationId: AutonomyService_ListGoals
      parameters:
        - name: status
          in: query
          schema:
            enum:
              - GOAL_STATUS_UNSPECIFIED
              - GOAL_STATUS_DRAFT
              - GOAL_STATUS_ACTIVE
              - GOAL_STATUS_PAUSED
              - GOAL_STATUS_ACHIEVED
              - GOAL_STATUS_FAILED
              - GOAL_STATUS_CANCELLED
            type: string
            format: enum
            description: Status.
            x-enum-descriptions:
              GOAL_STATUS_UNSPECIFIED: unspecified
              GOAL_STATUS_DRAFT: draft
              GOAL_STATUS_ACTIVE: active
              GOAL_STATUS_PAUSED: paused
              GOAL_STATUS_ACHIEVED: achieved
              GOAL_STATUS_FAILED: failed
              GOAL_STATUS_CANCELLED: cancelled
          description: Status.
        - name: workspace_id
          in: query
          schema:
            type: string
          description: Workspace identifier. A Workspace is a persistent collaboration context, distinct from a per-task worktree.
        - name: page_size
          in: query
          schema:
            type: integer
            format: int32
          description: Requested page size, subject to the endpoint limits.
        - name: page_token
          in: query
          schema:
            type: string
          description: Opaque pagination token returned by the previous page. Do not construct or modify it.
        - name: conversation_id
          in: query
          schema:
            type: string
          description: Conversation id.
      responses:
        "200":
          description: Successful response.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListGoalsResponse"
        default:
          description: RFC 9457 Problem Details.
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/ProblemDetails"
      summary: List goals
      description: List goals. Use the declared pagination parameters to continue through results.
    post:
      tags:
        - AutonomyService
      operationId: AutonomyService_CreateGoal
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/CreateGoalRequest"
        required: true
        description: Request body for create goal.
      responses:
        "200":
          description: Successful response.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Goal"
        default:
          description: RFC 9457 Problem Details.
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/ProblemDetails"
      summary: Create goal
      description: Create goal. Supply the fields defined in the request schema.
  /api/v1/goals/{goal_id}/evaluations:
    get:
      tags:
        - AutonomyService
      operationId: AutonomyService_ListGoalEvaluations
      parameters:
        - name: goal_id
          in: path
          required: true
          schema:
            type: string
          description: Goal id.
        - name: page_size
          in: query
          schema:
            type: integer
            format: int32
          description: Requested page size, subject to the endpoint limits.
        - name: page_token
          in: query
          schema:
            type: string
          description: Opaque pagination token returned by the previous page. Do not construct or modify it.
      responses:
        "200":
          description: Successful response.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListEvaluationsResponse"
        default:
          description: RFC 9457 Problem Details.
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/ProblemDetails"
      summary: List goal evaluations
      description: List goal evaluations. Use the declared pagination parameters to continue through results.
  /api/v1/goals/{goal_id}/events:
    get:
      tags:
        - AutonomyService
      operationId: AutonomyService_ListGoalEvents
      parameters:
        - name: goal_id
          in: path
          required: true
          schema:
            type: string
          description: Goal id.
        - name: after_sequence
          in: query
          schema:
            type: string
          description: Read events after this sequence number. Preserve exact integer precision when persisting a cursor.
        - name: page_size
          in: query
          schema:
            type: integer
            format: int32
          description: Requested page size, subject to the endpoint limits.
      responses:
        "200":
          description: Successful response.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListGoalEventsResponse"
        default:
          description: RFC 9457 Problem Details.
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/ProblemDetails"
      summary: List goal events
      description: List goal events.
  /api/v1/goals/{goal_id}/iterations:
    get:
      tags:
        - AutonomyService
      operationId: AutonomyService_ListGoalIterations
      parameters:
        - name: goal_id
          in: path
          required: true
          schema:
            type: string
          description: Goal id.
        - name: page_size
          in: query
          schema:
            type: integer
            format: int32
          description: Requested page size, subject to the endpoint limits.
        - name: page_token
          in: query
          schema:
            type: string
          description: Opaque pagination token returned by the previous page. Do not construct or modify it.
      responses:
        "200":
          description: Successful response.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListGoalIterationsResponse"
        default:
          description: RFC 9457 Problem Details.
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/ProblemDetails"
      summary: List goal iterations
      description: List goal iterations. Use the declared pagination parameters to continue through results.
  /api/v1/goals/{goal_id}/releases:
    get:
      tags:
        - AutonomyService
      operationId: AutonomyService_ListGoalReleases
      parameters:
        - name: goal_id
          in: path
          required: true
          schema:
            type: string
          description: Goal id.
        - name: page_size
          in: query
          schema:
            type: integer
            format: int32
          description: Requested page size, subject to the endpoint limits.
        - name: page_token
          in: query
          schema:
            type: string
          description: Opaque pagination token returned by the previous page. Do not construct or modify it.
      responses:
        "200":
          description: Successful response.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListReleasesResponse"
        default:
          description: RFC 9457 Problem Details.
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/ProblemDetails"
      summary: List goal releases
      description: List goal releases. Use the declared pagination parameters to continue through results.
  /api/v1/goals/{id}:
    get:
      tags:
        - AutonomyService
      operationId: AutonomyService_GetGoal
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
          description: Identifier of the resource addressed by this schema or URL.
      responses:
        "200":
          description: Successful response.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Goal"
        default:
          description: RFC 9457 Problem Details.
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/ProblemDetails"
      summary: Get goal
      description: Get goal.
  /api/v1/goals/{id}/cancel:
    post:
      tags:
        - AutonomyService
      operationId: AutonomyService_CancelGoal
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
          description: Identifier of the resource addressed by this schema or URL.
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/CancelGoalRequest"
        required: true
        description: Request body for cancel goal.
      responses:
        "200":
          description: Successful response.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Goal"
        default:
          description: RFC 9457 Problem Details.
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/ProblemDetails"
      summary: Cancel goal
      description: Cancel goal. Supply the fields defined in the request schema.
  /api/v1/goals/{id}/pause:
    post:
      tags:
        - AutonomyService
      operationId: AutonomyService_PauseGoal
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
          description: Identifier of the resource addressed by this schema or URL.
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/PauseGoalRequest"
        required: true
        description: Request body for pause goal.
      responses:
        "200":
          description: Successful response.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Goal"
        default:
          description: RFC 9457 Problem Details.
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/ProblemDetails"
      summary: Pause goal
      description: Pause goal. Supply the fields defined in the request schema.
  /api/v1/goals/{id}/resume:
    post:
      tags:
        - AutonomyService
      operationId: AutonomyService_ResumeGoal
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
          description: Identifier of the resource addressed by this schema or URL.
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/ResumeGoalRequest"
        required: true
        description: Request body for resume goal.
      responses:
        "200":
          description: Successful response.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Goal"
        default:
          description: RFC 9457 Problem Details.
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/ProblemDetails"
      summary: Resume goal
      description: Resume goal. Supply the fields defined in the request schema.
  /api/v1/goals/{id}/start:
    post:
      tags:
        - AutonomyService
      operationId: AutonomyService_StartGoal
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
          description: Identifier of the resource addressed by this schema or URL.
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/StartGoalRequest"
        required: true
        description: Request body for start goal.
      responses:
        "200":
          description: Successful response.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Goal"
        default:
          description: RFC 9457 Problem Details.
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/ProblemDetails"
      summary: Start goal
      description: Start goal. Supply the fields defined in the request schema.
  /api/v1/promotions:
    get:
      tags:
        - AutonomyService
      operationId: AutonomyService_ListPromotions
      parameters:
        - name: workspace_id
          in: query
          schema:
            type: string
          description: Workspace identifier. A Workspace is a persistent collaboration context, distinct from a per-task worktree.
        - name: status
          in: query
          schema:
            enum:
              - PROMOTION_STATUS_UNSPECIFIED
              - PROMOTION_STATUS_PROPOSED
              - PROMOTION_STATUS_APPROVED
              - PROMOTION_STATUS_APPLIED
              - PROMOTION_STATUS_REJECTED
              - PROMOTION_STATUS_ROLLED_BACK
            type: string
            format: enum
            description: Status.
            x-enum-descriptions:
              PROMOTION_STATUS_UNSPECIFIED: unspecified
              PROMOTION_STATUS_PROPOSED: proposed
              PROMOTION_STATUS_APPROVED: approved
              PROMOTION_STATUS_APPLIED: applied
              PROMOTION_STATUS_REJECTED: rejected
              PROMOTION_STATUS_ROLLED_BACK: rolled back
          description: Status.
        - name: page_size
          in: query
          schema:
            type: integer
            format: int32
          description: Requested page size, subject to the endpoint limits.
        - name: page_token
          in: query
          schema:
            type: string
          description: Opaque pagination token returned by the previous page. Do not construct or modify it.
      responses:
        "200":
          description: Successful response.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListPromotionsResponse"
        default:
          description: RFC 9457 Problem Details.
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/ProblemDetails"
      summary: List promotions
      description: List promotions. Use the declared pagination parameters to continue through results.
    post:
      tags:
        - AutonomyService
      operationId: AutonomyService_ProposePromotion
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/ProposePromotionRequest"
        required: true
        description: Request body for propose promotion.
      responses:
        "200":
          description: Successful response.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Promotion"
        default:
          description: RFC 9457 Problem Details.
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/ProblemDetails"
      summary: Propose promotion
      description: Propose promotion. Supply the fields defined in the request schema.
  /api/v1/promotions/{id}:
    get:
      tags:
        - AutonomyService
      operationId: AutonomyService_GetPromotion
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
          description: Identifier of the resource addressed by this schema or URL.
      responses:
        "200":
          description: Successful response.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Promotion"
        default:
          description: RFC 9457 Problem Details.
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/ProblemDetails"
      summary: Get promotion
      description: Get promotion.
  /api/v1/promotions/{id}/decide:
    post:
      tags:
        - AutonomyService
      operationId: AutonomyService_DecidePromotion
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
          description: Identifier of the resource addressed by this schema or URL.
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/DecidePromotionRequest"
        required: true
        description: Request body for decide promotion.
      responses:
        "200":
          description: Successful response.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Promotion"
        default:
          description: RFC 9457 Problem Details.
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/ProblemDetails"
      summary: Decide promotion
      description: Decide promotion. Supply the fields defined in the request schema.
  /api/v1/promotions/{id}/rollback:
    post:
      tags:
        - AutonomyService
      operationId: AutonomyService_RollbackPromotion
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
          description: Identifier of the resource addressed by this schema or URL.
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/RollbackPromotionRequest"
        required: true
        description: Request body for roll back promotion.
      responses:
        "200":
          description: Successful response.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Promotion"
        default:
          description: RFC 9457 Problem Details.
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/ProblemDetails"
      summary: Roll back promotion
      description: Roll back promotion. Supply the fields defined in the request schema.
  /api/v1/releases/{id}/rollback:
    post:
      tags:
        - AutonomyService
      operationId: AutonomyService_RollbackRelease
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
          description: Identifier of the resource addressed by this schema or URL.
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/RollbackReleaseRequest"
        required: true
        description: Request body for roll back release.
      responses:
        "200":
          description: Successful response.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Release"
        default:
          description: RFC 9457 Problem Details.
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/ProblemDetails"
      summary: Roll back release
      description: Roll back release. Supply the fields defined in the request schema.
  /api/v1/workflow-executions:
    get:
      tags:
        - WorkflowService
      operationId: WorkflowService_ListWorkflowExecutions
      parameters:
        - name: status
          in: query
          schema:
            enum:
              - WORKFLOW_EXECUTION_STATUS_UNSPECIFIED
              - WORKFLOW_EXECUTION_STATUS_PENDING
              - WORKFLOW_EXECUTION_STATUS_RUNNING
              - WORKFLOW_EXECUTION_STATUS_COMPLETED
              - WORKFLOW_EXECUTION_STATUS_FAILED
              - WORKFLOW_EXECUTION_STATUS_CANCELLED
              - WORKFLOW_EXECUTION_STATUS_COMPENSATING
            type: string
            format: enum
            description: Status.
            x-enum-descriptions:
              WORKFLOW_EXECUTION_STATUS_UNSPECIFIED: unspecified
              WORKFLOW_EXECUTION_STATUS_PENDING: pending
              WORKFLOW_EXECUTION_STATUS_RUNNING: running
              WORKFLOW_EXECUTION_STATUS_COMPLETED: completed
              WORKFLOW_EXECUTION_STATUS_FAILED: failed
              WORKFLOW_EXECUTION_STATUS_CANCELLED: cancelled
              WORKFLOW_EXECUTION_STATUS_COMPENSATING: compensating
          description: Status.
        - name: page_size
          in: query
          schema:
            type: integer
            format: int32
          description: Requested page size, subject to the endpoint limits.
        - name: page_token
          in: query
          schema:
            type: string
          description: Opaque pagination token returned by the previous page. Do not construct or modify it.
        - name: status_group
          in: query
          description: Empty/all preserves existing behavior. current excludes terminal executions.
          schema:
            type: string
        - name: query
          in: query
          description: Input search or an exact execution/Workspace UUID, up to 256 characters.
          schema:
            type: string
        - name: summary_only
          in: query
          description: Return input_summary instead of full input in operational lists.
          schema:
            type: boolean
      responses:
        "200":
          description: Successful response.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListWorkflowExecutionsResponse"
        default:
          description: RFC 9457 Problem Details.
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/ProblemDetails"
      summary: List workflow executions
      description: List workflow executions. Use the declared pagination parameters to continue through results.
    post:
      tags:
        - WorkflowService
      operationId: WorkflowService_CreateWorkflowExecution
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/CreateWorkflowExecutionRequest"
        required: true
        description: Request body for create workflow execution.
      responses:
        "200":
          description: Successful response.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/WorkflowExecution"
        default:
          description: RFC 9457 Problem Details.
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/ProblemDetails"
      summary: Create workflow execution
      description: Create workflow execution. Supply the fields defined in the request schema.
  /api/v1/workflow-executions/{id}:
    get:
      tags:
        - WorkflowService
      operationId: WorkflowService_GetWorkflowExecution
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
          description: Identifier of the resource addressed by this schema or URL.
      responses:
        "200":
          description: Successful response.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/WorkflowExecution"
        default:
          description: RFC 9457 Problem Details.
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/ProblemDetails"
      summary: Get workflow execution
      description: Get workflow execution.
  /api/v1/workflow-executions/{id}/cancel:
    post:
      tags:
        - WorkflowService
      operationId: WorkflowService_CancelWorkflowExecution
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
          description: Identifier of the resource addressed by this schema or URL.
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/CancelWorkflowExecutionRequest"
        required: true
        description: Request body for cancel workflow execution.
      responses:
        "200":
          description: Successful response.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/WorkflowExecution"
        default:
          description: RFC 9457 Problem Details.
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/ProblemDetails"
      summary: Cancel workflow execution
      description: Cancel workflow execution. Supply the fields defined in the request schema.
  /api/v1/workflow-executions/{id}/events:
    get:
      tags:
        - WorkflowService
      operationId: WorkflowService_ListWorkflowEvents
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
          description: Identifier of the resource addressed by this schema or URL.
        - name: after_sequence
          in: query
          schema:
            type: string
          description: Read events after this sequence number. Preserve exact integer precision when persisting a cursor.
        - name: page_size
          in: query
          schema:
            type: integer
            format: int32
          description: Requested page size, subject to the endpoint limits.
      responses:
        "200":
          description: Successful response.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListWorkflowEventsResponse"
        default:
          description: RFC 9457 Problem Details.
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/ProblemDetails"
      summary: List workflow events
      description: List workflow events.
  /api/v1/workspaces/{workspace_id}/deployment-targets:
    get:
      tags:
        - AutonomyService
      operationId: AutonomyService_ListWorkspaceDeploymentTargets
      parameters:
        - name: workspace_id
          in: path
          required: true
          schema:
            type: string
          description: Workspace identifier. A Workspace is a persistent collaboration context, distinct from a per-task worktree.
      responses:
        "200":
          description: Successful response.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ListWorkspaceDeploymentTargetsResponse"
        default:
          description: RFC 9457 Problem Details.
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/ProblemDetails"
      summary: List workspace deployment targets
      description: List workspace deployment targets.
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
  schemas:
    AddGoalExperienceRequirementRequest:
      type: object
      properties:
        id:
          type: string
          description: Identifier of the resource addressed by this schema or URL.
        expected_state_version:
          type: string
          description: Expected state revision for optimistic concurrency. Copy the current revision exactly; do not round it through a JavaScript Number.
        requirement:
          type: string
          description: Requirement.
      description: Add goal experience requirement request.
    CancelGoalRequest:
      type: object
      properties:
        id:
          type: string
          description: Identifier of the resource addressed by this schema or URL.
        expected_state_version:
          type: string
          description: Expected state revision for optimistic concurrency. Copy the current revision exactly; do not round it through a JavaScript Number.
      description: Cancel goal request.
    CancelWorkflowExecutionRequest:
      type: object
      properties:
        id:
          type: string
          description: Identifier of the resource addressed by this schema or URL.
        expected_state_version:
          type: string
          description: Expected state revision for optimistic concurrency. Copy the current revision exactly; do not round it through a JavaScript Number.
      description: Cancel workflow execution request.
    ControlGoalExperienceRequest:
      type: object
      properties:
        id:
          type: string
          description: Identifier of the resource addressed by this schema or URL.
        expected_state_version:
          type: string
          description: Expected state revision for optimistic concurrency. Copy the current revision exactly; do not round it through a JavaScript Number.
        action:
          enum:
            - GOAL_EXPERIENCE_CONTROL_ACTION_UNSPECIFIED
            - GOAL_EXPERIENCE_CONTROL_ACTION_START
            - GOAL_EXPERIENCE_CONTROL_ACTION_PAUSE
            - GOAL_EXPERIENCE_CONTROL_ACTION_RESUME
            - GOAL_EXPERIENCE_CONTROL_ACTION_CANCEL
          type: string
          format: enum
          description: Action.
          x-enum-descriptions:
            GOAL_EXPERIENCE_CONTROL_ACTION_UNSPECIFIED: unspecified
            GOAL_EXPERIENCE_CONTROL_ACTION_START: start
            GOAL_EXPERIENCE_CONTROL_ACTION_PAUSE: pause
            GOAL_EXPERIENCE_CONTROL_ACTION_RESUME: resume
            GOAL_EXPERIENCE_CONTROL_ACTION_CANCEL: cancel
        additional_iterations:
          type: integer
          description: |-
            Explicitly extend the iteration limit on resume. Required to resume an
             iteration_limit_exhausted Goal; usage and prior iteration history remain.
          format: int32
      description: Control goal experience request.
    CreateGoalExperienceRequest:
      type: object
      properties:
        workspace_id:
          type: string
          description: Workspace identifier. A Workspace is a persistent collaboration context, distinct from a per-task worktree.
        title:
          type: string
          description: Title.
        objective:
          type: string
          description: Objective.
        acceptance_contract:
          type: object
          description: |-
            Candidate acceptance schema. It is evaluated before independent Review
             and CD. Review and release outcomes are selected with completion_target
             and cannot be self-asserted by the candidate manifest.
        completion_target:
          enum:
            - GOAL_COMPLETION_TARGET_UNSPECIFIED
            - GOAL_COMPLETION_TARGET_EVALUATED
            - GOAL_COMPLETION_TARGET_RELEASED
          type: string
          format: enum
          description: Completion target.
          x-enum-descriptions:
            GOAL_COMPLETION_TARGET_UNSPECIFIED: unspecified
            GOAL_COMPLETION_TARGET_EVALUATED: evaluated
            GOAL_COMPLETION_TARGET_RELEASED: released
        max_iterations:
          type: integer
          format: int32
          description: Max iterations.
        idempotency_key:
          type: string
          description: Idempotency key for this operation. Reuse it only when retrying the same submission with the same payload.
        approval_mode:
          enum:
            - EXECUTION_APPROVAL_MODE_UNSPECIFIED
            - EXECUTION_APPROVAL_MODE_MANUAL
            - EXECUTION_APPROVAL_MODE_AUTO
          type: string
          format: enum
          description: Approval mode.
          x-enum-descriptions:
            EXECUTION_APPROVAL_MODE_UNSPECIFIED: unspecified
            EXECUTION_APPROVAL_MODE_MANUAL: manual
            EXECUTION_APPROVAL_MODE_AUTO: auto
        token_budget:
          type: string
          description: Token budget.
        cost_budget_microunits:
          type: string
          description: Cost budget microunits.
        compute_budget_ms:
          type: string
          description: Compute budget ms.
        deadline:
          type: string
          format: date-time
          description: Deadline as an RFC 3339 timestamp.
        start_immediately:
          type: boolean
          description: Start immediately.
        workflow_reference:
          type: string
          description: |-
            Optional immutable Workflow Registry reference, for example
             workflow://orbitspace/software-delivery@1.6.6. When set, OrbitSpace
             resolves every Workflow agent and environment binding by the matching
             active Workspace Agent slot key. When omitted, the Goal runs in adaptive
             coordination mode.
        candidate_step_key:
          type: string
          description: |-
            Required with workflow_reference. Names the Workflow step whose result is
             the immutable candidate evaluated by the Goal lifecycle.
        deployment_target:
          $ref: "#/components/schemas/GoalDeploymentTarget"
          description: Deployment target.
        maintenance_policy:
          $ref: "#/components/schemas/GoalMaintenancePolicy"
          description: Maintenance policy.
        input_token_budget:
          type: string
          description: |-
            Independent hard ceilings across every Goal Task; zero is unbounded.
             These intersect the combined token_budget and receive no terminal grace.
        output_token_budget:
          type: string
          description: Output token budget.
        cost_budget_currency:
          type: string
          description: Optional assertion. The accepted charge quote fixes the monetary unit.
      description: Create goal experience request.
    CreateGoalRequest:
      type: object
      properties:
        workspace_id:
          type: string
          description: Workspace identifier. A Workspace is a persistent collaboration context, distinct from a per-task worktree.
        coordinator_binding_id:
          type: string
          description: Coordinator binding id.
        collaborator_binding_ids:
          type: array
          items:
            type: string
          description: Collaborator binding ids list.
        evaluator_binding_ids:
          type: array
          items:
            type: string
          description: Evaluator binding ids list.
        cd_binding_id:
          type: string
          description: Cd binding id.
        title:
          type: string
          description: Title.
        objective:
          type: string
          description: Objective.
        acceptance_contract:
          type: object
          description: |-
            Candidate acceptance schema. Independent Review and CD outcomes are
             enforced by completion_target after this schema passes.
        completion_target:
          enum:
            - GOAL_COMPLETION_TARGET_UNSPECIFIED
            - GOAL_COMPLETION_TARGET_EVALUATED
            - GOAL_COMPLETION_TARGET_RELEASED
          type: string
          format: enum
          description: Completion target.
          x-enum-descriptions:
            GOAL_COMPLETION_TARGET_UNSPECIFIED: unspecified
            GOAL_COMPLETION_TARGET_EVALUATED: evaluated
            GOAL_COMPLETION_TARGET_RELEASED: released
        max_iterations:
          type: integer
          format: int32
          description: Max iterations.
        idempotency_key:
          type: string
          description: Idempotency key for this operation. Reuse it only when retrying the same submission with the same payload.
        execution_mode:
          enum:
            - GOAL_EXECUTION_MODE_UNSPECIFIED
            - GOAL_EXECUTION_MODE_ADAPTIVE
            - GOAL_EXECUTION_MODE_WORKFLOW
          type: string
          format: enum
          description: Execution mode.
          x-enum-descriptions:
            GOAL_EXECUTION_MODE_UNSPECIFIED: unspecified
            GOAL_EXECUTION_MODE_ADAPTIVE: adaptive
            GOAL_EXECUTION_MODE_WORKFLOW: workflow
        workflow_version_id:
          type: string
          description: Workflow version id.
        workflow_agent_bindings:
          type: array
          items:
            $ref: "#/components/schemas/GoalWorkflowBinding"
          description: Workflow agent bindings list.
        workflow_environment_bindings:
          type: array
          items:
            $ref: "#/components/schemas/GoalWorkflowBinding"
          description: Workflow environment bindings list.
        candidate_step_key:
          type: string
          description: Candidate step key.
        conversation_id:
          type: string
          description: Conversation id.
        approval_mode:
          enum:
            - EXECUTION_APPROVAL_MODE_UNSPECIFIED
            - EXECUTION_APPROVAL_MODE_MANUAL
            - EXECUTION_APPROVAL_MODE_AUTO
          type: string
          format: enum
          description: Approval mode.
          x-enum-descriptions:
            EXECUTION_APPROVAL_MODE_UNSPECIFIED: unspecified
            EXECUTION_APPROVAL_MODE_MANUAL: manual
            EXECUTION_APPROVAL_MODE_AUTO: auto
        token_budget:
          type: string
          description: Zero means unbounded.
        cost_budget_microunits:
          type: string
          description: Cost budget microunits.
        compute_budget_ms:
          type: string
          description: Compute budget ms.
        deadline:
          type: string
          format: date-time
          description: Deadline as an RFC 3339 timestamp.
        deployment_target:
          $ref: "#/components/schemas/GoalDeploymentTarget"
          description: Deployment target.
        maintenance_policy:
          $ref: "#/components/schemas/GoalMaintenancePolicy"
          description: Maintenance policy.
        input_token_budget:
          type: string
          description: |-
            Independent hard ceilings across every Goal Task; zero is unbounded.
             These intersect the combined token_budget and receive no terminal grace.
        output_token_budget:
          type: string
          description: Output token budget.
        cost_budget_currency:
          type: string
          description: Cost budget currency.
      description: Create goal request.
    CreateWorkflowExecutionRequest:
      type: object
      properties:
        registry_version_id:
          type: string
          description: Registry version id.
        workspace_id:
          type: string
          description: Workspace identifier. A Workspace is a persistent collaboration context, distinct from a per-task worktree.
        input:
          type: string
          description: Input accepted by this request. Its declared schema and, for invocations, the configured input adapter determine the shape.
        priority:
          type: integer
          format: int32
          description: Priority.
        idempotency_key:
          type: string
          description: Idempotency key for this operation. Reuse it only when retrying the same submission with the same payload.
        agent_bindings:
          type: array
          items:
            $ref: "#/components/schemas/WorkflowBinding"
          description: Agent bindings list.
        environment_bindings:
          type: array
          items:
            $ref: "#/components/schemas/WorkflowBinding"
          description: Environment bindings list.
        policy_scope_id:
          type: string
          description: Policy scope id.
        approval_mode:
          enum:
            - EXECUTION_APPROVAL_MODE_UNSPECIFIED
            - EXECUTION_APPROVAL_MODE_MANUAL
            - EXECUTION_APPROVAL_MODE_AUTO
          type: string
          format: enum
          description: Approval mode.
          x-enum-descriptions:
            EXECUTION_APPROVAL_MODE_UNSPECIFIED: unspecified
            EXECUTION_APPROVAL_MODE_MANUAL: manual
            EXECUTION_APPROVAL_MODE_AUTO: auto
      description: Create workflow execution request.
    DecideGoalExperienceApprovalRequest:
      type: object
      properties:
        id:
          type: string
          description: Identifier of the resource addressed by this schema or URL.
        approval_id:
          type: string
          description: Approval id.
        approve:
          type: boolean
          description: Approve.
      description: Decide goal experience approval request.
    DecidePromotionRequest:
      type: object
      properties:
        id:
          type: string
          description: Identifier of the resource addressed by this schema or URL.
        approve:
          type: boolean
          description: Approve.
      description: Decide promotion request.
    Evaluation:
      type: object
      properties:
        id:
          type: string
          description: Identifier of the resource addressed by this schema or URL.
        tenant_id:
          type: string
          description: Tenant identifier used with the authenticated access context. Supplying an ID does not grant access.
        goal_id:
          type: string
          description: Goal id.
        iteration_id:
          type: string
          description: Iteration id.
        release_id:
          type: string
          description: Release id.
        evaluator_binding_id:
          type: string
          description: Evaluator binding id.
        evaluator_agent_version_id:
          type: string
          description: Evaluator agent version id.
        evaluator_environment_version_id:
          type: string
          description: Evaluator environment version id.
        task_id:
          type: string
          description: Identifier of the durable Task; do not substitute an execution Run ID.
        status:
          enum:
            - EVALUATION_STATUS_UNSPECIFIED
            - EVALUATION_STATUS_RUNNING
            - EVALUATION_STATUS_PASSED
            - EVALUATION_STATUS_FAILED
            - EVALUATION_STATUS_ERROR
          type: string
          format: enum
          description: Status.
          x-enum-descriptions:
            EVALUATION_STATUS_UNSPECIFIED: unspecified
            EVALUATION_STATUS_RUNNING: running
            EVALUATION_STATUS_PASSED: passed
            EVALUATION_STATUS_FAILED: failed
            EVALUATION_STATUS_ERROR: error
        score:
          type: number
          format: double
          description: Score.
        summary:
          type: string
          description: Summary.
        result:
          type: object
          description: Result.
        evidence_artifact_ids:
          type: array
          items:
            type: string
          description: Evidence artifact ids list.
        state_version:
          type: string
          description: State revision used for optimistic concurrency. Preserve its exact decimal representation.
        finished_at:
          type: string
          format: date-time
          description: Finished at as an RFC 3339 timestamp.
        created_at:
          type: string
          format: date-time
          description: Created at as an RFC 3339 timestamp.
        updated_at:
          type: string
          format: date-time
          description: Updated at as an RFC 3339 timestamp.
      description: Evaluation representation.
    Goal:
      type: object
      properties:
        id:
          type: string
          description: Identifier of the resource addressed by this schema or URL.
        tenant_id:
          type: string
          description: Tenant identifier used with the authenticated access context. Supplying an ID does not grant access.
        policy_scope_id:
          type: string
          description: Policy scope id.
        workspace_id:
          type: string
          description: Workspace identifier. A Workspace is a persistent collaboration context, distinct from a per-task worktree.
        coordinator_binding_id:
          type: string
          description: Coordinator binding id.
        collaborator_binding_ids:
          type: array
          items:
            type: string
          description: Collaborator binding ids list.
        evaluator_binding_ids:
          type: array
          items:
            type: string
          description: Evaluator binding ids list.
        cd_binding_id:
          type: string
          description: Cd binding id.
        title:
          type: string
          description: Title.
        objective:
          type: string
          description: Objective.
        acceptance_contract:
          type: object
          description: Acceptance contract.
        completion_target:
          enum:
            - GOAL_COMPLETION_TARGET_UNSPECIFIED
            - GOAL_COMPLETION_TARGET_EVALUATED
            - GOAL_COMPLETION_TARGET_RELEASED
          type: string
          format: enum
          description: Completion target.
          x-enum-descriptions:
            GOAL_COMPLETION_TARGET_UNSPECIFIED: unspecified
            GOAL_COMPLETION_TARGET_EVALUATED: evaluated
            GOAL_COMPLETION_TARGET_RELEASED: released
        max_iterations:
          type: integer
          format: int32
          description: Max iterations.
        current_iteration:
          type: integer
          format: int32
          description: Current iteration.
        status:
          enum:
            - GOAL_STATUS_UNSPECIFIED
            - GOAL_STATUS_DRAFT
            - GOAL_STATUS_ACTIVE
            - GOAL_STATUS_PAUSED
            - GOAL_STATUS_ACHIEVED
            - GOAL_STATUS_FAILED
            - GOAL_STATUS_CANCELLED
          type: string
          format: enum
          description: Status.
          x-enum-descriptions:
            GOAL_STATUS_UNSPECIFIED: unspecified
            GOAL_STATUS_DRAFT: draft
            GOAL_STATUS_ACTIVE: active
            GOAL_STATUS_PAUSED: paused
            GOAL_STATUS_ACHIEVED: achieved
            GOAL_STATUS_FAILED: failed
            GOAL_STATUS_CANCELLED: cancelled
        state_version:
          type: string
          description: State revision used for optimistic concurrency. Preserve its exact decimal representation.
        latest_iteration_id:
          type: string
          description: Latest iteration id.
        failure_code:
          type: string
          description: Failure code.
        failure_message:
          type: string
          description: Failure message.
        started_at:
          type: string
          format: date-time
          description: Started at as an RFC 3339 timestamp.
        finished_at:
          type: string
          format: date-time
          description: Finished at as an RFC 3339 timestamp.
        created_at:
          type: string
          format: date-time
          description: Created at as an RFC 3339 timestamp.
        updated_at:
          type: string
          format: date-time
          description: Updated at as an RFC 3339 timestamp.
        execution_mode:
          enum:
            - GOAL_EXECUTION_MODE_UNSPECIFIED
            - GOAL_EXECUTION_MODE_ADAPTIVE
            - GOAL_EXECUTION_MODE_WORKFLOW
          type: string
          format: enum
          description: Execution mode.
          x-enum-descriptions:
            GOAL_EXECUTION_MODE_UNSPECIFIED: unspecified
            GOAL_EXECUTION_MODE_ADAPTIVE: adaptive
            GOAL_EXECUTION_MODE_WORKFLOW: workflow
        workflow_version_id:
          type: string
          description: Workflow version id.
        workflow_agent_bindings:
          type: array
          items:
            $ref: "#/components/schemas/GoalWorkflowBinding"
          description: Workflow agent bindings list.
        workflow_environment_bindings:
          type: array
          items:
            $ref: "#/components/schemas/GoalWorkflowBinding"
          description: Workflow environment bindings list.
        candidate_step_key:
          type: string
          description: Candidate step key.
        conversation_id:
          type: string
          description: Conversation id.
        approval_mode:
          enum:
            - EXECUTION_APPROVAL_MODE_UNSPECIFIED
            - EXECUTION_APPROVAL_MODE_MANUAL
            - EXECUTION_APPROVAL_MODE_AUTO
          type: string
          format: enum
          description: Approval mode.
          x-enum-descriptions:
            EXECUTION_APPROVAL_MODE_UNSPECIFIED: unspecified
            EXECUTION_APPROVAL_MODE_MANUAL: manual
            EXECUTION_APPROVAL_MODE_AUTO: auto
        token_budget:
          type: string
          description: |-
            Zero budgets are unbounded. Usage includes every Task owned by this Goal,
             including delegated, Workflow, evaluation and deployment Tasks.
        cost_budget_microunits:
          type: string
          description: Cost budget microunits.
        compute_budget_ms:
          type: string
          description: Compute budget ms.
        deadline:
          type: string
          format: date-time
          description: Deadline as an RFC 3339 timestamp.
        input_token_usage:
          type: string
          description: Input token usage.
        output_token_usage:
          type: string
          description: Output token usage.
        cost_usage_microunits:
          type: string
          description: Cost usage microunits.
        compute_usage_ms:
          type: string
          description: Compute usage ms.
        next_event_sequence:
          type: string
          description: Next event sequence.
        requirements:
          type: array
          items:
            type: string
          description: Requirements list.
        deployment_target:
          $ref: "#/components/schemas/GoalDeploymentTarget"
          description: Deployment target.
        maintenance_policy:
          $ref: "#/components/schemas/GoalMaintenancePolicy"
          description: Maintenance policy.
        input_token_budget:
          type: string
          description: |-
            Independent hard ceilings across every Goal Task; zero is unbounded.
             These intersect the combined token_budget and receive no terminal grace.
        output_token_budget:
          type: string
          description: Output token budget.
        created_by:
          type: string
          description: Authenticated caller who admitted the immutable Goal authority.
        cost_budget_currency:
          type: string
          description: Cost budget currency.
      description: Goal representation.
    GoalDeploymentTarget:
      type: object
      properties:
        deployment_key:
          type: string
          description: Deployment key.
        expected_current_release_id:
          type: string
          description: Expected current release id.
      description: |-
        Immutable production destination and optimistic concurrency precondition.
         An empty expected_current_release_id means a first deployment; it must not
         replace an existing instance. Omission of this message preserves legacy Goals.
    GoalEvent:
      type: object
      properties:
        event_id:
          type: string
          description: Event id.
        schema_version:
          type: integer
          format: int32
          description: Schema version.
        tenant_id:
          type: string
          description: Tenant identifier used with the authenticated access context. Supplying an ID does not grant access.
        goal_id:
          type: string
          description: Goal id.
        iteration_id:
          type: string
          description: Iteration id.
        sequence:
          type: string
          description: Event sequence number used for ordering and deduplication.
        type:
          type: string
          description: Type.
        occurred_at:
          type: string
          format: date-time
          description: Occurred at as an RFC 3339 timestamp.
        trace_id:
          type: string
          description: Trace id.
        payload:
          type: object
          description: Payload.
      description: Goal event representation.
    GoalExperience:
      type: object
      properties:
        goal:
          $ref: "#/components/schemas/Goal"
          description: Goal.
        snapshot:
          type: object
          description: Snapshot.
        last_event_sequence:
          type: string
          description: Last event sequence.
        phase:
          type: string
          description: Phase.
        deep_link:
          type: string
          description: Deep link.
        event_stream_url:
          type: string
          description: Event stream url.
      description: Goal experience representation.
    GoalIteration:
      type: object
      properties:
        id:
          type: string
          description: Identifier of the resource addressed by this schema or URL.
        tenant_id:
          type: string
          description: Tenant identifier used with the authenticated access context. Supplying an ID does not grant access.
        goal_id:
          type: string
          description: Goal id.
        sequence:
          type: integer
          format: int32
          description: Event sequence number used for ordering and deduplication.
        status:
          enum:
            - GOAL_ITERATION_STATUS_UNSPECIFIED
            - GOAL_ITERATION_STATUS_RUNNING
            - GOAL_ITERATION_STATUS_EVALUATING
            - GOAL_ITERATION_STATUS_DEPLOYING
            - GOAL_ITERATION_STATUS_COMPLETED
            - GOAL_ITERATION_STATUS_FAILED
            - GOAL_ITERATION_STATUS_CANCELLED
          type: string
          format: enum
          description: Status.
          x-enum-descriptions:
            GOAL_ITERATION_STATUS_UNSPECIFIED: unspecified
            GOAL_ITERATION_STATUS_RUNNING: running
            GOAL_ITERATION_STATUS_EVALUATING: evaluating
            GOAL_ITERATION_STATUS_DEPLOYING: deploying
            GOAL_ITERATION_STATUS_COMPLETED: completed
            GOAL_ITERATION_STATUS_FAILED: failed
            GOAL_ITERATION_STATUS_CANCELLED: cancelled
        coordinator_task_id:
          type: string
          description: Coordinator task id.
        release_id:
          type: string
          description: Release id.
        input_context:
          type: string
          description: Input context.
        outcome:
          type: string
          description: Outcome.
        summary:
          type: string
          description: Summary.
        state_version:
          type: string
          description: State revision used for optimistic concurrency. Preserve its exact decimal representation.
        started_at:
          type: string
          format: date-time
          description: Started at as an RFC 3339 timestamp.
        finished_at:
          type: string
          format: date-time
          description: Finished at as an RFC 3339 timestamp.
        created_at:
          type: string
          format: date-time
          description: Created at as an RFC 3339 timestamp.
        updated_at:
          type: string
          format: date-time
          description: Updated at as an RFC 3339 timestamp.
        workflow_execution_id:
          type: string
          description: Workflow execution id.
      description: Goal iteration representation.
    GoalMaintenancePolicy:
      type: object
      properties:
        schema_version:
          type: string
          description: Schema version.
        permitted_tool_bindings:
          type: array
          items:
            type: string
          description: Permitted tool bindings list.
        approval_required_tool_bindings:
          type: array
          items:
            type: string
          description: Approval required tool bindings list.
        repository_binding_ids:
          type: array
          items:
            type: string
          description: Repository binding ids list.
        deployment_keys:
          type: array
          items:
            type: string
          description: Deployment keys list.
        observation_artifact_ids:
          type: array
          items:
            type: string
          description: Observation artifact ids list.
        required_evidence_kinds:
          type: array
          items:
            type: string
          description: Required evidence kinds list.
        configuration:
          type: object
          additionalProperties:
            type: string
          description: Configuration map.
        preauthorization:
          allOf:
            - $ref: "#/components/schemas/GoalMaintenancePreauthorization"
          description: V2 only. Creating this envelope requires approvals:write in the project.
      description: |-
        Immutable authorization envelope for a governed maintenance Goal. This
         narrows existing tenant, Workspace, Environment and Tool authorization; it
         never grants new authority.
    GoalMaintenancePreauthorization:
      type: object
      properties:
        environment:
          type: string
          description: Environment.
        tool_bindings:
          type: array
          items:
            type: string
          description: Tool bindings list.
        repository_ref_prefixes:
          type: array
          items:
            type: string
          description: Repository ref prefixes list.
        deployment_keys:
          type: array
          items:
            type: string
          description: Deployment keys list.
      description: |-
        Caller-declared development authority, frozen with the Goal. This is not a
         model hint or a human decision for a later Tool Call. Production targets and
         security-boundary operations cannot be preauthorized through this message.
    GoalWorkflowBinding:
      type: object
      properties:
        name:
          type: string
          description: Name.
        workspace_agent_binding_id:
          type: string
          description: Identifier of the Agent binding in the selected Workspace.
      description: Goal workflow binding representation.
    ListEvaluationsResponse:
      type: object
      properties:
        evaluations:
          type: array
          items:
            $ref: "#/components/schemas/Evaluation"
          description: Evaluations list.
        next_page_token:
          type: string
          description: Pagination token for the next page. An empty value indicates there is no next page.
      description: List evaluations response representation.
    ListGoalEventsResponse:
      type: object
      properties:
        events:
          type: array
          items:
            $ref: "#/components/schemas/GoalEvent"
          description: Events list.
        next_sequence:
          type: string
          description: Next sequence.
      description: List goal events response.
    ListGoalIterationsResponse:
      type: object
      properties:
        iterations:
          type: array
          items:
            $ref: "#/components/schemas/GoalIteration"
          description: Iterations list.
        next_page_token:
          type: string
          description: Pagination token for the next page. An empty value indicates there is no next page.
      description: List goal iterations response.
    ListGoalsResponse:
      type: object
      properties:
        goals:
          type: array
          items:
            $ref: "#/components/schemas/Goal"
          description: Goals list.
        next_page_token:
          type: string
          description: Pagination token for the next page. An empty value indicates there is no next page.
      description: List goals response.
    ListPromotionsResponse:
      type: object
      properties:
        promotions:
          type: array
          items:
            $ref: "#/components/schemas/Promotion"
          description: Promotions list.
        next_page_token:
          type: string
          description: Pagination token for the next page. An empty value indicates there is no next page.
      description: List promotions response.
    ListReleasesResponse:
      type: object
      properties:
        releases:
          type: array
          items:
            $ref: "#/components/schemas/Release"
          description: Releases list.
        next_page_token:
          type: string
          description: Pagination token for the next page. An empty value indicates there is no next page.
      description: List releases response representation.
    ListWorkflowEventsResponse:
      type: object
      properties:
        events:
          type: array
          items:
            $ref: "#/components/schemas/WorkflowEvent"
          description: Events list.
        next_sequence:
          type: string
          description: Next sequence.
      description: List workflow events response.
    ListWorkflowExecutionsResponse:
      type: object
      properties:
        executions:
          type: array
          items:
            $ref: "#/components/schemas/WorkflowExecution"
          description: Executions list.
        next_page_token:
          type: string
          description: Pagination token for the next page. An empty value indicates there is no next page.
        total_count:
          type: string
          description: Total count.
      description: List workflow executions response.
    ListWorkspaceDeploymentTargetsResponse:
      type: object
      properties:
        releases:
          type: array
          items:
            $ref: "#/components/schemas/Release"
          description: |-
            Latest known healthy Releases, one per deployment key. Runtime rechecks
             the selected Release before any production mutation.
      description: List workspace deployment targets response.
    ModelInvocationConfig:
      type: object
      properties:
        model:
          type: string
          description: Model.
        reasoning_effort:
          type: string
          description: Reasoning effort.
      description: |-
        ModelInvocationConfig is shared by Agent defaults, Task overrides and the
         effective Run snapshot. reasoning_effort is a provider-advertised identifier
         such as low, xhigh, max, ultra or thinking; OrbitSpace does not freeze the
         provider's evolving vocabulary into a protobuf enum. Empty Task fields
         inherit the Agent/provider default.
    PauseGoalRequest:
      type: object
      properties:
        id:
          type: string
          description: Identifier of the resource addressed by this schema or URL.
        expected_state_version:
          type: string
          description: Expected state revision for optimistic concurrency. Copy the current revision exactly; do not round it through a JavaScript Number.
      description: Pause goal request.
    ProblemDetails:
      type: object
      description: RFC 9457 Problem Details with OrbitSpace correlation extensions.
      required:
        - type
        - title
        - status
        - detail
        - request_id
      properties:
        type:
          type: string
          format: uri
          description: Type.
        title:
          type: string
          description: Title.
        status:
          type: integer
          minimum: 400
          maximum: 599
          description: Status.
        detail:
          type: string
          description: Detail.
        instance:
          type: string
          format: uri-reference
          description: Instance.
        code:
          type: string
          pattern: ^[A-Z][A-Z0-9_]*$
          description: Code.
        request_id:
          type: string
          format: uuid
          description: Request id.
    Promotion:
      type: object
      properties:
        id:
          type: string
          description: Identifier of the resource addressed by this schema or URL.
        tenant_id:
          type: string
          description: Tenant identifier used with the authenticated access context. Supplying an ID does not grant access.
        workspace_id:
          type: string
          description: Workspace identifier. A Workspace is a persistent collaboration context, distinct from a per-task worktree.
        workspace_agent_binding_id:
          type: string
          description: Identifier of the Agent binding in the selected Workspace.
        goal_id:
          type: string
          description: Goal id.
        iteration_id:
          type: string
          description: Iteration id.
        from_agent_version_id:
          type: string
          description: From agent version id.
        from_environment_version_id:
          type: string
          description: From environment version id.
        to_agent_version_id:
          type: string
          description: To agent version id.
        to_environment_version_id:
          type: string
          description: To environment version id.
        to_model_config:
          $ref: "#/components/schemas/ModelInvocationConfig"
          description: To model config.
        evaluation_ids:
          type: array
          items:
            type: string
          description: Evaluation ids list.
        status:
          enum:
            - PROMOTION_STATUS_UNSPECIFIED
            - PROMOTION_STATUS_PROPOSED
            - PROMOTION_STATUS_APPROVED
            - PROMOTION_STATUS_APPLIED
            - PROMOTION_STATUS_REJECTED
            - PROMOTION_STATUS_ROLLED_BACK
          type: string
          format: enum
          description: Status.
          x-enum-descriptions:
            PROMOTION_STATUS_UNSPECIFIED: unspecified
            PROMOTION_STATUS_PROPOSED: proposed
            PROMOTION_STATUS_APPROVED: approved
            PROMOTION_STATUS_APPLIED: applied
            PROMOTION_STATUS_REJECTED: rejected
            PROMOTION_STATUS_ROLLED_BACK: rolled back
        expected_binding_state_version:
          type: string
          description: Expected binding state version.
        reason:
          type: string
          description: Reason.
        decided_by:
          type: string
          description: Decided by.
        decided_at:
          type: string
          format: date-time
          description: Decided at as an RFC 3339 timestamp.
        applied_at:
          type: string
          format: date-time
          description: Applied at as an RFC 3339 timestamp.
        created_at:
          type: string
          format: date-time
          description: Created at as an RFC 3339 timestamp.
        updated_at:
          type: string
          format: date-time
          description: Updated at as an RFC 3339 timestamp.
        from_model_config:
          $ref: "#/components/schemas/ModelInvocationConfig"
          description: From model config.
        rolled_back_by:
          type: string
          description: Rolled back by.
        rolled_back_at:
          type: string
          format: date-time
          description: Rolled back at as an RFC 3339 timestamp.
        rollback_reason:
          type: string
          description: Rollback reason.
        rollback_binding_state_version:
          type: string
          description: Rollback binding state version.
        rollback_capable:
          type: boolean
          description: Rollback capable.
      description: Promotion representation.
    ProposePromotionRequest:
      type: object
      properties:
        workspace_id:
          type: string
          description: Workspace identifier. A Workspace is a persistent collaboration context, distinct from a per-task worktree.
        workspace_agent_binding_id:
          type: string
          description: Identifier of the Agent binding in the selected Workspace.
        goal_id:
          type: string
          description: Goal id.
        iteration_id:
          type: string
          description: Iteration id.
        to_agent_version_id:
          type: string
          description: To agent version id.
        to_environment_version_id:
          type: string
          description: To environment version id.
        to_model_config:
          $ref: "#/components/schemas/ModelInvocationConfig"
          description: To model config.
        evaluation_ids:
          type: array
          items:
            type: string
          description: Evaluation ids list.
        expected_binding_state_version:
          type: string
          description: Expected binding state version.
        reason:
          type: string
          description: Reason.
      description: Propose promotion request.
    Release:
      type: object
      properties:
        id:
          type: string
          description: Identifier of the resource addressed by this schema or URL.
        tenant_id:
          type: string
          description: Tenant identifier used with the authenticated access context. Supplying an ID does not grant access.
        goal_id:
          type: string
          description: Goal id.
        iteration_id:
          type: string
          description: Iteration id.
        sequence:
          type: integer
          format: int32
          description: Event sequence number used for ordering and deduplication.
        source_revision:
          type: string
          description: Source revision.
        summary:
          type: string
          description: Summary.
        artifact_ids:
          type: array
          items:
            type: string
          description: Artifact ids list.
        manifest:
          type: object
          description: Manifest.
        status:
          enum:
            - RELEASE_STATUS_UNSPECIFIED
            - RELEASE_STATUS_CANDIDATE
            - RELEASE_STATUS_EVALUATING
            - RELEASE_STATUS_APPROVED
            - RELEASE_STATUS_DEPLOYING
            - RELEASE_STATUS_RELEASED
            - RELEASE_STATUS_FAILED
            - RELEASE_STATUS_ROLLED_BACK
            - RELEASE_STATUS_ROLLING_BACK
          type: string
          format: enum
          description: Status.
          x-enum-descriptions:
            RELEASE_STATUS_UNSPECIFIED: unspecified
            RELEASE_STATUS_CANDIDATE: candidate
            RELEASE_STATUS_EVALUATING: evaluating
            RELEASE_STATUS_APPROVED: approved
            RELEASE_STATUS_DEPLOYING: deploying
            RELEASE_STATUS_RELEASED: released
            RELEASE_STATUS_FAILED: failed
            RELEASE_STATUS_ROLLED_BACK: rolled back
            RELEASE_STATUS_ROLLING_BACK: rolling back
        deployment_task_id:
          type: string
          description: Deployment task id.
        deployment_ref:
          type: string
          description: Deployment ref.
        failure_code:
          type: string
          description: Failure code.
        failure_message:
          type: string
          description: Failure message.
        state_version:
          type: string
          description: State revision used for optimistic concurrency. Preserve its exact decimal representation.
        released_at:
          type: string
          format: date-time
          description: Released at as an RFC 3339 timestamp.
        created_at:
          type: string
          format: date-time
          description: Created at as an RFC 3339 timestamp.
        updated_at:
          type: string
          format: date-time
          description: Updated at as an RFC 3339 timestamp.
        deployment_key:
          type: string
          description: Deployment key.
        rollback_target_release_id:
          type: string
          description: Rollback target release id.
        rollback_task_id:
          type: string
          description: Rollback task id.
        rollback_reason:
          type: string
          description: Rollback reason.
        rollback_requested_by:
          type: string
          description: Rollback requested by.
        rollback_requested_at:
          type: string
          format: date-time
          description: Rollback requested at as an RFC 3339 timestamp.
        rollback_requested_state_version:
          type: string
          description: Rollback requested state version.
        rolled_back_at:
          type: string
          format: date-time
          description: Rolled back at as an RFC 3339 timestamp.
        rollback_capable:
          type: boolean
          description: Rollback capable.
        deployment_target:
          $ref: "#/components/schemas/GoalDeploymentTarget"
          description: Deployment target.
      description: Release representation.
    ResumeGoalRequest:
      type: object
      properties:
        id:
          type: string
          description: Identifier of the resource addressed by this schema or URL.
        expected_state_version:
          type: string
          description: Expected state revision for optimistic concurrency. Copy the current revision exactly; do not round it through a JavaScript Number.
        additional_iterations:
          type: integer
          description: Explicit additional iteration allowance; never resets consumed usage.
          format: int32
      description: Resume goal request.
    RollbackPromotionRequest:
      type: object
      properties:
        id:
          type: string
          description: Identifier of the resource addressed by this schema or URL.
        expected_binding_state_version:
          type: string
          description: Expected binding state version.
        reason:
          type: string
          description: Reason.
      description: Roll back promotion request.
    RollbackReleaseRequest:
      type: object
      properties:
        id:
          type: string
          description: Identifier of the resource addressed by this schema or URL.
        expected_state_version:
          type: string
          description: Expected state revision for optimistic concurrency. Copy the current revision exactly; do not round it through a JavaScript Number.
        reason:
          type: string
          description: Reason.
      description: Roll back release request.
    StartGoalRequest:
      type: object
      properties:
        id:
          type: string
          description: Identifier of the resource addressed by this schema or URL.
        expected_state_version:
          type: string
          description: Expected state revision for optimistic concurrency. Copy the current revision exactly; do not round it through a JavaScript Number.
      description: Start goal request.
    TaskInitiator:
      type: object
      properties:
        identity_id:
          type: string
          description: Identity id.
        display_name:
          type: string
          description: Display name.
        kind:
          type: string
          description: Kind.
        integration_client_id:
          type: string
          description: Integration client id.
        source:
          type: string
          description: chat, api, goal, workflow, delegation, or a2a.
      description: Task initiator representation.
    WorkflowBinding:
      type: object
      properties:
        name:
          type: string
          description: Name.
        version_id:
          type: string
          description: Version id.
      description: Workflow binding representation.
    WorkflowEvent:
      type: object
      properties:
        event_id:
          type: string
          description: Event id.
        schema_version:
          type: integer
          format: int32
          description: Schema version.
        type:
          type: string
          description: Type.
        tenant_id:
          type: string
          description: Tenant identifier used with the authenticated access context. Supplying an ID does not grant access.
        workflow_execution_id:
          type: string
          description: Workflow execution id.
        step_key:
          type: string
          description: Step key.
        task_id:
          type: string
          description: Identifier of the durable Task; do not substitute an execution Run ID.
        sequence:
          type: string
          description: Event sequence number used for ordering and deduplication.
        occurred_at:
          type: string
          format: date-time
          description: Occurred at as an RFC 3339 timestamp.
        trace_id:
          type: string
          description: Trace id.
        payload:
          type: object
          description: Payload.
      description: Workflow event representation.
    WorkflowExecution:
      type: object
      properties:
        id:
          type: string
          description: Identifier of the resource addressed by this schema or URL.
        tenant_id:
          type: string
          description: Tenant identifier used with the authenticated access context. Supplying an ID does not grant access.
        registry_version_id:
          type: string
          description: Registry version id.
        workspace_id:
          type: string
          description: Workspace identifier. A Workspace is a persistent collaboration context, distinct from a per-task worktree.
        workflow_content_digest:
          type: string
          description: Workflow content digest.
        input:
          type: string
          description: Input accepted by this request. Its declared schema and, for invocations, the configured input adapter determine the shape.
        priority:
          type: integer
          format: int32
          description: Priority.
        max_parallelism:
          type: integer
          format: int32
          description: Max parallelism.
        failure_policy:
          type: string
          description: Failure policy.
        status:
          enum:
            - WORKFLOW_EXECUTION_STATUS_UNSPECIFIED
            - WORKFLOW_EXECUTION_STATUS_PENDING
            - WORKFLOW_EXECUTION_STATUS_RUNNING
            - WORKFLOW_EXECUTION_STATUS_COMPLETED
            - WORKFLOW_EXECUTION_STATUS_FAILED
            - WORKFLOW_EXECUTION_STATUS_CANCELLED
            - WORKFLOW_EXECUTION_STATUS_COMPENSATING
          type: string
          format: enum
          description: Status.
          x-enum-descriptions:
            WORKFLOW_EXECUTION_STATUS_UNSPECIFIED: unspecified
            WORKFLOW_EXECUTION_STATUS_PENDING: pending
            WORKFLOW_EXECUTION_STATUS_RUNNING: running
            WORKFLOW_EXECUTION_STATUS_COMPLETED: completed
            WORKFLOW_EXECUTION_STATUS_FAILED: failed
            WORKFLOW_EXECUTION_STATUS_CANCELLED: cancelled
            WORKFLOW_EXECUTION_STATUS_COMPENSATING: compensating
        state_version:
          type: string
          description: State revision used for optimistic concurrency. Preserve its exact decimal representation.
        failure_code:
          type: string
          description: Failure code.
        failure_message:
          type: string
          description: Failure message.
        started_at:
          type: string
          format: date-time
          description: Started at as an RFC 3339 timestamp.
        finished_at:
          type: string
          format: date-time
          description: Finished at as an RFC 3339 timestamp.
        created_at:
          type: string
          format: date-time
          description: Created at as an RFC 3339 timestamp.
        updated_at:
          type: string
          format: date-time
          description: Updated at as an RFC 3339 timestamp.
        steps:
          type: array
          items:
            $ref: "#/components/schemas/WorkflowStep"
          description: Steps list.
        last_event_sequence:
          type: string
          description: Last event sequence.
        policy_scope_id:
          type: string
          description: Policy scope id.
        approval_mode:
          enum:
            - EXECUTION_APPROVAL_MODE_UNSPECIFIED
            - EXECUTION_APPROVAL_MODE_MANUAL
            - EXECUTION_APPROVAL_MODE_AUTO
          type: string
          format: enum
          description: Approval mode.
          x-enum-descriptions:
            EXECUTION_APPROVAL_MODE_UNSPECIFIED: unspecified
            EXECUTION_APPROVAL_MODE_MANUAL: manual
            EXECUTION_APPROVAL_MODE_AUTO: auto
        goal_id:
          type: string
          description: Goal id.
        initiator:
          $ref: "#/components/schemas/TaskInitiator"
          description: Initiator.
        input_summary:
          type: string
          description: Input summary.
      description: Workflow execution representation.
    WorkflowRetryPolicy:
      type: object
      properties:
        max_attempts:
          type: integer
          format: int32
          description: Max attempts.
        initial_backoff_seconds:
          type: integer
          format: int32
          description: Initial backoff seconds.
        max_backoff_seconds:
          type: integer
          format: int32
          description: Max backoff seconds.
        retryable_failure_codes:
          type: array
          items:
            type: string
          description: Retryable failure codes list.
      description: Workflow retry policy representation.
    WorkflowStep:
      type: object
      properties:
        id:
          type: string
          description: Identifier of the resource addressed by this schema or URL.
        workflow_execution_id:
          type: string
          description: Workflow execution id.
        step_key:
          type: string
          description: Step key.
        instructions:
          type: string
          description: Instructions.
        depends_on:
          type: array
          items:
            type: string
          description: Depends on list.
        agent_binding:
          type: string
          description: Agent binding.
        environment_binding:
          type: string
          description: Environment binding.
        approval_policy:
          type: string
          description: Approval policy.
        timeout_seconds:
          type: integer
          format: int32
          description: Timeout seconds.
        agent_version_id:
          type: string
          description: Agent version id.
        environment_version_id:
          type: string
          description: Environment version id.
        workspace_id:
          type: string
          description: Workspace identifier. A Workspace is a persistent collaboration context, distinct from a per-task worktree.
        status:
          enum:
            - WORKFLOW_STEP_STATUS_UNSPECIFIED
            - WORKFLOW_STEP_STATUS_BLOCKED
            - WORKFLOW_STEP_STATUS_SCHEDULED
            - WORKFLOW_STEP_STATUS_RUNNING
            - WORKFLOW_STEP_STATUS_COMPLETED
            - WORKFLOW_STEP_STATUS_FAILED
            - WORKFLOW_STEP_STATUS_CANCELLED
            - WORKFLOW_STEP_STATUS_SKIPPED
            - WORKFLOW_STEP_STATUS_RETRY_WAITING
            - WORKFLOW_STEP_STATUS_COMPENSATING
            - WORKFLOW_STEP_STATUS_COMPENSATION_RETRY_WAITING
            - WORKFLOW_STEP_STATUS_COMPENSATED
            - WORKFLOW_STEP_STATUS_COMPENSATION_FAILED
          type: string
          format: enum
          description: Status.
          x-enum-descriptions:
            WORKFLOW_STEP_STATUS_UNSPECIFIED: unspecified
            WORKFLOW_STEP_STATUS_BLOCKED: blocked
            WORKFLOW_STEP_STATUS_SCHEDULED: scheduled
            WORKFLOW_STEP_STATUS_RUNNING: running
            WORKFLOW_STEP_STATUS_COMPLETED: completed
            WORKFLOW_STEP_STATUS_FAILED: failed
            WORKFLOW_STEP_STATUS_CANCELLED: cancelled
            WORKFLOW_STEP_STATUS_SKIPPED: skipped
            WORKFLOW_STEP_STATUS_RETRY_WAITING: retry waiting
            WORKFLOW_STEP_STATUS_COMPENSATING: compensating
            WORKFLOW_STEP_STATUS_COMPENSATION_RETRY_WAITING: compensation retry waiting
            WORKFLOW_STEP_STATUS_COMPENSATED: compensated
            WORKFLOW_STEP_STATUS_COMPENSATION_FAILED: compensation failed
        task_id:
          type: string
          description: Identifier of the durable Task; do not substitute an execution Run ID.
        failure_code:
          type: string
          description: Failure code.
        failure_message:
          type: string
          description: Failure message.
        scheduled_at:
          type: string
          format: date-time
          description: Scheduled at as an RFC 3339 timestamp.
        started_at:
          type: string
          format: date-time
          description: Started at as an RFC 3339 timestamp.
        finished_at:
          type: string
          format: date-time
          description: Finished at as an RFC 3339 timestamp.
        created_at:
          type: string
          format: date-time
          description: Created at as an RFC 3339 timestamp.
        updated_at:
          type: string
          format: date-time
          description: Updated at as an RFC 3339 timestamp.
        topological_index:
          type: integer
          format: int32
          description: Topological index.
        retry:
          $ref: "#/components/schemas/WorkflowRetryPolicy"
          description: Retry.
        attempt:
          type: integer
          format: int32
          description: Attempt.
        task_ids:
          type: array
          items:
            type: string
          description: Task ids list.
        next_attempt_at:
          type: string
          format: date-time
          description: Next attempt at as an RFC 3339 timestamp.
        compensation:
          $ref: "#/components/schemas/WorkflowStepCompensation"
          description: Compensation.
        policy_scope_id:
          type: string
          description: Policy scope id.
        model_config:
          $ref: "#/components/schemas/ModelInvocationConfig"
          description: Model config.
        result_contract:
          type: object
          description: Result contract.
        workspace_agent_binding_id:
          type: string
          description: Identifier of the Agent binding in the selected Workspace.
        participant_bindings:
          type: array
          items:
            type: string
          description: Logical Workspace Agent slots snapshotted as mandatory delegation participants.
      description: Workflow step representation.
    WorkflowStepCompensation:
      type: object
      properties:
        instructions:
          type: string
          description: Instructions.
        agent_binding:
          type: string
          description: Agent binding.
        environment_binding:
          type: string
          description: Environment binding.
        approval_policy:
          type: string
          description: Approval policy.
        timeout_seconds:
          type: integer
          format: int32
          description: Timeout seconds.
        retry:
          $ref: "#/components/schemas/WorkflowRetryPolicy"
          description: Retry.
        agent_version_id:
          type: string
          description: Agent version id.
        environment_version_id:
          type: string
          description: Environment version id.
        attempt:
          type: integer
          format: int32
          description: Attempt.
        task_id:
          type: string
          description: Identifier of the durable Task; do not substitute an execution Run ID.
        task_ids:
          type: array
          items:
            type: string
          description: Task ids list.
        next_attempt_at:
          type: string
          format: date-time
          description: Next attempt at as an RFC 3339 timestamp.
        failure_code:
          type: string
          description: Failure code.
        failure_message:
          type: string
          description: Failure message.
        scheduled_at:
          type: string
          format: date-time
          description: Scheduled at as an RFC 3339 timestamp.
        started_at:
          type: string
          format: date-time
          description: Started at as an RFC 3339 timestamp.
        finished_at:
          type: string
          format: date-time
          description: Finished at as an RFC 3339 timestamp.
        model_config:
          $ref: "#/components/schemas/ModelInvocationConfig"
          description: Model config.
        workspace_agent_binding_id:
          type: string
          description: Identifier of the Agent binding in the selected Workspace.
        participant_bindings:
          type: array
          items:
            type: string
          description: Participant bindings list.
      description: Workflow step compensation representation.
tags:
  - name: AutonomyService
    x-displayName: Goals and promotions
    description: Goals and promotions operations.
  - name: WorkflowService
    x-displayName: Workflows
    description: Workflows operations.
