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

# Enqueue jobs from various sources

> Process URL, PDF, CSV, or text to extract companies and enqueue as KYB jobs



## OpenAPI

````yaml api-reference/openapi.yaml post /enqueueFromSource
openapi: 3.0.0
info:
  title: Parcha API
  version: 1.0.0
  description: API for managing Parcha jobs and checks
servers:
  - url: https://api.parcha.ai/api/v1
    description: Agent Hub API server
  - url: https://demo.parcha.ai/api/v1
    description: Sandbox API server
  - url: https://us1.parcha.ai/api/v1
    description: Legacy API server
  - url: http://{your-company-domain}.parcha.ai/api/v1
    description: Custom Enterpris server (your company's API server)
security:
  - bearerAuth: []
paths:
  /enqueueFromSource:
    post:
      summary: Enqueue jobs from various sources
      description: >-
        Process URL, PDF, CSV, or text to extract companies and enqueue as KYB
        jobs
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - agent_id
                - source_type
                - source_content
              properties:
                agent_id:
                  type: string
                source_type:
                  type: string
                  enum:
                    - url
                    - base64_pdf
                    - base64_csv
                    - text
                source_content:
                  type: string
                source_name:
                  type: string
                  default: Unlabeled Source
                prompt:
                  type: string
      responses:
        '200':
          description: Source processing started successfully
        '400':
          description: Invalid input
        '500':
          description: Processing failed
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        API key obtained from your Parcha account settings. Include as Bearer
        token in the Authorization header.

````