curl --request POST \
--url https://api.example.com/talk2data/chat/messages \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'x-project-id: <x-project-id>' \
--data '
{
"message": "<string>",
"session_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"context": {
"datasources": [
{
"resource_uri": "<string>",
"datasource_name": "<string>",
"type": "datasource",
"datasource_type": "database",
"datasource_description": "<string>",
"created_at": "<string>",
"selected_schemas": [
{
"schema_name": "<string>",
"schema_fqn": "<string>",
"selected_tables": [
{
"table_name": "<string>",
"table_fqn": "<string>"
}
]
}
]
}
],
"artifacts": [
{
"resource_uri": "<string>",
"artifact_type": "<string>",
"artifact_title": "<string>",
"created_at": "<string>"
}
],
"attachments": [
{
"resource_uri": "<string>",
"filename": "<string>",
"content_type": "<string>"
}
]
}
}
'