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

# List runs for a conversation.

> Returns run metadata sorted newest-first. Use `limit` to cap returned rows.



## OpenAPI

````yaml api/openapi.json get /api/chats/{conversationId}/runs
openapi: 3.0.2
info:
  contact:
    name: OpenAgents
    url: https://openagents.com
  description: >-
    OpenAgents REST API (Laravel). Primary auth is Sanctum bearer tokens for
    /api endpoints.
  title: OpenAgents API
  version: 1.0.0
servers:
  - description: Primary production server
    url: https://openagents.com
security:
  - SanctumToken: []
tags:
  - description: Authentication context and token lifecycle endpoints.
    name: Auth
  - description: Conversation, run, and stream endpoints.
    name: Chat
  - description: Autopilot resources, thread scoping, and stream alias routes.
    name: Autopilot
  - description: Authenticated profile management endpoints.
    name: Profile
  - description: Global public broadcast messages, optionally scoped by zone.
    name: Shouts
  - description: Direct messages between two users, inbox and thread retrieval.
    name: Whispers
  - description: Lightning L402 wallet, receipts, and deployment telemetry endpoints.
    name: L402
  - description: >-
      Per-user Spark wallet lifecycle and payment APIs (invoice + pay + spark
      transfers).
    name: Agent Payments
paths:
  /api/chats/{conversationId}/runs:
    get:
      tags:
        - Chat
      summary: List runs for a conversation.
      description: >-
        Returns run metadata sorted newest-first. Use `limit` to cap returned
        rows.
      parameters:
        - description: Maximum records to return (endpoint specific caps apply).
          in: query
          name: limit
          required: false
          schema:
            example: 100
            minimum: 1
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  data:
                    items:
                      type: object
                    type: array
                type: object
          description: Successful list response
        '401':
          content:
            application/json:
              schema:
                properties:
                  message:
                    example: Unauthenticated.
                    type: string
                type: object
          description: Authentication required
        '404':
          content:
            application/json:
              schema:
                properties:
                  message:
                    example: Not found.
                    type: string
                type: object
          description: Not found
components:
  securitySchemes:
    SanctumToken:
      bearerFormat: Sanctum PAT
      scheme: bearer
      type: http

````