---
title: "Get a block"
method: GET
path: "/blocks/{blockId}"
tags: ["Blocks"]
---

# Get a block

`GET /blocks/{blockId}`

## Path parameters

- `blockId` string, required — Opaque block identifier.

## Response `200`

Block details

- object
  - `block` Block, required
    - `id` string, required — Opaque block identifier.
    - `notebookId` string, required — Opaque notebook identifier.
    - `type` string, required
    - `content` string, required
    - `metadata` object, nullable
    - `integrationId` string, uuid, nullable
    - `version` integer, required
    - `createdAt` string, date-time, required
    - `updatedAt` string, date-time, required

## Other responses

- `400` — Validation error
- `401` — Unauthorized
- `403` — Insufficient permissions
- `404` — Block not found
- `409` — Project is suspended
- `429` — Rate limit exceeded

---

[API](https://skmtc.net/deepnote/apis/deepnote-public-api.md) · [All operations](https://skmtc.net/deepnote/apis/deepnote-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/deepnote/deepnote-public-api/revisions/726970fd2992/schema)
