Create Block
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
Body
Create a block
Label of the block.
Value of the block.
Character limit of the block.
Name of the block.
Description of the block.
Metadata of the block.
The unique identifier of the user associated with the block.
Response
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: name (str): The name of 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. 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. 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 of the block.
Character limit of the block.
Name of the block.
Whether the block is a template (e.g. saved human/persona options).
Label of the block (e.g. 'human', 'persona').
Description of the block.
Metadata of the block.
The unique identifier of the user associated with the block.
The human-friendly ID of the Block