curl --request POST \
--url https://api.example.com/table/query_stream \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"project_id": "<string>",
"digest": "<string>",
"filter": {
"row_digests": [
"aonareimsvtl13apimtalpa4435rpmgnaemrpgmarltarstaorsnte134avrims",
"aonareimsvtl13apimtalpa4435rpmgnaemrpgmarltarstaorsnte134avrims"
]
},
"limit": 100,
"offset": 10,
"sort_by": [
{
"field": "col_a.prop_b",
"order": "desc"
}
]
}
'[
{}
]curl --request POST \
--url https://api.example.com/table/query_stream \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"project_id": "<string>",
"digest": "<string>",
"filter": {
"row_digests": [
"aonareimsvtl13apimtalpa4435rpmgnaemrpgmarltarstaorsnte134avrims",
"aonareimsvtl13apimtalpa4435rpmgnaemrpgmarltarstaorsnte134avrims"
]
},
"limit": 100,
"offset": 10,
"sort_by": [
{
"field": "col_a.prop_b",
"order": "desc"
}
]
}
'[
{}
]Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
The ID of the project
"my_entity/my_project"
The digest of the table to query
"aonareimsvtl13apimtalpa4435rpmgnaemrpgmarltarstaorsnte134avrims"
Optional filter to apply to the query. See TableRowFilter for more details.
Show child attributes
{
"row_digests": [
"aonareimsvtl13apimtalpa4435rpmgnaemrpgmarltarstaorsnte134avrims",
"aonareimsvtl13apimtalpa4435rpmgnaemrpgmarltarstaorsnte134avrims"
]
}
Maximum number of rows to return
100
Number of rows to skip before starting to return rows
10
List of fields to sort by. Fields can be dot-separated to access dictionary values. No sorting uses the default table order (insertion order).
Show child attributes
[
{ "field": "col_a.prop_b", "order": "desc" }
]
Stream of data in JSONL format
Was this page helpful?