## Attach Single `agents.knowledge_bases.attach_single(strknowledge_base_uuid, KnowledgeBaseAttachSingleParams**kwargs) -> APILinkKnowledgeBaseOutput` **post** `/v2/gen-ai/agents/{agent_uuid}/knowledge_bases/{knowledge_base_uuid}` To attach a knowledge base to an agent, send a POST request to `/v2/gen-ai/agents/{agent_uuid}/knowledge_bases/{knowledge_base_uuid}` ### Parameters - **agent\_uuid:** `str` - **knowledge\_base\_uuid:** `str` ### Returns - `APILinkKnowledgeBaseOutput` ### Example ```python from do_gradientai import GradientAI client = GradientAI() api_link_knowledge_base_output = client.agents.knowledge_bases.attach_single( knowledge_base_uuid="\"123e4567-e89b-12d3-a456-426614174000\"", agent_uuid="\"123e4567-e89b-12d3-a456-426614174000\"", ) print(api_link_knowledge_base_output.agent) ```