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

# List background tool runs for a tool

> List the recent runs for one tool, newest first.

A restricted caller reads its OWN per-identity index (complete within its own
bound — never truncated by other identities' volume that saturates the shared
window); an unrestricted caller reads the shared index unchanged. An empty list
is the honest answer to "my runs of this tool" — this filters a collection to the
caller's own slice (distinct from GET-by-id, which raises ``403`` for a NAMED run
owned by another identity).



## OpenAPI

````yaml /openapi.json get /api/tool-runs
openapi: 3.1.0
info:
  description: The operator HTTP surface served under /api/*.
  title: tai42-skeleton API
  version: 0.1.1
servers: []
security: []
paths:
  /api/tool-runs:
    get:
      tags:
        - tool-runs
      summary: List background tool runs for a tool
      description: >-
        List the recent runs for one tool, newest first.


        A restricted caller reads its OWN per-identity index (complete within
        its own

        bound — never truncated by other identities' volume that saturates the
        shared

        window); an unrestricted caller reads the shared index unchanged. An
        empty list

        is the honest answer to "my runs of this tool" — this filters a
        collection to the

        caller's own slice (distinct from GET-by-id, which raises ``403`` for a
        NAMED run

        owned by another identity).
      operationId: get_api_tool_runs
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  data: {}
                required:
                  - data
                type: object
          description: Success.
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Malformed request.
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Missing or invalid api key.
      security:
        - ApiKeyAuth: []
components:
  schemas:
    Error:
      properties:
        error:
          type: string
      required:
        - error
      type: object
  securitySchemes:
    ApiKeyAuth:
      in: header
      name: x-api-key
      type: apiKey

````