Skip to main content

summary de insights de library

Pipeline by status/type, collections, tags, subitems, availability, and
archive/trash. SQL aggregate without scanning every item. Requires a Bearer session.

1 min read
get/library/profiles/{studioId}/insights-summary
Request example
Response
get/library/profiles/{studioId}/insights-summary

Authorization

Authorizationstringheaderrequired#
Better Auth session token. Go resolves the token in the session table and maps it to users.id via auth_user_id. The profile is taken from the path param :studioId when applicable.

Path parameters

studioIdstringrequired#
Identifier or key studioId.

Responses

application/json
OK.
dataobjectrequired#
Show child attributes
totalActiveintegerrequired#
archivedintegerrequired#
trashintegerrequired#
collectionsintegerrequired#
taggedItemsintegerrequired#
subitemsintegerrequired#
waitingAvailabilityintegerrequired#
upcomingAvailabilityintegerrequired#
byStatusobject[]required#
Show child attributes
keystringrequired#
countintegerrequired#
byKindobject[]required#
Show child attributes
keystringrequired#
countintegerrequired#
request_idstring#