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

# Get the field catalog for an organization

> Return the full catalog of sections and fields available for use inside conditional-field expressions, scoped to the requested type/sectionType. This is the autocomplete source for the expression editor.



## OpenAPI

````yaml /api-reference/openapi.yaml get /api/organizations/{organizationId}/conditional-fields/catalog
openapi: 3.0.3
info:
  title: Tether Relay and Tether API
  version: 1.0.0
  description: >-
    Route-derived OpenAPI contract generated from tether-relay backend sources.
    Regenerate with scripts/sync-openapi-from-backend.mjs.
servers:
  - url: https://your-instance.example.com
    description: Production
  - url: http://localhost:2212
    description: Local API service
security: []
tags:
  - name: AI
  - name: Applications
  - name: Approval
  - name: Auth
  - name: Automations
  - name: Calls
  - name: Campaigns
  - name: Contact Analytics
  - name: Contact Metrics
  - name: Contact Notes
  - name: Contacts
  - name: Conversation Monitor
  - name: Conversations
  - name: Departments
  - name: Email
  - name: Escalation Dashboard
  - name: Event Logs
  - name: Google Sheets
  - name: Marketplace
  - name: Messages
  - name: Notification Sounds
  - name: Notifications
  - name: Org Snapshots
  - name: Organizations
  - name: Outreach
  - name: Outreach Metrics
  - name: Outreach Sources
  - name: Pipelines
  - name: Processes
  - name: Prompts
  - name: Reminders
  - name: Sms
  - name: Templates
  - name: Traces
  - name: Training
  - name: Upload
  - name: User Snapshots
  - name: Users
  - name: Vertical
  - name: Webchats
  - name: Webhook
paths:
  /api/organizations/{organizationId}/conditional-fields/catalog:
    get:
      tags:
        - ConditionalFields
      summary: Get the field catalog for an organization
      description: >-
        Return the full catalog of sections and fields available for use inside
        conditional-field expressions, scoped to the requested type/sectionType.
        This is the autocomplete source for the expression editor.
      operationId: get_conditional_fields_catalog
      parameters:
        - in: path
          name: organizationId
          required: true
          schema:
            type: string
        - in: query
          name: type
          required: false
          schema:
            type: string
        - in: query
          name: sectionType
          required: false
          schema:
            type: string
      responses:
        '200':
          description: Catalog returned
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConditionalFieldCatalogResponse'
        '400':
          description: Organization id is required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConditionalFieldErrorResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConditionalFieldErrorResponse'
      security:
        - bearerAuth: []
components:
  schemas:
    ConditionalFieldCatalogResponse:
      type: object
      properties:
        sections:
          type: array
          items:
            type: object
            additionalProperties: true
        fields:
          type: array
          items:
            type: object
            additionalProperties: true
      additionalProperties: true
      example:
        sections:
          - id: contact.identity
            name: Identity
        fields:
          - id: contact.age
            sectionId: contact.identity
            type: number
          - id: contact.country
            sectionId: contact.identity
            type: string
    ConditionalFieldErrorResponse:
      type: object
      description: >-
        Error envelope returned by conditional-field endpoints. Mirrors
        `handleError` in the controller: `error` carries the human-readable
        message and `diagnostics` is set on validation failures.
      properties:
        error:
          type: string
        diagnostics:
          type: object
          additionalProperties: true
      required:
        - error
      additionalProperties: true
      example:
        error: Expression validation failed
        diagnostics:
          issues:
            - message: Unknown field `contact.country2`
              line: 1
              column: 22
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````