GET
/
api
/
corpora
/
{corpus_id}
curl --request GET \
  --url https://api.ultravox.ai/api/corpora/{corpus_id} \
  --header 'X-API-Key: <api-key>'
{
  "corpusId": "<string>",
  "created": "2023-11-07T05:31:56Z",
  "name": "<string>",
  "description": "<string>",
  "stats": {
    "status": "CORPUS_STATUS_UNSPECIFIED",
    "lastUpdated": "2023-11-07T05:31:56Z",
    "numChunks": 123,
    "numDocs": 123,
    "numVectors": 123
  }
}

Authorizations

X-API-Key
string
header
required

API key

Path Parameters

corpus_id
string
required

Response

200 - application/json

A queryable collection of documents. A corpus can be used to ground Ultravox with factual content for a particular domain.

corpusId
string

The unique ID of this corpus.

created
string

When this corpus was created.

name
string

The name of this corpus.

description
string

A description of this corpus.

stats
object

The current stats for this corpus.