cURL
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" } ]
Get the api keys which belong to the organization. The actual api key values are not returned, only the ids, names, and creation dates.
The organization id to use for the request.
JSON body representing the api_key for the organization
Was this page helpful?