> ## 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 jobs by case ID



## OpenAPI

````yaml api-reference/openapi.yaml get /getJobsByCaseId
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:
  /getJobsByCaseId:
    get:
      summary: Get jobs by case ID
      parameters:
        - name: case_id
          in: query
          required: true
          schema:
            type: string
        - name: agent_key
          in: query
          required: true
          schema:
            type: string
        - name: include_check_results
          in: query
          schema:
            type: boolean
        - name: include_status_messages
          in: query
          schema:
            type: boolean
      responses:
        '200':
          description: Jobs retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JobsResponse'
        '401':
          description: Unauthorized
      security:
        - bearerAuth: []
components:
  schemas:
    JobsResponse:
      type: object
      properties:
        jobs:
          type: array
          items:
            type: object
        count:
          type: integer
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        API key obtained from your Parcha account settings. Include as Bearer
        token in the Authorization header.

````