Dry-run a segment query (sample rows)
Changed onPreview the rows a Segment List SQL query would match, without committing it to a list. Returns up to the top 10 matched rows for the columns selected. Use this to spot-check a query before creating a Segment List or committing a new version.
post/v1/subscriber_list/~/dry_run/
Request
- Base URLhttps://hub.suprsend.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"query": "SELECT distinct_id, active_emails FROM users LIMIT 40"
}Response
200
Changes
- breaking
added the new required request property
- warning
removed the request property
- breaking
- info
endpoint added
- info