Read the instructions the sandbox's agent follows
GET
/sandboxes/{id}/agent/v1/instructions
const url = 'https://api.global.stillbox.example/v1/sandboxes/ws-7k2m9q4x8w3z5r6t/agent/v1/instructions';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.global.stillbox.example/v1/sandboxes/ws-7k2m9q4x8w3z5r6t/agent/v1/instructions \ --header 'Authorization: Bearer <token>'The sandbox’s own instructions for its agent: a personality, house rules, what it’s for. They live in the agent’s instructions file on the sandbox’s disk, alongside an environment’s house rules.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Responses
Section titled “Responses”The instructions
Media typeapplication/json
object
text
required
Plain text or Markdown, as you’d write to a new colleague.
string
Example generated
{ "text": "example"}No such sandbox in your organization (or no such file)
Media typeapplication/json
object
code
required
string
message
required
string
Example
{ "code": "not_found"}