Upload Org Document
documents
Upload Org Document
POST
Upload Org Document
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
multipart/form-data
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
curl --request POST \
--url https://qall.io/api/documents/upload \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: multipart/form-data' \
--form file=@example-file \
--form 'category=<string>' \
--form is_public=false \
--form 'name=<string>' \
--form 'tags=<string>'import requests
url = "https://qall.io/api/documents/upload"
files = { "file": ("example-file", open("example-file", "rb")) }
payload = {
"category": "<string>",
"is_public": "false",
"name": "<string>",
"tags": "<string>"
}
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, data=payload, files=files, headers=headers)
print(response.text){
"message": "<string>",
"success": true,
"data": {}
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}curl --request POST \
--url https://qall.io/api/documents/upload \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: multipart/form-data' \
--form file=@example-file \
--form 'category=<string>' \
--form is_public=false \
--form 'name=<string>' \
--form 'tags=<string>'import requests
url = "https://qall.io/api/documents/upload"
files = { "file": ("example-file", open("example-file", "rb")) }
payload = {
"category": "<string>",
"is_public": "false",
"name": "<string>",
"tags": "<string>"
}
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, data=payload, files=files, headers=headers)
print(response.text){
"message": "<string>",
"success": true,
"data": {}
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.