---
title: "GET /agentcc/api-keys/bulk/"
method: GET
path: "/agentcc/api-keys/bulk/"
tags: ["agentcc"]
---

# GET /agentcc/api-keys/bulk/

`GET /agentcc/api-keys/bulk/`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/agentcc/api-keys/bulk/`
- Auth: one of:
  - API key in header `X-Api-Key`
  - API key in header `X-Secret-Key`

Bulk endpoint for gateway startup key sync.
Returns all active keys with their hashes so the gateway can restore
its in-memory KeyStore on restart.

Authenticated by admin token (not user JWT).

## Response `200`

OK

- APIKeyBulkResponse
  - `status` boolean, required
  - `result` APIKeyBulkItem[], required
    - `id` string, required
    - `name` string, required
    - `owner` string, required
    - `key_hash` string, required
    - `key_prefix` string, required
    - `models` string[], required
    - `providers` string[], required
    - `metadata` object, required
    - `expires_at` string, date-time, nullable, required

## Other responses

- `400`: Bad Request
- `default`: Default error response

---

[API](https://skmtc.dev/futureagi/apis/future-agi-management-api.md) · [All operations](https://skmtc.dev/futureagi/apis/future-agi-management-api/llms.txt) · [OpenAPI document](https://skmtc.dev/futureagi/apis/future-agi-management-api/revisions/c8684118e142?raw)
