Fetch custom fields list
Bearer token authentication. Include the token in the Authorization header:
Authorization: Bearer <your-token>
ID of the team
Id of the data source
Name of custom fields which are displayed on UI
Page number that the custom fields are displayed on
Maximum number of custom fields that the user wants to fetch
Include total count of transformations in the response (defaults to false for performance)
Collection of field transformations
Paginated collection of custom field transformations. The meta envelope carries pagination details and data.items holds the page of transformations.
Response metadata including pagination details.
Unique identifier for the request, for tracking and debugging.
Offset-based pagination metadata for list responses.
Total number of items available across all pages.
Maximum number of items returned in this page.
Number of items skipped before this page.
Navigation links for paginated collections.
A hyperlink to a related resource.
Absolute URL of the resource.
A hyperlink to a related resource.
Absolute URL of the resource.
Wrapper holding the page of transformation objects.
The page of transformation objects.
A persisted custom field (field transformation) as returned by read operations.
Unique identifier of the custom field.
Unique machine name of the field transformation.
ID of the data source the transformation belongs to.
User-facing name of the transformation shown in the UI.
Free-text description of the transformation.
Field kind: dim (dimension) or met (metric).
Data type of the transformed field.
Timestamp of the last modification, in UTC. Serialized with a numeric offset (e.g. "+0000") rather than a trailing "Z".
The user who last modified a custom field transformation.
Email address of the user.
First name of the user.
Last name of the user.
Wrapper holding the ordered transformation steps.
The ordered pipeline of transformation steps.
A single step in a custom field's transformation pipeline. The concrete shape is selected by the type discriminator: function, lookup, or condition.
Discriminator value identifying this step as a function step.
Name of the function to apply.
Arguments passed to this function.
A named argument supplied to a function step.
Argument name as expected by the function.
A value reference used in transformation steps. Depending on type the value is read from a data-source field, taken from the previous step's output, or supplied as a static literal.
Where the value comes from: data_source_field (a named field on the data source), output_from_previous (the result of the preceding step), or static (a literal value).
The value itself: the field name when type is data_source_field, a literal when type is static, and omitted when type is output_from_previous.
Optional free-text description of the transformation step.
Discriminator value identifying this step as a lookup step.
A value reference used in transformation steps. Depending on type the value is read from a data-source field, taken from the previous step's output, or supplied as a static literal.
Where the value comes from: data_source_field (a named field on the data source), output_from_previous (the result of the preceding step), or static (a literal value).
The value itself: the field name when type is data_source_field, a literal when type is static, and omitted when type is output_from_previous.
The matching rule applied when looking up a value (e.g. equals).
Key/value mapping table used by the lookup.
Output value produced for the matching key.
A value reference used in transformation steps. Depending on type the value is read from a data-source field, taken from the previous step's output, or supplied as a static literal.
Where the value comes from: data_source_field (a named field on the data source), output_from_previous (the result of the preceding step), or static (a literal value).
The value itself: the field name when type is data_source_field, a literal when type is static, and omitted when type is output_from_previous.
Optional free-text description of the transformation step.
Discriminator value identifying this step as a condition step.
Value returned when no case matches. May be a plain DefinitionValue or a nested FunctionStep.
Where the value comes from: data_source_field (a named field on the data source), output_from_previous (the result of the preceding step), or static (a literal value).
The value itself: the field name when type is data_source_field, a literal when type is static, and omitted when type is output_from_previous.
Discriminator value identifying this step as a function step.
Name of the function to apply.
Arguments passed to this function.
A named argument supplied to a function step.
Argument name as expected by the function.
A value reference used in transformation steps. Depending on type the value is read from a data-source field, taken from the previous step's output, or supplied as a static literal.
Where the value comes from: data_source_field (a named field on the data source), output_from_previous (the result of the preceding step), or static (a literal value).
The value itself: the field name when type is data_source_field, a literal when type is static, and omitted when type is output_from_previous.
Optional free-text description of the transformation step.
Condition cases evaluated in order; the first match wins.
A single case within a condition step: when condition evaluates true, the return value is produced.
A value reference used in transformation steps. Depending on type the value is read from a data-source field, taken from the previous step's output, or supplied as a static literal.
Where the value comes from: data_source_field (a named field on the data source), output_from_previous (the result of the preceding step), or static (a literal value).
The value itself: the field name when type is data_source_field, a literal when type is static, and omitted when type is output_from_previous.
The rule-based condition evaluated for this case.
Discriminator value identifying the condition kind (always rule).
The comparison operator applied between source and target.
A value reference used in transformation steps. Depending on type the value is read from a data-source field, taken from the previous step's output, or supplied as a static literal.
Where the value comes from: data_source_field (a named field on the data source), output_from_previous (the result of the preceding step), or static (a literal value).
The value itself: the field name when type is data_source_field, a literal when type is static, and omitted when type is output_from_previous.
A value reference used in transformation steps. Depending on type the value is read from a data-source field, taken from the previous step's output, or supplied as a static literal.
Where the value comes from: data_source_field (a named field on the data source), output_from_previous (the result of the preceding step), or static (a literal value).
The value itself: the field name when type is data_source_field, a literal when type is static, and omitted when type is output_from_previous.
Optional free-text description of the transformation step.
Report types associated with the transformation.
A single report type name.
Bad request - invalid parameters
{
"meta": {
"request_id": "BXaEFVtjc7TXaJxgZhmFgSUD9edqq_CN"
},
"error": {
"code": "BAD_REQUEST",
"message": "The request was invalid."
}
}Standard envelope returned by all error (4xx/5xx) responses.
Metadata included in every API response.
Unique identifier for the request, for tracking and debugging.
Machine- and human-readable detail for a failed request.
Stable, screaming-snake-case identifier for the error condition. Clients should branch on this, not on message. Common values include BAD_REQUEST, UNAUTHORIZED, FORBIDDEN, NOT_FOUND, CONFLICT_ERROR, PERMISSION_ERROR, UNPROCESSABLE_ENTITY, UNPROCESSABLE_CONTENT, TOO_MANY_REQUESTS, INTERNAL_SERVER_ERROR, DUPLICATION_FAILED, SERVICE_UNAVAILABLE; domains may define additional codes.
Short, human-readable summary of the error.
Optional longer explanation specific to this occurrence.
Unauthorized
{
"meta": {
"request_id": "BXaEFVtjc7TXaJxgZhmFgSUD9edqq_CN"
},
"error": {
"code": "UNAUTHORIZED",
"message": "Authentication is required."
}
}Standard envelope returned by all error (4xx/5xx) responses.
Metadata included in every API response.
Unique identifier for the request, for tracking and debugging.
Machine- and human-readable detail for a failed request.
Stable, screaming-snake-case identifier for the error condition. Clients should branch on this, not on message. Common values include BAD_REQUEST, UNAUTHORIZED, FORBIDDEN, NOT_FOUND, CONFLICT_ERROR, PERMISSION_ERROR, UNPROCESSABLE_ENTITY, UNPROCESSABLE_CONTENT, TOO_MANY_REQUESTS, INTERNAL_SERVER_ERROR, DUPLICATION_FAILED, SERVICE_UNAVAILABLE; domains may define additional codes.
Short, human-readable summary of the error.
Optional longer explanation specific to this occurrence.
Access forbidden
{
"meta": {
"request_id": "BXaEFVtjc7TXaJxgZhmFgSUD9edqq_CN"
},
"error": {
"code": "FORBIDDEN",
"message": "You do not have access to this resource."
}
}Standard envelope returned by all error (4xx/5xx) responses.
Metadata included in every API response.
Unique identifier for the request, for tracking and debugging.
Machine- and human-readable detail for a failed request.
Stable, screaming-snake-case identifier for the error condition. Clients should branch on this, not on message. Common values include BAD_REQUEST, UNAUTHORIZED, FORBIDDEN, NOT_FOUND, CONFLICT_ERROR, PERMISSION_ERROR, UNPROCESSABLE_ENTITY, UNPROCESSABLE_CONTENT, TOO_MANY_REQUESTS, INTERNAL_SERVER_ERROR, DUPLICATION_FAILED, SERVICE_UNAVAILABLE; domains may define additional codes.
Short, human-readable summary of the error.
Optional longer explanation specific to this occurrence.
Too Many Requests
{
"meta": {
"request_id": "BXaEFVtjc7TXaJxgZhmFgSUD9edqq_CN"
},
"error": {
"code": "TOO_MANY_REQUESTS",
"message": "Rate limit exceeded. Retry later."
}
}Standard envelope returned by all error (4xx/5xx) responses.
Metadata included in every API response.
Unique identifier for the request, for tracking and debugging.
Machine- and human-readable detail for a failed request.
Stable, screaming-snake-case identifier for the error condition. Clients should branch on this, not on message. Common values include BAD_REQUEST, UNAUTHORIZED, FORBIDDEN, NOT_FOUND, CONFLICT_ERROR, PERMISSION_ERROR, UNPROCESSABLE_ENTITY, UNPROCESSABLE_CONTENT, TOO_MANY_REQUESTS, INTERNAL_SERVER_ERROR, DUPLICATION_FAILED, SERVICE_UNAVAILABLE; domains may define additional codes.
Short, human-readable summary of the error.
Optional longer explanation specific to this occurrence.
Internal server error
{
"meta": {
"request_id": "BXaEFVtjc7TXaJxgZhmFgSUD9edqq_CN"
},
"error": {
"code": "INTERNAL_SERVER_ERROR",
"message": "An unexpected error occurred."
}
}Standard envelope returned by all error (4xx/5xx) responses.
Metadata included in every API response.
Unique identifier for the request, for tracking and debugging.
Machine- and human-readable detail for a failed request.
Stable, screaming-snake-case identifier for the error condition. Clients should branch on this, not on message. Common values include BAD_REQUEST, UNAUTHORIZED, FORBIDDEN, NOT_FOUND, CONFLICT_ERROR, PERMISSION_ERROR, UNPROCESSABLE_ENTITY, UNPROCESSABLE_CONTENT, TOO_MANY_REQUESTS, INTERNAL_SERVER_ERROR, DUPLICATION_FAILED, SERVICE_UNAVAILABLE; domains may define additional codes.
Short, human-readable summary of the error.
Optional longer explanation specific to this occurrence.