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

# List Responses

> Paginated list of AI responses scoped to a narrative or theme (a theme expands to its narratives' mentions), windowed to the date range.



## OpenAPI

````yaml /openapi.json get /api/v1/projects/{project}/reputation/responses
openapi: 3.1.0
info:
  title: Surfacd Public API
  version: 1.0.0
  description: >-
    Public API for Surfacd. Team-scoped operations live under
    `/api/v1/team/...`; project collections live under `/api/v1/projects`;
    project-scoped operations live under `/api/v1/projects/{project}/...`. All
    endpoints require a Bearer team API key created in Team Settings. The API
    key selects the team for team-level and collection endpoints.
servers:
  - url: https://app.surfacd.com
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Projects
    description: Project management endpoints. Reads only in this version.
  - name: Prompts
    description: Prompt management endpoints. Reads only in this version.
  - name: Team
    description: Team settings and plan details for the current team.
  - name: Reporting
    description: >-
      Read-only reporting endpoints for projects (brand rankings, mentions,
      visibility, matrix analysis, source data).
  - name: Reference
    description: Reference data used by create, update, and reporting filters.
  - name: Tags
    description: Project tag management endpoints.
  - name: Reputation
    description: >-
      Read-only reputation analytics for a project: sentiment overview and
      trends, themes, narratives, the AI responses behind them, and the sources
      those responses cite. Requires the Reputation capability on the project's
      team; without it these endpoints return `403`.
paths:
  /api/v1/projects/{project}/reputation/responses:
    parameters:
      - $ref: '#/components/parameters/ProjectUuid'
    get:
      tags:
        - Reputation
      summary: List Responses
      description: >-
        Paginated list of AI responses scoped to a narrative or theme (a theme
        expands to its narratives' mentions), windowed to the date range.
      operationId: v1ProjectsReputationResponsesIndex
      parameters:
        - name: start_date
          in: query
          required: true
          schema:
            type: string
            format: date
        - name: end_date
          in: query
          required: true
          schema:
            type: string
            format: date
          description: Must be on or after `start_date`.
        - name: tags
          in: query
          required: false
          schema:
            type: array
            items:
              type: string
          description: >-
            Tag UUID or name filters. Repeat as `tags[]=<uuid-or-name>`.
            Discover tags with `GET /api/v1/projects/{project}/tags`.
          style: form
          explode: true
        - name: services
          in: query
          required: false
          schema:
            type: array
            items:
              type: string
          description: >-
            AI platform provider filters such as `chatgpt` or `perplexity`.
            Repeat as `services[]=<provider>`. Discover providers with `GET
            /api/v1/platforms`.
          style: form
          explode: true
        - name: countries
          in: query
          required: false
          schema:
            type: array
            items:
              type: string
          description: >-
            Country code filters such as `US` or `GB`. Repeat as
            `countries[]=<code>`. Discover codes with `GET /api/v1/countries`.
          style: form
          explode: true
        - name: topics
          in: query
          required: false
          schema:
            type: array
            items:
              type: string
          description: >-
            Topic UUID or name filters. Use `no_topic` for prompts without a
            topic. Repeat as `topics[]=<uuid-or-name>`. Discover topics with
            `GET /api/v1/projects/{project}/topics`.
          style: form
          explode: true
        - name: prompt
          in: query
          required: false
          schema:
            type: string
            format: uuid
          description: Prompt UUID filter.
        - name: brand
          in: query
          required: false
          schema:
            type: string
            format: uuid
          description: >-
            Brand UUID to scope the reputation data to. Must belong to the
            project. Defaults to the project's primary brand; when the project
            has no primary brand an explicit `brand` is required. Discover brand
            UUIDs with `GET /api/v1/projects/{project}/brands`.
        - name: scope_type
          in: query
          required: true
          schema:
            type: string
            enum:
              - narrative
              - theme
          description: >-
            The entity the listing is scoped to: `narrative` or `theme` (a theme
            expands to its narratives' mentions).
        - name: scope_uuid
          in: query
          required: true
          schema:
            type: string
            format: uuid
          description: The UUID of the narrative or theme named by `scope_type`.
        - name: per_page
          in: query
          required: false
          schema:
            type: integer
            minimum: 1
            maximum: 100
          description: Results per page, 1-100. Defaults to 10.
        - name: page
          in: query
          required: false
          schema:
            type: integer
            minimum: 1
          description: Page number. Defaults to 1.
      responses:
        '200':
          description: Paginated response mentions.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Paginated_NarrativeMention'
        '403':
          $ref: '#/components/responses/ReputationNotEnabled'
        '404':
          description: The scoped narrative or theme was not found in this project.
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                required:
                  - message
        '422':
          $ref: '#/components/responses/ValidationError'
components:
  parameters:
    ProjectUuid:
      name: project
      in: path
      required: true
      description: Project UUID.
      schema:
        type: string
        format: uuid
  schemas:
    Paginated_NarrativeMention:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/NarrativeMention'
        links:
          $ref: '#/components/schemas/PaginationLinks'
        meta:
          $ref: '#/components/schemas/PaginationMeta'
      required:
        - data
        - meta
    NarrativeMention:
      type: object
      description: >-
        One response mentioning a narrative or theme: the evidence excerpt, its
        sentiment, and the domains the response cited.
      properties:
        evidence_snippet:
          type: string
        sentiment:
          $ref: '#/components/schemas/BrandSentiment'
        prompt_response_uuid:
          type: string
          format: uuid
        prompt_text:
          type: string
        service_name:
          type: string
        extracted_at:
          type: string
          format: date-time
        source_domains:
          type: array
          items:
            type: string
      required:
        - evidence_snippet
        - sentiment
        - prompt_response_uuid
        - prompt_text
        - service_name
        - extracted_at
        - source_domains
    PaginationLinks:
      type: object
      properties:
        first:
          type:
            - string
            - 'null'
        last:
          type:
            - string
            - 'null'
        prev:
          type:
            - string
            - 'null'
        next:
          type:
            - string
            - 'null'
      required:
        - first
        - last
        - prev
        - next
    PaginationMeta:
      type: object
      properties:
        current_page:
          type: integer
        from:
          type:
            - integer
            - 'null'
        last_page:
          type: integer
        links:
          type: array
          items:
            $ref: '#/components/schemas/PaginationMetaLink'
        path:
          type:
            - string
            - 'null'
        per_page:
          type: integer
        to:
          type:
            - integer
            - 'null'
        total:
          type: integer
      required:
        - current_page
        - last_page
        - per_page
        - total
    ValidationError:
      type: object
      description: Returned when one or more request parameters fail validation.
      properties:
        message:
          type: string
        errors:
          type: object
          additionalProperties:
            type: array
            items:
              type: string
      required:
        - message
        - errors
    BrandSentiment:
      type: string
      enum:
        - positive
        - negative
        - neutral
      description: The sentiment valence of a mention or narrative.
    PaginationMetaLink:
      type: object
      properties:
        url:
          type:
            - string
            - 'null'
        label:
          type: string
        active:
          type: boolean
      required:
        - url
        - label
        - active
  responses:
    ReputationNotEnabled:
      description: >-
        Reputation is not available: the team's plan does not include the
        Reputation capability, or the project has not enabled it.
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
            required:
              - message
    ValidationError:
      description: Validation failed.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ValidationError'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: token
      description: >-
        Team API key created in Team Settings. Use it with URLs for the same
        team.

````