Thisbit VoiceStudio engine

THISBIT VOICE & TRANSCRIPTS / DOCUMENTATION

POST /api/v2/integrations/knowledge_bases

Connect the AWOW knowledge base as a publication destination.

Implemented. Requires the integrations registry on the customer deployment and, to publish, an installed AWOW binding of the workspace (Studio control holds the copy; without one an approval for the knowledge base answers 409 workspace_unbound).

POST $STUDIO_CUSTOMER_URL/api/v2/integrations/knowledge_bases
Host
Customer API
Caller
Workspace administrator.
Authorization
Bearer token for the customer API, as for every /api/v2 route; the signed-in member must hold the workspace administrator role, otherwise 403 unavailable.

Request

transport_version: 2, origin (the core product host’s HTTPS origin), audience (the core application id), authority (the core directory’s tenant id, a UUID); optional scope (<audience>/.default, the default), kinds (a non-empty subset of decision, question, work_item; all three by default), name, enabled. No credential field: one is refused by name, because each publication is made on behalf of the reviewer who performs it (their own sign-in is exchanged per request and never stored).

Return value

201. {transport_version: 2, knowledge_base}: the record with id, revision 1 and created_at. Nothing is asked of the core when connecting; the workspace’s binding is checked, as control’s copy, when an item is approved for it.

Errors and retrying

Connecting twice makes two records; read GET /api/v2/integrations after a lost reply and remove the extra one. A refused field is 400 invalid_request with a detail.

Read the error codes and limits before retrying. A missing or inaccessible resource can produce the same refusal; do not infer its existence.

Next step

People, devices and setup · Authentication · All calls