LedgerLou Docs is optimized for desktop.

Please open this page on a device with a wider screen.

Periods

Check lock status

Checks the lock status of a period (open/soft_locked/locked) and whether a pending hard-lock request exists.

get_lock_status
Authorization
Authorization string header required API key in the format ll_.... Pass as a Bearer token in the OAuth flow.
Scopes
perioden:read
Parameters
period string required Period: YYYY-MM, YYYY-P13 or YYYY-P14
Response
200
Success
MCP get_lock_status
JSON
{
  "tool": "get_lock_status",
  "params": {
    "period": "<string>"
  }
}
200 Response
JSON
{
  "period": "<string>",
  "status": "<string>",
  "locked_by": "<string>",
  "locked_at": "<string>",
  "has_pending_request": true,
  "pending_request": {
    "request_id": "<string>",
    "requested_by": "<string>",
    "created_at": "<string>"
  }
}