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

# Get Routing Manifest

> Return assembled routing manifests from all active agent types.

Queries all agent types for the organization and filters to those
with conversation_routing configured, returning their routing rules.
The tenant SurrealDB namespace keyed by the authenticated caller's
organization is the isolation boundary — the dependency on
``get_surrealdb_client`` resolves the right namespace through the
auth chain.

Returns:
    RoutingManifest with entries for each eligible agent type.



## OpenAPI

````yaml https://api.pragmatiks.io/openapi.json get /agents/routing-manifest
openapi: 3.1.0
info:
  title: Pragma API
  version: 0.1.0
servers: []
security: []
paths:
  /agents/routing-manifest:
    get:
      tags:
        - conversation-routing
      summary: Get Routing Manifest
      description: |-
        Return assembled routing manifests from all active agent types.

        Queries all agent types for the organization and filters to those
        with conversation_routing configured, returning their routing rules.
        The tenant SurrealDB namespace keyed by the authenticated caller's
        organization is the isolation boundary — the dependency on
        ``get_surrealdb_client`` resolves the right namespace through the
        auth chain.

        Returns:
            RoutingManifest with entries for each eligible agent type.
      operationId: conversation-routing-get_routing_manifest
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RoutingManifest'
components:
  schemas:
    RoutingManifest:
      properties:
        entries:
          items:
            $ref: '#/components/schemas/RoutingManifestEntry'
          type: array
          title: Entries
      type: object
      required:
        - entries
      title: RoutingManifest
      description: >-
        Assembled routing manifests from all active agent types with
        conversation routing.


        Attributes:
            entries: List of routing manifest entries, one per eligible agent type.
    RoutingManifestEntry:
      properties:
        agent_type_id:
          type: string
          title: Agent Type Id
        agent_type_name:
          type: string
          title: Agent Type Name
        when:
          type: string
          title: When
        examples:
          items:
            type: string
          type: array
          title: Examples
        avoid:
          anyOf:
            - type: string
            - type: 'null'
          title: Avoid
      type: object
      required:
        - agent_type_id
        - agent_type_name
        - when
        - examples
      title: RoutingManifestEntry
      description: |-
        A single agent type's routing rules for conversation assignment.

        Attributes:
            agent_type_id: SurrealDB record ID of the agent type.
            agent_type_name: Human-readable display name of the agent type.
            when: Natural language description of when this agent should handle a conversation.
            examples: Example messages that should route to this agent.
            avoid: Natural language description of messages this agent should not handle.

````