All Classes and Interfaces

Class
Description
 
 
Adds the model(...) aliases for modelConfig(...).
A public Agent failure.
Remote instance reference.
Agent response envelope and polling over the shared platform transport.
Read-only instance metadata.
 
Effective model selection.
 
 
Current status and optional result or error of an instance operation.
 
One page of resources, newest first.
 
托管 Agent 业务入口;与普通 Sandbox 生命周期保持独立。
Session reference and public metadata.
 
 
 
 
 
Tool approval policy (permission_policy.type).
 
 
stop_reason.type values carried by session_status idle events.
 
 
Incremental text chunks from event_delta frames.
 
 
Response parsing for AgentStudio resources.
Official catalog and supported CPU/memory pairs for creating a personal template.
 
 
Turn metadata.
 
Adds the model(...) aliases for modelConfig(...).
 
 
Deprecated.
Deprecated.
Excludes fields annotated with GsonExclude from Gson serialization.
Deprecated.
Network-level failure (connection refused, DNS, TLS, reset mid-stream...).
Request failure carrying a structured Status.
Deprecated.
AgentStudio-owned API-key resolver.
Deprecated.
API key resolution chain (design J3).
Wire keywords used by the AgentStudio HTTP transport stack.
Deprecated.
Deprecated.
 
A failure the gateway declared, on either layer of the dual error model: a non-2xx HTTP status, or HTTP 200 whose body carries a business code.
Request timed out (connect/read/write).
One Bailian application completion; the same shape serves the non-streaming response and each streaming frame (the wire makes no distinction).
Parameters for apps().completions().create / createStreaming.
 
Async variant of AppCompletionsService.
apps.completions resource: create / createStreaming.
Deprecated.
Deprecated.
Deprecated.
 
 
 
 
 
Deprecated.
 
Deprecated.
Deprecated.
 
 
 
Async apps resource group.
apps resource group: Bailian application calls.
Async variant of AsrService: batch transcription only.
Deprecated.
Deprecated.
 
Deprecated.
Deprecated.
Deprecated.
Deprecated.
 
Deprecated.
Deprecated.
Parameters for audio.asr().recognize (ws duplex, task protocol).
 
One typed ASR result, mapped from a result-generated payload's output.sentence plus usage.
 
audio.asr resource: realtime recognize (ws duplex) and async transcribe.
Parameters for audio.asr().transcribe (HTTP async job).
 
Deprecated.
The Assistants API (com.alibaba.dashscope.assistants) is deprecated and will be removed in a future release.
Deprecated.
Deprecated.
The Assistants API (com.alibaba.dashscope.assistants) is deprecated and will be removed in a future release.
Deprecated.
The Assistants API (com.alibaba.dashscope.assistants) is deprecated and will be removed in a future release.
 
Deprecated.
The Assistants API (com.alibaba.dashscope.assistants) is deprecated and will be removed in a future release.
 
Deprecated.
The Assistants API (com.alibaba.dashscope.assistants) is deprecated and will be removed in a future release.
Deprecated.
Deprecated.
Deprecated.
Bridges synchronous service methods onto an Executor for the async resource tree.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
 
 
Deprecated.
Deprecated.
 
Deprecated.
Deprecated.
 
 
Deprecated.
Async audio resource group (audio design §1): only asr batch transcription rides the async client — ws duplex surfaces (recognize/tts/realtime) stay sync-only.
Deprecated.
PCM chunking + pacing helpers (audio design §4/§12): chunk size is derived from the sample rate — one chunk carries exactly 100L ms of audio, so the classic "sleep 100 ms per chunk" upload loop stays real-time at any format.
Single-use, file-backed chunk iterable that owns one handle; AudioPacer.PcmFileChunks.close() releases it and is terminal.
Deprecated.
 
 
Deprecated.
 
audio resource group (audio design §1): asr / tts / realtime + management faces.
Deprecated.
Deprecated.
HTTP 401: authentication failed or API key invalid.
Attaches Authorization and X-DashScope-WorkSpace from the per-request auth tag.
HTTP 400: the request is invalid.
Deprecated.
 
线程安全的百炼 Sandbox SDK 入口。
 
Parameters for embeddings().jobs().create (design §3, Python v2 EmbeddingJobs parity): submit a batch task over one file whose lines are the texts.
 
