Reason Machines Projects API

Deprecated: a project is a Reason with the same id. Use the Reasons operations; these remain for existing clients.

GitHub OpenAPI

Operations 6

GET /v3/organizations/{orgId}/projects List projects #
POST /v3/organizations/{orgId}/projects Create project #
GET /v3/organizations/{orgId}/projects/{projectId} Retrieve a project #
PATCH /v3/organizations/{orgId}/projects/{projectId} Update a project #
POST /v3/organizations/{orgId}/projects/{projectId}/archive Archive a project #
POST /v3/organizations/{orgId}/projects/{projectId}/unarchive Restore a project #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/reasonmachines-com:reasonmachines-com-projects-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

reasonmachines-com-projects-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Reason Projects API
  version: 3.0.0
  description: 'The Reason HTTP API. Drive cloud software-engineering agents: open sessions against your repositories, stream their work, and manage the secrets, skills, and automations they run with.


    Authenticate with a Reason API key sent as a bearer token. New keys use `reason_`; legacy `ara_` keys remain accepted. Every resource is scoped to an organization; resolve your `org_id` once with `GET /v3/self`.'
servers:
- url: https://api.reasonmachines.com
security:
- reasonApiKey: []
tags:
- name: Projects
  description: 'Deprecated: a project is a Reason with the same id. Use the Reasons operations; these remain for existing clients.'
