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

# Report the agent manifest

> Sent when the worker starts: what the agent is, the config schema the agent page renders a form from, its default config, declared variables and usage tags. The latest manifest wins.



## OpenAPI

````yaml https://api.pathors.com/openapi.json put /v1/projects/{projectId}/custom-agent/manifest
openapi: 3.1.0
info:
  title: Pathors API
  description: >-
    Public developer API for the Pathors platform. Authenticate with a developer
    key (`Authorization: Bearer dk_...`) created from the dashboard. See
    [docs.pathors.com](https://docs.pathors.com) for guides.
  version: 1.0.0
  contact:
    name: Pathors Support
    url: https://app.pathors.com/support
servers:
  - url: https://api.pathors.com
    description: Production
  - url: http://localhost:8080
    description: Local development
security:
  - developerKey: []
tags:
  - name: Projects
    description: CRUD for projects owned by the authenticated developer
  - name: Agent Config
    description: Read and update a project's agent configuration and versions
  - name: Pathway
    description: Manage a project's pathway graph — nodes and decision edges
  - name: Chat
    description: OpenAI-compatible chat completions for a project agent
  - name: Sessions
    description: Create, search, terminate, and inspect agent sessions
  - name: Session History
    description: Browse and inspect persisted session history
  - name: Tools
    description: Manage a project's tools and inspect available tool types
  - name: Knowledgebases
    description: Manage knowledgebases and query them for relevant chunks
  - name: Datasets
    description: Upload and manage source files embedded into a knowledgebase
  - name: Test Cases
    description: CRUD for agent test cases
  - name: Test Suites
    description: Group test cases, run them, and read results
  - name: Webhooks
    description: Manage webhook subscriptions for project events
  - name: Calls
    description: Place outbound voice calls from a project agent
  - name: Campaigns
    description: Create and activate outbound campaigns that dial a call list
paths:
  /v1/projects/{projectId}/custom-agent/manifest:
    put:
      tags:
        - Custom Agent
      summary: Report the agent manifest
      description: >-
        Sent when the worker starts: what the agent is, the config schema the
        agent page renders a form from, its default config, declared variables
        and usage tags. The latest manifest wins.
      operationId: putV1ProjectsByProjectIdCustomAgentManifest
      parameters:
        - name: projectId
          in: path
          required: true
          schema:
            type: string
          description: The ID of your project
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $schema: https://json-schema.org/draft/2020-12/schema
              type: object
              properties:
                protocol:
                  type: string
                  const: pathors-agent/0
                agent:
                  type: object
                  properties:
                    name:
                      type: string
                      minLength: 1
                      maxLength: 128
                    version:
                      type: string
                      minLength: 1
                      maxLength: 64
                    build:
                      type: string
                      maxLength: 64
                    runtime:
                      type: string
                      maxLength: 64
                    sdk:
                      type: string
                      maxLength: 64
                  required:
                    - name
                    - version
                dispatch:
                  type: object
                  properties:
                    livekitAgentName:
                      type: string
                      maxLength: 128
                configSchema:
                  default:
                    type: object
                    properties: {}
                  type: object
                  properties:
                    type:
                      type: string
                      const: object
                    properties:
                      default: {}
                      type: object
                      propertyNames:
                        type: string
                        minLength: 1
                        maxLength: 64
                      additionalProperties:
                        anyOf:
                          - anyOf:
                              - type: object
                                properties:
                                  type:
                                    type: string
                                    const: string
                                  enum:
                                    minItems: 1
                                    maxItems: 100
                                    type: array
                                    items:
                                      type: string
                                  minLength:
                                    type: integer
                                    minimum: 0
                                    maximum: 9007199254740991
                                  maxLength:
                                    type: integer
                                    minimum: 0
                                    maximum: 9007199254740991
                                  default:
                                    type: string
                                  title:
                                    type: string
                                    maxLength: 120
                                  description:
                                    type: string
                                    maxLength: 400
                                  x-ui:
                                    type: object
                                    properties:
                                      widget:
                                        type: string
                                        enum:
                                          - text
                                          - textarea
                                          - template
                                          - number
                                          - switch
                                          - select
                                          - string-list
                                          - template-list
                                      group:
                                        type: string
                                        maxLength: 80
                                      order:
                                        type: number
                                      help:
                                        type: string
                                        maxLength: 400
                                      placeholders:
                                        maxItems: 64
                                        type: array
                                        items:
                                          type: string
                                          pattern: ^[A-Za-z_]\w*$
                                    additionalProperties: {}
                                required:
                                  - type
                                additionalProperties: {}
                              - type: object
                                properties:
                                  type:
                                    type: string
                                    enum:
                                      - number
                                      - integer
                                  minimum:
                                    type: number
                                  maximum:
                                    type: number
                                  default:
                                    type: number
                                  title:
                                    type: string
                                    maxLength: 120
                                  description:
                                    type: string
                                    maxLength: 400
                                  x-ui:
                                    type: object
                                    properties:
                                      widget:
                                        type: string
                                        enum:
                                          - text
                                          - textarea
                                          - template
                                          - number
                                          - switch
                                          - select
                                          - string-list
                                          - template-list
                                      group:
                                        type: string
                                        maxLength: 80
                                      order:
                                        type: number
                                      help:
                                        type: string
                                        maxLength: 400
                                      placeholders:
                                        maxItems: 64
                                        type: array
                                        items:
                                          type: string
                                          pattern: ^[A-Za-z_]\w*$
                                    additionalProperties: {}
                                required:
                                  - type
                                additionalProperties: {}
                              - type: object
                                properties:
                                  type:
                                    type: string
                                    const: boolean
                                  default:
                                    type: boolean
                                  title:
                                    type: string
                                    maxLength: 120
                                  description:
                                    type: string
                                    maxLength: 400
                                  x-ui:
                                    type: object
                                    properties:
                                      widget:
                                        type: string
                                        enum:
                                          - text
                                          - textarea
                                          - template
                                          - number
                                          - switch
                                          - select
                                          - string-list
                                          - template-list
                                      group:
                                        type: string
                                        maxLength: 80
                                      order:
                                        type: number
                                      help:
                                        type: string
                                        maxLength: 400
                                      placeholders:
                                        maxItems: 64
                                        type: array
                                        items:
                                          type: string
                                          pattern: ^[A-Za-z_]\w*$
                                    additionalProperties: {}
                                required:
                                  - type
                                additionalProperties: {}
                              - type: object
                                properties:
                                  type:
                                    type: string
                                    const: array
                                  items:
                                    type: object
                                    properties:
                                      type:
                                        type: string
                                        const: string
                                      maxLength:
                                        type: integer
                                        minimum: 0
                                        maximum: 9007199254740991
                                    required:
                                      - type
                                    additionalProperties: {}
                                  minItems:
                                    type: integer
                                    minimum: 0
                                    maximum: 9007199254740991
                                  maxItems:
                                    type: integer
                                    minimum: 0
                                    maximum: 9007199254740991
                                  default:
                                    type: array
                                    items:
                                      type: string
                                  title:
                                    type: string
                                    maxLength: 120
                                  description:
                                    type: string
                                    maxLength: 400
                                  x-ui:
                                    type: object
                                    properties:
                                      widget:
                                        type: string
                                        enum:
                                          - text
                                          - textarea
                                          - template
                                          - number
                                          - switch
                                          - select
                                          - string-list
                                          - template-list
                                      group:
                                        type: string
                                        maxLength: 80
                                      order:
                                        type: number
                                      help:
                                        type: string
                                        maxLength: 400
                                      placeholders:
                                        maxItems: 64
                                        type: array
                                        items:
                                          type: string
                                          pattern: ^[A-Za-z_]\w*$
                                    additionalProperties: {}
                                required:
                                  - type
                                  - items
                                additionalProperties: {}
                          - type: object
                            properties:
                              type:
                                type: string
                                const: object
                              properties:
                                type: object
                                propertyNames:
                                  type: string
                                  minLength: 1
                                  maxLength: 64
                                additionalProperties:
                                  anyOf:
                                    - type: object
                                      properties:
                                        type:
                                          type: string
                                          const: string
                                        enum:
                                          minItems: 1
                                          maxItems: 100
                                          type: array
                                          items:
                                            type: string
                                        minLength:
                                          type: integer
                                          minimum: 0
                                          maximum: 9007199254740991
                                        maxLength:
                                          type: integer
                                          minimum: 0
                                          maximum: 9007199254740991
                                        default:
                                          type: string
                                        title:
                                          type: string
                                          maxLength: 120
                                        description:
                                          type: string
                                          maxLength: 400
                                        x-ui:
                                          type: object
                                          properties:
                                            widget:
                                              type: string
                                              enum:
                                                - text
                                                - textarea
                                                - template
                                                - number
                                                - switch
                                                - select
                                                - string-list
                                                - template-list
                                            group:
                                              type: string
                                              maxLength: 80
                                            order:
                                              type: number
                                            help:
                                              type: string
                                              maxLength: 400
                                            placeholders:
                                              maxItems: 64
                                              type: array
                                              items:
                                                type: string
                                                pattern: ^[A-Za-z_]\w*$
                                          additionalProperties: {}
                                      required:
                                        - type
                                      additionalProperties: {}
                                    - type: object
                                      properties:
                                        type:
                                          type: string
                                          enum:
                                            - number
                                            - integer
                                        minimum:
                                          type: number
                                        maximum:
                                          type: number
                                        default:
                                          type: number
                                        title:
                                          type: string
                                          maxLength: 120
                                        description:
                                          type: string
                                          maxLength: 400
                                        x-ui:
                                          type: object
                                          properties:
                                            widget:
                                              type: string
                                              enum:
                                                - text
                                                - textarea
                                                - template
                                                - number
                                                - switch
                                                - select
                                                - string-list
                                                - template-list
                                            group:
                                              type: string
                                              maxLength: 80
                                            order:
                                              type: number
                                            help:
                                              type: string
                                              maxLength: 400
                                            placeholders:
                                              maxItems: 64
                                              type: array
                                              items:
                                                type: string
                                                pattern: ^[A-Za-z_]\w*$
                                          additionalProperties: {}
                                      required:
                                        - type
                                      additionalProperties: {}
                                    - type: object
                                      properties:
                                        type:
                                          type: string
                                          const: boolean
                                        default:
                                          type: boolean
                                        title:
                                          type: string
                                          maxLength: 120
                                        description:
                                          type: string
                                          maxLength: 400
                                        x-ui:
                                          type: object
                                          properties:
                                            widget:
                                              type: string
                                              enum:
                                                - text
                                                - textarea
                                                - template
                                                - number
                                                - switch
                                                - select
                                                - string-list
                                                - template-list
                                            group:
                                              type: string
                                              maxLength: 80
                                            order:
                                              type: number
                                            help:
                                              type: string
                                              maxLength: 400
                                            placeholders:
                                              maxItems: 64
                                              type: array
                                              items:
                                                type: string
                                                pattern: ^[A-Za-z_]\w*$
                                          additionalProperties: {}
                                      required:
                                        - type
                                      additionalProperties: {}
                                    - type: object
                                      properties:
                                        type:
                                          type: string
                                          const: array
                                        items:
                                          type: object
                                          properties:
                                            type:
                                              type: string
                                              const: string
                                            maxLength:
                                              type: integer
                                              minimum: 0
                                              maximum: 9007199254740991
                                          required:
                                            - type
                                          additionalProperties: {}
                                        minItems:
                                          type: integer
                                          minimum: 0
                                          maximum: 9007199254740991
                                        maxItems:
                                          type: integer
                                          minimum: 0
                                          maximum: 9007199254740991
                                        default:
                                          type: array
                                          items:
                                            type: string
                                        title:
                                          type: string
                                          maxLength: 120
                                        description:
                                          type: string
                                          maxLength: 400
                                        x-ui:
                                          type: object
                                          properties:
                                            widget:
                                              type: string
                                              enum:
                                                - text
                                                - textarea
                                                - template
                                                - number
                                                - switch
                                                - select
                                                - string-list
                                                - template-list
                                            group:
                                              type: string
                                              maxLength: 80
                                            order:
                                              type: number
                                            help:
                                              type: string
                                              maxLength: 400
                                            placeholders:
                                              maxItems: 64
                                              type: array
                                              items:
                                                type: string
                                                pattern: ^[A-Za-z_]\w*$
                                          additionalProperties: {}
                                      required:
                                        - type
                                        - items
                                      additionalProperties: {}
                              required:
                                type: array
                                items:
                                  type: string
                              title:
                                type: string
                                maxLength: 120
                              description:
                                type: string
                                maxLength: 400
                              x-ui:
                                type: object
                                properties:
                                  widget:
                                    type: string
                                    enum:
                                      - text
                                      - textarea
                                      - template
                                      - number
                                      - switch
                                      - select
                                      - string-list
                                      - template-list
                                  group:
                                    type: string
                                    maxLength: 80
                                  order:
                                    type: number
                                  help:
                                    type: string
                                    maxLength: 400
                                  placeholders:
                                    maxItems: 64
                                    type: array
                                    items:
                                      type: string
                                      pattern: ^[A-Za-z_]\w*$
                                additionalProperties: {}
                            required:
                              - type
                              - properties
                            additionalProperties: {}
                    required:
                      type: array
                      items:
                        type: string
                  required:
                    - type
                  additionalProperties: {}
                defaultConfig:
                  default: {}
                  type: object
                  propertyNames:
                    type: string
                  additionalProperties: {}
                variables:
                  default: []
                  maxItems: 200
                  type: array
                  items:
                    type: object
                    properties:
                      key:
                        type: string
                        minLength: 1
                        maxLength: 128
                      type:
                        default: string
                        type: string
                        maxLength: 32
                      description:
                        type: string
                        maxLength: 400
                    required:
                      - key
                usageTags:
                  default: []
                  maxItems: 100
                  type: array
                  items:
                    type: object
                    properties:
                      tag:
                        type: string
                        minLength: 1
                        maxLength: 64
                        pattern: ^[\w.:-]+$
                      description:
                        type: string
                        maxLength: 400
                    required:
                      - tag
                capabilities:
                  default: []
                  maxItems: 50
                  type: array
                  items:
                    type: string
                    minLength: 1
                    maxLength: 64
                tools:
                  default: []
                  maxItems: 100
                  type: array
                  items:
                    type: object
                    properties:
                      name:
                        type: string
                        minLength: 1
                        maxLength: 128
                      required:
                        default: false
                        type: boolean
                      phase:
                        type: string
                        enum:
                          - before_start
                          - conversation
                      description:
                        type: string
                        maxLength: 400
                    required:
                      - name
              required:
                - protocol
                - agent
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      manifestHash:
                        type: string
                        description: '`sha256:<hex>` of the canonical manifest'
                      configVersion:
                        type: integer
                        minimum: -9007199254740991
                        maximum: 9007199254740991
                    required:
                      - manifestHash
                      - configVersion
                required:
                  - data
        '400':
          description: Error
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      details: {}
                    required:
                      - code
                      - message
                required:
                  - error
        '401':
          description: Error
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      details: {}
                    required:
                      - code
                      - message
                required:
                  - error
        '403':
          description: Error
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      details: {}
                    required:
                      - code
                      - message
                required:
                  - error
        '409':
          description: Error
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      details: {}
                    required:
                      - code
                      - message
                required:
                  - error
        '413':
          description: Error
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      details: {}
                    required:
                      - code
                      - message
                required:
                  - error
components:
  securitySchemes:
    developerKey:
      type: http
      scheme: bearer
      bearerFormat: Developer key (dk_...)
      description: Developer key created from the dashboard (Settings → Developer Keys)

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.