Lucida API (2)
Control-plane API.
Lucida API (2)
Control-plane API. Errors are RFC 9457 problem+json; lists are cursor-paginated. Every operation that accepts a key says what it needs: x-required-scopes (all of these scopes; [] is authentication alone), x-required-scopes-any (and one of these), x-required-scopes-note (a request-dependent extra) or x-required-key-kind (capture and SCIM routes take a key kind, not scopes). Broader scopes (*:read, *:write, admin, x:write for x:read) also open a route, and account keys open settings routes with project:read / project:write; replay routes need an explicit replay:* scope, which *:read does not give. Routes with security: [] need no session or key; routes whose security lists only session cannot be used with a key.
Authentication
Each operation names the schemes it accepts; the code samples carry the first one. An operation that takes none says so.
bearer— HTTP bearer: sendAuthorization: Bearer <token>.session— API key in thelc_sessioncookie.