> ## 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.

# Get tag

> Fetch one tag by ID.

Fetches one [`Tag`](/en/api-reference/tags#tag-object) by ID.

## Headers

<ParamField header="Authorization" type="string" required>
  Bearer token containing your Fini workspace API key. Format: `Bearer fini_...` The key needs `read` scope.
</ParamField>

## Path parameters

<ParamField path="id" type="string" required>
  Tag ID to fetch.
</ParamField>

<RequestExample>
  ```bash cURL theme={null}
  curl --request GET \
    --url 'https://api-prod.usefini.com/v2/tags/76f90f08-7857-4853-bc17-2f1487516a3d/public' \
    --header 'Authorization: Bearer fini_your_api_key'
  ```

  ```python Python theme={null}
  import requests

  tag_id = "76f90f08-7857-4853-bc17-2f1487516a3d"
  response = requests.get(
      f"https://api-prod.usefini.com/v2/tags/{tag_id}/public",
      headers={"Authorization": "Bearer fini_your_api_key"},
  )
  tag = response.json()
  ```

  ```javascript Node.js theme={null}
  const tagId = "76f90f08-7857-4853-bc17-2f1487516a3d";

  const response = await fetch(
    `https://api-prod.usefini.com/v2/tags/${tagId}/public`,
    {
      headers: {
        Authorization: "Bearer fini_your_api_key",
      },
    }
  );
  const tag = await response.json();
  ```
</RequestExample>

## Response

Returns one [`Tag`](/en/api-reference/tags#tag-object).

<ResponseExample>
  ```json 200 OK theme={null}
  {
    "id": "76f90f08-7857-4853-bc17-2f1487516a3d",
    "createdAt": "2026-06-12T10:16:00.000Z",
    "tagGroupId": "4fbcebbd-693d-4fb8-84b2-c8fd0edee4c5",
    "tagName": "Track Order",
    "tagDescription": "Use when the customer is asking where an existing order is."
  }
  ```

  ```json 200 OK (unknown ID) theme={null}
  null
  ```
</ResponseExample>

<Note>
  Current controller behavior: unknown tag IDs currently return `200 OK` with `null` on this public route rather than a dedicated `404 Not Found`.
</Note>

## 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 the tag from storage.
  </Accordion>
</AccordionGroup>
