Skip to main content
POST
Get the insights a user can view

Authorizations

Authorization
string
header
required

Organization API key (sl_…).

Headers

x-tenant-id
string
required

The organization ID the request is scoped to.

Path Parameters

email
string
required

Body

application/json
ids
string[]
required

The insights to check, by id.

Required array length: 1 - 1000 elements

Response

Successful Response

Which of the requested insights a user can view.

items
string[]
required

The ids of the requested insights the user can view, in request order. Lists only insights you can view too.

missing
string[]
required

The requested ids not in items: insights the user can't view, and ids you can't view or that don't exist.