Disclaimer: This website requires Please enable JavaScript in your browser settings for the best experience.

Dev GuideRecipesAPI ReferenceChangelogDiscussions
Dev GuideAPI ReferenceUser GuideDev CommunityOptimizely AcademySubmit a ticketLog In
API Reference

Search content

Paginated list of content matching a lucene query.

Documentation on Lucene queries and their syntax can be found on the Lucene website. The default field is _all and the default operator is AND. Please note that any Lucene Special Characters used within the query must be double escaped.

The following fields are available for use in queries:

- abstract (string)
- metadata (object)
- approved (integer) = [unapproved = 1, approved = 2, auto-approved = 3]
- content (string)
- created (string)
- featured (boolean)
- id (integer)
- original_url (string)
- published (string)
- read (boolean)
- sections (integer)
- source (integer)
- state (integer) = [imported = 0, analysed = 1, complete = 9]
- title (string)
- topics (integer)

The example below shows a query capable of matching content by URL, double escaping both colons and slashes.

Language
Credentials
Query
Click Try It! to start a request and see the response here!