Document Catalog

Upload Document File

Deprecated
POST

Request

This endpoint expects a multipart form containing a file.
documentfile

Response

This endpoint returns an object
documentId
UUID
POST
$curl -X POST https://api.credal.ai/api/v0/catalog/uploadDocumentFile \
> -H "Authorization: Bearer <apiKey>" \
> -H "Content-Type: multipart/form-data" \
> -d '{}'
Response
1{
2 "documentId": "82e4b12a-6990-45d4-8ebd-85c00e030c24"
3}