Deprecated.
Deprecated.
Deprecated.
 
 
Deprecated.
Deprecated.
指定构建的原始状态、日志与失败原因;READY 与构建请求已接收是两个阶段。
Entry of the async chat domain.
Deprecated.
Non-streaming chat completion.
Deprecated.
One streaming chunk of a chat completion.
 
Parameters for chat.completions.create / createStreaming.
 
Deprecated.
Assistant message inside a non-streaming ChatCompletion choice.
Deprecated.
 
Deprecated.
Async variant of ChatCompletionsService.
chat.completions resource: create / createStreaming.
Deprecated.
 
Deprecated.
chat resource group.
One non-streaming choice.
Deprecated.
 
Image security check configuration.
 
Text security check configuration.
 
 
Logging options for the AgentStudio HTTP client.
Immutable client options (design §2).
Deprecated.
 
 
 
Deprecated.
Deprecated.
 
 
Deprecated.
Deprecated.
 
Deprecated.
Deprecated.
 
Deprecated.
 
Minimal reader for ~/.dashscope/config.toml.
Configuration resolution (design §2).
 
 
The model object of an agent: the model id plus its inference parameters.
 
The multiagent field on an agent: type is currently always "coordinator", agents is the roster of 1-20 entries (an empty list clears it).
One roster entry: type is "agent" (reference another agent by id plus optional version) or "self" (a copy of the coordinator; at most one).
 
Permission to reuse the listed fixed published Workflow versions.
 
 
 
 
Inline script creation permissions; omitted settings retain server defaults.
Permission to use the Session's default Agent in an inline Workflow.
Permission switch for creating or reusing Dynamic Workflows.
Fixed Agent or Workflow version binding; only id and version are sent.
Default connection configuration for the AgentStudio shared HTTP client.
Deprecated.
 
 
Per-client connection overrides for the AgentStudio HTTP transport.
Deprecated.
 
 
Deprecated.
Deprecated.
 
 
 
 
 
 
 
 
 
 
Input or output blocked by content moderation (wire code DataInspectionFailed).
Deprecated.
One multimodal content part (design §4): the wire shape is a single-key object — {"text": "..."}, {"image": "<url>"}, {"audio": "<url>"}, {"video": ["f1","f2"]} — with arbitrary keys allowed (forward compatibility).
Deprecated.
Deprecated.
use `Generation` instead
 
Deprecated.
 
 
Deprecated.
 
 
 
 
 
 
 
 
 
 
DashScope 3.0 asynchronous client (design §2.3): same resource tree as DashScopeClient, returning CompletableFuture; streaming surfaces as RxJava Flowable (2.x parity).
 
DashScope 3.0 synchronous client (design §2).
 
Base class for all DashScope 3.0 SDK errors.
Header construction for the AgentStudio HTTP paths.
Deprecated.
Deprecated.
HTTP result envelope produced by the AgentStudio transport.
Deprecated.
Deprecated.
The answer to one question; the filled field follows DecisionAnswer.getType(): choice: DecisionAnswer.getChoice(), DecisionAnswer.getConfidence(), DecisionAnswer.getProbabilities() keyed by option name.
 
Async variant of DecisionService (no streaming on this endpoint).
Parameters for decision().create.
 
Deprecated.
Documented Bailian regions that host the decision model gateway.
Deprecated.
 
Available decision models.
Deprecated.
Deprecated.
Deprecated.
One question for the decision model (TypeSafe System One).
 
Question types.
One System One decision round (design §3).
decision resource (TypeSafe System One decision model, design §3).
Deprecated.
Deprecated.
Outcome of files().delete (Python v2 DeletionStatus parity).
Streaming delta inside a ChatCompletionChunk choice.
 
One model deployment (Python v2 parity).
 
 
 
 
 
Parameters for deployments().create (Python v2 parity).
 
 
One SSE frame from deployments().streamEvents (Python v2 DeploymentEvent parity).
Typed stream over /deployments/{id}/stream frames: an event:error frame raises (raiseOnError) or surfaces as the final error-carrying event, ending the stream.
Page of deployments (Python v2 DeploymentList parity).
 
 
 
 
 
 
 
 
 
 
 
Async variant of DeploymentsService; streamEvents surfaces as a Publisher.
 
 
 
