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

post/queries/save-results

Request

  • Base URL
    https://api.discolike.com (the document declares no server; this is the origin it was published from)
  • Auth
    • API key in header X-API-Key
    • or HTTP bearer

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

    • breaking

      request property was restricted to a list of enum values

    • info

      added the new append enum value to the request property

    • info

      added the new contacts enum value to the request property

    • info

      added the new discover enum value to the request property

    • info

      added the new match enum value to the request property

    • info

      added the new segment enum value to the request property

    • info

      endpoint added