cURL
curl --request GET \ --url https://api.promptguard.dev/api/v1/api-keys \ --header 'Authorization: Bearer <token>'
[ { "id": "<string>", "name": "<string>", "prefix": "<string>", "project_id": "<string>", "project_name": "<string>", "permissions": [ "<string>" ], "is_active": true, "last_used_at": "<string>", "created_at": "<string>" } ]
List all API keys for the current user
API Key authentication for developer endpoints (/api/v1/*). Use format: 'Bearer pg_api_your_key_here'
Successful Response