> ## 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.

# Collect Reddit For Ingestion

> Collect citation-backed Reddit sources for the private ingestion worker.



## OpenAPI

````yaml /api/openapi.json post /api/channels/reddit-collect
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:
  /api/channels/reddit-collect:
    post:
      tags:
        - source-management
      summary: Collect Reddit For Ingestion
      description: Collect citation-backed Reddit sources for the private ingestion worker.
      operationId: collect_reddit_for_ingestion_api_channels_reddit_collect_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CollectRedditRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    CollectRedditRequest:
      properties:
        subreddit:
          type: string
          title: Subreddit
        sort:
          type: string
          title: Sort
          default: hot
        limit:
          type: integer
          title: Limit
          default: 25
      type: object
      required:
        - subreddit
      title: CollectRedditRequest
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    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.