---
title: "Get Organization Api Keys"
method: GET
path: "/api/organization/api_key"
tags: ["Organization"]
---

# Get Organization Api Keys

`GET /api/organization/api_key`

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

## Query parameters

- `cursor` string, nullable
- `limit` integer, nullable

## Headers

- `TR-Organization` string, uuid, required

## Response `200`

JSON body representing the api_key for the organization

- ApiKeyRespBody[]
  - `created_at` string, date-time, required
  - `dataset_ids` string[], nullable
  - `id` string, uuid, required
  - `name` string, required
  - `organization_id` string, uuid, required
  - `organization_ids` string[], nullable
  - `role` integer, required
  - `updated_at` string, date-time, required

## Other responses

- `400` — Service error relating to creating api_key for the organization

## Changes

- **2025-05-14** `881410b83b8b` — 2 info
  - added the new optional `query` request parameter `cursor`
  - added the new optional `query` request parameter `limit`
- **2025-04-24** `661f8d6f359b` — 2 warning
  - deleted the `query` request parameter `cursor`
  - deleted the `query` request parameter `limit`

[Change history](https://skmtc.dev/devflowinc/apis/trieve-api/changes/api/organization/api_key/get.md)

---

[API](https://skmtc.dev/devflowinc/apis/trieve-api.md) · [All operations](https://skmtc.dev/devflowinc/apis/trieve-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/devflowinc/trieve-api/revisions/84583e7c9fc1/schema)
