---
title: "List schema groups (BETA)"
method: GET
path: "/v4/schemas/"
tags: ["Schemas"]
---

# List schema groups (BETA)

`GET /v4/schemas/`

**List schema groups**<p>Returns every schema group exposed by this API. A <em>group</em> binds an enum (e.g. <code>CampaignType</code>) to a family of TypeBox JSON Schemas describing the inputs the Merkl engine accepts for each value of that enum.</p><p>Current groups:</p><ul><li><code>campaignType</code> — config inputs of a campaign of a given <code>CampaignType</code>.</li><li><code>campaignTypeExtended</code> — same as <code>campaignType</code> plus <code>distributionChainId</code> and <code>campaignId</code>.</li><li><code>distributionMethod</code> — parameters of a given <code>DistributionMethod</code>.</li><li><code>computeScoreMethod</code> — parameters of a given <code>ComputeScoreMethod</code>.</li><li><code>hookType</code> — parameters of a given <code>HookType</code>.</li><li><code>processorType</code> — config of a given <code>ProcessorType</code>.</li></ul><p>Pair this endpoint with <a href="#tag/Enums"><code>/v4/enums</code></a> for the enum value ↔ key mapping.</p><p>⚠️ <strong>Beta:</strong> response shape may change without notice.</p>

## Response `200`

Response for status 200

- object
  - `groups` object[], required — Available schema groups
    - `name` string, required — Schema group name (e.g., campaignType)
    - `enumName` string, required — Underlying enum name (e.g., CampaignType)
    - `valueType` union, required — Type of the discriminator values used to address a schema in this group
      - string
      - string
    - `count` number, required — Number of schemas available in the group
    - `description` string, required — Human-readable description of the schema group

---

[API](https://skmtc.dev/merkl/apis/merkl-api.md) · [All operations](https://skmtc.dev/merkl/apis/merkl-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/merkl/merkl-api/revisions/a7e5b9f6fb5f/schema)
