Pools

Preview the result of syncing pool to current template (dry-run, no write)

POST
/sandboxpools/{name}/sync-template/preview

Authorization

ApiKeyAuth
AGENTBOX-API-KEY<token>

In: header

Path Parameters

name*string

SandboxPool name.

  • Single-cluster: a DNS-1123 label such as my-pool.
  • Cross-cluster: a {clusterID}::{poolName} composite such as cluster1::my-pool (double-colon separator). Discover valid cluster IDs via GET /clusters. Parsing reference: pkg/utils/cluster/parse.go::ParsePoolRef.

Note: the E2B-compatible API further extends this to {clusterID}::{poolName}//{imageOverride} for template strings; that form is only accepted on the E2B port, not on this native API.

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://sandboxpools/my-pool/sync-template/preview"
{  "specYaml": "string",  "version": "string"}
{  "error": "string",  "errorCode": "API_KEY_REQUIRED",  "detail": null}
{  "error": "string",  "errorCode": "API_KEY_REQUIRED",  "detail": null}
{  "error": "string",  "errorCode": "API_KEY_REQUIRED",  "detail": null}