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

# List platform runners

> Lists every runner newest first, tenant runners included with their `tenant_id`. Requires platform administrator access. Each item includes its current connection status, without authentication state or token hashes. Use `next_cursor` to continue.



## OpenAPI

````yaml https://raw.githubusercontent.com/agentsfleet/agentsfleet/main/public/openapi.json get /v1/admin/runners
openapi: 3.1.0
info:
  title: agentsfleet API
  description: API for managing workspaces, fleets, triggers, and runs.
  contact:
    name: agentsfleet
    url: https://agentsfleet.net
  license:
    name: MIT
    identifier: MIT
  version: 1.0.0
servers:
  - url: https://api.agentsfleet.net
    description: Production
security: []
paths:
  /v1/admin/runners:
    get:
      tags:
        - Runners
      summary: List platform runners
      description: >-
        Lists every runner newest first, tenant runners included with their
        `tenant_id`. Requires platform administrator access. Each item includes
        its current connection status, without authentication state or token
        hashes. Use `next_cursor` to continue.
      operationId: list_platform_runners
      parameters:
        - name: starting_after
          in: query
          description: Use the previous response's `next_cursor` unchanged.
          required: false
          schema:
            type: string
        - name: limit
          in: query
          description: Rows per page (1-100).
          required: false
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RunnersResponse'
        '400':
          description: The request is invalid
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemBody'
        '401':
          description: Authentication is missing, invalid, or not accepted by this endpoint
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemBody'
        '403':
          description: You do not have permission for this action
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemBody'
        '429':
          description: A request or capacity limit has been reached
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemBody'
        '500':
          description: An internal server error occurred
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemBody'
        '503':
          description: A required service is unavailable
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemBody'
      security:
        - BearerAuth: []
