# API Reference

- [Tenants](/workfx-companion-agent-knowledge/developer-docs/api-reference/tenants.md): Get the details of the current tenant.
- [Tenant Units](/workfx-companion-agent-knowledge/developer-docs/api-reference/tenant-units.md): Manage tenant units, including listing all units, creating a new one, retrieving a specific unit, and getting the default tenant unit.
- [Datasets](/workfx-companion-agent-knowledge/developer-docs/api-reference/datasets.md): Manage datasets, including creating, retrieving, listing, updating, and deleting datasets. These datasets can be used for Retrieval-Augmented Generation (RAG).
- [Documents](/workfx-companion-agent-knowledge/developer-docs/api-reference/documents.md): Manage documents and their chunks, including creation via URL or file upload, retrieval, update, deletion, search, and status control. Documents can be associated with datasets.
- [Agent](/workfx-companion-agent-knowledge/developer-docs/api-reference/agent.md)
- [Agent Flows](/workfx-companion-agent-knowledge/developer-docs/api-reference/agent/agent-flows.md): Manage conversational flows for agents. Use these APIs to create, update, retrieve, publish, list, and run draft flows. Ideal for designing, testing, and deploying multi-step agent behaviors.
- [Agent Operations](/workfx-companion-agent-knowledge/developer-docs/api-reference/agent/agent-operations.md): Manageand operate agents. These endpoints allow you to create, retrieve, update, delete, and interact with agents through chats and background tasks.
- [Agent Instructions](/workfx-companion-agent-knowledge/developer-docs/api-reference/agent/agent-instructions.md): Manage  Agent Instructions, which are agents configured directly via conversation prompts. These endpoints allow you to create, retrieve, publish, and execute draft Agent instructions.
- [Tools](/workfx-companion-agent-knowledge/developer-docs/api-reference/tools.md): Manage conversations between users and agents. These endpoints allow you to create, retrieve, update, and delete conversations, and retrieve their associated messages.
- [Conversations](/workfx-companion-agent-knowledge/developer-docs/api-reference/conversations.md): Manage conversations between users and agents. These endpoints allow you to create, retrieve, update, and delete conversations and their associated messages.
- [Files](/workfx-companion-agent-knowledge/developer-docs/api-reference/files.md): Manage files used by agents or users. These endpoints support file uploads, previews, and importing files directly from URLs.
