List environments

⚠️
Preview — this feature is being built; the design below is the spec.
GET https://app.syntic.ai/v1/environments

Return the workspace’s environments, newest first, with their build status.

For how this fits into a full workflow, see Environments.

Headers

HeaderRequiredValue
AuthorizationYesBearer <key>: a private inference key (sk_live_...). See Authentication.
syntic-betaYes, while in previewagents-2026-11-01. Without it the call fails with 400 beta_required. See Versioning.

Query parameters

ParameterTypeDefaultDescription
limitinteger201 to 100.
after_idstringNext page: the previous page’s last_id.
before_idstringPrevious page.

Response

200 OK, Content-Type: application/json

{
  "data": [
    {
      "id": "env_01JC5B2D4F6H8K0M2P4R",
      "type": "environment",
      "name": "data-analysis",
      "base_image": "syntic/python:3.12",
      "packages": {
        "apt": [
          "git"
        ],
        "pip": [
          "pandas==2.2.3",
          "matplotlib"
        ],
        "npm": []
      },
      "setup_script": "mkdir -p /workspace/out",
      "files": [],
      "network": {
        "mode": "none",
        "allowed_hosts": []
      },
      "resources": {
        "cpu": 2,
        "memory_mb": 4096,
        "disk_mb": 10240
      },
      "timeouts": {
        "command_seconds": 300,
        "idle_minutes": 15,
        "max_lifetime_minutes": 240
      },
      "env_vars": {
        "TZ": "UTC"
      },
      "vault_secrets": [],
      "build": {
        "status": "ready",
        "image_digest": "sha256:9f2c...",
        "finished_at": "2026-11-04T08:12:40Z",
        "error": null
      },
      "created_at": "2026-11-04T08:10:02Z",
      "updated_at": "2026-11-04T08:10:02Z"
    }
  ],
  "has_more": false,
  "first_id": "env_01JC5B2D4F6H8K0M2P4R",
  "last_id": "env_01JC5B2D4F6H8K0M2P4R"
}

Examples

curl -sS https://app.syntic.ai/v1/environments \
  -H "Authorization: Bearer $SYNTIC_API_KEY" \
  -H "syntic-beta: agents-2026-11-01"

Errors

Errors use the error envelope and carry a request_id. Codes specific to this operation:

StatustypecodeWhen
400invalid_request_errorbeta_requiredThe syntic-beta header is missing.
401authentication_errorinvalid_api_keyThe key is missing, unknown, revoked or expired.
429rate_limit_errorrate_limitedToo many requests; wait for Retry-After. See Rate-limit headers.
Was this page helpful?