deployments resource (design §3, Python v2 deployments.py parity): create/get/list/ scale/delete over /deployments plus the streamEvents SSE feed.
 
 
One designed voice; its id field is voice on the wire (not voice_id).
Page of designed voices; items keep their wire shape.
One retrieved document behind the answer (RAG citation).
Deprecated.
 
Deprecated.
 
A published Workflow version, including its script and input schema in list responses.
Publication status, independent of whether the definition is archived.
Public Workflow resource type.
Create and publish version 1; script and schema validation is performed by the server.
 
List latest published definitions; archived definitions are excluded by default.
 
Published Workflow definitions.
Partial update that publishes a new version; an empty body leaves the version unchanged.
 
Cursor pagination for published versions; page is the opaque next_page value.
 
One embedding vector; type says which modality produced it.
Async variant of EmbeddingService.
Parameters for embeddings.create.
 
Async variant of EmbeddingJobsService.
Async batch-embedding task facade (design §3, Python v2 EmbeddingJobs parity): the submit goes to the same service path as the sync endpoint with the async header and a file-url input; the finished Job's getResultUrl() carries the output file.
Embeddings response: one vector per input text.
embeddings resource: create plus the async batch-task facade jobs().
Encryption material for an encrypted AgentStudio request.
Deprecated.
One-shot encryption material for a single encrypted-channel request (J7): server public key + freshly generated AES key + IV.
 
 
Public key returned by the public-keys endpoint.
Deprecated.
Fetches the latest public key used for encrypted AgentStudio requests.
Deprecated.
Fetches the server's latest encryption public key (J7): GET /public-keys/latest → {request_id, data:{public_key, public_key_id}}, then bundles it with fresh AES material into an EncryptionConfig.
RSA/AES helpers for encrypted AgentStudio requests and responses.
Deprecated.
Crypto primitives for the encrypted channel (J7, ported from 2.x utils/EncryptionUtils): RSA-wrapped AES-256-GCM.
 
 
 
 
 
 
 
 
 
 
 
Environment variable names shared by 2.x and 3.0 (design J6).
Registry-driven error factory (design §5).
Categories of errors surfaced by the AgentStudio HTTP stack.
Deprecated.
One platform event subscription.
Deprecated.
Binary content of a downloaded file.
Page of uploaded files (Python v2 FileList parity).
 
 
One uploaded file (Python v2 File parity; named FileObject to stay clear of java.io.File).
Deprecated.
 
Async variant of FilesService.
files resource (design §3, Python v2 files.py parity): upload/list/get/delete over /files.
Parameters for files().upload (Python v2 parity): a local file plus its purpose.
 
One fine-tune job (Python v2 parity).
Parameters for fineTunes().create (Python v2 parity).
 
One SSE frame from fineTunes().streamEvents (Python v2 FineTuneEvent parity).
Typed stream over /fine-tunes/{id}/stream frames: an event:error frame raises (raiseOnError) or surfaces as the final error-carrying event, ending the stream.
Page of fine-tune jobs (Python v2 FineTuneList parity).
Async variant of FineTunesService; streamEvents surfaces as a Publisher.
fineTunes resource (design §3, Python v2 fine_tunes.py parity): create/get/list/cancel/ delete over /fine-tunes, plus training logs, the streamEvents SSE feed, and wait — a poller over get (this plane has no /tasks entry; UNKNOWN is deliberately not terminal here, unlike Job).
Base parameter for flattened AgentStudio HTTP requests.
Deprecated.
 
 
Base type for flattened AgentStudio results.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
 
Deprecated.
Deprecated.
 
Deprecated.
Deprecated.
 
HTTP 504: the gateway timed out.
AgentStudio-owned async HTTP transport for CRUD-style calls.
Deprecated.
Parameter for GET-style requests carrying query parameters and custom headers.
Deprecated.
 
 
Deprecated.
Deprecated.
 
Service options for the AgentStudio HTTP transport.
Deprecated.
 
 
Deprecated.
 
Deprecated.
 
 
Deprecated.
Deprecated.
 
Deprecated.
 
 
Deprecated.
 
Deprecated.
Deprecated.
 
 
 
 
 
 
 
Marks fields excluded from Gson serialization in the AgentStudio HTTP stack.
Deprecated.
Deprecated.
Half-duplex HTTP client used by the AgentStudio transport.
Deprecated.
The user input and parameter.
Deprecated.
 
 
Builds the HTTP request for a half-duplex AgentStudio call.
Deprecated.
Deprecated.
 
