Organization

Get Organization Api Keys

Changed on

Get the api keys which belong to the organization. The actual api key values are not returned, only the ids, names, and creation dates.

get/api/organization/api_key

Request

  • Base URL
    https://api.trieve.ai
  • URL
    https://api.trieve.ai/api/organization/api_key
  • Auth
    API key in header Authorization

Query parameters

cursorstring nullable

The cursor to start the pagination from.

limitinteger nullable

The number of items to return per page.

Headers

TR-Organizationstring uuid required

The organization id to use for the request.

Response

JSON body representing the api_key for the organization

created_atstring date-time required
dataset_idsstring[] nullable
idstring uuid required
namestring required
organization_idstring uuid required
organization_idsstring[] nullable
roleinteger required
updated_atstring date-time required

Example response

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

Changes

    • info

      added the new optional query request parameter cursor

    • info

      added the new optional query request parameter limit

    • warning

      deleted the query request parameter cursor

    • warning

      deleted the query request parameter limit