List documents
const url = 'http://localhost:11044/api/v1/documents';const options = {method: 'GET', headers: {'X-Embabel-Api-Key': '<X-Embabel-Api-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:11044/api/v1/documents \ --header 'X-Embabel-Api-Key: <X-Embabel-Api-Key>'Returns the current world context’s ingested documents with metadata, plus the total chunk count.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”List of documents
The current world context’s ingested documents
object
The documents, in the order they were tracked
One ingested document, as the listing describes it
object
How many chunks the document was split into
How many of those chunks have no embedding, and so miss semantic search
When the source was created, ISO-8601, where the ingest captured it
When this server ingested it, ISO-8601
When the SOURCE last changed, ISO-8601, where the ingest captured it. Null also means it was ingested before source dates were captured — itself a reason to re-read it
The document’s tags. Empty when it has none
The document’s title, null where none was found
The document’s URI, which delete, retag and ask take
Every chunk stored for this world context, across all its documents

