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

# List dataset purposes

> The organization's dataset vocabulary: every purpose (dataset role) in use, its description, the dataset that established it, and how many datasets carry it. The discovery surface to consult before creating a dataset — if a purpose matching the data already exists, reuse its dataset rather than creating a sibling (one purpose maps to one dataset per org).



## OpenAPI

````yaml /api/openapi.json get /v1/datasets-purposes
openapi: 3.0.0
info:
  title: Erdo API
  description: >-
    Erdo's REST API: query and write datasets, run agents, manage threads,
    integrations, pages, evals, workstreams, and experiments. Authenticate with
    a Bearer API key (erdo_api_...) or scoped token (erdo_token_...).
  version: '2026-08-15'
servers:
  - url: https://api.erdo.ai
    description: Production
security:
  - bearerAuth: []
paths:
  /v1/datasets-purposes:
    get:
      tags:
        - Datasets
      summary: List dataset purposes
      description: >-
        The organization's dataset vocabulary: every purpose (dataset role) in
        use, its description, the dataset that established it, and how many
        datasets carry it. The discovery surface to consult before creating a
        dataset — if a purpose matching the data already exists, reuse its
        dataset rather than creating a sibling (one purpose maps to one dataset
        per org).
      operationId: listDatasetPurposes
      responses:
        '200':
          description: The org's dataset purposes.
          content:
            application/json:
              schema:
                type: object
                properties:
                  purposes:
                    type: array
                    items:
                      type: object
                      properties:
                        purpose:
                          type: string
                        description:
                          type: string
                        established_by_dataset_id:
                          type: string
                        established_by_dataset_slug:
                          type: string
                          description: >-
                            The establishing dataset's org-qualified slug — the
                            write target to reuse. Prefer this over the id:
                            slugs are what every tool surface accepts.
                        dataset_count:
                          type: integer
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: An Erdo API key (erdo_api_...) or scoped token (erdo_token_...).

````