Management APIs for Assistant, Thread, Message, Run, and Run Step
The Assistant API is used to build and run Assistants (a type of LLM application), covering the management of five resource types: Assistant, Thread, Message, Run, and Run Step. All instances are stored on Alibaba Cloud Model Studio servers and currently have no expiration date.
Get your API Key from the Console API Key page.
Access Information
| Item | Value |
|---|---|
| Base URL | https://dashscope.aliyuncs.com/api/v1 |
| Authentication | Authorization: Bearer $DASHSCOPE_API_KEY |
| Content-Type | application/json |
API Categories
| Resource | Operations |
|---|---|
| Assistants | Create, List, Retrieve, Modify, Delete |
| Threads | Create, Retrieve, Modify, Delete |
| Messages | Create, List, Retrieve, Modify |
| Runs | Create, List, Retrieve, Modify, Submit Tool Outputs |
| Run Steps | List, Retrieve |
The Assistant API does not provide an endpoint to cancel a running Run.
Runs.wait is an SDK-side polling method, not a standalone HTTP endpoint.