Ask follow-up questions of your data
https://{your-workspace-slug}.{region}.xata.sh/db/db_branch_name/tables/table_name/ask/session_id
Continue a conversation with your data. This endpoint lets you continue a question started via the /ask endpoint in order to dive deeper into your context or ask clarifying questions.
Expected parameters
Name | Description | In | Required | Schema |
---|---|---|---|---|
db_branch_name | The DBBranchName matches the pattern `{db_name}:{branch_name}`. | path | ✅ | string |
table_name | The Table name | path | ✅ | string |
session_id | path | ✅ | string |
Continue a Conversation With Your Data
POSThttps://{your-workspace-slug}.{region}.xata.sh/db/db_branch_name/tables/table_name/ask/session_id
Ask a follow-up question. If the Accept
header is set to text/event-stream
, Xata will stream the results back as SSE's.