Save Results

Save result rows as a reusable thin-wrapper saved query (REST twin of save-mcp-query).

post/queries/save-results

Request body

query_namestring required

Name for the query

action'discover' | 'segment' | 'contacts' | 'append' | 'match' required

Underlying action type. One of: ['discover', 'segment', 'contacts', 'append', 'match']

query_paramsobject

Original query params for UI reconstruction

dataobject[] required

Thin rows: domain + custom columns

domain_columnstring

Column name containing domains

tagsstring[]

Initial tags to apply

Response

Successful Response

query_idstring required
query_namestring nullable
actionstring nullable
domain_countinteger nullable
persona_id_countinteger nullable
row_countinteger nullable
tagsstring[] nullable
messagestring nullable

Changes

Changed in 2 of the 8 revisions of this API.16

  • 11d1e74d88c715See the full diff
    • request property action was restricted to a list of enum values

      request-property-became-enum

    • added the new append enum value to the request property action

      request-property-enum-value-added

    • added the new contacts enum value to the request property action

      request-property-enum-value-added

    • added the new discover enum value to the request property action

      request-property-enum-value-added

    • added the new match enum value to the request property action

      request-property-enum-value-added

    • added the new segment enum value to the request property action

      request-property-enum-value-added

    This revision also has 4 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • endpoint added

      endpoint-added