> ## Documentation Index
> Fetch the complete documentation index at: https://docs.runaether.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Launch the onboarding task

> Creates the caller's first task in their onboarding project and completes their onboarding in one transaction, or returns the task already launched.

Use this tool when you need to:
- Launch the first task at the end of onboarding, in the project setupOnboardingRepo created
- Retry an onboarding launch safely: a repeat returns the already-launched task

Examples:
- POST /profile/onboarding/launch {"project": {"kind": "existing", "id": "6f1c2a9e-3b7d-4c55-9a2e-0d8b1f4e7c21", "pr_review_auto_trigger": "on_pr_created", "pr_review_respond_to_comments_enabled": true}, "prompt": "Add a health check endpoint", "agent_type": "claude-code", "model": "claude-opus-5-5", "interaction_mode": "default"}
- POST /profile/onboarding/launch {"project": {"kind": "new", "name": "weather-app"}, "prompt": "Build a weather app", "agent_type": "claude-code", "model": "claude-opus-5-5", "interaction_mode": "default"}

Hints:
- Every body field is required: project, prompt, agent_type (codex, claude-code or opencode), model and interaction_mode (default or plan).
- project is {"kind": "existing", "id", "pr_review_auto_trigger", "pr_review_respond_to_comments_enabled"}, a project of the caller's personal organization with the review policy written on its repository: pr_review_auto_trigger is disabled or on_pr_created, and pr_review_respond_to_comments_enabled true needs on_pr_created (400 otherwise). Or it is {"kind": "new", "name"}, a project with no repository created with the task, whose reviews are off.
- The same transaction saves agent_type and model as the project's task defaults (their interaction mode stays default, CI auto-fix on), and an existing project's pr_review_auto_trigger for both Aether's and other pull requests with its pr_review_respond_to_comments_enabled; interaction_mode applies to this task only.
- Idempotent: once onboarding completed with a launch, every call returns that task_id with already_launched true without resolving anything again. Onboarding completed without a launch is refused with 409 onboarding_already_completed.
- Use completeOnboarding instead to finish onboarding without a task; use createTask instead for every later task.
- The caller, acting in their personal organization: a credential acting in another organization is refused with 403. Refused with 404 for a project outside it or a missing profile, 400 when the chosen agent provider cannot run, and 409 project_has_no_repository when reviews are turned on for an existing project with no repository, which holds no review policy.
- Refused with 402 or 403 when runtime admission or the inference balance refuses the run (code such as credits_exhausted or insufficient_inference_balance), 409 mcp_server_not_connected, and 409 when PR reviews are already on for another project linked to the same repository.



## OpenAPI

````yaml api-reference/openapi.json POST /profile/onboarding/launch
openapi: 3.1.0
info:
  title: Aether API
  version: 0.1.0
servers:
  - url: https://api.runaether.dev
security:
  - bearerAuth: []
