---
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`

## Request

- Base URL: `https://api.datadoghq.com`
- URL: `https://api.datadoghq.com/api/v2/llm-obs/v1/topic-discovery-configs`
- Auth: API key in header `DD-API-KEY` and API key in header `DD-APPLICATION-KEY`

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.dev/datadog/apis/datadog-api-v2-collection.md) - [All operations](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/llms.txt) - [OpenAPI document](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/revisions/da68bf029e4c?raw)
