List Blocks For Identity
Get all blocks associated with the specified identity.
Authentication
AuthorizationBearer
Header authentication of the form Bearer <token>
Path Parameters
identity_id
The ID of the identity in the format ‘identity-<uuid4>’
Query Parameters
before
Block ID cursor for pagination. Returns blocks that come before this block ID in the specified sort order
after
Block ID cursor for pagination. Returns blocks that come after this block ID in the specified sort order
limit
Maximum number of blocks to return
order
Sort order for blocks by creation time. 'asc' for oldest first, 'desc' for newest first
Allowed values:
order_by
Field to sort by
Response
Successful Response
value
Value of the block.
id
The id of the block.
limit
Character limit of the block.
project_id
The associated project id.
is_template
Whether the block is a template (e.g. saved human/persona options).
label
Label of the block (e.g. ‘human’, ‘persona’) in the context window.
description
Description of the block.
metadata
Metadata of the block.
created_by_id
The id of the user that made this Block.
last_updated_by_id
The id of the user that last updated this Block.
template_nameDeprecated
(Deprecated) The name of the block template (if it is a template).
template_idDeprecated
(Deprecated) The id of the template.
base_template_idDeprecated
(Deprecated) The base template id of the block.
deployment_idDeprecated
(Deprecated) The id of the deployment.
entity_idDeprecated
(Deprecated) The id of the entity within the template.
preserve_on_migrationDeprecated
(Deprecated) Preserve the block on template migration.
read_onlyDeprecated
(Deprecated) Whether the agent has read-only access to the block.