Extract Query Results

{ extractQueryResult }

Runs a content item and extracts the raw query result data into the specified format (CSV, JSON, XML).



  • API Section: /API/query
  • API Version: 1.0
  • Method operates via POST actions only.
  • NOTE: API 1.0 methods are now deprecated. Use API 2.0 and 3.0 methods instead

    Input Parameters



    Object Type


    The query export object used to specify how to extract nlp query results.

    Output Response

    Successful Result Code


    Description of Response Type

    successful operation


    Queries are extracted in flattened tabular format – and do not represent the cartesian of the data. Multiple queries can be extracted into XML or JSON formats only. The CSV option is only available for single queries running from Discovery content.

    Code Snippets