Skip to main content
GET
/
insights
/
topic
AI-generated insight paragraph for one topic
curl --request GET \
  --url https://openlens.com/api/insights/topic \
  --header 'Authorization: Bearer <token>'
{
  "insight": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.openlens.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Clerk API key. Create one from your account settings under API Keys.

Query Parameters

projectId
string<uuid>
required

Project id. Required on all data endpoints.

topicId
string<uuid>
required
promptAttributes
string

Comma-separated list of attribute filters. Accepts both built-in attributes (e.g. pricing, comparisons) and project-specific custom attributes.

Response

Successful response

insight
string
required