Skip to main content
POST
/
api
/
Knowledge
/
document
Upload document to memory
curl --request POST \
  --url https://app.recallio.ai/api/Knowledge/document \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: multipart/form-data' \
  --form 'ProjectId=<string>' \
  --form File='@example-file' \
  --form 'SourceUrl=<string>' \
  --form 'SourceType=<string>' \
  --form 'Tags=<string>' \
  --form ConsentFlag=true
{
  "error": "\"Invalid scope type. Must be 'user', 'project', or 'team'.\""
}

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"

Body

multipart/form-data
ProjectId
string
required
File
file
SourceUrl
string
SourceType
string
Tags
string[]

Response

Accepted