Buildd Memory
API Reference

Keys

API key management endpoints

Keys API

Manage API keys for your team. These endpoints require the root API key.

List Keys

GET /api/keys

Returns all API keys for your teams. Key values are not included — only metadata.

Response

{
  "keys": [
    {
      "id": "key_abc123",
      "name": "dev-team",
      "teamId": "my-team",
      "createdAt": "2025-01-15T00:00:00.000Z"
    }
  ]
}

Create Key

POST /api/keys

Request Body

{
  "name": "dev-team",
  "teamId": "my-team"
}
FieldTypeRequiredDescription
namestringYesHuman-readable name for the key
teamIdstringYesTeam identifier to scope the key to

Response

{
  "key": {
    "id": "key_abc123",
    "name": "dev-team",
    "teamId": "my-team",
    "key": "mem_the_actual_key_value",
    "createdAt": "2025-01-15T00:00:00.000Z"
  }
}

The key field contains the plaintext API key. Save it immediately — it won't be shown again.

On this page