cURL
curl --request GET \ --url https://api.promptguard.dev/api/v1/api-keys/{key_id}/reveal \ --header 'Authorization: Bearer <token>'
{ "id": "<string>", "name": "<string>", "prefix": "<string>", "key": "<string>" }
Reveal the full API key for copying.
This allows users to copy their full API key at any time.
API Key authentication for developer endpoints (/api/v1/*). Use format: 'Bearer pg_api_your_key_here'
Successful Response
Response containing the full API key for copy functionality