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

# List client reports

> Every client report in the workspace, newest first - including reports created in the Agency dashboard rather than through this API. Paginated with limit/offset; nextOffset is null on the last page.




## OpenAPI

````yaml /api-reference/openapi.yaml get /api/agent/agency/reports
openapi: 3.1.0
info:
  title: Preuve Agent API
  version: '2.0'
  description: >
    API for programmatic startup idea validation. Every request carries a single
    x-preuve-key header holding the whole API key - no signing, no bearer token.
    See the Authentication guide.
servers:
  - url: https://preuve.ai
security:
  - preuveKey: []
paths:
  /api/agent/agency/reports:
    get:
      tags:
        - Agency
      summary: List client reports
      description: >
        Every client report in the workspace, newest first - including reports
        created in the Agency dashboard rather than through this API. Paginated
        with limit/offset; nextOffset is null on the last page.
      operationId: listAgencyReports
      parameters:
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            minimum: 1
            maximum: 50
            default: 20
        - name: offset
          in: query
          required: false
          schema:
            type: integer
            minimum: 0
            maximum: 10000
            default: 0
      responses:
        '200':
          description: One page of client reports.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AgencyReportList'
        '400':
          description: limit must be 1-50 and offset 0-10000 (INVALID_PAGINATION).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          $ref: '#/components/responses/AgencyInsufficientScope'
        '404':
          $ref: '#/components/responses/AgencyNotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
components:
  schemas:
    AgencyReportList:
      type: object
      properties:
        reports:
          type: array
          items:
            $ref: '#/components/schemas/AgencyReportListItem'
        nextOffset:
          type: integer
          nullable: true
          description: Offset of the next page, or null on the last page.
    ApiError:
      type: object
      required:
        - error
        - code
      properties:
        error:
          type: string
          description: Human-readable message.
        code:
          type: string
          description: Stable machine-readable code. Branch on this.
        details:
          description: Optional context (validation errors, limits, ...).
    AgencyReportListItem:
      type: object
      description: One client report in the workspace, without its payload.
      properties:
        reportId:
          type: string
        title:
          type: string
          nullable: true
        status:
          type: string
        scanType:
          type: string
          enum:
            - starter
            - deep
        createdAt:
          type: string
          format: date-time
        reportUrl:
          type: string
          format: uri
  responses:
    AgencyInsufficientScope:
      description: >
        The key is valid but does not carry the one Agency scope the route it
        called requires (INSUFFICIENT_SCOPE). The two are enforced per route and
        neither implies the other: POST /api/agent/agency/analyses requires
        agency:write, and every other Agency route - the workspace context, the
        report list, the report poll and the export - requires agency:read, so
        there is no separate export scope on this surface and a key carrying
        only the other Agency scope is refused here too. Note that every key
        created before 2026-09-09 hits this: these routes previously accepted
        the personal analysis:read / export:read scopes, and scopes are fixed at
        creation rather than backfilled, so an older key needs a new grant.
        Neither route to one is unconditional. Reconnecting the client works on
        any plan, free included, but /authorize only ever intersects the scopes
        the client requests, so a client replaying the scope list it cached at
        registration mints another Agency-less key and revokes the working one
        on the way - check the consent screen lists the Agency permissions
        before approving. Creating a key by hand cannot silently fail, but it
        needs "Include Agency workspace access" ticked AND an account that may
        create keys by hand: a paid personal plan, or membership of a Consultant
        or Agency workspace with an active subscription.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
    AgencyNotFound:
      description: >
        No Agency workspace on this account, or workspace membership was removed
        (AGENCY_NOT_FOUND). Membership is resolved live on every call.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
    RateLimited:
      description: Rate limited (RATE_LIMITED or DAILY_LIMIT_REACHED).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
  securitySchemes:
    preuveKey:
      type: apiKey
      in: header
      name: x-preuve-key
      description: >
        Your API key (prv_...), sent as-is. It is the only credential the API
        needs - see the Authentication guide.

````