Create Block
Authentication
AuthorizationBearer
Header authentication of the form Bearer <token>
Request
This endpoint expects an object.
value
Value of the block.
label
Label of the block.
limit
Character limit of the block.
project_id
The associated project id.
template_name
Name of the block if it is a template.
is_template
template_id
The id of the template.
base_template_id
The base template id of the block.
deployment_id
The id of the deployment.
entity_id
The id of the entity within the template.
preserve_on_migration
Preserve the block on template migration.
read_only
Whether the agent has read-only access to the block.
description
Description of the block.
metadata
Metadata of the block.
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.