---
title: "Execute graph block"
method: POST
path: "/api/blocks/{block_id}/execute"
tags: ["v1", "blocks"]
---

# Execute graph block

`POST /api/blocks/{block_id}/execute`

## Path parameters

- `block_id` string, required

## Request body

- object

## Response `200`

Successful Response

- object

## Other responses

- `401` — Authentication required
- `402` — Subscription required (NO_TIER user, paywall on)
- `422` — Validation Error

## Changes

- **2026-05-09** `f3fe325e083c` — 1 info
  - added the non-success response with the status `402`
- **2026-05-09** `e90a755fa9e1` — 1 info
  - removed the non-success response with the status `402`
- **2026-05-08** `9b85f454ac38` — 1 info
  - added the non-success response with the status `402`
- **2026-04-30** `8c84efcb3afb` — 1 info
  - removed the non-success response with the status `402`

[Change history](https://skmtc.dev/significant-gravitas/apis/autogpt-agent-server/changes/api/blocks/:block_id/execute/post.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-service-production.skmtc.workers.dev/v1/apis/significant-gravitas/autogpt-agent-server/revisions/5dc375899754/schema)
