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

# Get all sources for an agent instance

> Retrieve all sources (scanned websites) for a given agent instance



## OpenAPI

````yaml api-reference/openapi.yaml get /getAllSources
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:
  /getAllSources:
    get:
      summary: Get all sources for an agent instance
      description: Retrieve all sources (scanned websites) for a given agent instance
      parameters:
        - name: agent_instance_id
          in: query
          required: true
          schema:
            type: string
            pattern: >-
              ^[0-9a-f]{8}[-]?[0-9a-f]{4}[-]?[0-9a-f]{4}[-]?[0-9a-f]{4}[-]?[0-9a-f]{12}$
          description: The ID of the agent instance (UUID format)
      responses:
        '200':
          description: Sources retrieved successfully
        '500':
          description: Internal server error
      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.

````