Returns details for all corpora
curl --request GET \
--url https://api.ultravox.ai/api/corpora \
--header 'X-API-Key: <api-key>'
{
"next": "http://api.example.org/accounts/?cursor=cD00ODY%3D\"",
"previous": "http://api.example.org/accounts/?cursor=cj0xJnA9NDg3",
"results": [
{
"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
}
}
],
"total": 123
}
API key
The pagination cursor value.
Number of results to return per page.
The response is of type object
.
curl --request GET \
--url https://api.ultravox.ai/api/corpora \
--header 'X-API-Key: <api-key>'
{
"next": "http://api.example.org/accounts/?cursor=cD00ODY%3D\"",
"previous": "http://api.example.org/accounts/?cursor=cj0xJnA9NDg3",
"results": [
{
"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
}
}
],
"total": 123
}