fleet threads

Activate a thread sandbox

Changed on

Starts or resumes the sandbox referenced by the thread and returns when it is ready. The operation is idempotent. The thread must include sandbox.sandbox_slug.

post/v1/fleet/threads/{thread_id}/sandbox-activation

Request

  • Base URL
    https://api.smith.langchain.com
  • URL
    https://api.smith.langchain.com/v1/fleet/threads/{thread_id}/sandbox-activation
  • Auth
    • API key in header X-API-Key
    • or API key in header X-Tenant-Id
    • or HTTP bearer

Path parameters

thread_idstring uuid required

Thread ID

Response

OK

sandbox_slugstring required
scope'agent' | 'thread' required
status'provisioning' | 'ready' | 'failed' | 'stopped' | 'deleting' required

Example response

{
  "sandbox_slug": "sandbox-abc123"
}

Changes