---
title: "GET /api/v1/config/datasets/{slug}"
method: GET
path: "/api/v1/config/datasets/{slug}"
tags: ["Dataset"]
---

# GET /api/v1/config/datasets/{slug}

`GET /api/v1/config/datasets/{slug}`

## Path parameters

- `slug` string, required

## Response `200`

A successful response.

- Configv1ReadDatasetResponse
  - `dataset` Configv1Dataset
    - `configuration` DatasetDatasetConfiguration
      - `log_dataset` Configv1LogDataset
        - `match_criteria` Configv1LogSearchFilter
          - `query` string — Returns logs that match this query. The query can include only top-level operations. Nested clauses aren't supported. Only one type of `AND` or `OR` operator is allowed.
      - `trace_dataset` Configv1TraceDataset
        - `match_criteria` Configv1TraceSearchFilter
          - `scope_filter` TraceSearchFilterScopeFilter
            - `span_scopes` TraceSearchFilterSpanFilter[] — Specifies the span filters that define which spans contribute to the metrics calculation. Only spans matching these filters will be included in the metrics aggregation.
              - …
          - `span` TraceSearchFilterSpanFilter[] — Specifies the span conditions to match on. All conditions must be true in a single span for the span to be considered a match. If `span_count` is specified, the number of spans within the trace that match span conditions must be within `[min, max]`. You can specify multiple span conditions, and each can be satisfied by any number of spans within the trace.
            - `duration` TraceSearchFilterDurationFilter
              - …
            - `error` TraceSearchFilterBoolFilter
              - …
            - `is_root_span` TraceSearchFilterBoolFilter
              - …
            - `match_type` 'INCLUDE' | 'EXCLUDE'
            - `operation` TraceSearchFilterStringFilter
              - …
            - `parent_operation` TraceSearchFilterStringFilter
              - …
            - `parent_service` TraceSearchFilterStringFilter
              - …
            - `service` TraceSearchFilterStringFilter
              - …
            - `span_count` TraceSearchFilterCountFilter
              - …
            - `tags` TraceSearchFilterTagFilter[] — Matches the tags of the candidate span.
              - …
          - `trace` TraceSearchFilterTraceFilter
            - `duration` TraceSearchFilterDurationFilter
              - …
            - `error` TraceSearchFilterBoolFilter
              - …
      - `type` 'TRACES' | 'LOGS'
    - `created_at` string, date-time — Timestamp of when the Dataset was created. Cannot be set by clients.
    - `description` string — Required. Description of the dataset.
    - `name` string, required — The name of the Dataset. You can modify this value after the Dataset is created.
    - `slug` string — The unique identifier of the Dataset. If a `slug` isn't provided, one is generated based on the `name` field. You can't modify this field after the Dataset is created.
    - `updated_at` string, date-time — Timestamp of when the Dataset was last updated. Cannot be set by clients.

## Other responses

- `404` — Cannot read the Dataset because the slug does not exist.
- `500` — An unexpected error response.
- `default` — An undefined error response.

---

[API](https://skmtc.dev/chronosphere/apis/data-v1-api.md) · [All operations](https://skmtc.dev/chronosphere/apis/data-v1-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/chronosphere/data-v1-api/revisions/ee91fd539ced/schema)