paths:
  /profile/onboarding/launch:
    post:
      tags:
        - profile
      summary: Launch the onboarding task
      description: >-
        Creates the caller's first task in their onboarding project and
        completes their onboarding in one transaction, or returns the task
        already launched.


        Use this tool when you need to:

        - Launch the first task at the end of onboarding, in the project
        setupOnboardingRepo created

        - Retry an onboarding launch safely: a repeat returns the
        already-launched task


        Examples:

        - POST /profile/onboarding/launch {"project": {"kind": "existing", "id":
        "6f1c2a9e-3b7d-4c55-9a2e-0d8b1f4e7c21", "pr_review_auto_trigger":
        "on_pr_created", "pr_review_respond_to_comments_enabled": true},
        "prompt": "Add a health check endpoint", "agent_type": "claude-code",
        "model": "claude-opus-5-5", "interaction_mode": "default"}

        - POST /profile/onboarding/launch {"project": {"kind": "new", "name":
        "weather-app"}, "prompt": "Build a weather app", "agent_type":
        "claude-code", "model": "claude-opus-5-5", "interaction_mode":
        "default"}


        Hints:

        - Every body field is required: project, prompt, agent_type (codex,
        claude-code or opencode), model and interaction_mode (default or plan).

        - project is {"kind": "existing", "id", "pr_review_auto_trigger",
        "pr_review_respond_to_comments_enabled"}, a project of the caller's
        personal organization with the review policy written on its repository:
        pr_review_auto_trigger is disabled or on_pr_created, and
        pr_review_respond_to_comments_enabled true needs on_pr_created (400
        otherwise). Or it is {"kind": "new", "name"}, a project with no
        repository created with the task, whose reviews are off.

        - The same transaction saves agent_type and model as the project's task
        defaults (their interaction mode stays default, CI auto-fix on), and an
        existing project's pr_review_auto_trigger for both Aether's and other
        pull requests with its pr_review_respond_to_comments_enabled;
        interaction_mode applies to this task only.

        - Idempotent: once onboarding completed with a launch, every call
        returns that task_id with already_launched true without resolving
        anything again. Onboarding completed without a launch is refused with
        409 onboarding_already_completed.

        - Use completeOnboarding instead to finish onboarding without a task;
        use createTask instead for every later task.

        - The caller, acting in their personal organization: a credential acting
        in another organization is refused with 403. Refused with 404 for a
        project outside it or a missing profile, 400 when the chosen agent
        provider cannot run, and 409 project_has_no_repository when reviews are
        turned on for an existing project with no repository, which holds no
        review policy.

        - Refused with 402 or 403 when runtime admission or the inference
        balance refuses the run (code such as credits_exhausted or
        insufficient_inference_balance), 409 mcp_server_not_connected, and 409
        when PR reviews are already on for another project linked to the same
        repository.
      operationId: launchOnboardingTask
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LaunchOnboardingTaskRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OnboardingTaskLaunch'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProfileErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProfileErrorResponse'
          description: Unauthorized
        '402':
          content:
            application/json:
              schema:
                oneOf:
                  - $ref: '#/components/schemas/WorkspaceRuntimeAdmissionError'
                  - $ref: >-
                      #/components/schemas/InferenceBalanceExhaustedErrorResponse
          description: Payment Required
        '403':
          content:
            application/json:
              schema:
                anyOf:
                  - oneOf:
                      - $ref: '#/components/schemas/ProfileErrorResponse'
                      - $ref: '#/components/schemas/WorkspaceRuntimeAdmissionError'
                  - $ref: '#/components/schemas/OrgAuthorizationErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProfileErrorResponse'
          description: Not Found
        '409':
          content:
            application/json:
              schema:
                anyOf:
                  - $ref: '#/components/schemas/ProfileErrorResponse'
                  - $ref: '#/components/schemas/OnboardingLaunchConflictErrorResponse'
                  - $ref: '#/components/schemas/McpServerNotConnectedErrorResponse'
          description: Conflict
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProfileErrorResponse'
          description: Unprocessable Entity
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProfileErrorResponse'
          description: Internal Server Error
