Wissen
Add one org-level FAQ (Knowledge Library)
POST
/api/v1/knowledge/faqsErfordert einen API-Schlüssel der Organisation mit der Berechtigung „edit“. Geben Sie einen Idempotency-Key an, wenn Sie dieselbe Anfrage erneut versuchen.
Authorization
apiKey AuthorizationBearer <token>
In: header
Header Parameters
Idempotency-Key?string
Verwenden Sie denselben Wert nur dann erneut, wenn Sie dieselbe logische Operation wiederholen.
Request Body
application/json
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/v1/knowledge/faqs" \ -H "Content-Type: application/json" \ -d '{ "question": "string", "answer": "string", "assistantIds": [ "string" ] }'{ "id": "string", "sourceId": null, "question": "string", "answer": "string", "path": "string"}{ "error": { "code": "string", "message": "string" }}{ "error": { "code": "string", "message": "string" }}{ "error": { "code": "string", "message": "string" }}{ "error": { "code": "string", "message": "string" }}{ "error": { "code": "string", "message": "string" }}{ "error": { "code": "string", "message": "string" }}{ "error": { "code": "string", "message": "string" }}{ "error": { "code": "string", "message": "string" }}