{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/BlockResponse", "title": "BlockResponse", "properties": { "value": { "type": "string", "title": "Value", "description": "Value of the block." }, "limit": { "type": "integer", "title": "Limit", "description": "Character limit of the block.", "default": 100000 }, "project_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Project Id", "description": "The associated project id." }, "template_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Template Name", "description": "(Deprecated) The name of the block template (if it is a template).", "deprecated": true }, "is_template": { "type": "boolean", "title": "Is Template", "description": "Whether the block is a template (e.g. saved human/persona options).", "default": false }, "template_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Template Id", "description": "(Deprecated) The id of the template.", "deprecated": true }, "base_template_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Base Template Id", "description": "(Deprecated) The base template id of the block.", "deprecated": true }, "deployment_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Deployment Id", "description": "(Deprecated) The id of the deployment.", "deprecated": true }, "entity_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Entity Id", "description": "(Deprecated) The id of the entity within the template.", "deprecated": true }, "preserve_on_migration": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Preserve On Migration", "description": "(Deprecated) Preserve the block on template migration.", "default": false, "deprecated": true }, "label": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Label", "description": "Label of the block (e.g. 'human', 'persona') in the context window." }, "read_only": { "type": "boolean", "title": "Read Only", "description": "(Deprecated) Whether the agent has read-only access to the block.", "default": false, "deprecated": true }, "description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Description", "description": "Description of the block." }, "metadata": { "anyOf": [ { "additionalProperties": true, "type": "object" }, { "type": "null" } ], "title": "Metadata", "description": "Metadata of the block.", "default": {} }, "hidden": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Hidden", "description": "(Deprecated) If set to True, the block will be hidden.", "deprecated": true }, "id": { "type": "string", "title": "Id", "description": "The id of the block." }, "created_by_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Created By Id", "description": "The id of the user that made this Block." }, "last_updated_by_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Last Updated By Id", "description": "The id of the user that last updated this Block." }, "tags": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "title": "Tags", "description": "The tags associated with the block.", "default": [] } }, "type": "object", "required": [ "value", "id" ] }