> ## Documentation Index
> Fetch the complete documentation index at: https://docs.osmedeus.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Public Endpoints

> Server info, health checks, and Swagger docs

# Public Endpoints

These endpoints do not require authentication.

## Server Info

Get server version and information.

```bash theme={null}
curl http://localhost:8002/server-info
```

**Response:**

```json theme={null}
{
  "message": "Oh dear me, how delightful to notice you're taking a look at this! I'm ever so pleased to let you know that osmedeus is ticking along quite nicely, thank you.",
  "version": "v5.0.0",
  "repo": "https://github.com/j3ssie/osmedeus",
  "author": "j3ssie",
  "docs": "https://docs.osmedeus.org"
}
```

***

## Health Check

Check if the server is running.

```bash theme={null}
curl http://localhost:8002/health
```

**Response:**

```json theme={null}
{
  "status": "ok"
}
```

***

## Readiness Check

Check if the server is ready to accept requests.

```bash theme={null}
curl http://localhost:8002/health/ready
```

**Response:**

```json theme={null}
{
  "status": "ready"
}
```

***

## Swagger Documentation

Access the interactive Swagger UI documentation.

```bash theme={null}
# Open in browser
open http://localhost:8002/swagger/index.html
```

***

## Web UI

The web UI is served at the root path. It uses embedded UI files by default, with an option to serve from an external path.

```bash theme={null}
# Access the web UI in browser
open http://localhost:8002/
```

**UI Serving Priority:**

1. If `ui_path` is configured and exists, serves from that directory
2. Otherwise, serves embedded UI files from `public/ui/`

***

## Workspace Files

Scan output files can be accessed directly via the workspace path. This endpoint is only available when `workspace_prefix` is configured in server settings.

```bash theme={null}
# Access run outputs (no authentication required)
curl http://localhost:8002/ws/{workspace_prefix}/example.com/subdomain/final.txt
```

The workspace path serves files from the configured workspaces directory with directory listing enabled.
