AI Chat
Let the chat's sandbox use a project's database.
Changed onThe sandbox gets a database of its own on each PostgreSQL service linked to the project, and a role that can use that database and no other. Commands the assistant runs there receive the credentials as the same POSTGRES_* variables a deployment gets; the values are never shown to the model.
post/ai/conversations/{public_id}/sandbox/projects
Request
- Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
- URL: /api/ai/conversations/{public_id}/sandbox/projects
- Auth: HTTP bearer
Path parameters
public_idstring required
Conversation public id
Request body
Response
Sandbox connected
Changes
- info
endpoint added
- info