Skip to main content
GET
/
v1
/
environments
/
:environmentId
Get an environment
curl --request GET \
  --url https://api.alpic.ai/v1/environments/:environmentId \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "name": "<string>",
  "sourceBranch": "<string>",
  "mcpServerUrl": "<string>",
  "domains": [
    "<string>"
  ],
  "createdAt": "2023-11-07T05:31:56Z",
  "projectId": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer token for authentication. Get it from the API Keys page in team settings.

Query Parameters

environmentId
string
required

The ID of the environment

Response

The environment details

id
string
required
name
string
required
sourceBranch
string | null
required
mcpServerUrl
string
required
domains
string<uri>[]
required
createdAt
string<date-time>
required
projectId
string
required