# Litehost Connect API ## API Docs - System [Health check](https://api-docs.litehost.io/health-check-32176881e0.md): - System [API info](https://api-docs.litehost.io/api-info-32176882e0.md): - User [Get current user](https://api-docs.litehost.io/get-current-user-32176883e0.md): Returns the authenticated user's email, plan tier, limits, and current quota usage. **Quota only counts active (non-archived) projects.** Archiving a project frees up both project slots and storage. - Projects [List projects](https://api-docs.litehost.io/list-projects-32176884e0.md): - Projects [Create project](https://api-docs.litehost.io/create-project-32176885e0.md): Create a new project and upload its content. Send as `multipart/form-data`. - Projects [Get project](https://api-docs.litehost.io/get-project-32176886e0.md): - Projects [Push new version](https://api-docs.litehost.io/push-new-version-32176887e0.md): Upload new content to an existing project. Replaces the live files and increments the deployment version. Previous versions are kept in history. - Projects [Update project settings](https://api-docs.litehost.io/update-project-settings-32176888e0.md): - Projects [Delete project](https://api-docs.litehost.io/delete-project-32176889e0.md): Permanently delete a project and all its associated data. - Projects [Get deployment history](https://api-docs.litehost.io/get-deployment-history-32176890e0.md): Returns all deployment versions for a project, newest first. - Projects [Toggle archive](https://api-docs.litehost.io/toggle-archive-32176891e0.md): Archive the project if active, or unarchive if already archived. **When unarchiving**, the plan's active project count and storage limits are checked — if either is exceeded the request is rejected with `403`. Archived projects do not count toward quota. - Domains [List domains](https://api-docs.litehost.io/list-domains-32176892e0.md): Returns all custom domains associated with the authenticated user. - Domains [Get domain](https://api-docs.litehost.io/get-domain-32176893e0.md): Returns domain details including all projects assigned to it. - Workspaces [List workspaces](https://api-docs.litehost.io/list-workspaces-32183101e0.md): - Workspaces [Create workspace](https://api-docs.litehost.io/create-workspace-32183102e0.md): - Workspaces [Rename workspace](https://api-docs.litehost.io/rename-workspace-32183103e0.md): - Workspaces [Delete workspace](https://api-docs.litehost.io/delete-workspace-32183104e0.md): Deletes the workspace. Projects inside the workspace are not deleted — their `workspaceId` is set to `null` and they become part of the personal space. ## Schemas - [Project](https://api-docs.litehost.io/project-13953948d0.md): - [Deployment](https://api-docs.litehost.io/deployment-13953949d0.md): - [Domain](https://api-docs.litehost.io/domain-13953950d0.md): - [DomainDetail](https://api-docs.litehost.io/domaindetail-13953951d0.md): - [WorkspaceSummary](https://api-docs.litehost.io/workspacesummary-13955928d0.md): - [ErrorResponse](https://api-docs.litehost.io/errorresponse-13953952d0.md): - [SuccessResponse](https://api-docs.litehost.io/successresponse-13953953d0.md):