Skip to main content

Authentication

POST /v1/search requires a Reposeek API key in the Authorization header.
The CLI reads the same key from REPOSEEK_API_KEY.

Create a key

Manage keys at reposeek.ai/dashboard/api-keys. Keys are shown once when created or regenerated. Store the full value somewhere safe and never commit it to source control.

Auth failures

  • Missing or malformed Authorization: Bearer <api-key> header returns 401 missing_api_key.
  • Unknown, revoked, inactive, or expired-account keys return 401 invalid_api_key.
See API errors for the full error contract.