Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.tattoo.dev/llms.txt

Use this file to discover all available pages before exploring further.

Endpoints

  • GET /api-keys
  • POST /api-keys

Auth

Use a bearer token from POST /auth/login.

List Response

{
  "success": true,
  "data": [
    {
      "id": "uuid",
      "name": "Server Integration",
      "permissions": {},
      "expires_at": null,
      "last_used_at": null,
      "created_at": "2026-04-20T12:00:00.000Z"
    }
  ],
  "pagination": {
    "page": 1,
    "limit": 10,
    "total": 1,
    "totalPages": 1,
    "hasNext": false,
    "hasPrev": false
  },
  "meta": {
    "timestamp": "2026-04-20T12:00:00.000Z",
    "version": "1.0.0"
  }
}

Create Request

{
  "name": "Server Integration",
  "permissions": {
    "search": [
      "read"
    ]
  }
}

Create Response

{
  "success": true,
  "data": {
    "id": "uuid",
    "name": "Server Integration",
    "permissions": {},
    "expires_at": null,
    "created_at": "2026-04-20T12:00:00.000Z",
    "key": "sk_..."
  }
}
The plaintext key is only returned once at creation time.