Interlaken
API referenceApplicationsRuns

Create a run from a sealed pool

POST
/api/v1/runs

Requires the runs:create permission.

Forks the pool's snapshot and RESUMES it into a live vm/microVM (userfaultfd lazy paging for microVMs). Resumable/pausable.

Authorization

AuthorizationBearer <token>

An access token from this zone's POST /oauth/token, or a session token from POST /api/v1/auth/login. Send it as Authorization: Bearer <token>.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/api/v1/runs" \  -H "Content-Type: application/json" \  -d '{    "environment_id": "40ef0e48-a11f-4963-a229-e396c9f7e7c4",    "name": "string"  }'
{  "agent": {    "mcp_servers": [      {        "name": "string",        "transport": "string",        "url": "string"      }    ],    "model": "string",    "skills": [      "string"    ],    "system_prompt": "string",    "tools": [      "string"    ]  },  "connector_id": "9389ba6f-3696-4571-84d4-34d588c4b109",  "created_at": "2019-08-24T14:15:22Z",  "desired_state": "string",  "engine": "string",  "environment_id": "40ef0e48-a11f-4963-a229-e396c9f7e7c4",  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "instance_id": "06587974-2dbe-4e10-8bf9-38cce0f5a366",  "instance_size": "string",  "last_error": "string",  "name": "string",  "phase": "string",  "prompt": "string",  "role": "string",  "state": "string",  "status": "string",  "tags": {    "property1": "string",    "property2": "string"  },  "target": "string",  "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",  "type": "string",  "updated_at": "2019-08-24T14:15:22Z"}