Deprecated.
 
HTTP methods supported by the SDK transport.
Deprecated.
Dashscope Http request
Deprecated.
 
 
Deprecated.
 
Deprecated.
Deprecated.
HTTP transport shared by the platform client and native Web UI bootstrap.
3.0 HTTP transport (design §6): one OkHttpClient (pool maxRequests=100 / perHost=20, keepAlive 5s, env-tunable), application-level retry/auth/UA interceptors, and the dual error layer — non-2xx status and HTTP-200-with-business-code both map through Errors; with raiseOnError(false) they instead surface on the returned envelope (2.x-style isError() semantics).
A single-use streamed request body.
 
 
 
 
Parameters for images().generate / images().jobs().create (design §3).
 
Deprecated.
 
Deprecated.
Deprecated.
 
Deprecated.
 
 
 
Deprecated.
 
Deprecated.
Deprecated.
Async variant of ImageJobsService.
Image async-task facade (design §3): create submits legacy models to the text2image endpoint and multimodal-protocol models to the image-generation task endpoint; fetch / wait / cancel / list poll /tasks either way.
Async variant of ImagesService.
images resource (design §3): generate is the blocking sugar — legacy models submit an async task and wait; multimodal-protocol models (wan2.6-t2i / wan2.6-image) answer synchronously in one request.
Deprecated.
Image edit function
 
Deprecated.
Deprecated.
Deprecated.
 
Deprecated.
Deprecated.
Deprecated.
Deprecated.
 
Missing required input fields.
Deprecated.
HTTP 500: the server encountered an internal error.
Deprecated.
Java 8 equivalents for input normalization and immutable copies.
A long-running task (design §3): taskId is the primary name (job_id accepted as an alias), outputAs(Class) gives a typed view over the raw output node.
Blocking, pull-model parser for the job-event SSE framing (fine-tunes/deployments streams, 1.x StreamEventMixin lineage): an event:error line flips the error flag, status: carries the mapped HTTP status (optional), and each data: line is one frame; an error frame ends the stream.
One data: line plus the stream state accumulated when it arrived.
Shared payload/error mapping for the job-event streams (fine-tunes/deployments; Python v2 _sse.py parity): payloads parse as JSON when possible, and an event:error frame maps through the catalog — status: absent means a business failure on an HTTP-200 stream, so the body's own code picks the class.
Training logs of one job, from fineTunes().logs (Python v2 JobLogs parity).
One artifact a finished task produced (Python v2 JobResult parity).
Async variant of JobsService.
Generic async-task service (design §3): submit with X-DashScope-Async: enable, poll GET /tasks/{taskId}, cancel via POST /tasks/{taskId}/cancel, list via GET /tasks.
Result of a state transition that reports nothing but the new state (Python v2 parity).
Shared Jackson mapper and wire-envelope helpers.
AgentStudio-owned Gson helpers for the HTTP transport stack.
Deprecated.
Deprecated.
Immutable instance creation request.
 
Deprecated.
One text document inside a memory store, addressed by path.
Request body for POST /memory_stores/{store_id}/memories.
 
Query params for GET /memory_stores/{store_id}/memories.
 
A workspace-scoped memory store: a collection of small text documents that persists across sessions.
Request body for POST /memory_stores.
 
Query params for GET /memory_stores.
 
Memory stores: workspace-scoped collections of small text documents that persist across sessions.
Request body for POST /memory_stores/{store_id}.
 
Request body for POST /memory_stores/{store_id}/memories/{memory_id}.
 
Immutable snapshot produced by every memory mutation; versions are returned newest-first.
Query params for GET /memory_stores/{store_id}/memory_versions.
 
 
Deprecated.
One chat message.
 
Deprecated.
Deprecated.
 
Deprecated.
Deprecated.
 
Deprecated.
 
Deprecated.
 
 
 
Deprecated.
Deprecated.
Deprecated.
 
Deprecated.
The messages API is deprecated and will be removed in a future version.
One model entry (Python v2 Model parity).
Immutable creation-time model selection and write-only credential.
 
Page of models (Python v2 ModelList parity).
Async variant of ModelsService.
models resource (design §3, Python v2 models.py parity): list/get over /models.
Typed session-resource mount descriptor (create-time input on POST /sessions).
Async variant of MultimodalService.
Async variant of MultimodalChatService.
One multimodal streaming frame.
Non-streaming multimodal completion.
Parameters for multimodal.chat.create / createStreaming.
 
