Uses an LLM to convert a natural-language query (e.g. “posts from twitter influencers about pricing this week”) into a structured filter object usable with /api/v2/mentions.
Documentation Index
Fetch the complete documentation index at: https://octolens.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Clerk API key. Create one in Settings → API Keys. Pass as Authorization: Bearer <key>.
Convert a natural-language query into an Octolens filter object.
Natural-language description of what the user wants to see.
1 - 1000"only negative tweets about pricing from the last 7 days"
200 response
Filter object generated from a natural-language query. Client applies filters to the feed and shows explanation to the user.
Generated filter object. null when the query is ambiguous. Use isAdvanced to determine whether it's the simple or advanced shape.
If true, filters is an AdvancedFilters shape (AND/OR groups). Otherwise it's a SimpleFilters (flat AND list).
Requested page size — preserved from currentLimit unless the user asked to change it.
-9007199254740991 <= x <= 9007199254740991Whether to include low-relevance posts.
View id the AI resolved the query against (if the user referenced a view by name). null otherwise.
-9007199254740991 <= x <= 9007199254740991Plain-English summary of what the filter will match — shown in the UI.