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

      • Overview
      • List articles
      • Get articles by IDs
      • POST
        Create article
      • Update article
      • POST
        Create article draft
      • Publish article draft
      • List article history
      • Get article history version
      • Revert article version
      • DEL
        Delete article

    Updates

    • Changelog
      Draft
    Articles

    Overview

    > ## 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.
    
    # Overview
    
    > Section hub for reading, creating, updating, drafting, publishing, and deleting articles.
    
    These routes manage articles directly in Fini's live knowledge graph.
    
    <Info>
      Use this section when you already know the article content you want to store or update directly. For source-backed generation, start from [Knowledge](/en/api-reference/knowledge) and the generation routes there.
    </Info>
    
    ## Reference pages
    
    <CardGroup cols={3}>
      <Card title="List articles" icon="list" href="/en/api-reference/list-articles">
        `GET /v2/hc-articles/public` — list live articles, draft articles, or both.
      </Card>
    
      <Card title="Get articles by IDs" icon="eye" href="/en/api-reference/get-articles-by-ids">
        `POST /v2/hc-articles/ids/public` — fetch one or more articles by ID.
      </Card>
    
      <Card title="Create article" icon="plus" href="/en/api-reference/create-article">
        `POST /v2/hc-articles/public` — create a live article or draft article.
      </Card>
    
      <Card title="Update article" icon="pen" href="/en/api-reference/update-article">
        `PUT /v2/hc-articles/:id/public` — update an existing article.
      </Card>
    
      <Card title="Create article draft" icon="file" href="/en/api-reference/create-article-draft">
        `POST /v2/hc-articles/:id/draft/public` — create a draft from an existing article.
      </Card>
    
      <Card title="Publish article draft" icon="paper-plane" href="/en/api-reference/publish-article-draft">
        `POST /v2/hc-articles/:id/publish/public` — publish a draft article.
      </Card>
    
      <Card title="Delete article" icon="trash" href="/en/api-reference/delete-article">
        `DELETE /v2/hc-articles/:id/public` — delete an article.
      </Card>
    </CardGroup>
    
    ## Endpoint map
    
    | Method | Path | Scope | Purpose |
    | - | - | - | - |
    | `GET` | `/v2/hc-articles/public` | `read` | List articles. Use `type=live` or `type=draft` to filter. |
    | `POST` | `/v2/hc-articles/ids/public` | `read` | Fetch one or more articles by ID. |
    | `POST` | `/v2/hc-articles/public` | `write` | Create a live article or draft article. |
    | `PUT` | `/v2/hc-articles/:id/public` | `write` | Update an existing article. |
    | `POST` | `/v2/hc-articles/:id/draft/public` | `write` | Create a draft from an existing article. |
    | `POST` | `/v2/hc-articles/:id/publish/public` | `write` | Publish a draft article. |
    | `DELETE` | `/v2/hc-articles/:id/public` | `write` | Delete an article. |
    
    <Note>
      There is no workspace-API-key `GET /v2/hc-articles/:id/public` route in the current controller. If you want to fetch by ID, use `POST /v2/hc-articles/ids/public` with one or more `articleIds`.
    </Note>
    
    ## Article object
    
    <ResponseField name="id" type="string">
      Article ID.
    </ResponseField>
    
    <ResponseField name="title" type="string">
      Article title.
    </ResponseField>
    
    <ResponseField name="mainKnowledge" type="string">
      Main knowledge body.
    </ResponseField>
    
    <ResponseField name="agentInstruction" type="string">
      Additional instructions the agent should apply when using this article.
    </ResponseField>
    
    <ResponseField name="questions" type="array">
      Question prompts associated with the article.
    </ResponseField>
    
    <ResponseField name="keywords" type="array">
      Keyword list associated with the article.
    </ResponseField>
    
    <ResponseField name="escalation" type="boolean">
      Whether the article is marked as escalation-related.
    </ResponseField>
    
    <ResponseField name="misc" type="object">
      Internal metadata stored with the article. Source-backed generation and draft flows may use this to retain linkage data.
    </ResponseField>
    
    <ResponseField name="active" type="boolean">
      Whether the article is active.
    </ResponseField>
    
    <ResponseField name="public" type="boolean">
      Whether the article is public in the help center.
    </ResponseField>
    
    <ResponseField name="parentFolderId" type="string">
      Folder that contains the article.
    </ResponseField>
    
    <ResponseField name="companyId" type="string">
      Workspace ID that owns the article.
    </ResponseField>
    
    <ResponseField name="createdAt" type="string">
      ISO 8601 creation timestamp.
    </ResponseField>
    
    <ResponseField name="updatedAt" type="string">
      ISO 8601 last-update timestamp.
    </ResponseField>
    
    <ResponseField name="version" type="integer">
      Article version, when versioning metadata is available.
    </ResponseField>
    
    <ResponseField name="isDraftPublished" type="boolean">
      Whether the draft has already been published, when applicable.
    </ResponseField>
    
    <ResponseField name="originalArticleId" type="string">
      Original live article ID when this object is a draft of an existing article.
    </ResponseField>
    
    <ResponseField name="originalArticleVersion" type="integer">
      Version of the original live article when this draft was created.
    </ResponseField>
    
    <ResponseField name="createdBy" type="string">
      User ID that created the article, when stored.
    </ResponseField>
    
    <ResponseField name="updatedBy" type="string">
      User ID that last updated the article, when stored.
    </ResponseField>
    
    <ResponseField name="origin" type="string">
      Stored article origin. Current values are `MANUAL_ARTICLE`, `API_CREATED`, `MAGIC_ARTICLE`, `SOURCE_IMPORT`, `INBOX_SUGGESTION`, `FIX_REVIEW`, `OVERNIGHT_GENERATION`, and `FINI_SCOUT`.
    </ResponseField>
    
    <Note>
      Use the child pages in this section for the detailed request and response reference for each route.
    </Note>
    
    
    ## Related topics
    
    - [Overview](/en/api-reference/tags.md)
    
    
    This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.
    
    Check knowledge jobs
    List articles
    Powered byThis documentation is built and hosted on Mintlify, a developer documentation platform