Skip to main content

List API Keys

GET /projects/{projectId}/apikeys
Returns all API keys for the project.
curl -X GET 'https://app.memorylake.ai/api/memorylake/api/v1/projects/proj_123/apikeys' \
  -H 'Authorization: Bearer YOUR_API_KEY'
{
  "success": true,
  "data": [
    {
      "id": "key_123",
      "description": "Production API",
      "secret_suffix": "...xyz",
      "created_at": "2024-01-15T10:00:00Z"
    }
  ]
}

Create API Key

POST /projects/{projectId}/apikeys
description
string
Optional description

Response

data
object
The secret field is returned only upon creation. Store it securely - it cannot be retrieved again.

Delete API Key

DELETE /projects/{projectId}/apikeys/{apikeyId}
Immediately revokes access for this API key.

Using MCP Server Endpoints

Once created, use the API key to access project data:
curl -X GET '{endpoint_url}' \
  -H 'Authorization: Bearer API_SECRET'

Next Steps

MCP Servers Guide

Learn about MCP servers