v1

latestOpenAPI 3.0.32026-07-1792101106.0 KB
Auth

Create session (login)

post/auth/sessions

Request body

usernamestring required
passwordstring required

User password (not the default bootstrap password unless configured explicitly)

type'internal' | 'ldap'

Password backend — internal (DuckDB users / admin hash) or ldap when LDAP is enabled.

rememberboolean

When true, the UI may persist data.token in localStorage (Remember me). HttpOnly cookie is always set when cookie_enable is true.

Example request

{
  "username": "admin",
  "password": "your-password"
}

Response

Session created

Example response

{
  "data": {
    "scope": "b9f6q23a-0bde-41ce-cd36-da3dbc17ea12"
  }
}
All 92 operations