User

Get User Api Keys

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

get/api/user/api_key

Request

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

Response

JSON body representing the api_key for the user

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

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