ข้ามไปยังเนื้อหา
GrowSocmedเอกสารSocial media command center
API ReferenceAI agents

Add a file as knowledge

Add a file as knowledge (PDF, DOCX, TXT, Markdown or CSV, up to 20 MB; multipart field `file`)

POST
/knowledge/file

Add a file as knowledge (PDF, DOCX, TXT, Markdown or CSV, up to 20 MB; multipart field file)

Authorization

apiKey
headerAuthorizationBearer <token>

API key from Developer → API keys (gs_…). An unbound key takes the workspace from the X-Workspace header.

Response Body

Created

response?unknownapplication/json
Example Request
curl -X POST 'https://socmed.growpaces.com/api/v1/knowledge/file'
Example Response201
null