Skip to main content
POST
Initialize Environment

Request

Body Parameters

string
required
Service type: "slack" or "linear"
string
Template to clone from (e.g., "slack_default", "linear_expanded"). Required if testId is not provided.
string
Test ID to get template configuration from. If provided, templateService and templateName are inferred.
string
User ID the agent will act as. Required if testId is not provided.
string
Email of the user to impersonate. Alternative to impersonateUserId.
number
default:"1800"
Time-to-live in seconds. Environment auto-deletes after this time.

Example Request

Response

string
Unique environment identifier
string
Base URL for service API calls
string
PostgreSQL schema name for this environment
string
ISO 8601 timestamp when environment will auto-delete
string
Template that was cloned
string
Service type (slack or linear)

Example Response

Errors

SDK Usage