multimodal.chat resource: create / createStreaming.
One multimodal choice (used by both the completion and, after merge, stream frames).
Deprecated.
 
Deprecated.
 
Deprecated.
Deprecated.
 
Deprecated.
 
Deprecated.
Deprecated.
Deprecated.
 
 
Deprecated.
Deprecated.
Deprecated.
Deprecated.
 
Async variant of MultimodalEmbeddingService.
Parameters for multimodal.embeddings.create.
 
Deprecated.
 
Deprecated.
 
Deprecated.
 
Deprecated.
 
Deprecated.
 
Deprecated.
Deprecated.
 
Multimodal embedding response: one vector per input content.
 
Deprecated.
Deprecated.
multimodal.embeddings resource: create.
Deprecated.
Deprecated.
A multimodal chat message: role plus a list of content parts (text/image/audio/video).
Deprecated.
 
 
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Response-side multimodal message: role plus content parts, with optional reasoning content, tool calls, and audio payload (omni models).
Deprecated.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
multimodal resource group: chat() / embeddings().
Raw network response delivered to result parsers.
Deprecated.
 
 
No API key could be resolved for the request.
Deprecated.
encode(text, "none_raise") encountered no special token (2.x NoSpecialTokenExists).
Deprecated.
HTTP 404: the requested resource was not found.
Deprecated.
 
 
 
 
官方镜像的稳定名称;具体 URL 与版本由当前平台环境的官方目录解析。
Builds the OkHttp clients used by the AgentStudio HTTP transport.
Deprecated.
OkHttp-based half-duplex HTTP client for AgentStudio.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
 
Deprecated.
Deprecated.
Deprecated.
Deprecated.
 
Deprecated.
Deprecated.
 
 
 
 
Recursive media upload walk (Python v2 upload_media_value parity): strings, lists and maps are walked; every string that is a file:// URI or an existing local path is uploaded via OssUploader and replaced by its oss:// URL; existing oss:// strings pass through and also flag the resolve header.
Deprecated.
OSS upload for local multimodal files (design J8, ported from 2.x OSSUtils): two-step flow — GET /uploads?action=getPolicy&model= fetches a short-lived policy certificate, then a multipart POST to the returned upload_host stores the file.
Server-issued OSS policy certificate (fields named exactly as on the wire).
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Paged list result (design §3): pageNo/pageSize in, this shape out.
Deprecated.
 
 
Deprecated.
HTTP 403: no permission to access the resource.
Deprecated.
One compiled paraformer phrase set.
Parameters for audio().phrases().create/update (paraformer hot-phrase compile jobs).
 
Page of compiled phrase sets (GET /fine-tunes/outputs).
audio.phrases — paraformer hot phrases (audio design §1.4, Python v2 phrases parity): a compile job in disguise.
Shared platform transport; business response decoding belongs to each facade.
Deprecated.
Result of check and upload image operation.
Result of check and upload one image operation.
Deprecated.
Result of check and upload one operation.
Result of check and upload operation.
Result of preprocess operation.
Communication protocol.
Deprecated.
Customer-facing error definitions.
Customer-facing error definitions.
Deprecated.
Deprecated.
Deprecated.
 
Deprecated.
Deprecated.
 
Deprecated.
 
Deprecated.
Deprecated.
 
Deprecated.
Deprecated.
 
Deprecated.
 
Deprecated.
 
Deprecated.
use GenerationParam instead
 
Deprecated.
BPE encode and decode (3.0 owner of the 2.x tokenizers.QwenTokenizer leaf); implementation reference https://github.com/openai/tiktoken and https://github.com/karpathy/minbpe.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
 
Deprecated.
 
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
 
Deprecated.
Deprecated.
 
Deprecated.
Doc reference type for returning query result of document retrival
 
Deprecated.
 
HTTP 429: rate / concurrency / quota limit hit.
Parameters for audio.realtime().connect (audio design §1.3).
 
audio.realtime resource (audio design §1.3): OpenAI-Realtime-style sessions on a dedicated socket per session.
Realtime session (audio design §1.3): OpenAI-Realtime-style protocol — pure JSON text frames distinguished by type, audio base64-encoded (a protocol limitation; ~33% size overhead, prefer the task protocol for heavy traffic), no task_id, so every session owns a dedicated socket and cannot share a WsConnection.
Deprecated.
Deprecated.
Deprecated.
 
