Access the Manus AI Agent API with managed API key authentication. Create and manage AI agent tasks, projects, files, and webhooks.
Reference
List Projects
GET /manus/v1/projectsResponse:
{
"object": "list",
"data": [
{
"id": "SJhyBaLtYgQwurQoaT5APi",
"name": "My Project"
}
]
}Create Project
POST /manus/v1/projects
Content-Type: application/json
{
"name": "My Project",
"default_instructions": "You are a helpful assistant."
}Response:
{
"id": "SJhyBaLtYgQwurQoaT5APi",
"object": "project",
"name": "My Project",
"created_at": "1772238309"
}List Tasks
GET /manus/v1/tasksResponse:
{
"object": "list",
"data": [
{
"id": "X7PPAMPNRovuyTXejNeEpv",
"object": "task",
"created_at": "1772191227",
"updated_at": "1772191230",
"status": "completed",
"model": "manus-1.6-lite-adaptive",
"metadata": {
"task_title": "What is 2+2?",
"task_url": "https://manus.im/app/X7PPAMPNRovuyTXejNeEpv"
},
"output": [...],
"credit_usage": 0
}
]
}Get Task
GET /manus/v1/tasks/{task_id}Response:
{
"id": "X7PPAMPNRovuyTXejNeEpv",
"object": "task",
"created_at": "1772191227",
"updated_at": "1772191230",
"status": "completed",
"model": "manus-1.6-lite-adaptive",
"metadata": {
"task_title": "What is 2+2?",
"task_url": "https://manus.im/app/X7PPAMPNRovuyTXejNeEpv"
},
"output": [
{
"id": "J9LlYFIfTlMWvR5hrC9FUL",
"status": "completed",
"role": "user",
"type": "message",
"content": [
{
"type": "output_text",
"text": "What is 2+2? Reply in one word."
}
]
},
{
"id": "kR8Tj0ys7uwzorcSgzqMvZ",
"status": "completed",
"role": "assistant",
"type": "message",
"content": [
{
"type": "output_text",
"text": "Four"
}
]
}
],
"credit_usage": 0
}Task status values: pending, running, completed, failed
Create Task
POST /manus/v1/tasks
Content-Type: application/json
{
"prompt": "What is the capital of France?"
}Optional fields:
project_id(string): Associate task with a projectfile_ids(array): Attach files to the task
Response:
{
"task_id": "3cbKzkyC9WwRoMwAH8dKuY",
"task_title": "Capital of France?",
"task_url": "https://manus.im/app/3cbKzkyC9WwRoMwAH8dKuY"
}Delete Task
DELETE /manus/v1/tasks/{task_id}Response:
{
"id": "3cbKzkyC9WwRoMwAH8dKuY",
"object": "file",
"deleted": true
}List Files
GET /manus/v1/filesReturns the 10 most recently uploaded files.
Response:
{
"object": "list",
"data": [
{
"id": "file-2Gpoz5yhB8seSu9dxZdquR",
"object": "file",
"filename": "test.txt",
"status": "pending",
"created_at": "1772238309",
"expires_at": "1772411109"
}
]
}File status values: pending, ready, expired
Get File
GET /manus/v1/files/{file_id}Response:
{
"id": "file-2Gpoz5yhB8seSu9dxZdquR",
"object": "file",
"filename": "test.txt",
"status": "pending",
"created_at": "1772238309",
"expires_at": "1772411109"
}Create File
Creates a file record and returns a presigned S3 upload URL.
POST /manus/v1/files
Content-Type: application/json
{
"filename": "document.pdf"
}Response:
{
"id": "file-2Gpoz5yhB8seSu9dxZdquR",
"object": "file",
"filename": "document.pdf",
"status": "pending",
"upload_url": "https://vida-private.s3.us-east-1.amazonaws.com/...",
"upload_expires_at": "1772238489",
"created_at": "1772238309"
}Upload your file to the upload_url using a PUT request within the expiration time.
Delete File
DELETE /manus/v1/files/{file_id}Response:
{
"id": "file-2Gpoz5yhB8seSu9dxZdquR",
"object": "file",
"deleted": true
}Create Webhook
Register a webhook URL to receive task lifecycle notifications.
POST /manus/v1/webhooks
Content-Type: application/json
{
"webhook": {
"url": "https://example.com/webhook"
}
}Response:
{
"webhook_id": "J4dD3mwzZiWuJFiEWAvGnK"
}Delete Webhook
DELETE /manus/v1/webhooks/{webhook_id}Response:
{}