Skip to main content
API keys authenticate SDK requests to Pikarc. Each workspace has one active API key at a time. The key format is lg_<prefix>_<secret>.

Get Active Key

Returns the active API key for your workspace. The full key is returned if it was stored encrypted; otherwise only the prefix is available. Auth: JWT or API Key

Response 200

Response 404


Regenerate Key

Revokes all existing keys and generates a new one. The plaintext key is returned once — store it securely. Auth: JWT or API Key

Response 200

After regeneration, the old key immediately stops working. Update your SDK configuration with the new key.