Deprecated.
ASR realtime session (audio design §1.1): ws duplex over the task protocol.
Deprecated.
Deprecated.
 
Per-call overrides (design §2): every resource method has a (params, RequestOptions) overload.
 
OkHttp request tags carrying per-call state into application interceptors.
Per-request auth material resolved from config + RequestOptions overrides.
Per-request encryption material used for both request encryption and response decryption.
Per-request maxRetries override.
Functional-area tag for the x-dashscope-sdk-client header (e.g.
Marker: SSE / WebSocket-upgrade requests must not be auto-retried (design §6).
Suffix appended to the User-Agent (e.g.
HTTP 413: the request exceeds the maximum allowed size.
Deprecated.
 
Async variant of RerankService.
Parameters for rerank.create.
 
The original document text of a rerank result (present when return_documents=true).
Rerank response: results ordered by descending relevance.
One reranked document: position in the input list plus relevance score.
rerank resource: create.
Fully-resolved client configuration, produced once per client by ConfigResolver.
Base of every 3.0 response (design §3): the server envelope flattened — requestId, statusCode, code, message, headers — plus ResponseBase.isError() for raiseOnError(false) mode (2.x return-value style).
Raw result of one HTTP exchange after error policy ran: status + headers + decoded body.
Deprecated.
 
 
 
Typed streaming response (design §3): blocking pull iterator over SSE frames mapped to T.
Base type for HTTP results carrying response metadata.
Deprecated.
 
 
Callback receiving asynchronous HTTP results.
Deprecated.
Application-level retry policy (design §6): retryable statuses {408, 409, 429, 500, 502, 503, 504} plus connection-level IO failures honors Retry-After / Retry-After-ms / X-Should-Retry exponential backoff 500ms → 8s with ±25% jitter default maxRetries=2 (per-request override via RequestTags.MaxRetries) requests tagged RequestTags.NoRetry (SSE / WebSocket upgrade) are never retried: a failed stream cannot be safely replayed (double billing / duplicated results)
Deprecated.
Deprecated.
Deprecated.
Status
Deprecated.
 
 
Deprecated.
The Assistants API (com.alibaba.dashscope.legacy_2x.threads.runs) is deprecated and will be removed in a future release.
Deprecated.
Status
Type
Deprecated.
 
Bridges pull-based ResponseStream into RxJava Flowable (2.x streaming parity).
Platform or transport error.
服务端返回的数据面连接材料;调用方可显式读取 Token,默认文本表示始终隐藏 Token。
普通 Sandbox 创建参数;templateId 必须是已构建就绪的个人模板公开 ID。
 
实例网络配置;rules 保留公开协议的扩展结构。
普通 Sandbox 公开接口;Agent 实例的归属与拒绝语义由平台执行。
connect/resume 可选生命周期,按公开协议以秒发送。
一次列表查询,不承诺完整扫描、总数或下一页。
普通实例操作句柄;释放必须显式调用,关闭统一客户端不会释放实例。
普通实例只读信息;id 始终为公开 sandboxID,而非平台内部主键。
Only the local wait expired.
一次本机浏览器预览。
sandboxId 选择已有实例,readyTemplateId 选择或核对模板。
SDK client-side error codes.
A failure the SDK reported itself, with no HTTP response behind it.
SDK version, single-sourced from dashscope-version.properties (Maven-filtered from pom.xml, design J1).
Process-unique SDK session id (design J2).
Daemon workers for SDK tasks that block on process or response streams.
Deprecated.
Deprecated.
Web-search side information attached to a completion (enable_search flows).
 
 
 
 
 
Deprecated.
Deprecated.
 
 
 
 
 
 
 
 
 
 
 
Deprecated.
Deprecated.
Internal used for config the service.
Deprecated.
HTTP 503: the service is temporarily unavailable.
 
 
A resource mounted into a session.
 
 
 
 
Session-level agent reference: an Agent ID string or an override object carrying system/tools/mcp_servers/skills.
 
 
 
 
 
 
 
Submit further prompts on the same handle to continue the conversation.
 
 
 
 
 
 
 
 
 
 
 
 
 
Deprecated.
 
 
 
 
 
 
 
 
 
One sparse-vector term returned when output_type is sparse or dense&sparse.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
 
 
Deprecated.
Deprecated.
Deprecated.
Deprecated.
 
Deprecated.
Deprecated.
Deprecated.
Blocking, pull-model SSE parser (design §6).
Deprecated.
Deprecated.
Deprecated.
 
Structured status of a failed or completed request.
Deprecated.
 
 
Deprecated.
Deprecated.
Deprecated.
Deprecated.
One streaming choice: carries a Delta instead of a full message.
Service streaming mode.
Deprecated.
String formatting helpers for the AgentStudio HTTP stack.
Deprecated.
Deprecated.
 
Deprecated.
Deprecated.
TTS duplex session (audio design §1.2): ws task protocol, text up, binary audio down.
Deprecated.
One task's view over a WebSocket (audio design §3): implemented by WsSession (dedicated socket) and by WsConnection.TaskHandle (a demultiplexed task on a shared socket).
One inbound item on a TaskChannel: a parsed task-protocol text event, a raw binary frame, the socket-closed signal, or a transport-level failure.
 
Deprecated.
Bailian task-protocol framing (audio design §2): text frames {header:{action,task_id,streaming}, payload:{task_group,task,function,model,...}} for run/continue/finish-task; inbound events are task-started / result-generated / task-finished / task-failed with header.error_code/error_message carrying failures.
Deprecated.
创建模板只提交构建;通过 TemplatesClient.awaitReady 显式等待就绪。
 
模板文件 ID 与容器目标路径;文件应已在当前 workspace 上传并可用。
字段拼写沿用公开 DTO,避免发送一个服务端不会读取的新字段。
 
Platform file metadata, distinct from an Agent's instance-local attachment.
Template-file storage APIs.
 
模板公开信息;id 是 templateID/templateCode,不使用数据库或供应商内部 ID。
 
个人模板管理;接口路由版本封装在分面内部。
构建失败保留完整状态和服务端 reason,方便调用方准确呈现原因。
模板列表首页的查询条件。
更新只发送显式设置的字段;空集合和空描述按原样发送,不补创建默认值。
 
Deprecated.
 
Deprecated.
Deprecated.
Deprecated.
 
 
 
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
 
Deprecated.
 
Deprecated.
 
 
Deprecated.
 
Deprecated.
Deprecated.
One planning or tool-call step; set has_thoughts to get them.
Deprecated.
 
Deprecated.
Status
Deprecated.
 
Deprecated.
 
Deprecated.
The threads API is deprecated and will be removed in a future version.
Deprecated.
Async tingwu: the offline-task handle only — realtime sessions stay sync-only (Python v2 parity).
Parameters for tingwu().jobs().create (offline summarization as a long task).
 
Async variant of TingWuJobsService.
Offline TingWu summarization as a long task (design §3 resource tree): the submit goes to the multimodal-generation service with the async header; poll with fetch/wait.
Deprecated.
 
Deprecated.
Deprecated.
Deprecated.
 
Parameters for tingwu().realtime (ws duplex, task protocol).
 
Deprecated.
Realtime TingWu session (ws duplex, task protocol; task_group aigc, task multimodal-generation, function generation).
tingwu resource: offline summarization as a long task (TingWuService.jobs()) plus realtime understanding over a ws duplex session (TingWuService.realtime(com.alibaba.dashscope.types.tingwu.TingWuRealtimeParams)).
Server-side token count (Python v2 TokenCount parity): usage at the envelope top, the tokenizer's ids/tokens lifted out of output.
Deprecated.
 
Async variant of TokenizationService.
Parameters for tokenization.count.
 
Deprecated.
Deprecated.
tokenization resource (Python v2 tokenization.py parity): server-side token counting over POST /tokenizer.
Deprecated.
Deprecated.
Local tokenizer contract (3.0 home of the 2.x tokenizers leaf).
Base type for local tokenizer failures (3.0: unchecked, no transport involved).
Deprecated.
Local tokenizer factory (3.0 home; 2.x tokenizers.TokenizerFactory delegates here).
Deprecated.
 
Deprecated.
Deprecated.
 
Deprecated.
 
A tool call issued by the model: function name plus JSON-encoded arguments.
Deprecated.
Deprecated.
Deprecated.
Function payload of a ToolCall; arguments is the JSON-encoded argument bag.
Deprecated.
Deprecated.
Deprecated.
 
Deprecated.
 
Deprecated.
 
Deprecated.
Deprecated.
Deprecated.
 
Deprecated.
 
Deprecated.
use `Text2Image` instead
 
Deprecated.
Deprecated.
Deprecated.
Deprecated.
 
Deprecated.
 
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
 
 
 
 
 
Deprecated.
Deprecated.
Deprecated.
 
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
 
Deprecated.
Parameters for audio.tts().connect (ws duplex, task protocol).
 
Explicit HTTP TTS (audio design §8): POST SSE, audio frames as base64 at output.audio (string or .data) or output.binary.
audio.tts resource: HTTP one-shot/streaming synthesis plus ws duplex sessions.
Parameters for the HTTP TTS forms (audio.tts().synthesize/stream and audio.tts().http().*).
 
 
Status and complete server result, including optional error, output and usage fields.
Deprecated.
Deprecated.
 
Deprecated.
Deprecated.
 
Deprecated.
Deprecated.
 
Deprecated.
allowedSpecial was not one of "all"/"none"/"none_raise" (2.x UnSupportedSpecialTokenMode).
Deprecated.
 
Session configuration for RealtimeSession.updateSession (audio design §1.3).
New-style nested audio format (audio.input/output.format).
 
qwen_audio dialect transcription settings.
 
Livetranslate dialect translation settings.
Metadata for one file stored in an Agent instance's Sandbox.
Deprecated.
Deprecated.
A short-lived signed URL; its upload material is excluded from toString().
Usage totals and cursor-paginated trends, using the shared GeneralApi HTTP implementation.
Deprecated.
Token usage, the single Usage class for every resource (design §3).
Complete data envelope, retaining null metrics, units, breakdowns and opaque page tokens.
 
Body fields shared by usage summary and trend; dimension-specific validation is server-side.
 
 
 
Attaches SDK telemetry headers (design §6): User-Agent (version), x-dashscope-sdk-session-id (shared with 2.x via the neutral layer, so one process reports one session id across generations), and x-dashscope-sdk-client in the client/version/module form.
Deprecated.
 
 
 
 
 
 
 
 
 
Parameters for videos().generate / videos().jobs().create (design §3).
 
Async variant of VideoJobsService.
Video async-task facade (design §3): create/fetch/wait/cancel/list over the video service.
Async variant of VideosService.
videos resource (design §3): generate is the blocking sugar — submit the task and wait for its terminal state; the finished Job's getVideoUrl() reads the same for both input protocols.
Deprecated.
 
Video synthesis duration
 
 
 
 
Video synthesis size
Deprecated.
Deprecated.
Deprecated.
 
 
 
Deprecated.
Deprecated.
audio.vocabularies — asr hot-word tables (audio design §1.4, Python v2 customization parity).
Deprecated.
One hot-word table; vocabularies().create/get return it.
Parameters for audio().vocabularies().create.
 
Page of hot-word tables; items keep their wire shape (the service adds fields over time).
Deprecated.
Deprecated.
 
Deprecated.
Deprecated.
One cloned voice; voices().create/get return it.
Parameters for audio().voices().create (voice cloning).
 
Parameters for audio().voiceDesign().create (qwen voice design).
 
audio.voiceDesign — qwen voice design (audio design §1.4).
Deprecated.
Deprecated.
 
Deprecated.
Page of cloned voices; items keep their wire shape.
audio.voices — voice cloning (audio design §1.4, Python v2 customization parity).
Delivery information attached to an endpoint event.
Webhook delivery status.
Reason why a webhook endpoint was disabled.
Managed Agent webhook endpoint.
Parameters for creating a webhook endpoint.
 
Non-paginated list of webhook endpoints in the current workspace.
Managed Agent webhook endpoint APIs.
Parameters for updating a webhook endpoint.
 
Webhook event envelope returned by test and endpoint event APIs.
Resource data carried by a webhook event envelope.
Cursor pagination parameters for an endpoint's webhook events.
 
Event types accepted by webhook endpoint subscriptions.
Result returned after resetting a webhook signing secret.
Webhook endpoint activation status.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Workflow node progress, from output.workflow_message.
 
The node's own message payload.
A shared physical WebSocket multiplexing many tasks by header.task_id (audio design §7).
A single task over a dedicated WebSocket (audio design §3).