Skip to main content
POST
Create an environment

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required

Display name.

Minimum string length: 1
slug
string
required

URL-friendly identifier; unique within the project.

Minimum string length: 1
playwright_projects_match
string[]

Playwright project names to include. Items must not start with '!'.

playwright_projects_ignore
string[]

Playwright project names to exclude.

scheduled_trigger
string | null

Cron expression for scheduled triggers, or null.

Response

The created environment.

data
object
required

Response payload.