Profiling Templates

List profile templates

This endpoint returns a paginated list of your available profile templates. You can filter the list by scope and locale.

get/demand/accounts/{account_id}/profiling-templates

Request

Query parameters

page_sizeinteger

A limit on the number of objects to be returned, between 1 and 100.

start_afterstring

Returns a list of objects after the provided pagination cursor, using the next_cursor from the previous response.

end_beforestring

Returns a list of objects that come before the provided pagination cursor. This is used for navigating to a previous page.

order'desc' | 'asc'

The order in which to return the list objects. Default is desc, which returns objects in descending created_at order.

scope'global' | 'account'
Example:account

Filter templates by scope. If scope is not provided, both global and account templates will be returned.

localesstring
Example:eng_us,jpn_jp

Comma-separated list of locales to filter templates by. If multiple locales are provided, templates that match any of the locales will be returned (OR logic).

Examples:

  • eng_us
  • eng_us,jpn_jp

Response

Returns a paginated list of profile templates.

next_cursorstring nullable

An identifier for pagination that indicates there are more items available. When present, use this value to retrieve the next page of results.

Example response

{
  "templates": [
    {
      "id": "12345678-1234-1234-1234-123456789012",
      "name": "My Template",
      "description": "My Template Description",
      "label": "My Template Label",
      "locales": [
        "eng_us"
      ],
      "scope": "global"
    }
  ],
  "next_cursor": "bff6a669-a469-409d-8c94-dcf92258043a"
}

Changes

No recorded changes to this operation across all 1 revision of this API.