Skip to main content

Get Environment

GET 

https://app.coalescesoftware.io/api/v1/environments/:environmentID

Get information about an environment.

Request

Path Parameters

    environmentID stringrequired

    The environment ID.

Responses

Information about an environment.

Schema
    connectionAccountstring

    The Snowflake account name.

    defaultStorageMappingstringnullable
    descriptionstring

    The Workspace description.

    namestringrequired

    The Workspace name.

    oauthEnabledbooleanrequired

    If Snowflake OAuth is enabled.

    tagColors object

    The tag color from the Environment settings.

    backgroundColorstring
    textColorstring
    projectstringrequired

    The Project ID.

    createdAtdate-timerequired
    createdBy object

    Summary information about a user.

    idstringrequired

    The user ID.

    firstNamestring

    User first name.

    lastNamestring

    User last name.

    updatedAtdate-timerequired
    currentGitBranchstring

    The branch most recently run on this environment.

    currentGitCommitstring
    currentGitURLstring
    currentlyRunningJobsinteger[]

    An array of any running Jobs. If there are not Jobs running, this will return empty.

    idstringrequired
    deployedCommitstring

    The most recently deployed commit ID.

    statusWorkspaceEnvHealth (string)required

    Possible values: [Deleting, Deploying, Failed Deploy, Failed Refresh, Initializing, Refreshing, Waiting]

    runTimeParametersobject

    Parameters changed during deploy will not show here.

    currentMappings object

    The Storage Mapping name.

    property name* object
    databasestring

    The Snowflake database name.

    schemastring

    The database schema.

Authorization: http

name: BearerAuthtype: httpscheme: bearer
curl -L 'https://app.coalescesoftware.io/api/v1/environments/:environmentID' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
Request Collapse all
Base URL
https://app.coalescesoftware.io
Auth
Parameters
— pathrequired
ResponseClear

Click the Send API Request button above and see the response here!