{"$schema":"https://wildcard.ai/schemas/agents.json/v1","name":"PromptScan","description":"Prompt injection detection API for AI agents and LLM applications.","url":"https://promptscan.dev","api":{"type":"openapi","url":"https://promptscan.dev/openapi.json"},"auth":{"type":"header","header":"X-API-Key","prefix":"pif_","signup_url":"https://promptscan.dev/v1/signup"},"flows":[{"name":"scan_and_decide","description":"Scan untrusted text for injection attacks and decide whether to proceed","steps":[{"name":"scan","method":"POST","path":"/v1/scan","description":"Scan text for prompt injection","body":{"text":"{input_text}","options":{"sensitivity":"medium"}},"on_result":{"if":"injection_detected == true","then":"block","else":"proceed"}}]},{"name":"signup_and_scan","description":"Self-provision a free API key then scan — for autonomous agents hitting the free tier limit","steps":[{"name":"signup","method":"POST","path":"/v1/signup","body":{"email":"{agent_email}","name":"{agent_name}"},"store":{"api_key":"$.api_key"}},{"name":"scan","method":"POST","path":"/v1/scan","headers":{"X-API-Key":"{api_key}"},"body":{"text":"{input_text}"}}]}],"capabilities":["prompt_injection_detection","jailbreak_detection","batch_scanning","text_sanitization","x402_payments"]}