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

# Link evaluators to agent

> Link one or more existing evaluators to an agent, skipping any already linked



## OpenAPI

````yaml /api-reference/openapi.json post /agents/{agent_uuid}/evaluators
openapi: 3.1.0
info:
  title: Calibrate Public API
  version: 0.1.0
  description: Programmatic API for CI/automation. Pass your key in the `X-API-Key` header.
servers:
  - url: https://api.calibrate.artpark.ai
    description: Production
security: []
paths:
  /agents/{agent_uuid}/evaluators:
    post:
      tags:
        - agents
      summary: Link evaluators to agent
      description: >-
        Link one or more existing evaluators to an agent, skipping any already
        linked
      operationId: link_evaluators_to_agent_agents__agent_uuid__evaluators_post
      parameters:
        - name: agent_uuid
          in: path
          required: true
          schema:
            type: string
            description: The agent to link the evaluators to
            examples:
              - f47ac10b-58cc-4372-a567-0e02b2c3d479
            title: Agent Uuid
          description: The agent to link the evaluators to
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/routers__agents__EvaluatorLinkRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/routers__agents__EvaluatorLinkResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    routers__agents__EvaluatorLinkRequest:
      properties:
        evaluator_ids:
          items:
            type: string
            maxLength: 36
            minLength: 36
          type: array
          title: Evaluator Ids
          description: >-
            The evaluators to link to the agent. Ones that are already linked
            are skipped. Each must be one you created or a built-in default
          examples:
            - - f47ac10b-58cc-4372-a567-0e02b2c3d479
      type: object
      required:
        - evaluator_ids
      title: EvaluatorLinkRequest
    routers__agents__EvaluatorLinkResponse:
      properties:
        message:
          type: string
          title: Message
          description: Confirmation that the evaluators were linked
          examples:
            - Evaluators linked to agent
        linked:
          items:
            type: string
          type: array
          title: Linked
          description: Evaluator IDs newly linked by this request
        already_linked:
          items:
            type: string
          type: array
          title: Already Linked
          description: Evaluator IDs skipped because they were already linked
      type: object
      required:
        - message
        - linked
        - already_linked
      title: EvaluatorLinkResponse
    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
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: API key for authentication

````