> ## Documentation Index
> Fetch the complete documentation index at: https://spotzee.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Generate bounded helper data

> Applies approved bounded helper operations for test fixtures, custom sample sets, weighted selections, object selections, slug and symbol templates, and constrained pattern strings. Callback and template-dispatch helpers are not exposed.



## OpenAPI

````yaml https://apix.spotzee.com/api/ext/openapi.json post /generic/data/generate/helpers
openapi: 3.1.0
info:
  title: Spotzee API
  version: '2026-04-28'
  description: >-
    Comprehensive API for email services, DNS management, AI tools, and
    marketing features.
servers:
  - url: https://apix.spotzee.com/api/ext
    description: >-
      Extended API surface — sender-side utilities (DNS, AI, deliverability,
      generators).
security:
  - BearerAuth: []
tags:
  - name: AI
    description: >-
      Sender-side AI utilities — generate copy, score subject lines, and draft
      message variants tailored to a contact or campaign brief.
  - name: Data
    description: >-
      Realistic-looking sample data for development and load testing — contacts,
      events, and segments shaped like production records without exposing real
      customer data.
  - name: DNS
    description: >-
      Inspect a domain’s sender posture — SPF, DKIM, DMARC, MX, and reverse-DNS
      records — and surface the gaps that put deliverability at risk.
  - name: Email
    description: >-
      Send-side validation and inspection — verify addresses, fingerprint MTAs,
      decode bounces, and check inbox-placement signals before a campaign goes
      out.
  - name: SMS
    description: Mobile-number validation and carrier lookup for SMS campaigns.
  - name: Text
    description: >-
      Text-quality utilities — spam-score grading, readability metrics, and
      subject-line scoring against deliverability heuristics.
