# Alibaba Cloud Kopilot AI Assistant API

> Alibaba Cloud Kopilot AI Assistant API on Apizie: 6 endpoints (Initiates a streaming chat session with an agent, Evaluates a user session, Queries the historical messages of a specified session and returns the associated scheduled tasks and task…, Queries the session IDs of the current user in the Console channel, sorted by creation time in descending…, …) returned as clean JSON through one API key. Send your own provider key in the x-upstream-key header. Call it over REST at https://zieapi.vercel.app/v1/cloud:aliyun-alikafkakopilot/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `cloud:aliyun-alikafkakopilot`
- Category: Cloud
- Status: byok
- Source: https://api.alibabacloud.com/product/alikafkakopilot
- Page: https://zieapi.vercel.app/api/cloud/aliyun-alikafkakopilot
- OpenAPI: https://zieapi.vercel.app/api/cloud/aliyun-alikafkakopilot/openapi.json

Alibaba Cloud OpenAPI for Kopilot AI Assistant (alikafkakopilot, version 2026-04-14). Calls are signed with ACS3-HMAC-SHA256 using your AccessKey ID and secret.

## Endpoints

### Initiates a streaming chat session with an agent
`POST https://zieapi.vercel.app/v1/cloud:aliyun-alikafkakopilot/kopilot-chat-stream` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://alikafkakopilot.cn-beijing.aliyuncs.com |
| RegionId | string | yes | The region ID |
| Message | string | no | The chat message content entered by the user |
| SessionId | string | no | The session ID |
| AcceptLanguage | string | no | The language for system operation prompts. Valid values: zh-CN, en-US, and ja-JP. If not specified, the compatible language parameter is… |

### Evaluates a user session
`POST https://zieapi.vercel.app/v1/cloud:aliyun-alikafkakopilot/kopilot-feedback` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://alikafkakopilot.cn-beijing.aliyuncs.com |
| RegionId | string | yes | The region ID |
| SessionId | string | no | The session ID |
| TurnId | string | no | The primary key ID |
| Feedback | string | no | The user satisfaction level. Valid values: 1: satisfied -1: not satisfied 0: cancel the evaluation |
| Comment | string | no | The user feedback comment |

### Queries the historical messages of a specified session and returns the associated scheduled tasks and task…
`POST https://zieapi.vercel.app/v1/cloud:aliyun-alikafkakopilot/kopilot-list-conversation-chat-messages` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://alikafkakopilot.cn-beijing.aliyuncs.com |
| SessionId | string | no | The session ID |
| RegionId | string | yes | The region ID |
| PageSize | integer | no | The maximum number of conversation turns to return per page. Default value: 10. Valid values: 1 to 50. If the value exceeds the range, the… |
| BeforeTurnId | integer | no | The pagination cursor for conversation history. If this parameter is not specified in the first query, the latest turns specified by… |
| TaskPageSize | integer | no | The number of associated scheduled tasks to return per page. Default value: 20. Valid values: 1 to 100. If the value exceeds the range,… |
| TaskCursor | string | no | The pagination cursor for the list of associated scheduled tasks. Do not specify this parameter in the first query. To continue… |

### Queries the session IDs of the current user in the Console channel, sorted by creation time in descending…
`POST https://zieapi.vercel.app/v1/cloud:aliyun-alikafkakopilot/kopilot-list-conversations` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://alikafkakopilot.cn-beijing.aliyuncs.com |
| RegionId | string | yes | The region ID |
| Page | integer | no | The current page number |
| Size | integer | no | The page size |
| IncludeAutomationOverview | string | no | Specifies whether to return the overview of scheduled tasks and notification channels for the account. A value of true indicates that the… |
| TaskPageSize | integer | no | The number of entries per page for the scheduled task list. Default value: 20. Valid values: 1 to 100 |
| TaskCursor | string | no | The pagination cursor. Do not specify this parameter for the first query. For subsequent queries, pass in the value of… |
| DestinationPageSize | integer | no | The number of entries per page for the notification channel list. Default value: 20. Valid values: 1 to 100 |
| DestinationCursor | string | no | The pagination cursor for notification channels. Do not specify this parameter for the first query. For subsequent queries, pass in the… |

### Queries the enabling status of an instance
`POST https://zieapi.vercel.app/v1/cloud:aliyun-alikafkakopilot/kopilot-query-status` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://alikafkakopilot.cn-beijing.aliyuncs.com |
| RegionId | string | yes | The region ID |
| Owner | string | yes | The account ID of the owner |

### version
`POST https://zieapi.vercel.app/v1/cloud:aliyun-alikafkakopilot/version` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| endpoint | string | no | Regional endpoint, for example https://alikafkakopilot.cn-beijing.aliyuncs.com |

## Example
```
curl "https://zieapi.vercel.app/v1/cloud:aliyun-alikafkakopilot/kopilot-chat-stream" \
  -H "x-api-key: $APIZIE_KEY" \
  -H "x-upstream-key: $PROVIDER_KEY"
```

## FAQ

### How do I call the Alibaba Cloud Kopilot AI Assistant API?
Create a free Apizie key, then send POST https://zieapi.vercel.app/v1/cloud:aliyun-alikafkakopilot/kopilot-chat-stream with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the Alibaba Cloud Kopilot AI Assistant API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card. Alibaba Cloud Kopilot AI Assistant itself also needs your own key from aliyuncs.com.

### Can AI agents use the Alibaba Cloud Kopilot AI Assistant API?
Yes. Add the Apizie MCP server (https://zieapi.vercel.app/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key cloud:aliyun-alikafkakopilot.

### What is the status of the Alibaba Cloud Kopilot AI Assistant API?
Needs your own provider key (bring your own key)
