Skip to main content
POST
/
api
/
Knowledge
/
livedata
Upload Live Data
curl --request POST \
  --url https://app.recallio.ai/api/Knowledge/livedata \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "rawJson": "{ \"Sales_History\": {\"Buyer\": \"John Doe\", \"Amount\": 100000, \"Date\": \"2021-01-01\"}}}",
  "type": "listing",
  "userId": "user_123",
  "projectId": "project_abc"
}
'
{
  "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

rawJson
string
required

The actual raw json to be stored. This can be either a string or a JSON object. The JSON object format is: { "Sales_History": {"Buyer": "John Doe", "Amount": 100000, "Date": "2021-01-01"}}}

Required string length: 1 - 30000
Example:

"{ \"Sales_History\": {\"Buyer\": \"John Doe\", \"Amount\": 100000, \"Date\": \"2021-01-01\"}}}"

type
string
required

Type of knowledge to store

Minimum string length: 1
Example:

"listing"

userId
string | null

Unique identifier for the user storing the knowledge

Example:

"user_123"

projectId
string | null

Project identifier to associate the knowledge with

Example:

"project_abc"

Response

Accepted