All Classes and Interfaces

Class
Description
 
 
Adds the model(...) aliases for modelConfig(...).
 
 
 
 
 
 
 
 
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.
 
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.
 
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.
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).
 
 
 
 
 
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.
 
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.
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.
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).
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.
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.
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).
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.
 
 
 
 
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.
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).
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).
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.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.
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().*).
 
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.
Deprecated.
Deprecated.
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).