components:
  schemas:
    RunnersResponse:
      type: object
      description: One page of runners.
      required:
        - items
        - total
      properties:
        items:
          type: array
          items:
            $ref: '#/components/schemas/RunnerItem'
          description: Rows in newest-first order.
        next_cursor:
          type:
            - string
            - 'null'
          description: Cursor to send as `starting_after` on the next request.
        total:
          type: integer
          format: int64
          description: Total runner rows independent of the boundary.
      additionalProperties: false
    ProblemBody:
      type: object
      description: The body every refusal carries, under `application/problem+json`.
      required:
        - docs_uri
        - title
        - detail
        - error_code
        - request_id
      properties:
        action_id:
          type:
            - string
            - 'null'
          description: 'On that 409 only: the action the gate held.'
        current_state:
          type:
            - string
            - 'null'
          description: 'On a 409 only: the state that forbade the transition.'
        detail:
          type: string
          description: One sentence on what was refused and why.
        docs_uri:
          type: string
          description: Where the error code is documented.
        error_code:
          type: string
          description: The registry code, stable across releases.
        etag:
          type:
            - string
            - 'null'
          description: >-
            On a 412 only: the resource's current entity tag, to refetch and
            retry.
        gate_id:
          type:
            - string
            - 'null'
          description: 'On an answered approval gate''s 409 only: the gate that was answered.'
        local_read_permitted:
          type:
            - boolean
            - 'null'
          description: >-
            On a temporary extract outage, true authorizes one local read under
            the fleet's network policy.
        outcome:
          type:
            - string
            - 'null'
          description: 'On that 409 only: the answer that stands.'
        request_id:
          type: string
          description: The request this refusal answers, for support.
        resolved_at:
          type:
            - string
            - 'null'
          format: date-time
          description: 'On that 409 only: when the standing answer was given.'
        resolved_by:
          type:
            - string
            - 'null'
          description: 'On that 409 only: who gave it.'
        title:
          type: string
          description: A short name for the refusal, safe to show a person.
        user_message:
          type:
            - string
            - 'null'
          description: A curated sentence for end users, where the code has one.
    RunnerItem:
      type: object
      description: One runner in the newest-first operator list.
      required:
        - id
        - host_id
        - sandbox_tier
        - status
        - liveness
        - labels
        - last_seen_at
        - created_at
        - assigned_policy
        - degraded
        - host
      properties:
        achievable:
          oneOf:
            - $ref: '#/components/schemas/CapabilityReport'
              description: Capability report most recently supplied by the host.
            - type: 'null'
        assigned_policy:
          $ref: '#/components/schemas/AssignedPolicy'
          description: Policy currently assigned to the host.
        cordon:
          oneOf:
            - $ref: '#/components/schemas/RunnerCordon'
              description: Automatic quarantine; absent when the daemon permits new work.
            - type: 'null'
        created_at:
          type: string
          format: date-time
          description: Enrolment instant.
        degraded:
          type: boolean
          description: Whether the assignment exceeds the reported capability.
        degraded_reason:
          type:
            - string
            - 'null'
          description: Stored explanation for a degraded verdict.
        host:
          oneOf:
            - $ref: '#/components/schemas/HostFacts'
          description: >-
            The host's processors, memory and free sandbox disk, as its beats
            last

            read them; a fact no beat has read is absent. Beta: this field may
            change shape before it is stable.
          x-stability: beta
        host_id:
          type: string
          description: Stable host identity supplied at enrolment.
        id:
          type: string
          description: Canonical runner identifier.
        labels:
          type: array
          items:
            type: string
          description: Placement labels.
        last_seen_at:
          type: string
          format: date-time
          description: Last heartbeat instant.
        liveness:
          $ref: '#/components/schemas/RunnerLiveness'
          description: Runtime state derived from heartbeat and runs.
        sandbox_tier:
          type: string
          description: Assigned isolation tier spelling.
        status:
          $ref: '#/components/schemas/AdminState'
          description: Operator-controlled admission state.
        tenant_id:
          type:
            - string
            - 'null'
          description: >-
            The tenant that registered this runner. Absent for a platform
            runner.
      additionalProperties: false
    CapabilityReport:
      type: object
      description: What this host can actually enforce.
      required:
        - engine
        - isolation
        - kvm
      properties:
        build_id:
          type:
            - string
            - 'null'
          description: >-
            Source digest compiled into the reporting runner; absent for an
            unbound build.
        durable_tasks_v1:
          type: boolean
          description: This build supports fenced task work and workspace handoff.
        engine:
          $ref: '#/components/schemas/SandboxEngine'
          description: The engine that builds this runner's sandboxes.
        isolation:
          $ref: '#/components/schemas/Isolation'
          description: The wall that engine puts between a sandbox's code and the host.
        kvm:
          $ref: '#/components/schemas/Kvm'
          description: What the host's virtualization device offers.
        sandboxes_max:
          type:
            - integer
            - 'null'
          format: int32
          description: |-
            How many sandboxes the host's memory holds at once; absent where the
            engine reserves no memory per sandbox.
          maximum: 2147483647
          minimum: 1
      additionalProperties: false
    AssignedPolicy:
      type: object
      description: >-
        Sandbox isolation, outgoing network access, and concurrency settings
        assigned to this

        runner.
      required:
        - durable_tasks_enabled
        - sandbox_tier
        - network_policy
        - registry_allowlist
        - worker_count
      properties:
        decision_model_id:
          type:
            - string
            - 'null'
          format: uuid
          description: >-
            Canonical `UUIDv7` of the platform decision model; absent disables
            decisions.
        durable_tasks_enabled:
          type: boolean
          description: >-
            Permit new durable task runs; existing runs retain their issued
            mode.
        network_policy:
          $ref: '#/components/schemas/RunnerNetworkPolicy'
          description: Outgoing network access policy to apply.
        registry_allowlist:
          type: array
          items:
            type: string
          description: >-
            Default package registries added to each assignment's allowed
            network hosts. An empty

            list uses the runner's defaults.
        sandbox_tier:
          $ref: '#/components/schemas/SandboxTier'
          description: Isolation strength to apply.
        worker_count:
          type: integer
          format: int32
          description: Concurrent workers the runner may start. Clamped on both sides.
          minimum: 0
    RunnerCordon:
      type: object
      description: Automatic quarantine; operator status remains independently visible.
      required:
        - reason
        - cordoned_at
      properties:
        cordoned_at:
          type: string
          format: date-time
          description: Committed quarantine instant.
        reason:
          $ref: '#/components/schemas/CordonReason'
          description: Trigger that blocks new work.
    HostFacts:
      type: object
      description: >-
        What the host offers its runs, as one beat read it. A fact the host
        could

        not read is absent.
      properties:
        cpu_count:
          type:
            - integer
            - 'null'
          format: int32
          description: Processors the runner may use.
          maximum: 2147483647
          minimum: 1
        free_disk_bytes:
          type:
            - integer
            - 'null'
          format: int64
          description: Free bytes on the file system that holds the runner's sandboxes.
          maximum: 9223372036854776000
          minimum: 0
        memory_bytes:
          type:
            - integer
            - 'null'
          format: int64
          description: The host's total memory, in bytes.
          maximum: 9223372036854776000
          minimum: 0
      additionalProperties: false
    RunnerLiveness:
      type: string
      description: |-
        Derived runtime liveness, computed by the fleet read and NEVER stored —
        storing it would drift from the values it is derived from.
      enum:
        - registered
        - busy
        - online
        - offline
    AdminState:
      type: string
      description: >-
        Administrator-selected runner state. Only `Active` permits runner API
        requests.
      enum:
        - active
        - cordoned
        - draining
        - drained
        - revoked
    SandboxEngine:
      type: string
      description: The engine that builds a runner's sandboxes.
      enum:
        - firecracker
    Isolation:
      type: string
      description: The wall between a sandbox's code and the runner host.
      enum:
        - hardware_vm
    Kvm:
      type: string
      description: What the runner host's virtualization device offers.
      enum:
        - usable
        - denied
        - absent
    RunnerNetworkPolicy:
      type: string
      description: Outgoing network access policy assigned to a runner.
      enum:
        - allow_all
        - deny_all_egress
        - allow_list_egress
    SandboxTier:
      type: string
      description: |-
        The isolation strength assigned to a runner, named for the engine that
        delivers it.
      enum:
        - firecracker
    CordonReason:
      type: string
      description: >-
        Why the daemon has stopped assigning new work to an operator-active
        host.
      enum:
        - missed_heartbeats
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        Send a dashboard session token, an account API key (`agt_t`), or a
        command-line credential (`afc_`) as a Bearer token. Each endpoint lists
        accepted credential types.

````

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