---
title: "List my AI Gateway API keys"
method: GET
path: "/v1/org/ai-gateway/api-keys/mine"
tags: ["Inference Providers"]
---

# List my AI Gateway API keys

`GET /v1/org/ai-gateway/api-keys/mine`

## Request

- Base URL: `https://api.openworklabs.com`
- URL: `https://api.openworklabs.com/v1/org/ai-gateway/api-keys/mine`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

Returns the caller's AI Gateway API keys that are not revoked, expired ones included (never the secret), whether the organization allows member keys, and the Gateway URL to point tools at.

## Response `200`

Keys returned.

- object
  - `enabled` boolean, required
  - `baseUrl` string, required
  - `apiKeys` object[], required
    - `id` string, required
    - `name` string, required
    - `prefix` string, required
    - `createdAt` string, date-time, required
    - `lastUsedAt` string, date-time, nullable, required
    - `expiresAt` string, date-time, nullable, required

## Other responses

- `401`: Authentication required.
- `404`: The organization was not found.

## Changes

- **2026-11-10** `73cf944df667`: 2 breaking, 1 info
  - response property `apiKeys/items/expiresAt` list-of-types was widened by adding types `null` to media type `application/json` of response `200`
  - response property `apiKeys/items/lastUsedAt` list-of-types was widened by adding types `null` to media type `application/json` of response `200`
  - the `apiKeys/items/createdAt` response's property pattern `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$` was added for the status `200`
- **2026-11-10** `02023e0242a2`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/openworklabs/apis/den-api/changes/v1/org/ai-gateway/api-keys/mine/get.md)

---

[API](https://skmtc.dev/openworklabs/apis/den-api.md) - [All operations](https://skmtc.dev/openworklabs/apis/den-api/llms.txt) - [OpenAPI document](https://skmtc.dev/openworklabs/apis/den-api/revisions/84fb0f99fb95?raw)
