Skip to main content
Parse Query Into Restrictions

Headers

Accept-Language
string

Convert string references and multi-language values into a specified language (iso2) code.

SO-Language
string

Convert string references and multi-language values into a specified language (iso2) code. Overrides Accept-Language value.

SO-Culture
string

Number, date formatting in a specified culture (iso2 language) code. Partially overrides SO-Language/Accept-Language value. Ignored if no Language set.

SO-TimeZone
string

Specify the timezone code that you would like date/time responses converted to.

SO-AppToken
string

The application token that identifies the partner app. Used when calling Online WebAPI from a server.

Query Parameters

$select
string

Optional comma separated list of properties to include in the result. Other fields are then nulled out to reduce payload size: "Name,department,category". Default = show all fields.

Body

Query, Currents, PreviousQuery

ParseQueryIntoRestrictions: Return archive restrictions based on a natural language query.

Query
string
Currents
string
PreviousQuery
object

Natural language search results. Carrier object for NaturalLanguageSearch. Services for the NaturalLanguageSearch Carrier is available from the AI Agent.

Response

OK

Natural language search results. Carrier object for NaturalLanguageSearch. Services for the NaturalLanguageSearch Carrier is available from the AI Agent.

Query
string

User's query.

ResponseMarkdown
string

Markdown response from the AI.

Entity
string

Type of entity we are searching. e.g. 'contact', 'project' etc.

ODataQuery
string

Search criteria in ODATA format

Restrictions
object[]

Archive restrictions for the search query.

InternalContext
string

AI internal context - opaque to callers.