Create Block
Create a new block with template-related fields.
Request body
Value of the block.
Character limit of the block.
The associated project id.
Name of the block if it is a template.
The id of the template.
The id of the base template.
The id of the deployment.
The id of the entity within the template.
Preserve the block on template migration.
Label of the block.
Whether the agent has read-only access to the block.
Description of the block.
Metadata of the block.
If set to True, the block will be hidden.
Response
Successful Response
Value of the block.
Character limit of the block.
The associated project id.
The id of the template.
Whether the block is a template (e.g. saved human/persona options).
The base template id of the block.
The id of the deployment.
The id of the entity within the template.
Preserve the block on template migration.
Label of the block (e.g. 'human', 'persona') in the context window.
Whether the agent has read-only access to the block.
Description of the block.
Metadata of the block.
If set to True, the block will be hidden.
The human-friendly ID of the Block
The id of the user that made this Block.
The id of the user that last updated this Block.
Example response
{
"id": "block-123e4567-e89b-12d3-a456-426614174000"
}