ApiKeys
List API keys
Returns all API keys for the authenticated project as a JSON array (never null). The plaintext key value is never included — only the non-secret prefix.
get/api/v1/api-keys
Request
- Base URL: https://app.lastping.dev
- URL: https://app.lastping.dev/api/v1/api-keys
- Auth: API key in header X-Api-Key
Response
Array of API keys (may be empty).
Example response
[
{
"id": "e1d2c3b4-0000-0000-0000-000000000001",
"name": "github-actions",
"prefix": "lp_Wwut111",
"created_at": "2026-07-01T12:00:00Z",
"expires_at": "2026-12-31T00:00:00Z",
"last_used_at": "2026-08-01T09:30:00Z",
"last_used_surface": "mcp",
"scope": "write",
"check_id": "6ba7b810-9dad-11d1-80b4-00c04fd430c8",
"created_by_key_id": "e1d2c3b4-0000-0000-0000-000000000002"
}
]Changes
No recorded changes to this operation across all 2 revisions of this API.