Compresr · Authentication Profile

Compresr Authentication

Authentication

Compresr secures its APIs with apiKey, oauth2, and http across 3 declared security schemes, as derived from its OpenAPI definitions. OAuth 2.0 is offered via the authorizationCode and deviceCode flow(s).

LLMContext CompressionPrompt EngineeringRAGAI InfrastructureDeveloper ToolsAgentsTokensY Combinator
Methods: apiKey, oauth2, http Schemes: 3 OAuth flows: authorizationCode, deviceCode API key in: header

Security Schemes

X-API-Key apiKey
· in: header ()
OAuth2 oauth2
· flows: authorizationCode, deviceCode
HTTPBearer http
scheme: bearer

Source

Authentication Profile

Raw ↑
generated: '2026-07-18'
method: searched
source: openapi/compresr-openapi-original.json
docs: https://compresr.ai/docs/authentication
summary:
  types:
  - apiKey
  - oauth2
  - http
  api_key_in:
  - header
  api_key_header: X-API-Key
  api_key_prefix: cmp_
  oauth2_flows:
  - authorizationCode
  - deviceCode
  pkce: true
notes: >-
  The public API authenticates with an X-API-Key header carrying a cmp_-prefixed key
  issued from the dashboard (documented at /docs/authentication). The OpenAPI's
  generated securitySchemes only declares an HTTPBearer http/bearer scheme; the
  operations themselves take X-API-Key as a header parameter. A separate OAuth 2.0
  authorization server (authorization-code with PKCE, device-code, and refresh-token
  grants) backs CLI (`compresr-sdk login`) and dashboard sign-in, not per-request API
  auth. API keys carry a scope of demo | user | enterprise.
schemes:
- name: X-API-Key
  type: apiKey
  in: header
  parameter_name: X-API-Key
  key_prefix: cmp_
  scopes:
  - demo
  - user
  - enterprise
  docs: https://compresr.ai/docs/authentication
  sources:
  - openapi/compresr-openapi-original.json
  - https://compresr.ai/docs/authentication
- name: OAuth2
  type: oauth2
  flows:
  - flow: authorizationCode
    authorizationUrl: https://api.compresr.ai/oauth/authorize
    tokenUrl: https://api.compresr.ai/oauth/token
    pkce: true
    refresh: true
  - flow: deviceCode
    deviceAuthorizationUrl: https://api.compresr.ai/oauth/device_authorization
    tokenUrl: https://api.compresr.ai/oauth/token
  purpose: CLI and dashboard login (not per-request API authentication)
  sources:
  - openapi/compresr-openapi-original.json
- name: HTTPBearer
  type: http
  scheme: bearer
  note: declared in OpenAPI securitySchemes (FastAPI-generated); actual request auth is X-API-Key
  sources:
  - openapi/compresr-openapi-original.json

Work with this as data

Every security artifact here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for security posture

4 MCP tools reach this
  • find_securityBrowse and filter every security artifact in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This security artifact
curl "https://apis.io/api/v1/security/compresr-authentication"
All security posture
curl "https://apis.io/api/v1/security?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.