Skip to main content
GET
cURL

Authorizations

Lovable-API-Key
string
header
required

Lovable API key. Send its value in the Lovable-API-Key header.

Headers

Lovable-Version
string

Stable API version to serve, as a YYYY-MM-DD date. Omit for the oldest supported stable version, currently 2026-09-11.

Lovable-Beta
string

Comma-separated beta revision strings to enable on top of the stable version.

Path Parameters

workspace_id
string
required

ID of the workspace to retrieve security insights for.

Example:

"workspace_01jw3k9m2xq8r5v0c7d4e6f2gh"

Query Parameters

review_priority
enum<string>[]

Filter finding types by review priority. Repeat to include any of the specified priorities; omit to include all. Only findings are filtered; summary counts remain workspace-wide.

Available options:
needs_review,
review_recommended,
no_review_needed
Example:

Response

OK

Workspace security insights with project and membership counts, review priorities, and finding types.

as_of
string<date-time> | null
required

Timestamp indicating the freshness of workspace review-priority data. Individual projects may have newer results. Null when unavailable. This is not a security scan completion time.

Example:

"2026-01-15T09:30:00Z"

findings
object[]
required

Finding types and their matching project counts, including types with zero matches, ordered by higher review priority first. Related conditions may be combined under a more specific finding. A project can appear under multiple finding types. Types requiring personal data detection access are left out when that feature is unavailable. Empty when no types are included.

Example:
summary
object
required

Workspace project counts, membership counts, and project review priorities.