---
title: "List patterns configurations"
method: GET
path: "/api/v2/llm-obs/v1/topic-discovery-configs"
tags: ["LLM Observability"]
---

# List patterns configurations

`GET /api/v2/llm-obs/v1/topic-discovery-configs`

List all patterns configurations for the organization.

## Response `200`

OK

- LLMObsPatternsConfigsResponse — Response containing a list of LLM Observability patterns configurations.
  - `data` LLMObsPatternsConfigsResponseData, required — Data object of a list of LLM Observability patterns configurations.
    - `attributes` LLMObsPatternsConfigsResponseAttributes, required — Attributes of a list of LLM Observability patterns configurations.
      - `configs` LLMObsPatternsConfigItem[], required — List of patterns configurations.
        - `account_id` string, nullable — Integration account ID for a bring-your-own-model configuration.
        - `created_at` string, date-time, required — Timestamp when the configuration was created.
        - `evp_query` string, required — Query that selects the spans the patterns run analyzes.
        - `hierarchy_depth` integer, required — Depth of the topic hierarchy to generate.
        - `id` string, required — Unique identifier of the configuration.
        - `integration_provider` string, nullable — Integration provider for a bring-your-own-model configuration.
        - `model_name` string, nullable — Model name for a bring-your-own-model configuration.
        - `name` string, required — Name of the configuration.
        - `num_records` integer, required — Maximum number of records to process for the run.
        - `sampling_ratio` number, double, required — Fraction of matching spans to sample for the run.
        - `scope` string, required — Scope of the configuration.
        - `template` string, nullable — Template used to guide topic generation.
        - `updated_at` string, date-time, required — Timestamp when the configuration was last updated.
    - `id` string, required — Identifier of the list response.
    - `type` 'list_topic_discovery_configs_response', required — Resource type of a list of LLM Observability patterns configurations.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `429` — Too many requests
- `500` — Internal Server Error

---

[API](https://skmtc.net/datadog/apis/api-v2.md) · [All operations](https://skmtc.net/datadog/apis/api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/datadog/api-v2/revisions/da68bf029e4c/schema)
