---
title: "Many specs in one call (DSL)"
method: GET
path: "/batch"
tags: ["schema"]
---

# Many specs in one call (DSL)

`GET /batch`

## Request

- Base URL: `https://sampuli.site/api/v1`
- URL: `https://sampuli.site/api/v1/batch`
- Auth: none declared

## Query parameters

- `specs` string, required
- `fields` string
- `seed` string
- `pretty` '1'

## Response `200`

Results in request order.

- BatchResult
  - `count` integer
  - `results` object[]
    - `spec` string
    - `key` string
    - `count` integer
    - `data` unknown
    - `error` string

## Other responses

- `400`: Error

---

[API](https://skmtc.dev/sampuli/apis/sampuli-api.md) · [All operations](https://skmtc.dev/sampuli/apis/sampuli-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sampuli/apis/sampuli-api/revisions/55c96e65fa3c?raw)
