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

# List prospect reports

> Every request of the reseller, newest first, whatever created it (the API, a pitch or a landing page). Pass `nextCursor` back as `cursor` for the next page.



## OpenAPI

````yaml /reseller-api/openapi.json get /api/reseller/v1/prospect-reports
openapi: 3.1.0
info:
  title: Searchable Reseller API
  version: 1.0.0
  summary: Create, read, list and revoke prospect reports for a reseller.
  description: >-
    Ask for an AI visibility report on any domain and get back a link on your
    own report host. Authenticate with a reseller API key (`rk_live_`). See the
    [overview](/reseller-api/overview) for authentication, reuse, allowances and
    idempotency, and the [error reference](/api/errors) for every `code`.
servers:
  - url: https://app.searchable.com
    description: Production
security:
  - resellerKey: []
tags:
  - name: Prospect reports
    description: Reports a reseller asks for on a prospect's domain.
paths:
  /api/reseller/v1/prospect-reports:
    get:
      tags:
        - Prospect reports
      summary: List prospect reports
      description: >-
        Every request of the reseller, newest first, whatever created it (the
        API, a pitch or a landing page). Pass `nextCursor` back as `cursor` for
        the next page.
      operationId: listProspectReports
      parameters:
        - name: limit
          in: query
          required: false
          description: Page size, 1 to 100.
          schema:
            type: integer
            minimum: 1
            maximum: 100
            default: 25
        - name: cursor
          in: query
          required: false
          description: >-
            The `nextCursor` of the previous page. Opaque; a cursor that was not
            issued by this API is a 400.
          schema:
            type: string
            maxLength: 512
      responses:
        '200':
          description: A page of requests.
          content:
            application/json:
              schema:
                type: object
                required:
                  - data
                  - nextCursor
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/ProspectReport'
                  nextCursor:
                    type:
                      - string
                      - 'null'
                    description: Null on the last page.
        '400':
          $ref: '#/components/responses/InvalidArgument'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/MissingScope'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/TooManyRequests'
components:
  schemas:
    ProspectReport:
      type: object
      required:
        - id
        - source
        - pitchId
        - domain
        - status
        - reportUrl
        - failureReason
        - contact
        - prospectEmail
        - createdAt
      properties:
        id:
          type: string
          format: uuid
        source:
          type: string
          enum:
            - pitch
            - api
            - landing
          description: What created the request.
        pitchId:
          type:
            - string
            - 'null'
          description: >-
            The pitch the report was made for. Set only when `source` is
            `pitch`.
        domain:
          type: string
        status:
          type: string
          enum:
            - generating
            - ready
            - failed
          description: >-
            A request still generating an hour after it was made reads as
            `failed` with `build_timeout`.
        reportUrl:
          type:
            - string
            - 'null'
          description: >-
            The report's link on your report host. Set only while the report is
            ready, not revoked and your host is verified; otherwise null.
        failureReason:
          type:
            - string
            - 'null'
          description: >-
            Why a failed request failed: `generation_failed` (the report could
            not be generated), `build_error` (the report could not be built),
            `build_timeout`, `incomplete_snapshot`, `sharing_policy` (sharing is
            switched off for the workspace), `feature_off` or `dispatch_failed`
            (the request never started, and spent nothing). Null otherwise.
        contact:
          type:
            - object
            - 'null'
          properties:
            email:
              type: string
            name:
              type: string
            company:
              type: string
        prospectEmail:
          type: object
          required:
            - status
            - reason
          properties:
            status:
              type: string
              enum:
                - not_requested
                - pending
                - sent
                - skipped
            reason:
              type:
                - string
                - 'null'
              enum:
                - opted_out
                - sender_unavailable
                - no_contact_email
                - null
              description: Why the email was skipped. Null unless `status` is `skipped`.
        createdAt:
          type: string
          format: date-time
    Problem:
      type: object
      required:
        - type
        - title
        - status
        - code
        - message
      description: >-
        An `application/problem+json` error. See the [error
        reference](/api/errors).
      properties:
        type:
          type: string
          description: A link to the error reference, anchored to `code`.
        title:
          type: string
        status:
          type: integer
        code:
          type: string
          description: Stable; safe to branch on.
        message:
          type: string
        error:
          type: string
          description: Equal to `message`.
        howToFix:
          type: string
        requestId:
          type: string
        errors:
          type: array
          description: 'On `invalid_argument`: each field that failed.'
          items:
            type: object
            properties:
              path:
                type: string
              message:
                type: string
        used:
          type: integer
          description: On `prospect_report_allowance_used`.
        limit:
          type: integer
          description: On `prospect_report_allowance_used` and `prospect_report_daily_cap`.
        resetsAt:
          type: string
          format: date-time
          description: >-
            On `prospect_report_allowance_used` and `prospect_report_daily_cap`:
            when the count starts again.
  responses:
    InvalidArgument:
      description: >-
        `invalid_argument`: the body or query is not valid. `errors` lists each
        field.
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Problem'
    Unauthorized:
      description: '`unauthorized`: the key is missing, malformed, unknown or revoked.'
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Problem'
    MissingScope:
      description: '`missing_scope`: the key cannot manage prospect reports.'
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Problem'
    NotFound:
      description: >-
        `not_found`: no such request for this reseller, or the prospect report
        API is not switched on for it.
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Problem'
    TooManyRequests:
      description: >-
        `rate_limited` (over 600 requests a minute for the key; `Retry-After`
        says when to retry), or `prospect_report_daily_cap` on a create when
        today's limit is reached.
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Problem'
  securitySchemes:
    resellerKey:
      type: http
      scheme: bearer
      description: >-
        A reseller API key, `rk_live_...`, created in your White Label settings
        under Prospect reports. It is shown once.

````

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