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

# QA Agent (Sync)

> Run a research agent that answers a question about a person or company.



## OpenAPI

````yaml https://api.sixtyfour.ai/openapi.json post /qa-agent
openapi: 3.1.0
info:
  title: Sixtyfour API
  description: >-
    Intelligence API for People and Entities. Deploy AI agents that investigate,
    resolve identities, map relationships, and surface risk signals
  contact:
    name: Sixtyfour
    url: https://sixtyfour.ai/
    email: support@sixtyfour.ai
  license:
    name: Proprietary
  version: 1.0.0
servers:
  - url: https://api.sixtyfour.ai
    description: Production
security: []
tags:
  - name: Enrichment
    description: Find and enrich emails, phones, and LinkedIn for people and companies.
  - name: org-chart
    description: Discover people inside a company and build org charts.
  - name: Search
    description: Run deep and filter searches over Sixtyfour's data.
  - name: Workflow
    description: Create, run, and manage enrichment workflows.
  - name: Workflow Schedules
    description: Create and manage recurring schedules for workflows.
  - name: Account
    description: Manage and inspect your account and credit balance.
  - name: Intelligence
    description: Verify identity attributes such as age using high-tier OSINT research.
paths:
  /qa-agent:
    post:
      tags:
        - Enrichment
      summary: QA Agent (Sync)
      description: Run a research agent that answers a question about a person or company.
      operationId: qa_agent_endpoint_qa_agent_post
      parameters:
        - name: x-api-key
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: X-Api-Key
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/QAAgentRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '400':
          description: Request was rejected by the route's validation rules.
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
              example:
                detail: Invalid request body
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
              example:
                detail: Invalid API key
        '402':
          description: >-
            Insufficient credits or no active subscription for this
            organization.
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
              example:
                detail: Insufficient API credits
        '403':
          description: Tier or feature not enabled for this organization.
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
              example:
                detail: >-
                  High tier company enrichment is not enabled for this org.
                  Contact sales to request access.
        '404':
          description: Async enrichment job not found.
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
              example:
                detail: Job not found
        '422':
          description: Request body failed validation.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '429':
          description: Rate limit exceeded.
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
              example:
                detail: Rate limit exceeded
        '500':
          description: Unexpected server error. Retry with backoff.
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
              example:
                detail: Internal server error
components:
  schemas:
    QAAgentRequest:
      properties:
        data:
          additionalProperties: true
          type: object
          title: Data
          description: Lead or record to evaluate against the qualification criteria.
        qualification_criteria:
          items:
            $ref: '#/components/schemas/QualificationCriteria'
          type: array
          title: Qualification Criteria
          description: List of criteria the agent will score the data against.
        references:
          anyOf:
            - items:
                additionalProperties:
                  type: string
                type: object
              type: array
            - type: 'null'
          title: References
          description: Optional reference URLs the agent may use as evidence.
          default: []
        struct:
          anyOf:
            - additionalProperties:
                type: string
              type: object
            - type: 'null'
          title: Struct
          description: Mapping of extra output fields and their descriptions.
        max_tool_calls:
          anyOf:
            - type: integer
              maximum: 50
              minimum: 1
            - type: 'null'
          title: Max Tool Calls
          description: Maximum tool calls the agent may make per evaluation.
          default: 10
        webhook_url:
          anyOf:
            - type: string
              maxLength: 2083
              minLength: 1
              format: uri
            - type: 'null'
          title: Webhook Url
          description: >-
            HTTPS URL that receives the result payload when the async job
            completes.
      type: object
      required:
        - data
        - qualification_criteria
      title: QAAgentRequest
    HTTPValidationError:
      title: HTTPValidationError
      type: object
      properties:
        detail:
          type: array
          items:
            $ref: '#/components/schemas/ValidationError'
      example:
        detail:
          - loc:
              - body
              - target_company
              - domain
            msg: Field required
            type: missing
            input: null
            ctx: {}
    QualificationCriteria:
      properties:
        criteria_name:
          type: string
          title: Criteria Name
          description: Short name for the criterion shown in results.
        description:
          type: string
          title: Description
          description: Natural-language description of what qualifies a lead.
        weight:
          type: number
          title: Weight
          description: Relative weight of this criterion in the final score.
          default: 1
        threshold:
          anyOf:
            - type: number
            - type: 'null'
          title: Threshold
          description: Minimum score (0-1) required to pass this criterion.
      type: object
      required:
        - criteria_name
        - description
      title: QualificationCriteria
    ValidationError:
      title: ValidationError
      type: object
      required:
        - loc
        - msg
        - type
      properties:
        loc:
          type: array
          items:
            oneOf:
              - type: string
              - type: integer
          description: Path to the field that failed validation.
          example:
            - body
            - target_company
            - domain
        msg:
          type: string
          description: Human-readable error message.
          example: Field required
        type:
          type: string
          description: Error code (e.g. 'missing', 'value_error').
          example: missing
        input:
          description: The offending input value (any type, may be null).
          nullable: true
          example: null
        ctx:
          type: object
          description: Optional error context.
          additionalProperties: true
          example: {}

````