POST
/
table
/
query
Table Query
curl --request POST \
  --url https://trace.wandb.ai/table/query \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "project_id": "my_entity/my_project",
  "digest": "aonareimsvtl13apimtalpa4435rpmgnaemrpgmarltarstaorsnte134avrims",
  "filter": {
    "row_digests": [
      "aonareimsvtl13apimtalpa4435rpmgnaemrpgmarltarstaorsnte134avrims",
      "aonareimsvtl13apimtalpa4435rpmgnaemrpgmarltarstaorsnte134avrims"
    ]
  },
  "limit": 100,
  "offset": 10,
  "sort_by": [
    {
      "field": "col_a.prop_b",
      "order": "desc"
    }
  ]
}'
{
  "rows": [
    {
      "digest": "<string>",
      "val": "<any>",
      "original_index": 123
    }
  ]
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
project_id
string
required

The ID of the project

Examples:

"my_entity/my_project"

digest
string
required

The digest of the table to query

Examples:

"aonareimsvtl13apimtalpa4435rpmgnaemrpgmarltarstaorsnte134avrims"

filter
object | null

Optional filter to apply to the query. See TableRowFilter for more details.

Examples:
{
"row_digests": [
"aonareimsvtl13apimtalpa4435rpmgnaemrpgmarltarstaorsnte134avrims",
"aonareimsvtl13apimtalpa4435rpmgnaemrpgmarltarstaorsnte134avrims"
]
}
limit
integer | null

Maximum number of rows to return

Examples:

100

offset
integer | null

Number of rows to skip before starting to return rows

Examples:

10

sort_by
SortBy · object[] | null

List of fields to sort by. Fields can be dot-separated to access dictionary values. No sorting uses the default table order (insertion order).

Examples:
[
{ "field": "col_a.prop_b", "order": "desc" }
]

Response

Successful Response

rows
TableRowSchema · object[]
required