iGent Concert
/ensemble/api/generate/

Generate

Active Fabric generation RPC and legacy REST compatibility note

POST /rpc

The current Ensemble service accepts Fabric JSON-RPC requests on /rpc.

{
  "jsonrpc": "2.0",
  "method": "inference/generate",
  "params": {
    "model": "claude-sonnet",
    "messages": [
      {
        "role": "user",
        "content": "Summarize the workspace status."
      }
    ],
    "stream": false
  },
  "id": "generate-1"
}

Response

{
  "jsonrpc": "2.0",
  "result": {
    "id": "gen_123",
    "model": "claude-sonnet",
    "content": [
      {
        "type": "text",
        "text": "The workspace is healthy."
      }
    ],
    "finishReason": "stop"
  },
  "id": "generate-1"
}

Exact provider metadata depends on the adapter and configured model.

Legacy REST

Older clients may refer to POST /api/v1/generate. That endpoint belongs to the optional ensemble-rest compatibility process, not the active Fabric RPC service. Prefer inference/generate for new work.