GET
/
api
/
dataset
/
organization
/
{organization_id}
curl --request GET \
  --url https://api.trieve.ai/api/dataset/organization/{organization_id} \
  --header 'Authorization: <api-key>' \
  --header 'TR-Organization: <tr-organization>'
[
  {
    "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"
    }
  }
]

Authorizations

Authorization
string
header
required

Headers

TR-Organization
string
required

The organization id to use for the request

Path Parameters

organization_id
string
required

id of the organization you want to retrieve datasets for

Query Parameters

limit
integer | null

The number of records to return

offset
integer | null

The number of records to skip

Response

200
application/json
Datasets retrieved successfully
dataset
object
required
dataset_usage
object
required