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

# Create an evaluator binding



## OpenAPI

````yaml /api-reference/openapi.json post /v1/evaluator-bindings
openapi: 3.1.0
info:
  title: Feather API
  description: >-
    Unified customer experience platform API. Manages identity, conversations,
    memory, agents, procedures, policies, model routing, knowledge bases,
    integrations, and runtime execution.
  version: 1.21.0
servers:
  - url: https://api-sandbox.featherhq.com
    description: Sandbox
  - url: http://localhost:8000
    description: Local dev
security: []
paths:
  /v1/evaluator-bindings:
    post:
      tags:
        - evals
        - evals
      summary: Create an evaluator binding
      operationId: createEvaluatorBinding
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EvaluatorBindingCreate'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EvaluatorBindingResponse'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - APIKeyHeader: []
components:
  schemas:
    EvaluatorBindingCreate:
      properties:
        evaluator_id:
          type: string
          format: uuid
          title: Evaluator Id
        scope:
          type: string
          enum:
            - scenario
            - agent
          title: Scope
        scenario_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Scenario Id
        agent_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Agent Id
        is_critical:
          type: boolean
          title: Is Critical
          default: false
      type: object
      required:
        - evaluator_id
        - scope
      title: EvaluatorBindingCreate
      description: >-
        Create a binding scoped to either a scenario or an agent.


        The ``scope`` discriminator must match the populated id:
        scope='scenario'

        requires ``scenario_id`` and forbids ``agent_id`` (and vice-versa).


        ``is_critical=True`` marks this binding's runs as load-bearing for the

        session's headline success/partial/failure verdict. Non-critical
        bindings

        still run and display, but don't move the session pill.
    EvaluatorBindingResponse:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        organization_id:
          type: string
          format: uuid
          title: Organization Id
        evaluator_id:
          type: string
          format: uuid
          title: Evaluator Id
        scope:
          type: string
          title: Scope
        scenario_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Scenario Id
        agent_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Agent Id
        is_critical:
          type: boolean
          title: Is Critical
        created_at:
          type: string
          format: date-time
          title: Created At
      type: object
      required:
        - id
        - organization_id
        - evaluator_id
        - scope
        - scenario_id
        - agent_id
        - is_critical
        - created_at
      title: EvaluatorBindingResponse
    ErrorResponse:
      properties:
        error:
          type: string
          title: Error
        message:
          type: string
          title: Message
      type: object
      required:
        - error
        - message
      title: ErrorResponse
      description: Standard error response returned by all API error handlers.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: x-api-key

````