---
title: "Get specific blocks"
method: GET
path: "/api/builder/blocks/batch"
tags: ["v2"]
---

# Get specific blocks

`GET /api/builder/blocks/batch`

Get specific blocks by their IDs.

## Query parameters

- `block_ids` string[], required

## Response `200`

Successful Response

- BlockInfo[]
  - `id` string, required
  - `name` string, required
  - `inputSchema` object, required
  - `outputSchema` object, required
  - `costs` BlockCost[], required
    - `cost_amount` integer, required
    - `cost_filter` object, required
    - `cost_type` 'run' | 'byte' | 'second' | 'items' | 'cost_usd' | 'tokens', required
    - `cost_divisor` integer
  - `description` string, required
  - `categories` object[], required
  - `contributors` object[], required
  - `staticOutput` boolean, required
  - `uiType` string, required

## Other responses

- `401` — Authentication required
- `422` — Validation Error

## Changes

- **2026-04-30** `8c84efcb3afb` — 1 warning
  - removed the optional property `items/costs/items/token_rate` from the response with the `200` status

[Change history](https://skmtc.dev/significant-gravitas/apis/autogpt-agent-server/changes/api/builder/blocks/batch/get.md)

---

[API](https://skmtc.dev/significant-gravitas/apis/autogpt-agent-server.md) · [All operations](https://skmtc.dev/significant-gravitas/apis/autogpt-agent-server/llms.txt) · [OpenAPI document](https://skmtc.dev/significant-gravitas/apis/autogpt-agent-server/revisions/72eaad2d41b3?raw)
