.Riyaan Docs
API ReferenceKnowledge
POST
/api/knowledge

Authorization

bearerAuth
AuthorizationBearer <token>

appSecret or sessionToken

In: header

Request Body

application/json

title*string

Document title

content*string

Document content

category*string

Category for filtering

sourceType?string

Source type (default: "document")

updatedBy?string

Who updated the document

Response Body

application/json

curl -X POST "https://your-convex-deployment.convex.site/api/knowledge" \  -H "Content-Type: application/json" \  -d '{    "title": "string",    "content": "string",    "category": "string"  }'
{}
Edit on GitHub

Last updated on