compiler

Enumerate all valid query configurations

Changed on

Enumerate every valid query configuration for a connection.

Generates all valid combinations of optional dimensions, measures, calculations, filters, and variable values, constrained by widget category rules.

RLS: Filtered to current client (ClientRLSDB).

post/api/v1/compiler/enumerate

Request

  • Base URL
    https://api.kater.ai
  • Auth
    • HTTP bearer
    • or API key in header X-API-Key

Query parameters

sourcestring nullable

Headers

X-Kater-CLI-IDstring nullable

Request body

connection_idstring uuid required

Connection to enumerate against

query_idsstring[] nullable

Optional query UUIDs to limit enumeration. If omitted, enumerates all queries.

tenant_keystring required

Tenant key for multi-tenant clients. Use 'kater_global_tenant' for no-tenancy clients or when no tenant isolation is needed.

Response

Successful Response

total_countinteger required

Total number of combinations

Changes

    • breaking

      the request property became required

    • breaking

      request property list-of-types was narrowed by removing types null from media type application/json

    • warning

      removed the request property

    • info

      added the new optional request property

    • info

      added the optional property // to the response with the status

    • breaking

      response property errors list-of-types was widened by adding types array to media type application/json of response 400

    • breaking

      response property errors list-of-types was widened by adding types array to media type application/json of response 401

    • breaking

      response property errors list-of-types was widened by adding types array to media type application/json of response 403

    • breaking

      response property errors list-of-types was widened by adding types array to media type application/json of response 404

    • breaking

      response property errors list-of-types was widened by adding types array to media type application/json of response 422

    • breaking

      response property errors list-of-types was widened by adding types array to media type application/json of response 500

    • info

      added the new optional request property

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status