# API keys

> Keys for this workspace. 1 REST endpoint with parameters, permissions and curl examples. Each endpoint is also an MCP tool for your AI.

Canonical: https://ballast.to/docs/api/api-keys

[API reference](https://ballast.to/docs/api)

Keys for this workspace. 1 endpoint, each also a tool for your AI through [MCP](https://ballast.to/docs/mcp). Authentication and errors are on the [overview](https://ballast.to/docs/api#authentication).

## List API keys of this workspace

GET

/api/v1/api-keys

Read-only

Returns a list of

- **`id` required string**
- **`name` required string | null**
- **`start` required string | null**
- **`createdAt` required string**
- **`lastUsedAt` required string | null**
- **`expiresAt` required string | null**
- **`createdBy` required object | null**

cURL

```
curl https://ballast.to/api/v1/api-keys \
  -H "Authorization: Bearer $BALLAST_API_KEY"
```
