Documentation Index

Fetch the complete documentation index at: /llms.txt

Use this file to discover all available pages before exploring further.

LOCAL DRAFT PREVIEW. Not published. Pages tagged Draft are new, pages tagged Updated have additions. Yellow 'To confirm' boxes are internal questions.

Fini home pagelight logodark logo
    Documentation
    Use cases
    Trust & pricing
    API reference

    API Setup

    • API overview
    • API contract
    • Static IP Addresses
    • Database and Warehouse Connections
    • MCP Connections

    LLM Access

    • Coding agents
    • Claude Plugin

    Agents

    • Overview
    • POST
      Create agent
    • List agents
    • DEL
      Delete agent

    Analytics

    • Overview
    • Get agent analytics
    • Get agent analytics section

    Prompts

    • Overview
    • Get prompts
    • Get prompt history
    • Get prompt version
    • Update prompts
    • POST
      Create prompt draft version
    • Get prompt draft version
    • Publish prompt draft version
    • DEL
      Delete prompt draft version

    Actions

    • Overview
    • List actions
    • Get action
    • POST
      Create action
    • Update action
    • DEL
      Delete action
    • Test action
    • List agent assignments
    • POST
      Assign to agents

    Attributes

    • Overview
    • List attributes
    • Get attribute
    • POST
      Create attribute
    • Update attribute
    • DEL
      Delete attribute
    • Test attribute
    • List agent assignments
    • POST
      Assign to agents

    External API calls

    • Overview
    • List external API calls
    • Get external API call
    • POST
      Create external API call
    • Update external API call
    • DEL
      Delete external API call
    • Test external API call

    Intent Rules

    • Overview
    • List intent rules
    • Get intent rule
    • Get intent-rule fields context
    • POST
      Generate intent-rule draft with AI
    • POST
      Create intent rule
    • Update intent rule
    • List intent-rule versions
    • Get intent-rule version
    • Publish intent-rule draft
    • Restore intent-rule version as draft
    • DEL
      Delete intent-rule draft version
    • Get rule version test paths
    • Preview rule test paths
    • Run rule version test path
    • Run rule test path from config
    • DEL
      Delete intent rule

    Guardrails

    • Overview
    • List guardrail check types
    • List guardrail policies
    • Get guardrail policy
    • POST
      Create guardrail policy
    • Update guardrail policy
    • DEL
      Delete guardrail policy
    • List guardrail runs
    • Get guardrail hits

    Business Rules

    • Overview
    • List Business Rules
    • Get Business Rule
    • Get Business Rule fields context
    • List default Business Rules
    • POST
      Create Business Rule
    • POST
      Duplicate Business Rule
    • POST
      Evaluate Business Rule
    • Get Business Rule test fields
    • Preview Business Rule test fields
    • Update Business Rule
    • DEL
      Delete Business Rule

    Reply Rules

    • Overview
    • Get reply rules
    • Get reply rule fields context
    • Update reply rule

    Tag groups

    • Overview
    • List tag groups
    • Get tag group
    • POST
      Create tag group
    • Update tag group
    • DEL
      Delete tag group

    Tags

    • Overview
    • Get tag
    • List tags in group
    • List tags across groups
    • POST
      Create tag
    • Update tag
    • DEL
      Delete tag

    Conversations

    • Overview
    • List conversations
    • Get conversation
    • Get event metadata
    • POST
      Generate Answer
    • Send conversation feedback
    • Mark feedback resolved
    • POST
      Add feedback note
    • POST
      Evaluate conversation rule
    • DEL
      Delete conversation
    • DEL
      Bulk delete conversations

    Refine with AI

    • Overview
    • POST
      Create Refine with AI iteration
    • Get active Refine with AI session
    • Get Refine with AI session

    Replays

    • Replays
    • POST
      Create replay
    • List replays
    • Get replay
    • Get replay events

    Test Sets

    • Overview
    • List test sets
    • POST
      Create a test set
    • Get fields context
    • Get a test set
    • Update a test set
    • DEL
      Delete a test set
    • POST
      Add criteria
    • Update a criterion
    • DEL
      Delete a criterion
    • List runs
    • Start a run
    • Get a run

    Knowledge

    Updates

    • Changelog
      Draft
    Tag groups

    List tag groups

    > ## Documentation Index
    > Fetch the complete documentation index at: https://docs.usefini.com/llms.txt
    > Use this file to discover all available pages before exploring further.
    
    # List tag groups
    
    > List the tag groups visible to your workspace API key, including Fini defaults and workspace-owned custom groups.
    
    Returns every tag group visible to the workspace API key, ordered by `createdAt` descending.
    
    ## Headers
    
    <ParamField header="Authorization" type="string" required>
      Bearer token containing your Fini workspace API key. Format: `Bearer fini_...` The key needs `read` scope.
    </ParamField>
    
    <RequestExample>
      ~~~bash cURL theme={null}
      curl --request GET \
        --url 'https://api-prod.usefini.com/v2/tag-groups/public' \
        --header 'Authorization: Bearer fini_your_api_key'
      ~~~
    
      ~~~python Python theme={null}
      import requests
    
      response = requests.get(
          "https://api-prod.usefini.com/v2/tag-groups/public",
          headers={"Authorization": "Bearer fini_your_api_key"},
      )
      tag_groups = response.json()
      ~~~
    
      ~~~javascript Node.js theme={null}
      const response = await fetch(
        "https://api-prod.usefini.com/v2/tag-groups/public",
        {
          headers: {
            Authorization: "Bearer fini_your_api_key",
          },
        }
      );
      const tagGroups = await response.json();
      ~~~
    </RequestExample>
    
    ## Response
    
    The response is a top-level array of [`TagGroup`](/en/api-reference/tag-groups#taggroup-object) objects.
    
    <ResponseExample>
      ~~~json 200 OK theme={null}
      [
        {
          "id": "4fbcebbd-693d-4fb8-84b2-c8fd0edee4c5",
          "createdAt": "2026-06-12T10:14:22.000Z",
          "companyId": "38ba4db0-31db-4669-bb95-7b8313c4016b",
          "title": "Order Intent",
          "description": "Primary order-related intent used for routing and reporting.",
          "prompt": "Choose the single tag that best describes the customer's order request.",
          "multiselect": false,
          "updatedAt": "2026-06-12T10:14:22.000Z",
          "mandatory": false,
          "isOutputTagGroup": false
        },
        {
          "id": "a7f8e849-0a1c-4d95-a311-0cb1ffbe4b4d",
          "createdAt": "2026-05-01T08:00:00.000Z",
          "companyId": null,
          "title": "Conversation Status",
          "description": "Tracks the final state of the conversation.",
          "prompt": "Select the final conversation state based on the assistant's most recent handling outcome.",
          "multiselect": false,
          "updatedAt": "2026-05-01T08:00:00.000Z",
          "mandatory": true,
          "isOutputTagGroup": false
        }
      ]
      ~~~
    
      ~~~json 401 Unauthorized theme={null}
      {
        "statusCode": 401,
        "message": "Invalid or revoked API key",
        "error": "Unauthorized"
      }
      ~~~
    
      ~~~json 403 Forbidden theme={null}
      {
        "statusCode": 403,
        "message": "API key does not have the required scope for this operation",
        "error": "Forbidden"
      }
      ~~~
    </ResponseExample>
    
    ## Errors
    
    <AccordionGroup>
      <Accordion title="401 Unauthorized" icon="lock">
        The API key is missing, malformed, revoked, or invalid.
      </Accordion>
    
      <Accordion title="403 Forbidden" icon="shield-halved">
        The API key does not include the `read` scope required for this route.
      </Accordion>
    
      <Accordion title="500 Internal Server Error" icon="triangle-exclamation">
        Fini failed while loading tag groups from storage.
      </Accordion>
    </AccordionGroup>
    
    
    ## Related topics
    
    - [Overview](/en/api-reference/tag-groups.md)
    - [List tags in group](/en/api-reference/list-tags-in-group.md)
    - [List tags across groups](/en/api-reference/list-tags-across-groups.md)
    
    
    This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.
    
    Overview
    Get tag group
    Powered byThis documentation is built and hosted on Mintlify, a developer documentation platform