format_version: 1
name: perplexity
display_name: Perplexity AI
tier: 3
last_verified: "2026-04-05"
keywords:
  - "perplexity"
  - "PERPLEXITY_API_KEY"
  - "pplx-"
  - "api.perplexity.ai"
patterns:
  - regex: 'pplx-[A-Za-z0-9]{48,}'
    entropy_min: 4.0
    confidence: high
verify:
  method: POST
  url: https://api.perplexity.ai/chat/completions
  headers:
    Authorization: "Bearer {{KEY}}"
    content-type: "application/json"
  body: '{"model":"sonar","messages":[{"role":"user","content":"hi"}],"max_tokens":1}'
  success_codes: [200]
  failure_codes: [401, 403]
  rate_limit_codes: [429]
