AB Tasty icon

AB Tasty

Use the AB Tasty API

Overview

This node integrates with the AB Tasty Public API to list all tests associated with a specified account. It allows users to retrieve detailed information about experiments and campaigns configured in their AB Tasty account. This is useful for marketing teams, product managers, or data analysts who want to programmatically access test data for reporting, monitoring, or further automation.

Typical use cases include:

  • Fetching a paginated list of active or paused A/B tests.
  • Filtering tests by tags, folders, or test types.
  • Sorting tests by ID or name.
  • Searching tests by name, URL, or other criteria.

For example, a user might list all currently running tests tagged with "homepage" to monitor ongoing experiments or export test metadata for analysis.

Properties

Name Meaning
Account ID The numeric identifier of the AB Tasty account from which to list tests. Required to specify the scope of the query.
Filters A collection of optional filters to refine the list of tests returned. Available filter options include:
- Active: Filter tests by status; "Pause" (0) or "Play" (1).
- Exclude Tag: Exclude tests that have a specific tag.
- Folder: Search tests by folder ID (use 0 for tests not in any folder).
- Is Preprod: Boolean flag to return only pre-production tests.
- Is Schedule: Filter tests by scheduling status; "Test Not Schedule" (0) or "Test Schedule" (1).
- Max Per Page: Limit the number of tests returned per page (pagination control).
- Modification Type: Filter by type of global modification (e.g., plugin or actionTracking).
- Name: Search tests by exact name.
- Name or URL: Search tests by name or URL.
- Operation: Search by operation of the modification.
- Order by ID: Sort tests by ID in ascending or descending order.
- Order by Name: Sort tests by name in ascending or descending order.
- Page: Specify the page number for pagination.
- Parent: Search by parent ID (0 for no parent).
- Search: General search by name, URL, or ID of the test.
- Tag: Return only tests with a specific tag.
- Test Type: Filter by test type such as ab, heatmap, mobileapp, mastersegment, multipage, multivariate, mvt, predictive, segmentation, subsegment, tunnel.

Output

The node outputs an array of JSON objects representing the tests retrieved from the AB Tasty Public API. Each object corresponds to a test and contains its metadata and configuration details as provided by the API.

If the API response is empty, the node returns a JSON object indicating "204 No Content".

No binary data output is produced by this operation.

Dependencies

  • Requires an API key credential for AB Tasty with client ID and client secret to authenticate via OAuth2 client credentials flow.
  • The node makes HTTP requests to the AB Tasty Public API endpoints.
  • Network connectivity to https://api.abtasty.com and related AB Tasty API domains is required.

Troubleshooting

  • Missing Client ID or Client Secret: The node will throw an error if these credentials are not set or invalid. Ensure the API key credential is properly configured.
  • Account ID is required: This parameter must be provided; otherwise, the node throws an error.
  • Test ID or other IDs missing: For operations requiring specific test or variation IDs, ensure these are supplied.
  • API Rate Limits or Access Denied: If the API returns errors related to rate limiting or permissions, verify your API key's access rights and usage limits.
  • Invalid Filter Values: Using unsupported or incorrectly formatted filter values may cause the API to reject the request.
  • Empty Response: A "204 No Content" indicates no tests matched the filters; try adjusting filter criteria.

Links and References

Discussion