v1

latestOpenAPI 3.0.3BSL2026-07-17133415718.8 KB
Dataset

Get Datasets from Organization

Auth'ed user or api key must have an admin or owner role for the specified dataset's organization.

get/api/dataset/organization/{organization_id}

Path parameters

organization_idstring uuid required

id of the organization you want to retrieve datasets for

Query parameters

limitinteger nullable

The number of records to return

offsetinteger nullable

The number of records to skip

Headers

TR-Organizationstring uuid required

The organization id to use for the request

Response

Datasets retrieved successfully

Example response

[
  {
    "dataset": {
      "created_at": "2021-01-01 00:00:00.000",
      "id": "e3e3e3e3-e3e3-e3e3-e3e3-e3e3e3e3e3e3",
      "name": "Trieve",
      "organization_id": "e3e3e3e3-e3e3-e3e3-e3e3-e3e3e3e3e3e3",
      "server_configuration": {},
      "updated_at": "2021-01-01 00:00:00.000"
    },
    "dataset_usage": {
      "chunk_count": 100,
      "dataset_id": "e3e3e3e3-e3e3-e3e3-e3e3-e3e3e3e3e3e3",
      "id": "e3e3e3e3-e3e3-e3e3-e3e3-e3e3e3e3e3e3"
    }
  }
]