All Products
Search
Document Center

Platform For AI:CreateServiceInstanceToken

Last Updated:Mar 23, 2026

Call this operation to obtain a token and a WebSocket URL for logging on to a container.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

GET /api/v2/services/{ClusterId}/{ServiceName}/instances/{InstanceName}/token HTTP/1.1

Path Parameters

Parameter

Type

Required

Description

Example

ClusterId

string

Yes

Region ID.

cn-shanghai

ServiceName

string

Yes

Service name.

deepseekv3_3

InstanceName

string

Yes

Service instance name.

deepseekv3-3-7b56869574-44nq9

Request parameters

Parameter

Type

Required

Description

Example

WorkerName

string

No

Name of the service worker. Call the ListServiceContainers operation to get the worker name.

worker0

ActionType

string

No

Type of URL to return. Valid values:

  • WorkBench: Log on to the container using Workbench.

Valid values:

  • WorkBench :

    WorkBench

WorkBench

Response elements

Element

Type

Description

Example

object

Response schema.

RequestId

string

Request ID.

40325405-579C-4D82****

Token

string

This parameter is not used.

***

Url

string

This parameter is not used.

***

WorkbenchUrl

string

URL for logging on to the container using Workbench.

https://ecs-workbench-disposable.aliyun.com/account/disposable/login/sst/180535184*******/uc2vx*****

StreamlogUrl

string

This parameter is not used.

***

Examples

Success response

JSON format

{
  "RequestId": "40325405-579C-4D82****",
  "Token": "***",
  "Url": "***",
  "WorkbenchUrl": "https://ecs-workbench-disposable.aliyun.com/account/disposable/login/sst/180535184*******/uc2vx*****",
  "StreamlogUrl": "***"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.