API
Obter um item de conhecimento
Um item com o seu texto.
GET/knowledge/{id}
Executa a chamada real no seu espaço de trabalho.
GET /knowledge/{id}
Um item com o seu texto.
Exemplo
Requer knowledge:read. body é o texto de uma nota. preview são os primeiros 20.000 caracteres lidos de um ficheiro ou de uma página, null até ter sido lido, e previewTruncated diz se o texto continua.
curl "$OE/knowledge/kb_8c1f4a2b9d7e3f60a5c7b21d" -H "$AUTH"{ "object": "knowledge_item", "id": "kb_8c1f4a2b9d7e3f60a5c7b21d", "kind": "note", "scope": "@acme.com", "level": "domain", "title": "Refunds", "url": null, "fileName": null, "mimeType": null, "sizeBytes": null, "pinned": true, "status": "ready", "failure": null, "chunks": 1, "chars": 71, "origin": "api", "createdBy": "usr_5f2a9c71", "createdAt": "2026-10-08T09:12:44.000Z", "updatedAt": "2026-10-08T09:12:44.000Z", "indexedAt": "2026-10-08T09:12:45.000Z", "body": "Refunds are paid within 14 days of the return reaching our warehouse.", "preview": "Refunds are paid within 14 days of the return reaching our warehouse.", "previewTruncated": false}Um id desconhecido, e um item num nível que a chave não consegue ver, respondem 404 knowledge_not_found.