Skip to main content
POST
Create a new environment

Authorizations

Authorization
string
header
required

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

Body

application/json

Represents a Malloy environment containing packages, connections, and other resources

resource
string

Resource path to the environment

name
string

Environment name

readme
string

Environment README content

location
string

Environment location, can be an absolute path or URI (e.g. github, s3, gcs, etc.)

connections
object[]

List of database connections configured for this environment

packages
object[]

List of Malloy packages in this environment

Response

Returns the environment created

Represents a Malloy environment containing packages, connections, and other resources

resource
string

Resource path to the environment

name
string

Environment name

readme
string

Environment README content

location
string

Environment location, can be an absolute path or URI (e.g. github, s3, gcs, etc.)

connections
object[]

List of database connections configured for this environment

packages
object[]

List of Malloy packages in this environment