Skip to main content
POST
/
feedback
/
query
Feedback Query
curl --request POST \
  --url https://trace.wandb.ai/feedback/query \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "project_id": "entity/project",
  "fields": [
    "id",
    "feedback_type",
    "payload.note"
  ],
  "query": {
    "$expr": {
      "$and": [
        {
          "$literal": "<any>"
        }
      ]
    }
  },
  "sort_by": [
    {
      "field": "<string>",
      "direction": "asc"
    }
  ],
  "limit": 10,
  "offset": 0
}'
{
  "result": [
    {}
  ]
}

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
Examples:

"entity/project"

fields
string[] | null
Examples:
["id", "feedback_type", "payload.note"]
query
object | null
sort_by
SortBy · object[] | null
limit
integer | null
Examples:

10

offset
integer | null
Examples:

0

Response

Successful Response

result
Result · object[]
required
I