API ReferenceAI agents
Add knowledge
Add knowledge: text, a web page, or the account's posts, saved replies or comment replies (files: POST /knowledge/file)
POST
Add knowledge: text, a web page, or the account's posts, saved replies or comment replies (files: POST /knowledge/file)
apiKeyheader
AuthorizationBearer <token>API key from Developer → API keys (gs_…). An unbound key takes the workspace from the X-Workspace header.
application/json- body
kind*stringValue in
"text""link""posts""saved_replies""comment_replies"title*stringLength
1 <= length <= 120body?stringLength
length <= 200000url?stringFormat
uriLength
length <= 2000account_id?stringFormat
uuidCreated
response?unknownapplication/jsoncurl -X POST 'https://socmed.growpaces.com/api/v1/knowledge' \ -H 'Content-Type: application/json' \ -d '{ "kind": "text", "title": "string"}'Example Response201
null