paths:
  /v3/organizations/{orgId}/projects:
    parameters:
    - $ref: '#/components/parameters/orgId'
    get:
      operationId: listProjects
      deprecated: true
      x-reason-mcp: false
      x-reason-mcp-description: 'Lists the projects the caller can see in one page: the named Reasons listReasons returns, each with `id`, `name`, `slug`, `visibility` and `revision`. Archived projects (the caller''s own archived Reasons) are left out unless `archived=only` or `archived=include`. An item''s `id` is the `project_id` that `createSession` and `listSessions` accept.'
      tags:
      - Projects
      summary: List projects
      description: 'Deprecated: use listReasons. Lists the named Reasons the caller can see in this workspace as projects, leaving out archived ones by default.


        **Deprecated:** a project is a Reason with the same id; use `listReasons` instead.


        Lists the named Reasons the caller can see in this workspace, as projects. By default excludes archived ones; archived=only selects the caller''s archived Reasons and archived=include returns both. Requires sessions:read. Pass an item''s id as project_id when creating a session.


        Scope: `sessions:read`'
      responses:
        '200':
          description: Accessible projects.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProjectList'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '429':
          $ref: '#/components/responses/RateLimited'
      parameters:
      - in: query
        name: archived
        schema:
          default: exclude
          type: string
          enum:
          - exclude
          - only
          - include
        description: '`exclude` (the default) leaves archived projects out, `only` returns just them, and `include` returns both.'
      security:
      - reasonApiKey:
        - sessions:read
    post:
      operationId: createProject
      deprecated: true
      x-reason-mcp: false
      x-reason-mcp-description: Creates a project, which is a named Reason owned by the caller, and returns it. A second create with the same explicit `slug` returns 409. Creating a project allocates no machine and grants no Device access.
      tags:
      - Projects
      summary: Create project
      description: 'Deprecated: use createReason. Creates a named Reason in the workspace and returns it as a project, taking a name, description and visibility.


        **Deprecated:** a project is a Reason with the same id; use `createReason` instead.


        Creates a named Reason in the authenticated workspace and returns it as a project. `name` (cut to 80 characters), `description` (the Reason''s instructions) and `visibility: private` apply; the other fields are accepted and ignored. Supply a stable slug for find-or-create clients: a project you can see with the same slug returns 409; list projects to recover it. Past the workspace''s limit of 500 live named Reasons it returns 409 `reason_limit_reached`.


        Scope: `run`'
      responses:
        '201':
          description: Created project.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Project'
        '400':
          description: Invalid project input.
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '409':
          description: A project you can see already has this slug (`project_slug_conflict`), or the workspace already has its limit of 500 live named Reasons (`reason_limit_reached`).
        '429':
          $ref: '#/components/responses/RateLimited'
        '503':
          description: Product writes are disabled.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateProject'
      security:
      - reasonApiKey:
        - run
  /v3/organizations/{orgId}/projects/{projectId}:
    parameters:
    - $ref: '#/components/parameters/orgId'
    - name: projectId
      description: 'The project id, returned as `id` by `listProjects` and `createProject`: the id of the Reason it is.'
      in: path
      required: true
      schema:
        type: string
        format: uuid
    get:
      operationId: getProject
      deprecated: true
      x-reason-mcp: false
      x-reason-mcp-description: 'Returns one project (a named Reason): `name`, `description`, `visibility`, `revision` and `can_edit`. The caller''s archived ones are returned too. One the caller cannot see returns 404.'
      tags:
      - Projects
      summary: Retrieve a project
      description: 'Deprecated: use getReason. Returns a named Reason the caller can see, as a project, including the caller''s archived ones. Requires sessions:read.


        **Deprecated:** a project is a Reason with the same id; use `getReason` instead.


        Returns a named Reason the caller can see, as a project, including the caller''s archived ones. Requires sessions:read. One the caller cannot see returns 404.


        Scope: `sessions:read`'
      responses:
        '200':
          description: Project.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Project'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
      security:
      - reasonApiKey:
        - sessions:read
    patch:
      operationId: updateProject
      deprecated: true
      x-reason-mcp: false
      x-reason-mcp-description: Updates a project the caller owns (a named Reason); only the fields sent change, and at least one is required. `name`, `description` (the Reason's instructions) and `visibility` apply; the other fields are accepted and ignored. Returns the project with its new `revision`. Another member's project or an archived one returns 404.
      tags:
      - Projects
      summary: Update a project
      description: 'Deprecated: use updateReason. Updates a named Reason the caller owns, as a project: its name, description (its instructions) and visibility. Requires run.


        **Deprecated:** a project is a Reason with the same id; use `updateReason` instead.


        Updates a named Reason the caller owns: `name` (cut to 80 characters), `description` (its instructions; null clears them) and `visibility`. The other fields are accepted and ignored: they no longer affect sessions. Requires run.


        Scope: `run`'
      responses:
        '200':
          description: Updated project.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Project'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateProject'
      security:
      - reasonApiKey:
        - run
  /v3/organizations/{orgId}/projects/{projectId}/archive:
    parameters:
    - $ref: '#/components/parameters/orgId'
    - name: projectId
      description: 'The project id, returned as `id` by `listProjects` and `createProject`: the id of the Reason it is.'
      in: path
      required: true
      schema:
        type: string
        format: uuid
    post:
      operationId: archiveProject
      deprecated: true
      x-reason-mcp: false
      tags:
      - Projects
      x-reason-mcp-description: Archives a project the caller owns (a named Reason). Its sessions are preserved, and their own archive state is unchanged. Repeating the call is safe.
      summary: Archive a project
      description: 'Deprecated: use archiveReason. Archives the caller''s named Reason, as a project. Safe to repeat, and its sessions are preserved. Requires run.


        **Deprecated:** a project is a Reason with the same id; use `archiveReason` instead.


        Requires run. Archives the caller''s named Reason. Repeating the operation is safe. Preserves its sessions; does not change session archive state.


        Scope: `run`'
      responses:
        '200':
          $ref: '#/components/responses/Ok'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
        '503':
          description: Product writes are disabled.
      security:
      - reasonApiKey:
        - run
  /v3/organizations/{orgId}/projects/{projectId}/unarchive:
    parameters:
    - $ref: '#/components/parameters/orgId'
    - name: projectId
      description: 'The project id, returned as `id` by `listProjects` and `createProject`: the id of the Reason it is.'
      in: path
      required: true
      schema:
        type: string
        format: uuid
    post:
      operationId: unarchiveProject
      deprecated: true
      x-reason-mcp: false
      tags:
      - Projects
      x-reason-mcp-description: 'Restores an archived project. Archived Reasons are not restored: this answers 409 `project_unarchive_unavailable` for an archived project, and ok for a live one.'
      summary: Restore a project
      description: 'Deprecated. A live project answers ok; an archived one answers 409 project_unarchive_unavailable, because archived Reasons are not restored.


        **Deprecated:** a project is a Reason with the same id; use `createReason` instead.


        Requires run. A live project answers ok. An archived one answers 409 `project_unarchive_unavailable`: archived Reasons are not restored; create a new project instead.


        Scope: `run`'
      responses:
        '200':
          $ref: '#/components/responses/Ok'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          description: The project is archived, and archived Reasons are not restored (`project_unarchive_unavailable`).
        '429':
          $ref: '#/components/responses/RateLimited'
        '503':
          description: Product writes are disabled.
      security:
      - reasonApiKey:
        - run
components:
  responses:
    NotFound:
      description: Resource not found.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: session_not_found
    BadRequest:
      description: Invalid request.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: prompt_required
    Unauthorized:
      description: Missing, invalid, or expired key.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: missing_bearer
            message: Authorization required
    Forbidden:
      description: The key lacks the required scope or role.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: missing_scope
            required_scope: sessions:read
    Ok:
      description: Success.
      content:
        application/json:
          schema:
            type: object
            properties:
              ok:
                type: boolean
                const: true
                description: 'Always true: the operation succeeded.'
            required:
            - ok
          example:
            ok: true
    RateLimited:
      description: Too many requests. Retry after the number of seconds in the `Retry-After` response header.
      headers:
        Retry-After:
          description: Seconds to wait before retrying.
          schema:
            type: integer
            minimum: 1
          required: true
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              type: rate_limited
              message: This API key exceeded its request-rate limit
  schemas:
    UpdateProject:
      type: object
      properties:
        name:
          type: string
          minLength: 1
          maxLength: 120
        description:
          type:
          - string
          - 'null'
          maxLength: 2000
        visibility:
          type: string
          enum:
          - workspace
          - private
        kind:
          type: string
          enum:
          - local
          - remote
        cloud_enabled:
          type: boolean
        network_allowed_hosts:
          maxItems: 50
          type: array
          items:
            type: string
        default_machine:
          oneOf:
          - type: string
            enum:
            - namespace-linux-s
            - namespace-linux-m
            - namespace-linux-l
            - namespace-linux-xl
            - namespace-macos-m
            - namespace-macos-l
            - blaxel-linux-s
            - blaxel-linux-m
            - blaxel-linux-l
            - blaxel-linux-xl
            - compute-linux-s
            - compute-linux-l
            - compute-linux-xl
          - type: 'null'
        resources:
          maxItems: 100
          type: array
          items:
            oneOf:
            - type: object
              properties:
                kind:
                  type: string
                  const: repository
                scm_repository_id:
                  type: string
                  format: uuid
                  pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                role:
                  default: context
                  type: string
                  enum:
                  - primary
                  - context
                access_mode:
                  default: read_write
                  type: string
                  enum:
                  - read_only
                  - read_write
              required:
              - kind
              - scm_repository_id
            - type: object
              properties:
                kind:
                  type: string
                  const: remote_machine_folder
                local_execution_root_id:
                  type: string
                  format: uuid
                  pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                role:
                  default: context
                  type: string
                  enum:
                  - primary
                  - context
                access_mode:
                  default: read_write
                  type: string
                  enum:
                  - read_only
                  - read_write
              required:
              - kind
              - local_execution_root_id
        source_folders:
          maxItems: 100
          type: array
          items:
            oneOf:
            - type: string
              minLength: 1
              maxLength: 4096
            - type: object
              properties:
                path:
                  type: string
                  maxLength: 4096
                name:
                  type: string
                  maxLength: 256
                repo:
                  type: string
                  maxLength: 512
                provider:
                  type: string
                  maxLength: 64
                kind:
                  type: string
                  enum:
                  - folder
                  - repository
                device_id:
                  type: string
                  format: uuid
                  pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                root_id:
                  type: string
                  format: uuid
                  pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
        preferred_dir:
          type:
          - string
          - 'null'
          maxLength: 4096
      description: 'Update a project, which is a Reason: name, description (the Reason''s instructions) and visibility apply; the other fields are accepted and ignored.'
    Error:
      type: object
      properties:
        error:
          oneOf:
          - type: string
          - type: object
            required:
            - type
            - message
            properties:
              type:
                type: string
              message:
                type: string
              request_id:
                type:
                - string
                - 'null'
        message:
          type: string
        required_scope:
          type: string
          description: The capability required when the request was denied for a missing scope.
    CreateProject:
      type: object
      properties:
        name:
          type: string
          minLength: 1
          maxLength: 120
        slug:
          type: string
          maxLength: 120
          pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
        description:
          type:
          - string
          - 'null'
          maxLength: 2000
        visibility:
          default: workspace
          type: string
          enum:
          - workspace
          - private
        kind:
          default: local
          type: string
          enum:
          - local
          - remote
        cloud_enabled:
          default: true
          type: boolean
        resources:
          default: []
          maxItems: 100
          type: array
          items:
            oneOf:
            - type: object
              properties:
                kind:
                  type: string
                  const: repository
                scm_repository_id:
                  type: string
                  format: uuid
                  pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                role:
                  default: context
                  type: string
                  enum:
                  - primary
                  - context
                access_mode:
                  default: read_write
                  type: string
                  enum:
                  - read_only
                  - read_write
              required:
              - kind
              - scm_repository_id
            - type: object
              properties:
                kind:
                  type: string
                  const: remote_machine_folder
                local_execution_root_id:
                  type: string
                  format: uuid
                  pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                role:
                  default: context
                  type: string
                  enum:
                  - primary
                  - context
                access_mode:
                  default: read_write
                  type: string
                  enum:
                  - read_only
                  - read_write
              required:
              - kind
              - local_execution_root_id
        source_folders:
          default: []
          maxItems: 100
          type: array
          items:
            oneOf:
            - type: string
              minLength: 1
              maxLength: 4096
            - type: object
              properties:
                path:
                  type: string
                  maxLength: 4096
                name:
                  type: string
                  maxLength: 256
                repo:
                  type: string
                  maxLength: 512
                provider:
                  type: string
                  maxLength: 64
                kind:
                  type: string
                  enum:
                  - folder
                  - repository
                device_id:
                  type: string
                  format: uuid
                  pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                root_id:
                  type: string
                  format: uuid
                  pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
        preferred_dir:
          type:
          - string
          - 'null'
          maxLength: 4096
      required:
      - name
      description: 'Create a project, which is a Reason: name, description (the Reason''s instructions) and visibility apply; the other fields are accepted and ignored. An explicit slug is unique among the projects you can see; a collision returns 409 rather than creating a suffixed duplicate.'
    ProjectList:
      type: object
      properties:
        items:
          type: array
          items:
            $ref: '#/components/schemas/Project'
        total:
          type: integer
        end_cursor:
          type: 'null'
        has_next_page:
          type: boolean
          const: false
      required:
      - items
      - total
      - end_cursor
      - has_next_page
    ProjectResource:
      oneOf:
      - type: object
        properties:
          id:
            type: string
          role:
            type: string
            enum:
            - primary
            - context
          access_mode:
            type: string
            enum:
            - read_only
            - read_write
          display_name:
            type: string
          status:
            type: string
            enum:
            - active
            - unavailable
            - retired
          write_allowed:
            type: boolean
          kind:
            type: string
            const: repository
          scm_repository_id:
            type: string
          provider:
            type: string
          full_path:
            type: string
        required:
        - id
        - role
        - access_mode
        - display_name
        - status
        - write_allowed
        - kind
        - scm_repository_id
        - provider
        - full_path
      - type: object
        properties:
          id:
            type: string
          role:
            type: string
            enum:
            - primary
            - context
          access_mode:
            type: string
            enum:
            - read_only
            - read_write
          display_name:
            type: string
          status:
            type: string
            enum:
            - active
            - unavailable
            - retired
          write_allowed:
            type: boolean
          kind:
            type: string
            const: remote_machine_folder
          local_execution_root_id:
            type: string
          device_id:
            type: string
          label:
            type: string
        required:
        - id
        - role
        - access_mode
        - display_name
        - status
        - write_allowed
        - kind
        - local_execution_root_id
        - device_id
        - label
    Project:
      type: object
      properties:
        id:
          type: string
          format: uuid
          description: The Reason's id. Pass it as project_id when creating or listing sessions, or as reasonId to the Reasons operations.
        name:
          type: string
        slug:
          type: string
        description:
          type:
          - string
          - 'null'
        kind:
          type: string
          enum:
          - local
          - remote
        cloud_enabled:
          type: boolean
          description: 'Always true: a project no longer restricts where its sessions run.'
        visibility:
          type: string
          enum:
          - workspace
          - private
        archived_at:
          type:
          - string
          - 'null'
        revision:
          type: integer
          exclusiveMinimum: 0
        can_edit:
          type: boolean
        resources:
          type: array
          items:
            $ref: '#/components/schemas/ProjectResource'
      required:
      - id
      - name
      - slug
      - description
      - kind
      - cloud_enabled
      - visibility
      - archived_at
      - revision
      - can_edit
      - resources
      description: 'A named Reason the caller can see, in the retired Project shape. `resources` is always empty: a session names its own repositories and target.'
  parameters:
    orgId:
      name: orgId
      in: path
      required: true
      description: Organization id or slug. Resolve it with `GET /v3/self`.
      schema:
        type: string
  securitySchemes:
    loopWebhookKey:
      type: http
      scheme: bearer
      description: A Loop's webhook key, returned once by the createReasonLoop or updateReasonLoop call that adds the webhook. It only delivers events to that Loop's webhook; every other operation rejects it.
    loopWebhookSignature:
      type: apiKey
      in: header
      name: X-Signature-256
      description: 'An HMAC-SHA256 of the exact request body keyed with the Loop''s webhook key or its stored signing secret: hex in `X-Signature-256` (optionally `sha256=`-prefixed), or the sender''s own header (`X-Hub-Signature-256`, `Stripe-Signature`, `Webhook-Signature`, `Svix-Signature`, `Linear-Signature`, `Sentry-Hook-Signature`, `X-Shopify-Hmac-Sha256`).'
    reasonMachineToken:
      type: http
      scheme: bearer
      bearerFormat: rmt_<hex>
      description: A Machine token from createMachineToken. It can only create enrollment tickets for its own Machine; every other operation rejects it.
    reasonUserOAuth:
      type: http
      scheme: bearer
      description: A workspace-bound human user OAuth grant with org:write scope. The user must be an organization owner/admin. API keys and browser sessions are not accepted.
    reasonApiKey:
      type: http
      scheme: bearer
      bearerFormat: 'reason_<hex> (legacy: ara_<hex>)'
      description: 'Your Reason API key from Settings › API keys. New keys use `reason_`; legacy `ara_` keys remain accepted. Keys are capability-scoped: run, mcp:read, mcp:write, secrets:read, secrets:write, sessions:read, sessions:debug, devices:read, devices:write, devices:use, computers:read, computers:write, ssh:write, knowledge:read, memory:read, memory:write, skills:read, skills:write, pages:read, pages:write, repos:read, repos:write, reviews:read, reviews:write, deployment:read, analytics:read, org:read, org:write, attachments:read, attachments:write, guardrails:read, guardrails:write, network:read, network:write, automations:read, automations:write, agent_auth:read. devices:write, devices:use, computers:read, computers:write, ssh:write, network:read and network:write are opt-in, excluded from default keys. computers:read lists visible cloud and connected computers without waking them or granting execution access. devices:read discovers local Device targets; devices:use separately consents to local execution, so a discover-and-run local workflow needs both. devices:write manages enrollment and device grants; computers:write creates or deletes cloud computers; ssh:write manages retained SSH access. network:read reads the saved workspace network policy; network:write replaces custom allowed hosts and requires a current organization owner/admin. Legacy project PATCH requests containing network_allowed_hosts also require network:write plus their existing run scope and project management permission; saved project hosts do not affect current session egress. Only owners/admins can mint or manage keys with network:write; keys cannot grant themselves more authority. See /docs/network-policies for replacement semantics and runtime applicability. mcp:write manages MCP server configuration only; it does not authorize remote MCP-tool execution. sessions:read reads sessions, including the assistant, reasoning and tool activity in their events. sessions:debug is privileged: only for organization owners/admins, it expands session events to the full diagnostic projection (diagnostic event kinds, status text and raw event metadata).'