Productsup
API referenceV2Analyzer tests

List all analyzer test templates

Retrieves a paginated list of all available analyzer test templates. Templates are reusable validators that can be assigned to attributes with specific configurations.

GET
/V2/analyzer-test-templates

Authorization

bearerAuth
AuthorizationBearer <token>

ProductsUp Keycloak JWT bearer token.

In: header

Query Parameters

firstResult?integer

Starting item (pagination offset)

Default0
maxResults?integer

Items per page

Default50

Response Body

application/json

application/json

curl -X GET "https://export-template-api.productsup.com/V2/analyzer-test-templates"
{
  "data": [
    {
      "id": "length_check",
      "name": "Length Validation",
      "description": "Validates text length with min/max bounds.",
      "deprecated": false,
      "variables": {
        "value": {
          "type": "integer",
          "minimum": 0,
          "description": "Length threshold value",
          "required": true
        },
        "operator": {
          "type": "string",
          "enum": [
            ">",
            "<",
            ">=",
            "<=",
            "=",
            "!="
          ],
          "description": "Comparison operator",
          "required": true
        }
      }
    }
  ],
  "pagination": {
    "firstResult": 0,
    "maxResults": 50,
    "count": 5,
    "total": 5
  }
}
{
  "errors": {
    "message": "Resource access denied."
  }
}

How is this guide?