# pydo.genai – DigitalOcean Documentation > - [pydo.genai.attach_agent_function()](https://docs.digitalocean.com/reference/pydo/reference/genai/attach_agent_function/index.html.md): Add Function Route to an Agent - [pydo.genai.attach_agent_guardrails()](https://docs.digitalocean.com/reference/pydo/reference/genai/attach_agent_guardrails/index.html.md): Attach Guardrails to an Agent - [pydo.genai.attach_agent()](https://docs.digitalocean.com/reference/pydo/reference/genai/attach_agent/index.html.md): Add Agent Route to an Agent - [pydo.genai.attach_knowledge_base()](https://docs.digitalocean.com/reference/pydo/reference/genai/attach_knowledge_base/index.html.md): Attach Knowledge Base to an Agent - [pydo.genai.attach_knowledge_bases()](https://docs.digitalocean.com/reference/pydo/reference/genai/attach_knowledge_bases/index.html.md): Attach Knowledge Bases to an Agent - [pydo.genai.cancel_indexing_job()](https://docs.digitalocean.com/reference/pydo/reference/genai/cancel_indexing_job/index.html.md): Cancel Indexing Job for a Knowledge Base - [pydo.genai.create_agent_api_key()](https://docs.digitalocean.com/reference/pydo/reference/genai/create_agent_api_key/index.html.md): Create an Agent API Key - [pydo.genai.create_agent()](https://docs.digitalocean.com/reference/pydo/reference/genai/create_agent/index.html.md): Create an Agent - [pydo.genai.create_anthropic_api_key()](https://docs.digitalocean.com/reference/pydo/reference/genai/create_anthropic_api_key/index.html.md): Create Anthropic API Key - [pydo.genai.create_data_source_file_upload_presigned_urls()](https://docs.digitalocean.com/reference/pydo/reference/genai/create_data_source_file_upload_presigned_urls/index.html.md): Create Presigned URLs for Data Source File Upload - [pydo.genai.create_evaluation_dataset_file_upload_presigned_urls()](https://docs.digitalocean.com/reference/pydo/reference/genai/create_evaluation_dataset_file_upload_presigned_urls/index.html.md): Create Presigned URLs for Evaluation Dataset File Upload - [pydo.genai.create_evaluation_dataset()](https://docs.digitalocean.com/reference/pydo/reference/genai/create_evaluation_dataset/index.html.md): Create Evaluation Dataset - [pydo.genai.create_evaluation_test_case()](https://docs.digitalocean.com/reference/pydo/reference/genai/create_evaluation_test_case/index.html.md): Create Evaluation Test Case. - [pydo.genai.create_indexing_job()](https://docs.digitalocean.com/reference/pydo/reference/genai/create_indexing_job/index.html.md): Start Indexing Job for a Knowledge Base - [pydo.genai.create_knowledge_base_data_source()](https://docs.digitalocean.com/reference/pydo/reference/genai/create_knowledge_base_data_source/index.html.md): Add Data Source to a Knowledge Base - [pydo.genai.create_knowledge_base()](https://docs.digitalocean.com/reference/pydo/reference/genai/create_knowledge_base/index.html.md): Create a Knowledge Base - [pydo.genai.create_model_api_key()](https://docs.digitalocean.com/reference/pydo/reference/genai/create_model_api_key/index.html.md): Create a Model API Key - [pydo.genai.create_oauth2_dropbox_tokens()](https://docs.digitalocean.com/reference/pydo/reference/genai/create_oauth2_dropbox_tokens/index.html.md): Get Oauth2 Dropbox Tokens - [pydo.genai.create_openai_api_key()](https://docs.digitalocean.com/reference/pydo/reference/genai/create_openai_api_key/index.html.md): Create OpenAI API Key - [pydo.genai.create_scheduled_indexing()](https://docs.digitalocean.com/reference/pydo/reference/genai/create_scheduled_indexing/index.html.md): Create scheduled indexing for knowledge base - [pydo.genai.create_workspace()](https://docs.digitalocean.com/reference/pydo/reference/genai/create_workspace/index.html.md): Create a Workspace - [pydo.genai.delete_agent_api_key()](https://docs.digitalocean.com/reference/pydo/reference/genai/delete_agent_api_key/index.html.md): Delete API Key for an Agent - [pydo.genai.delete_agent()](https://docs.digitalocean.com/reference/pydo/reference/genai/delete_agent/index.html.md): Delete an Agent - [pydo.genai.delete_anthropic_api_key()](https://docs.digitalocean.com/reference/pydo/reference/genai/delete_anthropic_api_key/index.html.md): Delete Anthropic API Key - [pydo.genai.delete_knowledge_base_data_source()](https://docs.digitalocean.com/reference/pydo/reference/genai/delete_knowledge_base_data_source/index.html.md): Delete a Data Source from a Knowledge Base - [pydo.genai.delete_knowledge_base()](https://docs.digitalocean.com/reference/pydo/reference/genai/delete_knowledge_base/index.html.md): Delete a Knowledge Base - [pydo.genai.delete_model_api_key()](https://docs.digitalocean.com/reference/pydo/reference/genai/delete_model_api_key/index.html.md): Delete API Key for a Model - [pydo.genai.delete_openai_api_key()](https://docs.digitalocean.com/reference/pydo/reference/genai/delete_openai_api_key/index.html.md): Delete OpenAI API Key - [pydo.genai.delete_scheduled_indexing()](https://docs.digitalocean.com/reference/pydo/reference/genai/delete_scheduled_indexing/index.html.md): Delete Scheduled Indexing - [pydo.genai.delete_workspace()](https://docs.digitalocean.com/reference/pydo/reference/genai/delete_workspace/index.html.md): Delete a Workspace - [pydo.genai.detach_agent_function()](https://docs.digitalocean.com/reference/pydo/reference/genai/detach_agent_function/index.html.md): Delete Function Route for an Agent - [pydo.genai.detach_agent_guardrail()](https://docs.digitalocean.com/reference/pydo/reference/genai/detach_agent_guardrail/index.html.md): Detach a Guardrail from an Agent - [pydo.genai.detach_agent()](https://docs.digitalocean.com/reference/pydo/reference/genai/detach_agent/index.html.md): Delete Agent Route for an Agent - [pydo.genai.detach_knowledge_base()](https://docs.digitalocean.com/reference/pydo/reference/genai/detach_knowledge_base/index.html.md): Detach Knowledge Base from an Agent - [pydo.genai.get_agent_children()](https://docs.digitalocean.com/reference/pydo/reference/genai/get_agent_children/index.html.md): View Agent Routes - [pydo.genai.get_agent_usage()](https://docs.digitalocean.com/reference/pydo/reference/genai/get_agent_usage/index.html.md): Get Agent Usage - [pydo.genai.get_agent()](https://docs.digitalocean.com/reference/pydo/reference/genai/get_agent/index.html.md): Retrieve an Existing Agent - [pydo.genai.get_anthropic_api_key()](https://docs.digitalocean.com/reference/pydo/reference/genai/get_anthropic_api_key/index.html.md): Get Anthropic API Key - [pydo.genai.get_evaluation_run_prompt_results()](https://docs.digitalocean.com/reference/pydo/reference/genai/get_evaluation_run_prompt_results/index.html.md): Retrieve Results of an Evaluation Run Prompt - [pydo.genai.get_evaluation_run_results()](https://docs.digitalocean.com/reference/pydo/reference/genai/get_evaluation_run_results/index.html.md): Retrieve Results of an Evaluation Run - [pydo.genai.get_evaluation_run()](https://docs.digitalocean.com/reference/pydo/reference/genai/get_evaluation_run/index.html.md): Retrieve Information About an Existing Evaluation Run - [pydo.genai.get_evaluation_test_case()](https://docs.digitalocean.com/reference/pydo/reference/genai/get_evaluation_test_case/index.html.md): Retrieve Information About an Existing Evaluation Test Case - [pydo.genai.get_indexing_job_details_signed_url()](https://docs.digitalocean.com/reference/pydo/reference/genai/get_indexing_job_details_signed_url/index.html.md): Get Signed URL for Indexing Job Details - [pydo.genai.get_indexing_job()](https://docs.digitalocean.com/reference/pydo/reference/genai/get_indexing_job/index.html.md): Retrieve Status of Indexing Job for a Knowledge Base - [pydo.genai.get_knowledge_base()](https://docs.digitalocean.com/reference/pydo/reference/genai/get_knowledge_base/index.html.md): Retrieve Information About an Existing Knowledge Base - [pydo.genai.get_oauth2_url()](https://docs.digitalocean.com/reference/pydo/reference/genai/get_oauth2_url/index.html.md): Get Oauth2 URL - [pydo.genai.get_openai_api_key()](https://docs.digitalocean.com/reference/pydo/reference/genai/get_openai_api_key/index.html.md): Get OpenAI API Key - [pydo.genai.get_scheduled_indexing()](https://docs.digitalocean.com/reference/pydo/reference/genai/get_scheduled_indexing/index.html.md): Get Scheduled Indexing for Knowledge Base - [pydo.genai.get_workspace()](https://docs.digitalocean.com/reference/pydo/reference/genai/get_workspace/index.html.md): Retrieve an Existing Workspace - [pydo.genai.list_agent_api_keys()](https://docs.digitalocean.com/reference/pydo/reference/genai/list_agent_api_keys/index.html.md): List Agent API Keys - [pydo.genai.list_agent_versions()](https://docs.digitalocean.com/reference/pydo/reference/genai/list_agent_versions/index.html.md): List Agent Versions - [pydo.genai.list_agents_by_anthropic_key()](https://docs.digitalocean.com/reference/pydo/reference/genai/list_agents_by_anthropic_key/index.html.md): List agents by Anthropic key - [pydo.genai.list_agents_by_openai_key()](https://docs.digitalocean.com/reference/pydo/reference/genai/list_agents_by_openai_key/index.html.md): List agents by OpenAI key - [pydo.genai.list_agents_by_workspace()](https://docs.digitalocean.com/reference/pydo/reference/genai/list_agents_by_workspace/index.html.md): List agents by Workspace - [pydo.genai.list_agents()](https://docs.digitalocean.com/reference/pydo/reference/genai/list_agents/index.html.md): List Agents - [pydo.genai.list_anthropic_api_keys()](https://docs.digitalocean.com/reference/pydo/reference/genai/list_anthropic_api_keys/index.html.md): List Anthropic API Keys - [pydo.genai.list_datacenter_regions()](https://docs.digitalocean.com/reference/pydo/reference/genai/list_datacenter_regions/index.html.md): List Datacenter Regions - [pydo.genai.list_evaluation_metrics()](https://docs.digitalocean.com/reference/pydo/reference/genai/list_evaluation_metrics/index.html.md): List Evaluation Metrics - [pydo.genai.list_evaluation_runs_by_test_case()](https://docs.digitalocean.com/reference/pydo/reference/genai/list_evaluation_runs_by_test_case/index.html.md): List Evaluation Runs by Test Case - [pydo.genai.list_evaluation_test_cases_by_workspace()](https://docs.digitalocean.com/reference/pydo/reference/genai/list_evaluation_test_cases_by_workspace/index.html.md): List Evaluation Test Cases by Workspace - [pydo.genai.list_evaluation_test_cases()](https://docs.digitalocean.com/reference/pydo/reference/genai/list_evaluation_test_cases/index.html.md): List Evaluation Test Cases - [pydo.genai.list_indexing_job_data_sources()](https://docs.digitalocean.com/reference/pydo/reference/genai/list_indexing_job_data_sources/index.html.md): List Data Sources for Indexing Job for a Knowledge Base - [pydo.genai.list_indexing_jobs_by_knowledge_base()](https://docs.digitalocean.com/reference/pydo/reference/genai/list_indexing_jobs_by_knowledge_base/index.html.md): List Indexing Jobs for a Knowledge Base - [pydo.genai.list_indexing_jobs()](https://docs.digitalocean.com/reference/pydo/reference/genai/list_indexing_jobs/index.html.md): List Indexing Jobs for a Knowledge Base - [pydo.genai.list_knowledge_base_data_sources()](https://docs.digitalocean.com/reference/pydo/reference/genai/list_knowledge_base_data_sources/index.html.md): List Data Sources for a Knowledge Base - [pydo.genai.list_knowledge_bases()](https://docs.digitalocean.com/reference/pydo/reference/genai/list_knowledge_bases/index.html.md): List Knowledge Bases - [pydo.genai.list_model_api_keys()](https://docs.digitalocean.com/reference/pydo/reference/genai/list_model_api_keys/index.html.md): List Model API Keys - [pydo.genai.list_models()](https://docs.digitalocean.com/reference/pydo/reference/genai/list_models/index.html.md): List Available Models - [pydo.genai.list_openai_api_keys()](https://docs.digitalocean.com/reference/pydo/reference/genai/list_openai_api_keys/index.html.md): List OpenAI API Keys - [pydo.genai.list_workspaces()](https://docs.digitalocean.com/reference/pydo/reference/genai/list_workspaces/index.html.md): List Workspaces - [pydo.genai.regenerate_agent_api_key()](https://docs.digitalocean.com/reference/pydo/reference/genai/regenerate_agent_api_key/index.html.md): Regenerate API Key for an Agent - [pydo.genai.regenerate_model_api_key()](https://docs.digitalocean.com/reference/pydo/reference/genai/regenerate_model_api_key/index.html.md): Regenerate API Key for a Model - [pydo.genai.rollback_to_agent_version()](https://docs.digitalocean.com/reference/pydo/reference/genai/rollback_to_agent_version/index.html.md): Rollback to Agent Version - [pydo.genai.run_evaluation_test_case()](https://docs.digitalocean.com/reference/pydo/reference/genai/run_evaluation_test_case/index.html.md): Run an Evaluation Test Case - [pydo.genai.update_agent_api_key()](https://docs.digitalocean.com/reference/pydo/reference/genai/update_agent_api_key/index.html.md): Update API Key for an Agent - [pydo.genai.update_agent_deployment_visibility()](https://docs.digitalocean.com/reference/pydo/reference/genai/update_agent_deployment_visibility/index.html.md): Update Agent Status - [pydo.genai.update_agent_function()](https://docs.digitalocean.com/reference/pydo/reference/genai/update_agent_function/index.html.md): Update Function Route for an Agent - [pydo.genai.update_agent()](https://docs.digitalocean.com/reference/pydo/reference/genai/update_agent/index.html.md): Update an Agent - [pydo.genai.update_agents_workspace()](https://docs.digitalocean.com/reference/pydo/reference/genai/update_agents_workspace/index.html.md): Move Agents to a Workspace - [pydo.genai.update_anthropic_api_key()](https://docs.digitalocean.com/reference/pydo/reference/genai/update_anthropic_api_key/index.html.md): Update Anthropic API Key - [pydo.genai.update_attached_agent()](https://docs.digitalocean.com/reference/pydo/reference/genai/update_attached_agent/index.html.md): Update Agent Route for an Agent - [pydo.genai.update_evaluation_test_case()](https://docs.digitalocean.com/reference/pydo/reference/genai/update_evaluation_test_case/index.html.md): Update an Evaluation Test Case. - [pydo.genai.update_knowledge_base_data_source()](https://docs.digitalocean.com/reference/pydo/reference/genai/update_knowledge_base_data_source/index.html.md): Update Data Source options - [pydo.genai.update_knowledge_base()](https://docs.digitalocean.com/reference/pydo/reference/genai/update_knowledge_base/index.html.md): Update a Knowledge Base - [pydo.genai.update_model_api_key()](https://docs.digitalocean.com/reference/pydo/reference/genai/update_model_api_key/index.html.md): Update API Key for a Model - [pydo.genai.update_openai_api_key()](https://docs.digitalocean.com/reference/pydo/reference/genai/update_openai_api_key/index.html.md): Update OpenAI API Key - [pydo.genai.update_workspace()](https://docs.digitalocean.com/reference/pydo/reference/genai/update_workspace/index.html.md): Update a Workspace