> ## 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.

# Update project

> Applies a merge patch to the project and answers with the project it left: an absent field keeps its value and null clears a nullable one.

Use this tool when you need to:
- Change a project's name, description, mobile testing mode, default agent profile or task defaults (agent, model, mode, VM size, PR automations)
- Turn the repository's PR reviews on or off, or change their triggers, modes, prompt, actor or agent profile
- Archive a project, or unarchive an archived one

Examples:
- PATCH /projects/6f1c2a9e-3b7d-4c55-9a2e-0d8b1f4e7c21 {"task_defaults": {"agent_type": "claude-code", "model": "claude-opus-5-5", "reasoning_effort": "high", "default_vm_size": "medium"}}
- PATCH /projects/{projectID} {"repository": {"review_policy": {"aether_prs_auto_trigger": "on_pr_created", "aether_prs_mode": "fix_on_request", "actor_user_id": "0b9d3e57-2c1a-4f6e-8d7b-5a4c3e2f1d09"}}}

Hints:
- projectID is the project's uuid. The body names at least one field: name, description, mobile_testing_mode, default_agent_profile_id, task_defaults, repository (whose one field is review_policy) or archived; task_defaults and review_policy each name at least one of their own fields.
- Every field of a getProject read's task_defaults and of its repository's review_policy, and its name, description, mobile_testing_mode and default_agent_profile_id, is a field of the patch under the same name and in the same place; the read's other fields (id, default_agent_profile, archive, created_at, updated_at and the repository's identity and link) are refused as fields outside it.
- So a read projected onto those writable fields, with one changed, is a valid patch, except that a null review_policy.actor_user_id, or a null repository, must be left out: a patch sets a review actor and never clears it.
- name is 1 to 100 characters, a letter or digit followed by letters, digits, underscores or hyphens; description is at most 500 characters; mobile_testing_mode is off, tasks or tasks_and_reviews; default_agent_profile_id is the uuid of one of the organization's agent profiles, or null to clear it.
- task_defaults: default_vm_size (medium, large or xl, or null), agent_type (codex, claude-code or opencode), model, interaction_mode (default or plan), reasoning_effort (or null), the booleans auto_fix_ci, auto_fix_pr_comments, auto_rebase, post_pr_screenshots and post_pr_demo_video, and auto_fix_ci_instructions, auto_fix_pr_comments_instructions and auto_rebase_instructions (text, or null to clear).
- A patch that changes agent_type, model, interaction_mode or reasoning_effort is checked with the project's values of the others against what the caller's tasks run on (the model, its agent and its effort together, and a connection of the caller's for the agent, but not the balance), and one that sends them unchanged writes none of them.
- review_policy: prompt (non-blank text), aether_prs_auto_trigger and other_prs_auto_trigger (disabled, on_pr_created or on_every_push), aether_prs_mode and other_prs_mode (review_only, fix_on_request or apply_fixes), the booleans comment_trigger_enabled, respond_to_comments_enabled, post_screenshots, post_demo_video and post_verdicts (false posts every review as a comment instead of an approval or change request), actor_user_id (the uuid of the member reviews run as) and agent_profile_id (a profile uuid, or null to clear).
- archived changes alone: true archives a live project at once, clearing its default_agent_profile_id and turning its repository's reviews off, and its workspaces, warm slots, pool machines, automations, environment variables, secret files and Linear and Slack routes are released or deleted in the background.
- archived false unarchives the project, restoring the project and its repository, reviewing nothing, and none of what its archive released. A project already in the state asked for is answered unchanged.
- Answers 200 with the Project as getProject reads it. Use getProject first to read the values to patch, importGithubRepo to link a repository, and listAgentProfiles to find a profile id.
- Restricted to an owner or admin of the project's organization: a member is refused with 403 control_forbidden, a viewer or billing member with 403 org_role_insufficient, a suspended organization with 403 org_suspended, and an agent host's grant with 403 agent_host_route_not_allowed; a project that does not exist or is in an organization the caller does not belong to is 404; 503 when the membership check is unavailable.
- The schema answers 422 for a patch naming no field, a field outside the patch, a null on a field that is not nullable, a value outside its type, length, pattern or enum, and a profile or actor id that is not a uuid; archived beside another field is a 422 too.
- The handler answers 422 for a default_agent_profile_id or agent_profile_id naming no agent profile of the organization, an instructions value or review prompt of whitespace only, and a patch that would leave a review trigger on while the repository's link is disconnected.
- Refused with 400 for agent defaults the caller's tasks cannot run on; 409 project_archived for any field but archived on an archived project; 409 project_unarchive_conflict while another live project of the organization holds its repository; and 409 project_has_no_repository for a review setting of a project with no repository.
- Refused with 409 and no domain code when the project's agent selection changed while the patch was saved (read it again and retry), or when PR reviews are already on for another project linked to the same repository.
- A review actor the triggers need or cannot have is refused: 409 pr_review_actor_required when a trigger would be on with no actor (send actor_user_id with it), 400 pr_review_actor_not_member for one who is not an owner, admin or member of the organization, and 409 pr_review_actor_deleting for one deleting their account.
- Turning aether_prs_auto_trigger off while unarchived tasks of the project opt into merge_when_ready is refused with 409 pr_review_required_by_merge_when_ready, naming each task: turn merge_when_ready off on them, or archive them, first. Archiving the project, or disconnecting its GitHub installation, turns the review off without this refusal: a disconnect also drops the mirrored pull requests, and once the installation is back each opted-in task's open pull request shows no_aether_review_in_org.



## OpenAPI

````yaml api-reference/openapi.json PATCH /projects/{projectID}
openapi: 3.1.0
info:
  title: Aether API
  version: 0.1.0
servers:
  - url: https://api.runaether.dev
security:
  - bearerAuth: []
paths:
  /projects/{projectID}:
    patch:
      tags:
        - projects
      summary: Update project
      description: >-
        Applies a merge patch to the project and answers with the project it
        left: an absent field keeps its value and null clears a nullable one.


        Use this tool when you need to:

        - Change a project's name, description, mobile testing mode, default
        agent profile or task defaults (agent, model, mode, VM size, PR
        automations)

        - Turn the repository's PR reviews on or off, or change their triggers,
        modes, prompt, actor or agent profile

        - Archive a project, or unarchive an archived one


        Examples:

        - PATCH /projects/6f1c2a9e-3b7d-4c55-9a2e-0d8b1f4e7c21 {"task_defaults":
        {"agent_type": "claude-code", "model": "claude-opus-5-5",
        "reasoning_effort": "high", "default_vm_size": "medium"}}

        - PATCH /projects/{projectID} {"repository": {"review_policy":
        {"aether_prs_auto_trigger": "on_pr_created", "aether_prs_mode":
        "fix_on_request", "actor_user_id":
        "0b9d3e57-2c1a-4f6e-8d7b-5a4c3e2f1d09"}}}


        Hints:

        - projectID is the project's uuid. The body names at least one field:
        name, description, mobile_testing_mode, default_agent_profile_id,
        task_defaults, repository (whose one field is review_policy) or
        archived; task_defaults and review_policy each name at least one of
        their own fields.

        - Every field of a getProject read's task_defaults and of its
        repository's review_policy, and its name, description,
        mobile_testing_mode and default_agent_profile_id, is a field of the
        patch under the same name and in the same place; the read's other fields
        (id, default_agent_profile, archive, created_at, updated_at and the
        repository's identity and link) are refused as fields outside it.

        - So a read projected onto those writable fields, with one changed, is a
        valid patch, except that a null review_policy.actor_user_id, or a null
        repository, must be left out: a patch sets a review actor and never
        clears it.

        - name is 1 to 100 characters, a letter or digit followed by letters,
        digits, underscores or hyphens; description is at most 500 characters;
        mobile_testing_mode is off, tasks or tasks_and_reviews;
        default_agent_profile_id is the uuid of one of the organization's agent
        profiles, or null to clear it.

        - task_defaults: default_vm_size (medium, large or xl, or null),
        agent_type (codex, claude-code or opencode), model, interaction_mode
        (default or plan), reasoning_effort (or null), the booleans auto_fix_ci,
        auto_fix_pr_comments, auto_rebase, post_pr_screenshots and
        post_pr_demo_video, and auto_fix_ci_instructions,
        auto_fix_pr_comments_instructions and auto_rebase_instructions (text, or
        null to clear).

        - A patch that changes agent_type, model, interaction_mode or
        reasoning_effort is checked with the project's values of the others
        against what the caller's tasks run on (the model, its agent and its
        effort together, and a connection of the caller's for the agent, but not
        the balance), and one that sends them unchanged writes none of them.

        - review_policy: prompt (non-blank text), aether_prs_auto_trigger and
        other_prs_auto_trigger (disabled, on_pr_created or on_every_push),
        aether_prs_mode and other_prs_mode (review_only, fix_on_request or
        apply_fixes), the booleans comment_trigger_enabled,
        respond_to_comments_enabled, post_screenshots, post_demo_video and
        post_verdicts (false posts every review as a comment instead of an
        approval or change request), actor_user_id (the uuid of the member
        reviews run as) and agent_profile_id (a profile uuid, or null to clear).

        - archived changes alone: true archives a live project at once, clearing
        its default_agent_profile_id and turning its repository's reviews off,
        and its workspaces, warm slots, pool machines, automations, environment
        variables, secret files and Linear and Slack routes are released or
        deleted in the background.

        - archived false unarchives the project, restoring the project and its
        repository, reviewing nothing, and none of what its archive released. A
        project already in the state asked for is answered unchanged.

        - Answers 200 with the Project as getProject reads it. Use getProject
        first to read the values to patch, importGithubRepo to link a
        repository, and listAgentProfiles to find a profile id.

        - Restricted to an owner or admin of the project's organization: a
        member is refused with 403 control_forbidden, a viewer or billing member
        with 403 org_role_insufficient, a suspended organization with 403
        org_suspended, and an agent host's grant with 403
        agent_host_route_not_allowed; a project that does not exist or is in an
        organization the caller does not belong to is 404; 503 when the
        membership check is unavailable.

        - The schema answers 422 for a patch naming no field, a field outside
        the patch, a null on a field that is not nullable, a value outside its
        type, length, pattern or enum, and a profile or actor id that is not a
        uuid; archived beside another field is a 422 too.

        - The handler answers 422 for a default_agent_profile_id or
        agent_profile_id naming no agent profile of the organization, an
        instructions value or review prompt of whitespace only, and a patch that
        would leave a review trigger on while the repository's link is
        disconnected.

        - Refused with 400 for agent defaults the caller's tasks cannot run on;
        409 project_archived for any field but archived on an archived project;
        409 project_unarchive_conflict while another live project of the
        organization holds its repository; and 409 project_has_no_repository for
        a review setting of a project with no repository.

        - Refused with 409 and no domain code when the project's agent selection
        changed while the patch was saved (read it again and retry), or when PR
        reviews are already on for another project linked to the same
        repository.

        - A review actor the triggers need or cannot have is refused: 409
        pr_review_actor_required when a trigger would be on with no actor (send
        actor_user_id with it), 400 pr_review_actor_not_member for one who is
        not an owner, admin or member of the organization, and 409
        pr_review_actor_deleting for one deleting their account.

        - Turning aether_prs_auto_trigger off while unarchived tasks of the
        project opt into merge_when_ready is refused with 409
        pr_review_required_by_merge_when_ready, naming each task: turn
        merge_when_ready off on them, or archive them, first. Archiving the
        project, or disconnecting its GitHub installation, turns the review off
        without this refusal: a disconnect also drops the mirrored pull
        requests, and once the installation is back each opted-in task's open
        pull request shows no_aether_review_in_org.
      operationId: updateProject
      parameters:
        - in: path
          name: projectID
          required: true
          schema:
            format: uuid
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateProjectInput'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Project'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProjectsErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProjectsErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                anyOf:
                  - $ref: '#/components/schemas/ProjectsErrorResponse'
                  - $ref: '#/components/schemas/OrgAuthorizationErrorResponse'
                  - $ref: '#/components/schemas/ControlForbiddenErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProjectsErrorResponse'
          description: Not Found
        '409':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProjectsErrorResponse'
          description: Conflict
        '410':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProjectsErrorResponse'
          description: Gone
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProjectsErrorResponse'
          description: Unprocessable Entity
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProjectsErrorResponse'
          description: Internal Server Error
        '503':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProjectsErrorResponse'
          description: Service Unavailable
components:
  schemas:
    UpdateProjectInput:
      additionalProperties: false
      minProperties: 1
      properties:
        archived:
          type: boolean
        default_agent_profile_id:
          format: uuid
          type:
            - string
            - 'null'
        description:
          maxLength: 500
          type: string
        mobile_testing_mode:
          enum:
            - 'off'
            - tasks
            - tasks_and_reviews
          type: string
        name:
          maxLength: 100
          minLength: 1
          pattern: ^[a-zA-Z0-9][a-zA-Z0-9_-]{0,99}$
          type: string
        repository:
          $ref: '#/components/schemas/ProjectRepositoryInput'
        task_defaults:
          additionalProperties: false
          minProperties: 1
          properties:
            agent_type:
              $ref: '#/components/schemas/AgentType'
            auto_fix_ci:
              type: boolean
            auto_fix_ci_instructions:
              minLength: 1
              type:
                - string
                - 'null'
            auto_fix_pr_comments:
              type: boolean
            auto_fix_pr_comments_instructions:
              minLength: 1
              type:
                - string
                - 'null'
            auto_rebase:
              type: boolean
            auto_rebase_instructions:
              minLength: 1
              type:
                - string
                - 'null'
            default_vm_size:
              enum:
                - medium
                - large
                - xl
              type:
                - string
                - 'null'
            interaction_mode:
              pattern: ^[a-z][a-z0-9_]{0,31}$
              type: string
            model:
              minLength: 1
              type: string
            post_pr_demo_video:
              type: boolean
            post_pr_screenshots:
              type: boolean
            reasoning_effort:
              pattern: ^[a-z][a-z0-9_]{0,31}$
              type:
                - string
                - 'null'
          type: object
      type: object
    Project:
      additionalProperties: false
      properties:
        archive:
          $ref: '#/components/schemas/ProjectArchive'
        created_at:
          format: date-time
          type: string
        default_agent_profile:
          anyOf:
            - $ref: '#/components/schemas/AgentProfile'
            - type: 'null'
          description: >-
            The agent profile default_agent_profile_id names, as getAgentProfile
            reads it; null exactly when default_agent_profile_id is.
        default_agent_profile_id:
          format: uuid
          type:
            - string
            - 'null'
        description:
          maxLength: 500
          type: string
        id:
          format: uuid
          type: string
        mobile_testing_mode:
          enum:
            - 'off'
            - tasks
            - tasks_and_reviews
          type: string
        name:
          maxLength: 100
          minLength: 1
          pattern: ^[a-zA-Z0-9][a-zA-Z0-9_-]{0,99}$
          type: string
        repository:
          anyOf:
            - $ref: '#/components/schemas/ProjectRepositoryWithReviewPolicy'
            - type: 'null'
        task_defaults:
          $ref: '#/components/schemas/ProjectTaskDefaults'
        updated_at:
          format: date-time
          type: string
      required:
        - id
        - name
        - repository
        - mobile_testing_mode
        - default_agent_profile_id
        - default_agent_profile
        - task_defaults
        - archive
        - created_at
        - updated_at
      type: object
    ProjectsErrorResponse:
      additionalProperties: false
      properties:
        code:
          enum:
            - account_deleting
            - aether_inference_unavailable
            - aether_inference_unserved
            - agent_connector_not_found
            - agent_default_project_archived
            - agent_profile_changed
            - agent_profile_harness_fixed
            - bad_gateway
            - bad_request
            - cli_upgrade_required
            - client_outdated
            - conflict
            - connection_agent_only
            - connection_harness_mismatch
            - connection_not_held
            - control_forbidden
            - default_skill_required
            - fallback_is_own_connection
            - fallback_required_with_pin
            - fallback_requires_pin
            - forbidden
            - gateway_timeout
            - gone
            - integration_auth_unexpected
            - integration_not_in_directory
            - integration_shape_changed
            - internal_error
            - mcp_connection_github_not_connected
            - mcp_connection_oauth_not_accepted
            - mcp_connection_org_not_offered
            - mcp_connection_secret_invalid
            - mcp_connection_server_changed
            - mcp_connection_static_secret_not_accepted
            - mcp_credential_policy_not_applicable
            - mcp_credential_policy_org_unavailable
            - mcp_credential_policy_required
            - mcp_oauth_app_auth_method_unsupported
            - mcp_oauth_app_invalid
            - mcp_oauth_app_issuer_invalid
            - mcp_oauth_app_required
            - mcp_oauth_not_advertised
            - mcp_oauth_pkce_unsupported
            - mcp_oauth_registration_failed
            - mcp_repo_config_invalid
            - mcp_server_address_refused
            - mcp_server_aether_managed
            - mcp_server_api_key_not_applicable
            - mcp_server_args_invalid
            - mcp_server_auth_discovery_failed
            - mcp_server_auth_unsupported
            - mcp_server_directory_managed
            - mcp_server_directory_moved
            - mcp_server_display_name_invalid
            - mcp_server_env_invalid
            - mcp_server_headers_invalid
            - mcp_server_key_invalid
            - mcp_server_key_reserved
            - mcp_server_key_taken
            - mcp_server_kind_change_refused
            - mcp_server_not_from_directory
            - mcp_server_not_mcp
            - mcp_server_package_invalid
            - mcp_server_plugin_bundled
            - mcp_server_plugin_off
            - mcp_server_response_too_large
            - mcp_server_return_to_invalid
            - mcp_server_runtime_invalid
            - mcp_server_switched_off
            - mcp_server_unreachable
            - mcp_server_url_invalid
            - mcp_server_version_unpinned
            - method_not_allowed
            - not_acceptable
            - not_found
            - not_implemented
            - org_role_insufficient
            - org_suspended
            - payment_required
            - plugin_moved
            - plugin_name_taken
            - plugin_request_invalid
            - plugin_server_key_reserved
            - plugin_server_key_taken
            - plugin_server_probe_failed
            - plugin_server_required
            - plugin_skill_invalid
            - plugin_source_address_refused
            - plugin_source_empty
            - plugin_source_invalid
            - plugin_source_not_found
            - plugin_source_not_public
            - plugin_source_too_large
            - plugin_source_unreachable
            - plugin_source_unsupported
            - plugin_switched_off
            - plugin_undeliverable
            - pr_review_actor_deleting
            - pr_review_actor_not_member
            - pr_review_actor_required
            - pr_review_required_by_merge_when_ready
            - precondition_failed
            - project_archived
            - project_has_no_repository
            - project_unarchive_conflict
            - rate_limited
            - request_canceled
            - request_timeout
            - request_too_large
            - service_unavailable
            - skill_slug_reserved
            - unauthenticated
            - unsupported_media_type
            - validation_failed
          minLength: 1
          type: string
        error:
          minLength: 1
          type: string
        errors:
          items:
            $ref: '#/components/schemas/ErrorDetail'
          type: array
      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
    ControlForbiddenErrorResponse:
      additionalProperties: false
      properties:
        code:
          enum:
            - control_forbidden
          type: string
        error:
          minLength: 1
          type: string
      required:
        - error
        - code
      type: object
    ProjectRepositoryInput:
      additionalProperties: false
      minProperties: 1
      properties:
        review_policy:
          $ref: '#/components/schemas/ProjectReviewPolicyInput'
      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
    ProjectArchive:
      discriminator:
        mapping:
          active: '#/components/schemas/ProjectArchiveActive'
          archived: '#/components/schemas/ProjectArchiveArchived'
        propertyName: state
      oneOf:
        - $ref: '#/components/schemas/ProjectArchiveActive'
        - $ref: '#/components/schemas/ProjectArchiveArchived'
    AgentProfile:
      additionalProperties: false
      properties:
        agent_type:
          $ref: '#/components/schemas/AgentType'
        created_at:
          format: date-time
          type: string
        fallback:
          $ref: '#/components/schemas/ConnectionFallback'
        id:
          format: uuid
          type: string
        model:
          minLength: 1
          type: string
        name:
          maxLength: 100
          minLength: 1
          type: string
        reasoning_effort:
          pattern: ^[a-z][a-z0-9_]{0,31}$
          type:
            - string
            - 'null'
        runs_on:
          description: >-
            What the profile's tasks run on: default pins nobody, so each task
            runs on its creator's default; aether, Aether inference; stored, the
            connection it pins.
          discriminator:
            mapping:
              aether: '#/components/schemas/AgentProfileRunsOnAether'
              default: '#/components/schemas/AgentProfileRunsOnDefault'
              stored: '#/components/schemas/AgentProfileRunsOnStored'
            propertyName: runs_on
          oneOf:
            - $ref: '#/components/schemas/AgentProfileRunsOnDefault'
            - $ref: '#/components/schemas/AgentProfileRunsOnAether'
            - $ref: '#/components/schemas/AgentProfileRunsOnStored'
        updated_at:
          format: date-time
          type: string
      required:
        - id
        - name
        - agent_type
        - model
        - reasoning_effort
        - runs_on
        - fallback
        - created_at
        - updated_at
      type: object
    ProjectRepositoryWithReviewPolicy:
      additionalProperties: false
      description: >-
        A project's one linked GitHub repository, the state of the link that
        reaches it, and the review policy it holds.
      properties:
        default_branch:
          minLength: 1
          pattern: \S
          type: string
        github_repo_id:
          format: int64
          maximum: 9007199254740991
          minimum: 1
          type: integer
        link:
          $ref: '#/components/schemas/ProjectRepositoryLink'
        name:
          minLength: 1
          pattern: \S
          type: string
        owner:
          minLength: 1
          pattern: \S
          type: string
        review_policy:
          $ref: '#/components/schemas/ProjectReviewPolicy'
        url:
          minLength: 1
          pattern: \S
          type: string
      required:
        - url
        - owner
        - name
        - github_repo_id
        - default_branch
        - link
        - review_policy
      type: object
    ProjectTaskDefaults:
      additionalProperties: false
      properties:
        agent_type:
          $ref: '#/components/schemas/AgentType'
        auto_fix_ci:
          type: boolean
        auto_fix_ci_instructions:
          minLength: 1
          type:
            - string
            - 'null'
        auto_fix_pr_comments:
          type: boolean
        auto_fix_pr_comments_instructions:
          minLength: 1
          type:
            - string
            - 'null'
        auto_rebase:
          type: boolean
        auto_rebase_instructions:
          minLength: 1
          type:
            - string
            - 'null'
        default_vm_size:
          enum:
            - medium
            - large
            - xl
          type:
            - string
            - 'null'
        interaction_mode:
          pattern: ^[a-z][a-z0-9_]{0,31}$
          type: string
        model:
          minLength: 1
          type: string
        post_pr_demo_video:
          type: boolean
        post_pr_screenshots:
          type: boolean
        reasoning_effort:
          pattern: ^[a-z][a-z0-9_]{0,31}$
          type:
            - string
            - 'null'
      required:
        - agent_type
        - auto_fix_ci
        - auto_fix_ci_instructions
        - auto_fix_pr_comments
        - auto_fix_pr_comments_instructions
        - auto_rebase
        - auto_rebase_instructions
        - default_vm_size
        - interaction_mode
        - model
        - post_pr_demo_video
        - post_pr_screenshots
        - reasoning_effort
      type: object
    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
    ProjectReviewPolicyInput:
      additionalProperties: false
      minProperties: 1
      properties:
        actor_user_id:
          format: uuid
          type: string
        aether_prs_auto_trigger:
          enum:
            - disabled
            - on_pr_created
            - on_every_push
          type: string
        aether_prs_mode:
          enum:
            - review_only
            - fix_on_request
            - apply_fixes
          type: string
        agent_profile_id:
          format: uuid
          type:
            - string
            - 'null'
        comment_trigger_enabled:
          type: boolean
        other_prs_auto_trigger:
          enum:
            - disabled
            - on_pr_created
            - on_every_push
          type: string
        other_prs_mode:
          enum:
            - review_only
            - fix_on_request
            - apply_fixes
          type: string
        post_demo_video:
          type: boolean
        post_screenshots:
          type: boolean
        post_verdicts:
          type: boolean
        prompt:
          minLength: 1
          type: string
        respond_to_comments_enabled:
          type: boolean
      type: object
    ProjectArchiveActive:
      additionalProperties: false
      properties:
        state:
          description: The project is live.
          enum:
            - active
          type: string
      required:
        - state
      type: object
    ProjectArchiveArchived:
      additionalProperties: false
      properties:
        at:
          description: When the project was archived.
          format: date-time
          type: string
        cleanup:
          description: >-
            How the cleanup of the project's workspaces, warm slots and pool
            stands: pending from the archive until the background cleanup
            finishes, then completed, or failed once its retries ran out, when
            some of its machines or volumes may still exist. Unarchiving clears
            it.
          enum:
            - pending
            - completed
            - failed
          type: string
        state:
          description: >-
            The project is archived: it is read and unarchived, and nothing else
            changes it. The cleanup of its workspaces, warm slots and pool runs
            in the background after the archive; cleanup says how it stands.
          enum:
            - archived
          type: string
      required:
        - state
        - at
        - cleanup
      type: object
    ConnectionFallback:
      description: >-
        What a task continues on when its plan's window is spent: none stops it;
        named takes the connection or Aether inference; any_usable takes the
        first held connection the window does not block, then its optional named
        hop. A stored named hop without connection_id was disconnected.
      discriminator:
        mapping:
          any_usable: '#/components/schemas/ConnectionFallbackAnyUsable'
          named: '#/components/schemas/ConnectionFallbackNamed'
          none: '#/components/schemas/ConnectionFallbackNone'
        propertyName: mode
      oneOf:
        - $ref: '#/components/schemas/ConnectionFallbackNone'
        - $ref: '#/components/schemas/ConnectionFallbackNamed'
        - $ref: '#/components/schemas/ConnectionFallbackAnyUsable'
    AgentProfileRunsOnAether:
      additionalProperties: false
      properties:
        runs_on:
          description: Aether inference, paid from the task's organization's balance.
          enum:
            - aether
          type: string
      required:
        - runs_on
      type: object
    AgentProfileRunsOnDefault:
      additionalProperties: false
      properties:
        runs_on:
          description: 'No pin: each task runs on its creator''s default.'
          enum:
            - default
          type: string
      required:
        - runs_on
      type: object
    AgentProfileRunsOnStored:
      additionalProperties: false
      properties:
        id:
          format: uuid
          type: string
        name:
          minLength: 1
          type: string
        option:
          enum:
            - claude_plan
            - anthropic_api_key
            - chatgpt_plan
            - openai_api_key
            - openrouter_api_key
            - opencode_auth_file
          type: string
        owner:
          description: Who holds the connection, by their display name, else their email.
          minLength: 1
          type: string
        runs_on:
          enum:
            - stored
          type: string
      required:
        - runs_on
        - id
        - option
        - name
        - owner
      type: object
    ProjectRepositoryLink:
      description: >-
        The link state: connected through the installation that reaches the
        repository, or disconnected while the repository identity is kept.
      discriminator:
        mapping:
          connected: '#/components/schemas/ProjectRepositoryLinkConnected'
          disconnected: '#/components/schemas/ProjectRepositoryLinkDisconnected'
        propertyName: state
      oneOf:
        - $ref: '#/components/schemas/ProjectRepositoryLinkConnected'
        - $ref: '#/components/schemas/ProjectRepositoryLinkDisconnected'
    ProjectReviewPolicy:
      additionalProperties: false
      properties:
        actor_user_id:
          description: >-
            The organization member the review tasks are created as; null only
            while every review trigger is off.
          format: uuid
          type:
            - string
            - 'null'
        aether_prs_auto_trigger:
          description: >-
            When a pull request a task in the project's organization publishes
            is reviewed automatically.
          enum:
            - disabled
            - on_pr_created
            - on_every_push
          type: string
        aether_prs_mode:
          description: >-
            What a review of a pull request a task in the project's organization
            publishes may write there.
          enum:
            - review_only
            - fix_on_request
            - apply_fixes
          type: string
        agent_profile_id:
          description: >-
            The agent profile review tasks run with, over the project's default
            profile; null for none.
          format: uuid
          type:
            - string
            - 'null'
        comment_trigger_enabled:
          type: boolean
        other_prs_auto_trigger:
          description: When any other pull request is reviewed automatically.
          enum:
            - disabled
            - on_pr_created
            - on_every_push
          type: string
        other_prs_mode:
          description: What a review of any other pull request may write there.
          enum:
            - review_only
            - fix_on_request
            - apply_fixes
          type: string
        post_demo_video:
          type: boolean
        post_screenshots:
          type: boolean
        post_verdicts:
          description: >-
            Whether a review's verdict is submitted to GitHub as an approval or
            change request; false posts every review as a comment that states
            the verdict, which Aether still records.
          type: boolean
        prompt:
          minLength: 1
          type: string
        respond_to_comments_enabled:
          type: boolean
      required:
        - prompt
        - aether_prs_auto_trigger
        - aether_prs_mode
        - other_prs_auto_trigger
        - other_prs_mode
        - comment_trigger_enabled
        - respond_to_comments_enabled
        - post_screenshots
        - post_demo_video
        - post_verdicts
        - actor_user_id
        - agent_profile_id
      type: object
    ConnectionFallbackAnyUsable:
      additionalProperties: false
      properties:
        mode:
          enum:
            - any_usable
          type: string
        then:
          discriminator:
            mapping:
              aether: '#/components/schemas/ConnectionFallbackAether'
              stored: '#/components/schemas/ConnectionFallbackStored'
            propertyName: runs_on
          oneOf:
            - $ref: '#/components/schemas/ConnectionFallbackAether'
            - $ref: '#/components/schemas/ConnectionFallbackStored'
      required:
        - mode
      type: object
    ConnectionFallbackNamed:
      discriminator:
        mapping:
          aether: '#/components/schemas/ConnectionFallbackNamedAether'
          stored: '#/components/schemas/ConnectionFallbackNamedStored'
        propertyName: runs_on
      oneOf:
        - $ref: '#/components/schemas/ConnectionFallbackNamedAether'
        - $ref: '#/components/schemas/ConnectionFallbackNamedStored'
    ConnectionFallbackNone:
      additionalProperties: false
      properties:
        mode:
          enum:
            - none
          type: string
      required:
        - mode
      type: object
    ProjectRepositoryLinkConnected:
      additionalProperties: false
      properties:
        installation_id:
          format: int64
          maximum: 9007199254740991
          minimum: 1
          type: integer
        state:
          enum:
            - connected
          type: string
      required:
        - state
        - installation_id
      type: object
    ProjectRepositoryLinkDisconnected:
      additionalProperties: false
      properties:
        state:
          enum:
            - disconnected
          type: string
      required:
        - state
      type: object
    ConnectionFallbackAether:
      additionalProperties: false
      properties:
        runs_on:
          description: >-
            Aether inference, paid from your organization's balance: Claude Code
            and Codex only.
          enum:
            - aether
          type: string
      required:
        - runs_on
      type: object
    ConnectionFallbackStored:
      additionalProperties: false
      properties:
        connection_id:
          description: A connection you hold that works with the harness.
          format: uuid
          type: string
        runs_on:
          description: The connection connection_id names.
          enum:
            - stored
          type: string
      required:
        - runs_on
      type: object
    ConnectionFallbackNamedAether:
      additionalProperties: false
      properties:
        mode:
          enum:
            - named
          type: string
        runs_on:
          description: >-
            Aether inference, paid from your organization's balance: Claude Code
            and Codex only.
          enum:
            - aether
          type: string
      required:
        - mode
        - runs_on
      type: object
    ConnectionFallbackNamedStored:
      additionalProperties: false
      properties:
        connection_id:
          description: A connection you hold that works with the harness.
          format: uuid
          type: string
        mode:
          enum:
            - named
          type: string
        runs_on:
          description: The connection connection_id names.
          enum:
            - stored
          type: string
      required:
        - mode
        - runs_on
      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.