Project Tools
5 tools for creating, listing, and managing AppsAI projects programmatically.
project_LIST_PROJECTSList all projects owned by or shared with the authenticated user.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
skip | number | Optional | Number of projects to skip (for pagination) |
limit | number | Optional | Maximum number of projects to return (default: 50) |
Returns
Array of project objects with id, name, createdAt, and thumbnail.
Example
// Request
{
"skip": 0,
"limit": 10
}
// Response
{
"projects": [
{
"id": "abc123",
"name": "My App",
"createdAt": "2024-01-15T10:30:00Z",
"thumbnail": "https://..."
}
],
"total": 25
}project_GET_TEMPLATESGet available starter templates for creating new projects.
No parameters required.
Returns
Array of template objects with name, description, and S3 key.
Example
// Response
{
"templates": [
{
"name": "Next.js Starter",
"description": "A minimal Next.js 14 app with TypeScript and Tailwind CSS",
"s3Key": "templates/nextjs-starter.zip",
"thumbnail": "https://..."
},
{
"name": "E-commerce Template",
"description": "Full-featured store with cart, checkout, and Stripe integration",
"s3Key": "templates/ecommerce.zip",
"thumbnail": "https://..."
}
]
}project_CREATE_APPCreate a new app from a starter template.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
templateS3Key | string | Required | S3 key of the template to use (from GET_TEMPLATES) |
name | string | Optional | Name for the new project (auto-generated if not provided) |
Returns
The newly created project object.
Example
// Request
{
"templateS3Key": "templates/nextjs-starter.zip",
"name": "My New App"
}
// Response
{
"id": "xyz789",
"name": "My New App",
"createdAt": "2024-01-20T15:45:00Z",
"status": "ready"
}project_GET_PROJECT_DETAILSGet detailed information about a specific project.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
projectId | string | Required | The ID of the project |
Returns
Detailed project object including deployment status, collaborators, and settings.
Example
// Request
{
"projectId": "abc123"
}
// Response
{
"id": "abc123",
"name": "My App",
"createdAt": "2024-01-15T10:30:00Z",
"owner": {
"id": "user123",
"email": "user@example.com"
},
"deployments": {
"frontend": {
"url": "https://myapp.appsai.com",
"lastDeployed": "2024-01-19T08:00:00Z"
},
"backend": {
"url": "https://api.myapp.appsai.com",
"lastDeployed": "2024-01-18T12:00:00Z"
}
},
"collaborators": []
}project_DELETE_PROJECTDelete a project. Only the project owner can delete it.
Warning: This action is irreversible. All project files, deployments, and associated resources will be permanently deleted.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
projectId | string | Required | The ID of the project to delete |
Returns
Confirmation of deletion.
Example
// Request
{
"projectId": "abc123"
}
// Response
{
"success": true,
"message": "Project deleted successfully"
}