GET
/
api
/
corpora
/
{corpus_id}
/
sources
/
{source_id}
/
documents
/
{document_id}
curl --request GET \
  --url https://api.ultravox.ai/api/corpora/{corpus_id}/sources/{source_id}/documents/{document_id} \
  --header 'X-API-Key: <api-key>'
{
  "corpusId": "<string>",
  "sourceId": "<string>",
  "documentId": "<string>",
  "created": "2023-11-07T05:31:56Z",
  "mimeType": "<string>",
  "metadata": {
    "publicUrl": "<string>",
    "language": "<string>",
    "title": "<string>",
    "description": "<string>",
    "published": "2023-11-07T05:31:56Z"
  },
  "sizeBytes": "<string>"
}

Authorizations

X-API-Key
string
header
required

API key

Path Parameters

corpus_id
string
required
document_id
string
required
source_id
string
required

Response

200 - application/json

A single complete source of information included in a corpus. In the most straight-forward case, this could be an uploaded PDF or a single webpage. However, documents can also be created from other documents during processing, for example turning an HTML page into a markdown document.