POST
/
add-source
curl --request POST \
  --url https://api.praxos.ai/add-source \
  --header 'API-key: <api-key>' \
  --header 'Content-Type: multipart/form-data'
{
  "source_id": "<string>"
}

Authorizations

API-key
string
header
required

API key for authentication

Body

multipart/form-data
file
file
required

PDF file to upload

Response

200
application/json
File successfully uploaded and indexing started
source_id
string
required

ID of the created source