# CleanDocs API (v1.0.0) > API for managing OpenAPI documentation projects on CleanDocs.dev ## Base URLs - `https://api.cleandocs.dev` — Production API server ## Authentication - **bearerAuth** (http bearer) — API key authentication. Generate an API key at https://cleandocs.dev/dashboard and use it as: `Authorization: Bearer cd_your_api_key_here` - **sessionAuth** (apiKey, in cookie) — Session-based authentication using cookies. Users must be logged in via the web interface. ## Projects - [`GET /projects`](https://docs.cleandocs.dev#get_projects) — List all projects - [`POST /projects`](https://docs.cleandocs.dev#post_projects) — Create a new project ## API Keys - [`GET /keys`](https://docs.cleandocs.dev#get_keys) — List your API keys - [`POST /keys`](https://docs.cleandocs.dev#post_keys) — Generate a new API key - [`DELETE /keys/{id}`](https://docs.cleandocs.dev#delete_keys__id_) — Revoke an API key ## Optional - [OpenAPI JSON Specification](https://docs.cleandocs.dev/openapi.json) - [OpenAPI YAML Specification](https://docs.cleandocs.dev/openapi.yaml) - [Full AI Documentation](https://docs.cleandocs.dev/llms-full.txt)