---
title: "Retrieve Block"
method: GET
path: "/v1/blocks/{block_id}"
tags: ["blocks"]
---

# Retrieve Block

`GET /v1/blocks/{block_id}`

## Path parameters

- `block_id` string, required

## Response `200`

Successful Response

- Block — A Block represents a reserved section of the LLM's context window which is editable. `Block` objects contained in the `Memory` object, which is able to edit the Block values. Parameters: label (str): The label of the block (e.g. 'human', 'persona'). This defines a category for the block. value (str): The value of the block. This is the string that is represented in the context window. limit (int): The character limit of the block. is_template (bool): Whether the block is a template (e.g. saved human/persona options). Non-template blocks are not stored in the database and are ephemeral, while templated blocks are stored in the database. label (str): The label of the block (e.g. 'human', 'persona'). This defines a category for the block. template_name (str): The name of the block template (if it is a template). description (str): Description of the block. metadata (Dict): Metadata of the block. user_id (str): The unique identifier of the user associated with the block.
  - `value` string, required — Value of the block.
  - `limit` integer — Character limit of the block.
  - `project_id` string, nullable — The associated project id.
  - `name` string, nullable — The id of the template.
  - `is_template` boolean — Whether the block is a template (e.g. saved human/persona options).
  - `base_template_id` string, nullable — The base template id of the block.
  - `deployment_id` string, nullable — The id of the deployment.
  - `entity_id` string, nullable — The id of the entity within the template.
  - `preserve_on_migration` boolean, nullable — Preserve the block on template migration.
  - `label` string, nullable — Label of the block (e.g. 'human', 'persona') in the context window.
  - `read_only` boolean — Whether the agent has read-only access to the block.
  - `description` string, nullable — Description of the block.
  - `metadata` object, nullable — Metadata of the block.
  - `hidden` boolean, nullable — If set to True, the block will be hidden.
  - `id` string — The human-friendly ID of the Block
  - `created_by_id` string, nullable — The id of the user that made this Block.
  - `last_updated_by_id` string, nullable — The id of the user that last updated this Block.

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/yu-code666/apis/letta-api.md) · [All operations](https://skmtc.net/yu-code666/apis/letta-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/yu-code666/letta-api/versions/6cec99480c13/schema)
