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. Use an API key from the API Keys page in team settings, or an OAuth access token.
The ID of the environment
The environment details
Was this page helpful?
Contact support