Detailed answer

Answer the given natural language question. Returns details used to arrive at the answer. Please note, it only has the capability to answer questions on structured data.

The payload should contain the question, and optionally, any supplemental context that could be beneficial, such as additional information from a second query attempt after the user has provided further context.

Path Params
string
required

Unique identifier of the organization that owns the project.
For example, in the URL: https://acme.data.world/jonloyens/an-intro-to-dataworld, jonloyens is the unique identifier of the owner.

string
required

Unique identifier for the project.
For example, in the URL: https://acme.data.world/jonloyens/an-intro-to-dataworld, an-intro-to-dataworld is the projectid.

Query Params
boolean
Defaults to false

Don't execute the call using the context engine. Instead, return a mock answer generated by the llm.

Body Params
string

The context of the chat so far (optional).

string

A question that can be answered by structured data, written in English.

Response

Response body
object
string
required
evidence
array of objects
evidence
object
string
date-time
string
string
string
result
object
data
array of objects
data
object
schema
object
required
string
sql
object

The SQL query executed on data.world.

string

The dialect of the query, e.g. dwSQL.

string

The query to be executed.

targetSql
array of objects

The SQL queries executed on the specified, federated sources.

targetSql
object
string

The dialect of the query, e.g. dwSQL.

string

The query to be executed.

terms
array of objects
terms
object
string
string
string
Language
Credentials
OAuth2
chat with aidocs icon