components:
  schemas:
    LaunchOnboardingTaskRequest:
      additionalProperties: false
      properties:
        agent_type:
          $ref: '#/components/schemas/AgentType'
        interaction_mode:
          enum:
            - default
            - plan
          type: string
        model:
          minLength: 1
          type: string
        project:
          $ref: '#/components/schemas/OnboardingLaunchProject'
        prompt:
          minLength: 1
          type: string
      required:
        - project
        - prompt
        - agent_type
        - model
        - interaction_mode
      type: object
    OnboardingTaskLaunch:
      additionalProperties: false
      properties:
        already_launched:
          type: boolean
        task_id:
          format: uuid
          type: string
      required:
        - task_id
        - already_launched
      type: object
    ProfileErrorResponse:
      additionalProperties: false
      properties:
        code:
          enum:
            - account_deleting
            - aether_inference_unserved
            - agent_pr_blocked
            - agent_pr_pending
            - agent_profile_changed
            - agent_starts_off
            - app_identity_missing
            - attribution_unavailable
            - bad_gateway
            - bad_request
            - caller_inactive
            - chat_archived
            - computer_connection_stale
            - computer_starts_no_agents
            - computer_starts_no_forks
            - computer_unreachable
            - conflict
            - connection_harness_mismatch
            - connection_not_held
            - contents_write_required
            - continuation_failed
            - continuation_unavailable
            - control_forbidden
            - creator_github_access_missing
            - embeddings_unavailable
            - fix_not_requested
            - fix_requests_unrecorded
            - forbidden
            - fork_branch_delete_unsupported
            - fork_forbidden
            - gateway_timeout
            - github_claim_unverified
            - github_failed
            - github_identity_mismatch
            - github_identity_required
            - github_push_access_required
            - github_reconnect_required
            - github_ref_not_found
            - gone
            - handed_branch_protected
            - head_moved
            - html_render_nul_byte
            - html_render_too_large
            - idempotency_key_conflict
            - idempotency_key_reused
            - idle_compaction_not_pending
            - idle_compaction_skipped
            - inference_proxy_unavailable
            - insufficient_credits
            - insufficient_inference_balance
            - internal_error
            - invalid_request
            - last_queued_message
            - main_chat_permanent
            - mcp_server_not_connected
            - merge_when_ready_requires_pr_review
            - message_not_queued
            - method_not_allowed
            - mode_forbidden
            - no_checkout_on_computer
            - no_dispatch_target
            - not_acceptable
            - not_found
            - not_implemented
            - onboarding_already_completed
            - onboarding_requirements_missing
            - org_id_required
            - org_role_insufficient
            - org_suspended
            - payment_required
            - pr_review_actor_required
            - pr_review_publish_forbidden
            - precondition_failed
            - project_archived
            - project_has_no_repository
            - project_repo_disconnected
            - project_repository_differs
            - project_required
            - pull_request_closed
            - pull_request_mirror_failed
            - pull_request_not_mirrored
            - push_file_too_large
            - push_rejected
            - push_secret_detected
            - queued_stop_requires_discard
            - rate_limited
            - repository_administration_not_granted
            - repository_already_connected
            - repository_create_forbidden
            - repository_create_rejected
            - repository_created_not_linked
            - repository_owner_not_caller
            - request_canceled
            - request_timeout
            - request_too_large
            - save_in_progress
            - save_requires_task_creator
            - service_unavailable
            - session_auth_required
            - stack_cycle
            - stack_too_large
            - stack_two_parents
            - stale_execution
            - stale_or_indeterminate
            - stale_pending_input
            - stream_delivery_gap
            - stream_event_conflict
            - task_already_saved
            - task_awaiting_message
            - task_awaiting_tool_response
            - task_backed_by_work_tree
            - task_bound_at_creation
            - task_branch_diverged
            - task_branch_is_default
            - task_branch_mismatch
            - task_branch_missing
            - task_connection_disconnected
            - task_creator_deleted
            - task_executing
            - task_file_too_large
            - task_fork_refused
            - task_has_no_commits
            - task_has_no_files
            - task_has_no_repository
            - task_history_has_merges
            - task_ineligible
            - task_is_child
            - task_not_accepting_messages
            - task_not_pinnable
            - task_not_started
            - task_rebase_in_progress
            - task_settings_changed
            - teleport_unavailable
            - terminal_chat_continuation_refused
            - unauthenticated
            - unsigned_aether_head
            - unsigned_commit
            - unsupported_changes
            - unsupported_media_type
            - untyped_error
            - validation_failed
            - working_tree_dirty
            - workspace_git_unavailable
            - workspace_gone
            - workspace_outdated
            - workspace_rejected
          minLength: 1
          type: string
        error:
          minLength: 1
          type: string
        errors:
          items:
            $ref: '#/components/schemas/ErrorDetail'
          type: array
      required:
        - error
        - code
      type: object
    WorkspaceRuntimeAdmissionError:
      additionalProperties: false
      properties:
        code:
          enum:
            - user_suspended
            - org_suspended
            - billing_blocked
            - org_task_concurrency_exceeded
            - credits_exhausted
            - workspace_run_unavailable
          type: string
        error:
          minLength: 1
          type: string
        org_id:
          format: uuid
          type: string
        tier:
          enum:
            - free
            - starter
            - pro
            - max
            - team
          type:
            - string
            - 'null'
        vm_size:
          enum:
            - small
            - medium
            - large
            - xl
          type: string
      required:
        - error
        - code
        - tier
        - vm_size
        - org_id
      type: object
    InferenceBalanceExhaustedErrorResponse:
      additionalProperties: false
      properties:
        code:
          enum:
            - insufficient_inference_balance
          type: string
        error:
          minLength: 1
          type: string
      required:
        - error
        - code
      type: object
    OrgAuthorizationErrorResponse:
      additionalProperties: false
      properties:
        code:
          enum:
            - org_membership_required
            - org_role_insufficient
            - org_suspended
            - account_deleting
            - agent_host_route_not_allowed
            - credential_kind_not_admitted
            - grant_scope_insufficient
          type: string
        error:
          minLength: 1
          type: string
      required:
        - error
        - code
      type: object
    OnboardingLaunchConflictErrorResponse:
      additionalProperties: false
      properties:
        code:
          enum:
            - onboarding_already_completed
          type: string
        error:
          minLength: 1
          type: string
      required:
        - error
        - code
      type: object
    McpServerNotConnectedErrorResponse:
      additionalProperties: false
      properties:
        code:
          enum:
            - mcp_server_not_connected
          type: string
        error:
          minLength: 1
          type: string
        servers:
          items:
            $ref: '#/components/schemas/McpServerNotConnected'
          minItems: 1
          type: array
      required:
        - error
        - code
        - servers
      type: object
    AgentType:
      description: >-
        The agent harness that runs a task, a profile or a connection:
        claude-code or claude_code is Claude Code, codex is Codex, opencode is
        OpenCode.
      enum:
        - codex
        - claude-code
        - opencode
        - claude_code
      type: string
    OnboardingLaunchProject:
      discriminator:
        mapping:
          existing: '#/components/schemas/OnboardingLaunchExistingProject'
          new: '#/components/schemas/OnboardingLaunchNewProject'
        propertyName: kind
      oneOf:
        - $ref: '#/components/schemas/OnboardingLaunchExistingProject'
        - $ref: '#/components/schemas/OnboardingLaunchNewProject'
    ErrorDetail:
      additionalProperties: false
      properties:
        location:
          description: >-
            Where the error occurred, e.g. 'body.items[3].tags' or
            'path.thing-id'
          type: string
        message:
          description: Error message text
          type: string
        value:
          description: The value at the given location
      type: object
    McpServerNotConnected:
      additionalProperties: false
      properties:
        display_name:
          type: string
        key:
          type: string
        policy:
          enum:
            - creator
            - org
          type: string
        reason:
          enum:
            - not_connected
            - needs_reauth
          type: string
        repo:
          $ref: '#/components/schemas/McpServerRepoDeclaration'
      required:
        - key
        - display_name
        - policy
        - reason
      type: object
    OnboardingLaunchExistingProject:
      additionalProperties: false
      properties:
        id:
          format: uuid
          type: string
        kind:
          enum:
            - existing
          type: string
        pr_review_auto_trigger:
          enum:
            - disabled
            - on_pr_created
          type: string
        pr_review_respond_to_comments_enabled:
          type: boolean
      required:
        - kind
        - id
        - pr_review_auto_trigger
        - pr_review_respond_to_comments_enabled
      type: object
    OnboardingLaunchNewProject:
      additionalProperties: false
      properties:
        kind:
          enum:
            - new
          type: string
        name:
          maxLength: 100
          minLength: 1
          pattern: ^[a-zA-Z0-9][a-zA-Z0-9_-]{0,99}$
          type: string
      required:
        - kind
        - name
      type: object
    McpServerRepoDeclaration:
      additionalProperties: false
      properties:
        cataloged:
          type: boolean
        file:
          enum:
            - .mcp.json
            - .codex/config.toml
          type: string
      required:
        - file
        - cataloged
      type: object
  securitySchemes:
    bearerAuth:
      bearerFormat: JWT
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.