paths:
  /generic/data/generate/helpers:
    post:
      tags:
        - Data
      summary: Generate bounded helper data
      description: >-
        Applies approved bounded helper operations for test fixtures, custom
        sample sets, weighted selections, object selections, slug and symbol
        templates, and constrained pattern strings. Callback and
        template-dispatch helpers are not exposed.
      operationId: generateHelpersData
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                count:
                  type: string
                  description: >-
                    Number of helper records to generate (1-100). Passed as
                    string but must be numeric.
                  example: '10'
                  pattern: ^[1-9]\d?$|^100$
                locale:
                  type: string
                  description: >-
                    Locale for generated data (for example, en, es, fr, de, pt,
                    zh)
                  example: en
                seed:
                  type: string
                  description: >-
                    Seed for deterministic generation. Same seed produces same
                    results.
                  example: '12345'
                method:
                  type: string
                  description: Approved safe helper method to apply.
                  example: arrayElement
                  enum:
                    - arrayElement
                    - arrayElements
                    - weightedArrayElement
                    - shuffle
                    - objectKey
                    - objectValue
                    - objectEntry
                    - enumValue
                    - rangeToNumber
                    - replaceSymbols
                    - replaceCreditCardSymbols
                    - slugify
                    - fromRegExp
                    - uniqueArray
                items:
                  type: string
                  description: >-
                    JSON array of scalar values for arrayElement, arrayElements,
                    shuffle, and uniqueArray. Maximum 100 entries.
                  example: '["alpha","bravo","charlie"]'
                object:
                  type: string
                  description: >-
                    JSON object with scalar values for objectKey, objectValue,
                    objectEntry, and enumValue. Maximum 100 entries.
                  example: '{"small":1,"medium":2,"large":3}'
                weights:
                  type: string
                  description: >-
                    JSON array of weighted scalar values for
                    weightedArrayElement. Each entry must include positive
                    finite weight and scalar value.
                  example: '[{"weight":5,"value":"sunny"},{"weight":1,"value":"rainy"}]'
                text:
                  type: string
                  description: >-
                    Text, symbol template, card-pattern template, slug input, or
                    bounded pattern string for text-backed helper methods.
                  example: Hello world
                  maxLength: 256
                length:
                  type: string
                  description: >-
                    Helper output length for arrayElements and uniqueArray.
                    Capped at 100.
                  example: '2'
                  pattern: ^[1-9]\d*$
                min:
                  type: string
                  description: >-
                    Minimum count or numeric input for arrayElements and
                    rangeToNumber.
                  example: '1'
                  pattern: ^-?(?:\d+|\d*\.\d+)$
                max:
                  type: string
                  description: >-
                    Maximum count for arrayElements or maximum numeric range
                    value for rangeToNumber.
                  example: '3'
                  pattern: ^-?(?:\d+|\d*\.\d+)$
                symbol:
                  type: string
                  description: Single replacement symbol for replaceCreditCardSymbols.
                  example: '#'
                  maxLength: 256
                inplace:
                  type: string
                  description: >-
                    Whether shuffle should use in-place behavior internally. The
                    request input is never persisted.
                  example: 'false'
                  enum:
                    - 'true'
                    - 'false'
              required:
                - method
      responses:
        '200':
          description: Successfully generated helper data
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                      - success
                  data:
                    type: object
                    properties:
                      helpers:
                        type: array
                        items:
                          type: object
                          properties:
                            method:
                              type: string
                              enum:
                                - arrayElement
                                - arrayElements
                                - weightedArrayElement
                                - shuffle
                                - objectKey
                                - objectValue
                                - objectEntry
                                - enumValue
                                - rangeToNumber
                                - replaceSymbols
                                - replaceCreditCardSymbols
                                - slugify
                                - fromRegExp
                                - uniqueArray
                              description: Resolved helper method.
                              example: arrayElement
                            value:
                              anyOf:
                                - type: string
                                - type: number
                                - type: boolean
                                - type: 'null'
                                - type: 'null'
                              description: >-
                                Primary scalar helper output when the method
                                returns one value.
                              example: alpha
                            values:
                              type: array
                              items:
                                anyOf:
                                  - type: string
                                  - type: number
                                  - type: boolean
                                  - type: 'null'
                                  - type: 'null'
                              description: >-
                                Generated helper output when the method returns
                                multiple values.
                              example:
                                - bravo
                                - alpha
                            key:
                              type: string
                              description: Selected object key for object-backed methods.
                              example: medium
                            entry:
                              type: array
                              items:
                                anyOf:
                                  - type: string
                                  - type: number
                                  - type: boolean
                                  - type: 'null'
                                  - type: 'null'
                              description: Selected object entry as key and value.
                              example:
                                - medium
                                - 2
                            input:
                              type: object
                              properties:
                                itemCount:
                                  type: number
                                  description: Number of input array items.
                                  example: 3
                                keyCount:
                                  type: number
                                  description: Number of input object keys.
                                  example: 3
                                weightCount:
                                  type: number
                                  description: Number of weighted input entries.
                                  example: 2
                                textLength:
                                  type: number
                                  description: Length of the supplied text input.
                                  example: 11
                                length:
                                  type: number
                                  description: Requested helper output length.
                                  example: 2
                                min:
                                  type: number
                                  description: Minimum numeric input used by the helper.
                                  example: 1
                                max:
                                  type: number
                                  description: Maximum numeric input used by the helper.
                                  example: 3
                                symbol:
                                  type: string
                                  description: Replacement symbol used by the helper.
                                  example: '#'
                                inplace:
                                  type: boolean
                                  description: >-
                                    Whether shuffle used in-place behavior
                                    internally.
                                  example: false
                              description: Summary of bounded input used by the helper.
                          required:
                            - method
                      generated:
                        type: number
                      locale:
                        type: string
                      seed:
                        type: number
                      method:
                        type: string
                        enum:
                          - arrayElement
                          - arrayElements
                          - weightedArrayElement
                          - shuffle
                          - objectKey
                          - objectValue
                          - objectEntry
                          - enumValue
                          - rangeToNumber
                          - replaceSymbols
                          - replaceCreditCardSymbols
                          - slugify
                          - fromRegExp
                          - uniqueArray
                    required:
                      - helpers
                      - generated
                      - locale
                      - method
                  performance:
                    type: object
                    properties:
                      generationTime:
                        type: number
                        description: Generation time in milliseconds.
                        example: 2
                      itemsGenerated:
                        type: number
                        description: Number of items generated.
                        example: 10
                      locale:
                        type: string
                        description: Locale used for generation.
                        example: en
                    required:
                      - generationTime
                      - itemsGenerated
                      - locale
                required:
                  - status
                  - data
                example:
                  status: success
                  data:
                    helpers:
                      - method: arrayElement
                        value: alpha
                        input:
                          itemCount: 3
                    generated: 1
                    locale: en
                    method: arrayElement
                  performance:
                    generationTime: 1
                    itemsGenerated: 1
                    locale: en
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                      - error
                    description: Indicates an error occurred
                  error:
                    type: string
                    description: >-
                      Human-readable error message. Mirrors the Main API
                      envelope’s legacy `error` field; the canonical replacement
                      is `message` + machine-readable `code` (see
                      @spotzee/api-schemas/shared `ErrorResponse`).
                    example: Invalid request parameters
                required:
                  - status
                  - error
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                      - error
                    description: Indicates an error occurred
                  error:
                    type: string
                    description: >-
                      Human-readable error message. Mirrors the Main API
                      envelope’s legacy `error` field; the canonical replacement
                      is `message` + machine-readable `code` (see
                      @spotzee/api-schemas/shared `ErrorResponse`).
                    example: Invalid request parameters
                required:
                  - status
                  - error
        '402':
          description: Payment Required
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                      - error
                    description: Indicates an error occurred
                  error:
                    type: string
                    description: >-
                      Human-readable error message. Mirrors the Main API
                      envelope’s legacy `error` field; the canonical replacement
                      is `message` + machine-readable `code` (see
                      @spotzee/api-schemas/shared `ErrorResponse`).
                    example: Invalid request parameters
                required:
                  - status
                  - error
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                      - error
                    description: Indicates an error occurred
                  error:
                    type: string
                    description: >-
                      Human-readable error message. Mirrors the Main API
                      envelope’s legacy `error` field; the canonical replacement
                      is `message` + machine-readable `code` (see
                      @spotzee/api-schemas/shared `ErrorResponse`).
                    example: Invalid request parameters
                required:
                  - status
                  - error
        '503':
          description: Service unavailable
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                      - error
                    description: Indicates an error occurred
                  error:
                    type: string
                    description: >-
                      Human-readable error message. Mirrors the Main API
                      envelope’s legacy `error` field; the canonical replacement
                      is `message` + machine-readable `code` (see
                      @spotzee/api-schemas/shared `ErrorResponse`).
                    example: Invalid request parameters
                required:
                  - status
                  - error
        '504':
          description: Gateway timeout
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                      - error
                    description: Indicates an error occurred
                  error:
                    type: string
                    description: >-
                      Human-readable error message. Mirrors the Main API
                      envelope’s legacy `error` field; the canonical replacement
                      is `message` + machine-readable `code` (see
                      @spotzee/api-schemas/shared `ErrorResponse`).
                    example: Invalid request parameters
                required:
                  - status
                  - error
      security:
        - BearerAuth: []
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: 'Bearer token authentication. Use format: Bearer YOUR_API_KEY'

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.