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

# List Project Analyses

> List all analyses for a specific project with pagination and filtering.

**Access Control:**
- Returns analyses if user owns the project OR project is public
- Returns only user's analyses OR public analyses

**Pagination:**
- page: Page number (1-indexed, default: 1)
- limit: Results per page (default: 20, max: 100)

**Sorting:**
- sort: Field and direction (e.g., "created_at:desc")
- Allowed fields: created_at, updated_at, question, status, total_comments
- Default: created_at:desc (newest first)

**Filtering:**
- status: Filter by analysis status (pending, running, completed, failed)
- public: Filter by public visibility (true/false)

**Response:**
- List of analysis summaries (lightweight, no full content)
- Pagination metadata (page, limit, total, pages)



## OpenAPI

````yaml /api/openapi.json get /agent/v1/projects/{project_id}/analyses
openapi: 3.1.0
info:
  title: CrowdListen Agent API
  description: >-
    Configure sources, collect and retain originals, run durable analysis, and
    read or revise cited insights. Humans and agents share authorized
    entity/project records, research jobs and evidence history.
  version: 1.0.0
servers:
  - url: https://agent.crowdlisten.com
    description: Production
  - url: http://localhost:8000
    description: Local development
security: []
paths:
  /agent/v1/projects/{project_id}/analyses:
    get:
      tags:
        - analysis
      summary: List Project Analyses
      description: >-
        List all analyses for a specific project with pagination and filtering.


        **Access Control:**

        - Returns analyses if user owns the project OR project is public

        - Returns only user's analyses OR public analyses


        **Pagination:**

        - page: Page number (1-indexed, default: 1)

        - limit: Results per page (default: 20, max: 100)


        **Sorting:**

        - sort: Field and direction (e.g., "created_at:desc")

        - Allowed fields: created_at, updated_at, question, status,
        total_comments

        - Default: created_at:desc (newest first)


        **Filtering:**

        - status: Filter by analysis status (pending, running, completed,
        failed)

        - public: Filter by public visibility (true/false)


        **Response:**

        - List of analysis summaries (lightweight, no full content)

        - Pagination metadata (page, limit, total, pages)
      operationId: list_project_analyses_agent_v1_projects__project_id__analyses_get
      parameters:
        - name: project_id
          in: path
          required: true
          schema:
            type: string
            title: Project Id
        - name: page
          in: query
          required: false
          schema:
            type: integer
            minimum: 1
            description: Page number (1-indexed)
            default: 1
            title: Page
          description: Page number (1-indexed)
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            maximum: 100
            minimum: 1
            description: Results per page (max 100)
            default: 20
            title: Limit
          description: Results per page (max 100)
        - name: sort
          in: query
          required: false
          schema:
            type: string
            description: Sort field:direction
            default: created_at:desc
            title: Sort
          description: Sort field:direction
        - name: status
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Filter by status
            title: Status
          description: Filter by status
        - name: public
          in: query
          required: false
          schema:
            anyOf:
              - type: boolean
              - type: 'null'
            description: Filter by public flag
            title: Public
          description: Filter by public flag
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AnalysesListResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    AnalysesListResponse:
      properties:
        analyses:
          items:
            $ref: '#/components/schemas/AnalysisSummary'
          type: array
          title: Analyses
        pagination:
          $ref: '#/components/schemas/PaginationMetadata'
      type: object
      required:
        - analyses
        - pagination
      title: AnalysesListResponse
      description: Response for analyses list endpoint
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    AnalysisSummary:
      properties:
        id:
          type: string
          title: Id
        question:
          type: string
          title: Question
        takeaway:
          anyOf:
            - type: string
            - type: 'null'
          title: Takeaway
        tag:
          anyOf:
            - type: string
            - type: 'null'
          title: Tag
        status:
          anyOf:
            - type: string
            - type: 'null'
          title: Status
        public:
          type: boolean
          title: Public
        total_comments:
          anyOf:
            - type: integer
            - type: 'null'
          title: Total Comments
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Updated At
      type: object
      required:
        - id
        - question
        - public
        - created_at
      title: AnalysisSummary
      description: Summary of an analysis for list view
    PaginationMetadata:
      properties:
        page:
          type: integer
          title: Page
        limit:
          type: integer
          title: Limit
        total:
          type: integer
          title: Total
        pages:
          type: integer
          title: Pages
      type: object
      required:
        - page
        - limit
        - total
        - pages
      title: PaginationMetadata
      description: Pagination metadata
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````

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