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

# Read the authenticated agent runner installation

> Agent-only self route. Organization and agent identity are derived from authentication. Returns computed connected, stale, or offline presence.



## OpenAPI

````yaml /openapi.json get /api/orgs/{id}/runners/self
openapi: 3.1.0
info:
  title: Atoll API
  version: 1.0.0
  description: >-
    REST API for Atoll project management, agent collaboration, strategy
    tracking, and integrations.
servers:
  - url: https://atollhq.com
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Authentication
  - name: Organizations
  - name: Projects
  - name: Project access
  - name: Issues
  - name: Issue details
  - name: Milestones
  - name: Artifacts
  - name: Strategy
  - name: Members and agents
  - name: Planning
  - name: Setup
  - name: Integrations and billing
  - name: Notifications and public
  - name: Private inbox
  - name: Agent executions
  - name: Human attention
paths:
  /api/orgs/{id}/runners/self:
    get:
      tags:
        - Members and agents
      summary: Read the authenticated agent runner installation
      description: >-
        Agent-only self route. Organization and agent identity are derived from
        authentication. Returns computed connected, stale, or offline presence.
      operationId: get_api_orgs_id_runners_self
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
          description: Organization identifier
      responses:
        '200':
          description: Runner installation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RunnerInstallationResponse'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '500':
          $ref: '#/components/responses/ServerError'
      security:
        - bearerAuth: []
components:
  schemas:
    RunnerInstallationResponse:
      type: object
      required:
        - runner
      properties:
        runner:
          oneOf:
            - $ref: '#/components/schemas/RunnerInstallation'
            - type: 'null'
      additionalProperties: false
    RunnerInstallation:
      type: object
      required:
        - id
        - org_id
        - agent_member_id
        - instance_id
        - display_name
        - host_id
        - platform
        - arch
        - capabilities
        - client_version
        - intake_state
        - last_seen_at
        - disconnected_at
        - created_at
        - updated_at
        - presence_state
      properties:
        id:
          type: string
          format: uuid
        org_id:
          type: string
          format: uuid
        agent_member_id:
          type: string
          format: uuid
        instance_id:
          type: string
          format: uuid
        display_name:
          type: string
          description: Server-derived platform and architecture label
        host_id:
          type:
            - string
            - 'null'
          maxLength: 255
          description: Server-bound host routing identity
        platform:
          type: string
          enum:
            - darwin
            - linux
            - windows
        arch:
          type: string
          enum:
            - arm64
            - x64
            - amd64
        capabilities:
          type: array
          items:
            type: string
            enum:
              - codex
              - git
        client_version:
          type: string
        intake_state:
          type: string
          enum:
            - active
            - paused
        last_seen_at:
          type: string
          format: date-time
        disconnected_at:
          type:
            - string
            - 'null'
          format: date-time
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
        presence_state:
          type: string
          enum:
            - connected
            - stale
            - offline
      additionalProperties: false
    Error:
      type: object
      description: >-
        Common error responses contain error. Shared missing-auth and
        unknown-API responses also contain a stable code.
      properties:
        error:
          type: string
        code:
          type: string
      required:
        - error
      examples:
        - error: Unauthorized
          code: unauthorized
        - error: Not found
          code: not_found
      additionalProperties: true
  responses:
    Unauthorized:
      description: Missing or invalid authentication
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Forbidden:
      description: Authenticated but not allowed
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    NotFound:
      description: Resource not found or not visible
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    ServerError:
      description: Unexpected server error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: sk_atoll_<key>

````