cURL
curl --request GET \ --url https://api.promptguard.dev/api/v1/projects \ --header 'Authorization: Bearer <token>'
[ { "id": "<string>", "name": "<string>", "description": "<string>", "fail_mode": "<string>", "use_case": "<string>", "strictness_level": "<string>", "created_at": "<string>" } ]
List all projects for the current user
API Key authentication for developer endpoints (/api/v1/*). Use format: 'Bearer pg_api_your_key_here'
Successful Response