Help us improve these docs. Take our quick survey.
curl --request POST \
--url https://api.example.com/feedback/payload_schema \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"project_id": "<string>",
"start": "2023-11-07T05:31:56Z",
"end": "2023-11-07T05:31:56Z",
"feedback_type": "<string>",
"trigger_ref": "<string>",
"sample_limit": 2000
}
'{
"paths": [
{
"json_path": "<string>",
"value_type": "numeric"
}
]
}Discover feedback payload schema (paths and types) from sample rows.
curl --request POST \
--url https://api.example.com/feedback/payload_schema \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"project_id": "<string>",
"start": "2023-11-07T05:31:56Z",
"end": "2023-11-07T05:31:56Z",
"feedback_type": "<string>",
"trigger_ref": "<string>",
"sample_limit": 2000
}
'{
"paths": [
{
"json_path": "<string>",
"value_type": "numeric"
}
]
}Documentation Index
Fetch the complete documentation index at: https://wb-21fd5541-john-wbdocs-2044-rename-serverless-products.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Request for feedback payload schema discovery.
Inclusive start time (UTC, ISO 8601).
Exclusive end time (UTC, ISO 8601). Defaults to now if omitted.
Filter by feedback_type.
Filter by trigger_ref (exact or prefix match for all-versions).
Max distinct trigger_refs to sample when discovering the payload schema. Each distinct trigger_ref (monitor/source) typically has a fixed payload structure, so sampling one payload per ref is usually enough to see the full schema. 2 000 covers virtually all real-world projects while keeping the query fast; the hard cap of 5 000 prevents runaway scans.
1 <= x <= 5000Successful Response
Response with discovered feedback payload paths and types.
Discovered leaf paths with inferred value types.
Show child attributes
Was this page helpful?