XentrDeveloper Docs
API ReferenceCopilot

Send a message to the factory copilot (rule-based; LLM-ready). Audit-logged. Returns a CopilotTurn.

POST
/api/factories/{factoryId}/copilot/chat
AuthorizationBearer <token>

In: header

Path Parameters

factoryId*string

Factory slug

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X POST "https://api.xentr.ai/api/factories/string/copilot/chat" \  -H "Content-Type: application/json" \  -d '{}'
Empty