API

SandboxIntegration

Operations

Every route this entity exposes. Each route links to its own reference on this page.

Method Route SDK operation Returns
POST /api/v1/organizations/{organization_id}/sandbox_integrations create Sandbox configuration
GET /api/v1/organizations/{organization_id}/sandbox_integrations load Sandbox configuration
PATCH /api/v1/organizations/{organization_id}/sandbox_integrations/{id} patch Sandbox configuration
PUT /api/v1/organizations/{organization_id}/sandbox_integrations/{id} update Sandbox configuration

Examples

One example per SDK, generated from the API model. The argument names are the parameters and fields of this entity, and the values are placeholders. The examples are not compiled or executed.

Golang

Construct client as shown in the Golang setup, then call the operations:

sandbox_integration, err := client.SandboxIntegration(nil).Load(map[string]any{"organization_id": "example"}, nil)
if err != nil {
    panic(err)
}
fmt.Println(sandbox_integration)
created, err := client.SandboxIntegration(nil).Create(map[string]any{"organization_id": "example", "configuration": map[string]any{}, "credentials": map[string]any{}, "name": "example", "provider": "example"}, nil)
if err != nil {
    panic(err)
}
fmt.Println(created)
updated, err := client.SandboxIntegration(nil).Update(map[string]any{"organization_id": "example", "credentials": map[string]any{}}, nil)
if err != nil {
    panic(err)
}
fmt.Println(updated)
patched, err := client.SandboxIntegration(nil).Patch(map[string]any{"organization_id": "example", "credentials": map[string]any{}}, nil)
if err != nil {
    panic(err)
}
fmt.Println(patched)

Lua

Construct client as shown in the Lua setup, then call the operations:

local sandbox_integration, err = client:SandboxIntegration():load({ organization_id = "example" })
local created, err = client:SandboxIntegration():create({ organization_id = "example", configuration = {}, credentials = {}, name = "example", provider = "example" })
local updated, err = client:SandboxIntegration():update({ organization_id = "example", credentials = {} })
local patched, err = client:SandboxIntegration():patch({ organization_id = "example", credentials = {} })

PHP

Construct client as shown in the PHP setup, then call the operations:

$sandbox_integration = $client->SandboxIntegration()->load(["organization_id" => "example"]);
$created = $client->SandboxIntegration()->create(["organization_id" => "example", "configuration" => [], "credentials" => [], "name" => "example", "provider" => "example"]);
$updated = $client->SandboxIntegration()->update(["organization_id" => "example", "credentials" => []]);
$patched = $client->SandboxIntegration()->patch(["organization_id" => "example", "credentials" => []]);

Python

Construct client as shown in the Python setup, then call the operations:

sandbox_integration = client.SandboxIntegration().load({"organization_id": "example"})
created = client.SandboxIntegration().create({ "organization_id": "example", "configuration": {}, "credentials": {}, "name": "example", "provider": "example" })
updated = client.SandboxIntegration().update({"organization_id": "example", "credentials": {}})
patched = client.SandboxIntegration().patch({"organization_id": "example", "credentials": {}})

Ruby

Construct client as shown in the Ruby setup, then call the operations:

sandbox_integration = client.SandboxIntegration.load({ "organization_id" => "example" })
created = client.SandboxIntegration.create({ "organization_id" => "example", "configuration" => {}, "credentials" => {}, "name" => "example", "provider" => "example" })
updated = client.SandboxIntegration.update({ "organization_id" => "example", "credentials" => {} })
patched = client.SandboxIntegration.patch({ "organization_id" => "example", "credentials" => {} })

TypeScript

Construct client as shown in the TypeScript setup, then call the operations:

const sandbox_integration = await client.SandboxIntegration().load({ organization_id: "example" })
const created = await client.SandboxIntegration().create({ organization_id: "example", configuration: {}, credentials: {}, name: "example", provider: "example" })
const updated = await client.SandboxIntegration().update({ organization_id: "example", credentials: {} })
const patched = await client.SandboxIntegration().patch({ organization_id: "example", credentials: {} })

Fields

Field Type Required Description
can_manage boolean Yes Can Manage
catalog array Yes Catalog
configuration object Yes Configuration
connected_profiles object Yes Connected profiles per provider across the organization.
credentials object Yes Credentials
enabled boolean Yes Enabled
id string Yes Id
integrations array Yes Integrations
name string Yes Name
provider string Yes Provider
version integer Yes Version

create

POST /api/v1/organizations/{organization_id}/sandbox_integrations

Operation ID: agentSandboxIntegrationsCreate.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
organization_id path string Yes

Request body

application/json

Property Type Required Description
configuration object Yes
credentials object Yes
name string Yes
provider enum: namespace, freestyle, exe_dev, superserve, e2b, daytona, ... Yes

Responses

201: Sandbox configuration

application/json

Property Type Required Description
configuration object Yes
enabled boolean Yes
id string Yes
name string Yes
provider enum: namespace, freestyle, exe_dev, superserve, e2b, daytona, ... Yes
version integer Yes

load

GET /api/v1/organizations/{organization_id}/sandbox_integrations

Operation ID: agentSandboxIntegrationsIndex.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
organization_id path string Yes
provider query enum: namespace, freestyle, exe_dev, superserve, e2b, daytona, ... No

Responses

200: Sandbox configuration

application/json

Property Type Required Description
can_manage boolean Yes
catalog array of object Yes
catalog[].credentials array of string Yes
catalog[].id string Yes
catalog[].name string Yes
catalog[].settings array of string Yes
catalog[].sizing string Yes
connected_profiles object Yes Connected profiles per provider across the organization. A provider whose profiles are all disconnected maps to 0; one without profiles is absent.
integrations array of object Yes
integrations[].configuration object Yes
integrations[].enabled boolean Yes
integrations[].id string Yes
integrations[].name string Yes
integrations[].provider enum: namespace, freestyle, exe_dev, superserve, e2b, daytona, ... Yes
integrations[].version integer Yes
401: Unauthorized
403: Forbidden
404: Not found
422: Unprocessable entity
502: Bad gateway

patch

PATCH /api/v1/organizations/{organization_id}/sandbox_integrations/{id}

Operation ID: agentSandboxIntegrationsUpdate.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
organization_id path string Yes
id path string Yes

Request body

application/json

Property Type Required Description
credentials object No
enabled boolean No
name string No
version integer Yes

Responses

200: Sandbox configuration

application/json

Property Type Required Description
configuration object Yes
enabled boolean Yes
id string Yes
name string Yes
provider enum: namespace, freestyle, exe_dev, superserve, e2b, daytona, ... Yes
version integer Yes
401: Unauthorized
403: Forbidden
404: Not found
422: Unprocessable entity
502: Bad gateway

update

PUT /api/v1/organizations/{organization_id}/sandbox_integrations/{id}

Operation ID: agentSandboxIntegrationsUpdatePut.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
organization_id path string Yes
id path string Yes

Request body

application/json

Property Type Required Description
credentials object No
enabled boolean No
name string No
version integer Yes

Responses

200: Sandbox configuration

application/json

Property Type Required Description
configuration object Yes
enabled boolean Yes
id string Yes
name string Yes
provider enum: namespace, freestyle, exe_dev, superserve, e2b, daytona, ... Yes
version integer Yes
401: Unauthorized
403: Forbidden
404: Not found
422: Unprocessable entity
502: Bad gateway