Skip to main content
Assistant API (Deprecating)

Assistant API (Deprecating)

Management APIs for Assistant, Thread, Message, Run, and Run Step

The Assistant API is being deprecated. We recommend migrating to the Responses API, which includes built-in tools and multi-turn context management as an alternative.
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.

Access Information

ItemValue
Base URLhttps://dashscope.aliyuncs.com/api/v1
AuthenticationAuthorization: Bearer $DASHSCOPE_API_KEY
Content-Typeapplication/json
Get your API Key from the Console API Key page.

API Categories

ResourceOperations
AssistantsCreate, List, Retrieve, Modify, Delete
ThreadsCreate, Retrieve, Modify, Delete
MessagesCreate, List, Retrieve, Modify
RunsCreate, List, Retrieve, Modify, Submit Tool Outputs
Run StepsList, 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.
Overview
Managed Agent API
Sandbox API
Memory API
Flow Agent API
RAG API
Connector API
Framework Integration
Assistant API (Deprecating)
  • Overview