cURL
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>" }
Get an environment by ID
Bearer token for authentication. Get it from the API Keys page in team settings.
The ID of the environment
The environment details
Was this page helpful?