> ## 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 one fleet's recent turns

> Lists one fleet's events in the running fleet's workspace, newest first. Each row carries at most 1024 bytes of what was asked and what was answered. Waiting messages read `queued`. A fleet outside the workspace returns 404 `UZ-AGT-009`.



## OpenAPI

````yaml https://raw.githubusercontent.com/agentsfleet/agentsfleet/main/public/openapi.json get /v1/runners/me/runs/{run_id}/fleets/{fleet_id}/turns
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/runners/me/runs/{run_id}/fleets/{fleet_id}/turns:
    get:
      tags:
        - Runners
      summary: List one fleet's recent turns
      description: >-
        Lists one fleet's events in the running fleet's workspace, newest first.
        Each row carries at most 1024 bytes of what was asked and what was
        answered. Waiting messages read `queued`. A fleet outside the workspace
        returns 404 `UZ-AGT-009`.
      operationId: runner_list_fleet_turns
      parameters:
        - name: run_id
          in: path
          description: Run identifier (version 7 universally unique identifier, or UUID).
          required: true
          schema:
            type: string
        - name: fleet_id
          in: path
          description: 'The fleet to read: one in the running fleet''s workspace.'
          required: true
          schema:
            type: string
        - name: fencing_token
          in: query
          description: >-
            Attempt token returned with the run. Replaced assignments are
            refused.
          required: true
          schema:
            type: integer
            format: int64
            minimum: 0
        - name: starting_after
          in: query
          description: Use the previous response's `next_cursor` unchanged.
          required: false
          schema:
            type: string
        - name: limit
          in: query
          description: Page size, 1 to 25. Defaults to 20.
          required: false
          schema:
            type: integer
            format: int32
            minimum: 0
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FleetTurnsPage'
        '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'
        '404':
          description: The resource was not found or is not accessible to you
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemBody'
        '409':
          description: The request conflicts with the resource's current state
          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:
        - RunnerBearerAuth: []
components:
  schemas:
    FleetTurnsPage:
      type: object
      description: One page of a fleet's turns, newest first.
      required:
        - items
      properties:
        items:
          type: array
          items:
            $ref: '#/components/schemas/FleetTurnItem'
          description: >-
            The turns on this page. Beta: this field may change shape before it
            is stable.
          x-stability: beta
        next_cursor:
          type:
            - string
            - 'null'
          description: >-
            Pass back as `starting_after` for the next page; null on the last
            one. Beta: this field may change shape before it is stable.
          x-stability: beta
        total:
          type:
            - integer
            - 'null'
          format: int64
          description: >-
            Unknown without a separate count; always null. Beta: this field may
            change shape before it is stable.
          minimum: 0
          x-stability: beta
    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.
    FleetTurnItem:
      type: object
      description: One turn of a fleet, as another fleet reads it.
      required:
        - turn_id
        - actor
        - event_type
        - status
        - created_at
        - request_excerpt
      properties:
        actor:
          type: string
          description: >-
            Who or what produced it: `steer:<user>`, `fleet:<fleet_id>`,
            `cron:<id>`. Beta: this field may change shape before it is stable.
          x-stability: beta
        created_at:
          type: string
          format: date-time
          description: >-
            When it was admitted. Beta: this field may change shape before it is
            stable.
          x-stability: beta
        event_type:
          type: string
          description: >-
            How it entered: `chat`, `webhook`, `cron` or `continuation`. Beta:
            this field may change shape before it is stable.
          x-stability: beta
        failure_label:
          type:
            - string
            - 'null'
          description: >-
            What refused or failed the run. Omitted on a clean one. Beta: this
            field may change shape before it is stable.
          x-stability: beta
        request_excerpt:
          type: string
          description: >-
            What it was asked. Beta: this field may change shape before it is
            stable.
          x-stability: beta
        response_excerpt:
          type:
            - string
            - 'null'
          description: >-
            What it answered. Omitted until it answers. Beta: this field may
            change shape before it is stable.
          x-stability: beta
        status:
          type: string
          description: >-
            Where its run got to; `queued` while it waits for a runner. Beta:
            this field may change shape before it is stable.
          x-stability: beta
        turn_id:
          type: string
          description: >-
            The turn's identifier. Beta: this field may change shape before it
            is stable.
          x-stability: beta
  securitySchemes:
    RunnerBearerAuth:
      type: http
      scheme: bearer
      bearerFormat: agt_r
      description: >-
        Runner token beginning with agt_r, returned once by POST
        /v1/admin/runners

````

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