> ## 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 Check Results

> Retrieve all check results for a specific job

This endpoint retrieves all check results associated with a specific job.

## Endpoint

`GET /getCheckResults`

## Parameters

<ParamField query="job_id" type="string" required>
  The unique identifier of the job.
</ParamField>

## Response

Returns an array of check result objects.

<ResponseField name="check_results" type="array">
  An array of check result objects for the job.

  <Expandable title="Check Result Object">
    <ResponseField name="id" type="string">
      The unique identifier of the check result
    </ResponseField>

    <ResponseField name="check_id" type="string">
      The ID of the check that was run
    </ResponseField>

    <ResponseField name="status" type="string">
      The status of the check (e.g., "completed", "in\_progress", "failed")
    </ResponseField>

    <ResponseField name="result" type="object">
      The detailed result data from the check
    </ResponseField>

    <ResponseField name="status_messages" type="array">
      An array of status message objects tracking the check's progress
    </ResponseField>

    <ResponseField name="created_at" type="string">
      ISO 8601 timestamp of when the check result was created
    </ResponseField>

    <ResponseField name="updated_at" type="string">
      ISO 8601 timestamp of when the check result was last updated
    </ResponseField>
  </Expandable>
</ResponseField>

## Error Responses

<ResponseField name="error" type="string">
  A description of the error that occurred.
</ResponseField>

| Status Code | Description           |
| ----------- | --------------------- |
| 404         | Job not found         |
| 401         | Unauthorized access   |
| 500         | Internal server error |

## Example Request

```bash theme={null}
curl -X GET 'https://api.parcha.ai/getCheckResults?job_id=123456' \
-H 'Authorization: Bearer YOUR_API_KEY'
```

## Example Response

```json theme={null}
[
  {
    "id": "check_result_1",
    "check_id": "business_profile_check",
    "status": "completed",
    "result": {
      "business_name": "Acme Corp",
      "industry": "Technology",
      "risk_score": 15
    },
    "status_messages": [
      {
        "message": "Check started",
        "timestamp": "2023-06-15T10:30:00Z"
      },
      {
        "message": "Data retrieved",
        "timestamp": "2023-06-15T10:31:00Z"
      },
      {
        "message": "Check completed",
        "timestamp": "2023-06-15T10:32:00Z"
      }
    ],
    "created_at": "2023-06-15T10:30:00Z",
    "updated_at": "2023-06-15T10:32:00Z"
  },
  {
    "id": "check_result_2",
    "check_id": "adverse_media_screening",
    "status": "completed",
    "result": {
      "findings": [],
      "risk_level": "low"
    },
    "status_messages": [
      {
        "message": "Check started",
        "timestamp": "2023-06-15T10:30:00Z"
      },
      {
        "message": "Media search completed",
        "timestamp": "2023-06-15T10:33:00Z"
      }
    ],
    "created_at": "2023-06-15T10:30:00Z",
    "updated_at": "2023-06-15T10:33:00Z"
  }
]
```

## Use Cases

This endpoint is useful for:

* Retrieving all check results after a job completes
* Monitoring the status of multiple checks in a single job
* Building dashboards that display comprehensive job results
* Accessing detailed findings from all checks performed


## OpenAPI

````yaml GET /getCheckResults
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:
  /getCheckResults:
    get:
      summary: Get check all results for a job
      description: Retrieve all check results for a specific job
      parameters:
        - name: job_id
          in: query
          required: true
          schema:
            type: string
          description: The ID of the job to retrieve check results for
      responses:
        '200':
          description: Check results retrieved successfully
        '401':
          description: Unauthorized
        '404':
          description: Job not found
      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.

````