GET
/
api
/
organization
/
api_key
curl --request GET \
  --url https://api.trieve.ai/api/organization/api_key \
  --header 'Authorization: <api-key>' \
  --header 'TR-Organization: <tr-organization>'
[
  {
    "created_at": "2021-01-01 00:00:00.000",
    "dataset_ids": [
      "d0d0d0d0-d0d0-d0d0-d0d0-d0d0d0d0d0d0"
    ],
    "id": "e3e3e3e3-e3e3-e3e3-e3e3-e3e3e3e3e3e3",
    "name": "Trieve",
    "organization_id": "e3e3e3e3-e3e3-e3e3-e3e3-e3e3e3e3e3e3",
    "role": 1,
    "updated_at": "2021-01-01 00:00:00.000"
  }
]

Authorizations

Authorization
string
header
required

Headers

TR-Organization
string
required

The organization id to use for the request.

Response

200
application/json
JSON body representing the api_key for the organization
created_at
string
required
id
string
required
name
string
required
organization_id
string
required
role
integer
required
updated_at
string
required
dataset_ids
string[] | null
organization_ids
string[] | null