Skip to main content
GET
/
v1
/
projects
/
:projectId
Get a project
curl --request GET \
  --url https://api.alpic.ai/v1/projects/:projectId \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "name": "<string>",
  "teamId": "<string>",
  "sourceRepository": "<string>",
  "runtime": "python3.13",
  "transport": "stdio",
  "rootDirectory": "<string>",
  "buildCommand": "<string>",
  "buildOutputDir": "<string>",
  "installCommand": "<string>",
  "startCommand": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "productionEnvironment": {
    "id": "<string>",
    "name": "<string>",
    "mcpServerUrl": "<string>",
    "latestDeployment": {
      "id": "<string>",
      "status": "ongoing",
      "sourceCommitId": "<string>",
      "sourceCommitMessage": "<string>",
      "completedAt": "2023-11-07T05:31:56Z"
    }
  },
  "environments": [
    {
      "id": "<string>",
      "name": "<string>",
      "sourceBranch": "<string>",
      "mcpServerUrl": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "projectId": "<string>",
      "latestDeployment": {
        "id": "<string>",
        "status": "ongoing",
        "sourceCommitId": "<string>",
        "sourceCommitMessage": "<string>",
        "completedAt": "2023-11-07T05:31:56Z"
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Query Parameters

projectId
string
required

The ID of the project

Response

The project details

id
string
required
name
string
required
teamId
string
required
sourceRepository
string | null
required
runtime
enum<string>
required
Available options:
python3.13,
python3.14,
node22,
node24
transport
enum<string> | null
required
Available options:
stdio,
sse,
streamablehttp
rootDirectory
string | null
required
buildCommand
string | null
required
buildOutputDir
string | null
required
installCommand
string | null
required
startCommand
string | null
required
createdAt
string<date-time>
required
productionEnvironment
object
required
environments
object[]
required