Ask data in your table a question
https://{your-workspace-slug}.{region}.xata.sh/db/db_branch_name/tables/table_name/ask
Ask your table a question and have Xata answer.
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 |
Ask Your Table a Question
POSThttps://{your-workspace-slug}.{region}.xata.sh/db/db_branch_name/tables/table_name/ask
Ask your table a question. If the Accept
header is set to text/event-stream
, Xata will stream the results back as SSE's.