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

# Get tags

> Get every tag key and value seen on the project.

Get the `{key: list[string]}` facets of every tag dimension seen on the project. It concerns both run tags (the metadata you attach to your LLM calls) and [customer tags](/product/customer-tags).

## Parameters

<ParamField query="include_run_tags" type="boolean" default="true">
  Include run-tag facets. When `false`, `run_tags` is an empty object.
</ParamField>

<ParamField query="include_customer_tags" type="boolean" default="true">
  Include customer-tag facets. When `false`, `customer_tags` is an empty object.
</ParamField>

<RequestExample>
  ```python Python theme={null}
  import weflayr

  client = weflayr.client()  # reads WEFLAYR_API_KEY

  client.get_tags(include_run_tags=True, include_customer_tags=True)
  ```

  ```js Node.js theme={null}
  const weflayr = require('weflayr');

  const client = weflayr.client(); // reads WEFLAYR_API_KEY

  await weflayr.api.getTags({
    client,
    throwOnError: true,
    query: { includeRunTags: true, includeCustomerTags: true },
  });
  ```

  ```bash cURL theme={null}
  curl "https://app.weflayr.com/api/tags/" \
    -H "Authorization: Bearer $WEFLAYR_API_KEY"
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "run_tags": {"environment": ["production", "staging"]},
    "customer_tags": {"plan": ["enterprise", "free"], "region": ["EU", "US"]}
  }
  ```
</ResponseExample>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.