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}

Request

  • Base URL
    https://api.trieve.ai
  • URL
    https://api.trieve.ai/api/dataset/organization/{organization_id}
  • Auth
    API key in header Authorization

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"
    }
  }
]

Changes

No recorded changes to this operation across all 50 revisions of this API.