---
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

---

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