跳到正文
GrowSocmed文档Social media command center
API 参考AI agents

Update knowledge

Rename a source, or change pasted text (read again)

PATCH
/knowledge/{id}

Rename a source, or change pasted text (read again)

Authorization

apiKey
headerAuthorizationBearer <token>

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

Path Parameters

id*string
Formatuuid

Request Body

application/json
  1. body
title?string
Length1 <= length <= 120
body?string
Lengthlength <= 200000

Response Body

OK

response?unknownapplication/json
Example Request
curl -X PATCH 'https://socmed.growpaces.com/api/v1/knowledge/497f6eca-6276-4993-bfeb-53cbbbba6f08' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response200
null