latestOpenAPI 3.0.12026-08-21183382785.0 KB

24caa8eb809b

Segments

Retrieve profiles of query

Retrieve the profiles of a query.

get/audiences/{audienceId}/segments/queries/{queryId}/customers

Path parameters

audienceIdinteger required

Audience ID of the segment

queryIdstring required

ID of query

Query parameters

pagenumber

Response

successful operation

errorstring nullable

Error message

namesstring[] nullable

Column names

queryIdstring

ID of query

type'rows' | 'end' | 'killed' | 'error' | 'pending'

Example response

{
  "names": [
    "cdp_customer_id",
    "email"
  ],
  "queryId": "970937b9-98b1-45b1-ba9b-10905846476e",
  "rows": [
    [
      "003171af29a5f0ac890fed022d9e5366dea5d68e",
      "a@example.com"
    ]
  ]
}