Skip to main content
GET
/
api
/
lambda-deploy
/
project
/
{projectId}
Get Lambda deployments for a project (API Key)
curl --request GET \
  --url https://api.leanmcp.com/api/lambda-deploy/project/{projectId} \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "<string>",
    "buildId": "<string>",
    "projectId": "<string>",
    "firebaseUid": "<string>",
    "functionName": "<string>",
    "functionArn": "<string>",
    "imageUri": "<string>",
    "status": "PENDING",
    "functionUrl": "<string>",
    "mcpEndpoint": "<string>",
    "healthEndpoint": "<string>",
    "roleArn": "<string>",
    "architecture": "<string>",
    "memorySize": 123,
    "timeout": 123,
    "lastHealthCheck": "<string>",
    "lastHealthCheckAt": "<string>",
    "errorMessage": "<string>",
    "region": "<string>",
    "createdAt": "<string>",
    "updatedAt": "<string>"
  }
]

Authorizations

Authorization
string
header
required

Enter your LeanMCP API key

Path Parameters

projectId
string
required

Project ID

Response

200 - application/json

Deployments found

id
string
required

Unique identifier for the Lambda deployment

buildId
string
required

Related Lambda build ID

projectId
string
required

Project ID the deployment is associated with

firebaseUid
string
required

User ID of the owner (Firebase UID)

functionName
string
required

Name of the Lambda function

functionArn
string
required

ARN of the Lambda function

imageUri
string
required

URL of the ECR image deployed

status
enum<string>
required

Current status of the deployment

Available options:
PENDING,
CREATING_ROLE,
CREATING_FUNCTION,
CONFIGURING_URL,
RUNNING,
UPDATING,
FAILED,
DELETING,
DELETED,
REPLACED
functionUrl
string
required

Lambda Function URL

mcpEndpoint
string
required

MCP endpoint URL

healthEndpoint
string
required

Health check endpoint URL

roleArn
string
required

IAM role ARN for the Lambda function

architecture
string
required

Lambda architecture (x86_64 or arm64)

memorySize
number
required

Memory size in MB

timeout
number
required

Timeout in seconds

lastHealthCheck
string
required

Last health check status

lastHealthCheckAt
string
required

Last health check timestamp

errorMessage
string
required

Error message if deployment failed

region
string
required

AWS region where the Lambda is deployed

createdAt
string
required

Timestamp of when the deployment was created

updatedAt
string
required

When the deployment was last updated