AI Chat

Start the chat's sandbox if it went to sleep, so the preview and the assistant's next command find it up. Does nothing when it is already running.

Changed on
post/ai/conversations/{public_id}/sandbox/wake

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/wake
  • Auth: HTTP bearer

Path parameters

public_idstring required

Conversation public id

Response

Sandbox running

configuredboolean required

Whether this chat can use a sandbox at all.

connected_projectsinteger[] required

Projects whose services the linked sandbox is connected to: its commands run with credentials for a database of its own on each.

offeredboolean required

True once the assistant has asked the user to link a sandbox.

reasonstring nullable

Why it cannot, when configured is false.

runtime'running' | 'asleep'

Whether a linked sandbox's compute is running.

setup_pathstring nullable

Console path where the user can fix it, when there is one.

Changes