# Corpora

## Docs

- [Get all Corpus](https://api.ejento.ai/get-all-corpus.md): Allows authenticated users to retrieve a comprehensive list of all corpus entries avaiable.
- [Upload a Document to a Corpus](https://api.ejento.ai/indexing/upload-document-to-corpus.md): Add a document to a collection from a file, text, or URL. The document is queued for
- [Create a Corpus](https://api.ejento.ai/create-corpus.md): Enables authenticated users to create a new corpus within the system for organizing and managing related documents.
- [Get a Corpus](https://api.ejento.ai/get-corpus.md): Enables authenticated users to retrieve detailed metadata for a specific corpus by providing its unique identifier (corpus_id).
- [Update a Corpus](https://api.ejento.ai/update-corpus.md): Allows authenticated users to update the metadata of an existing corpus using its unique identifier (corpus_id).
- [Delete a Corpus](https://api.ejento.ai/delete-corpus.md): Allows authorized users to permanently delete a specific corpus using its unique identifier (corpus_id).
- [Get Corpus Agent Connections](https://api.ejento.ai/get-corpus-agent-connections.md): Retrieves a comprehensive list of agents linked to a specific corpus, allowing users to view and manage agent-corpus associations efficiently.
- [Get Default Corpus Agent Connection](https://api.ejento.ai/get-default-corpus-agent-connection.md): Retrieves the default corpus agent connection for a specified corpus, providing a direct link to the primary agent associated with the corpus.
- [Annotate/Tag a Corpus](https://api.ejento.ai/annotate-corpus.md): Allows authenticated users to apply annotations to a specific corpus by adding new tags or removing existing ones.
- [Get Conversation Starters for a Corpus](https://api.ejento.ai/get-conversation-starters-for-corpus.md): Retrieves all conversation starters associated with a specific corpus, providing a comprehensive list of available conversation starters for the corpus.
- [Get all Documents for a Corpus](https://api.ejento.ai/get-all-documents-for-corpus.md): Retrieves a comprehensive list of all documents associated with a specified corpus. This endpoint is designed for authenticated users who need visibility into the contents of a particular corpus, including document metadata and processing information.
- [Delete Document(s) from a Corpus](https://api.ejento.ai/delete-documents-from-corpus.md): Permanently marks documents within a specified corpus as deleted.
- [Check Duplicate Documents in a Corpus](https://api.ejento.ai/check-duplicate-documents-in-corpus.md): Enables authenticated users to check whether any documents in a provided list already exist within a specific corpus.
- [Trigger a Refresh (Reindex) of a Corpus](https://api.ejento.ai/trigger-refresh-of-corpus.md): This endpoint allows you to trigger a manual refresh (reindex) of a corpus. Requires change_corpus permission to be able to trigger a refresh.
- [Get Sitemaps for a Corpus](https://api.ejento.ai/get-sitemaps-for-corpus.md): Retrieves all sitemaps that belong to a specific corpus.
- [Get Corpora with Refresh (Reindex) Enabled](https://api.ejento.ai/get-corpora-with-refresh-enabled.md): This endpoint allows you to list all corpus with refresh enabled and their refresh schedules.
