Blocks
List Blocks
client.blocks.list(BlockListParams { after, before, connected_to_agents_count_eq, 14 more } query?, RequestOptionsoptions?): ArrayPage<BlockResponse { id, value, base_template_id, 15 more } >
/v1/blocks/
Create Block
client.blocks.create(BlockCreateParams { label, value, base_template_id, 12 more } body, RequestOptionsoptions?): BlockResponse { id, value, base_template_id, 15 more }
/v1/blocks/
Modify Block
client.blocks.modify(stringblockID, BlockModifyParams { base_template_id, deployment_id, description, 12 more } body, RequestOptionsoptions?): BlockResponse { id, value, base_template_id, 15 more }
/v1/blocks/{block_id}
Delete Block
client.blocks.delete(stringblockID, RequestOptionsoptions?): BlockDeleteResponse
/v1/blocks/{block_id}
Retrieve Block
client.blocks.retrieve(stringblockID, RequestOptionsoptions?): BlockResponse { id, value, base_template_id, 15 more }
/v1/blocks/{block_id}
Models
BlocksAgents
List Agents For Block
client.blocks.agents.list(stringblockID, AgentListParams { after, before, include, 4 more } query?, RequestOptionsoptions?): ArrayPage<AgentState { id, agent_type, blocks, 39 more } >
/v1/blocks/{block_id}/agents