POST

/api/eaas-console/environments/{id}/chat-session

Console — bootstrap a principal session for the ChatSurface

Dashboard ChatSurface bootstrap: the operator's OWN session JWT (the Authorization

bearer value — the identityToken is never taken from the body) is exchanged for an

identity-principal session bound to the target environment, so the chat area talks to

the exact /api/v1 principal faces (conversations/messages/artifacts) with real

budgets and real 402s. The publishable key used under the hood is created per

(tenant, project) and cached per pod process; there is no operator-facing key

management route yet (registered as a Gate B ops obligation). Expired environments

answer 409.

当前语言暂无代码示例

参数

FieldTypeReqDefaultDescription
stringN—
stringN—

Try it out

Sign in to use your API key
Request Body
Response
Click Execute to test