{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://zieapi.vercel.app"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/cloud:aliyun-aisc/create-attack-target":{"post":{"operationId":"cloud_aliyun_aisc_create_attack_target","summary":"Creates an AI Red Teaming scan target (agent or model) and saves its connection configuration for subsequent…","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["TargetName","TargetType","ConnectionMethod","Endpoint","ApiKey"],"properties":{"endpoint":{"type":"string","enum":["https://aisc.ap-southeast-1.aliyuncs.com","https://aisc.cn-shanghai.aliyuncs.com"],"default":"https://aisc.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://aisc.ap-southeast-1.aliyuncs.com"},"TargetName":{"type":"string","description":"The display name of the scan target, used for list display and filtering. Use a distinguishable name within the same tenant"},"TargetType":{"type":"string","description":"The type of the scan target, which determines the sampling dimension for scan tasks. Valid values: agent: agent-type samples. model:…"},"ConnectionMethod":{"type":"string","description":"The connection protocol type for the target service. The system selects the corresponding protocol adapter based on this value"},"Description":{"type":"string","description":"An optional description of the scan target usage"},"Endpoint":{"type":"string","description":"The HTTP or HTTPS endpoint address of the target model service. When ConnectionMethod is set to enterprise_relay, this value is ignored…"},"ApiKey":{"type":"string","description":"The API key for the target model service, used to authenticate with the endpoint. The key is encrypted and stored after submission.…"},"ModelName":{"type":"string","description":"The name of the target model. When ConnectionMethod is set to openai, specify the model ID under the OpenAI compatible protocol. When…"},"ConnectionConfig":{"type":"string","description":"The advanced connection configuration in JSON string format. Common fields: authType (authentication type. custom_header: custom request…"},"Provider":{"type":"string","description":"The business label of the model or agent provider, used for UI filtering and form display. This is decoupled from ConnectionMethod…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-aisc/create-skill-file-check":{"post":{"operationId":"cloud_aliyun_aisc_create_skill_file_check","summary":"Initiates batch detection for user-defined skills","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://aisc.ap-southeast-1.aliyuncs.com","https://aisc.cn-shanghai.aliyuncs.com"],"default":"https://aisc.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://aisc.ap-southeast-1.aliyuncs.com"},"Files":{"type":"string","description":"The file information (JSON-encoded)"},"Source":{"type":"string","enum":["user_upload","sec_ops_agent"],"description":"The upload source. If left empty, user_upload is used by default. Security operations agents use sec_ops_agent"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-aisc/create-target-scan-task":{"post":{"operationId":"cloud_aliyun_aisc_create_target_scan_task","summary":"Initiates a security scan task against a scan target that has passed connectivity verification. After the…","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["TargetId"],"properties":{"endpoint":{"type":"string","enum":["https://aisc.ap-southeast-1.aliyuncs.com","https://aisc.cn-shanghai.aliyuncs.com"],"default":"https://aisc.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://aisc.ap-southeast-1.aliyuncs.com"},"TargetId":{"type":"string","description":"The unique identifier of the scan target. The target must have passed connectivity verification (verifyStatus=verified). Otherwise, a 400…"},"SampleLevel":{"type":"integer","description":"The detection intensity. The backend derives the corresponding technique level based on this value. If this parameter is not specified,…"},"Lang":{"type":"string","description":"The language filter for samples, in locale format (such as zh_CN or en_US, which is internally normalized to zh or en). If this parameter…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-aisc/delete-attack-target":{"post":{"operationId":"cloud_aliyun_aisc_delete_attack_target","summary":"Deletes a specified scan target by TargetId in AI Red Teaming. The target is physically deleted and cannot…","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["TargetId"],"properties":{"endpoint":{"type":"string","enum":["https://aisc.ap-southeast-1.aliyuncs.com","https://aisc.cn-shanghai.aliyuncs.com"],"default":"https://aisc.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://aisc.ap-southeast-1.aliyuncs.com"},"TargetId":{"type":"string","description":"The unique identifier of the scan target. This is the TargetId returned by CreateAttackTarget or ListAttackTargets. If the target does not…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-aisc/delete-scanner-task":{"post":{"operationId":"cloud_aliyun_aisc_delete_scanner_task","summary":"Physically deletes a specified scan task by ScannerTaskId in AI Red Teaming","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["ScannerTaskId"],"properties":{"endpoint":{"type":"string","enum":["https://aisc.ap-southeast-1.aliyuncs.com","https://aisc.cn-shanghai.aliyuncs.com"],"default":"https://aisc.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://aisc.ap-southeast-1.aliyuncs.com"},"ScannerTaskId":{"type":"string","description":"The unique identifier of the scan task. This is the TaskId returned by CreateTargetScanTask or the ScannerTaskId returned by…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-aisc/generate-relay-poller-script":{"post":{"operationId":"cloud_aliyun_aisc_generate_relay_poller_script","summary":"Generates a one-time installation script for a scan target of the enterprise_relay type in AI Red Teaming.…","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://aisc.ap-southeast-1.aliyuncs.com","https://aisc.cn-shanghai.aliyuncs.com"],"default":"https://aisc.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://aisc.ap-southeast-1.aliyuncs.com"},"TargetId":{"type":"string","description":"The unique identifier of the scan target. The target must use the enterprise_relay connection method (see CreateAttackTarget). Otherwise,…"},"Platform":{"type":"string","description":"The target platform in the \"operating system-architecture\" format. Only linux-amd64 and linux-arm64 are supported. Compatible architecture…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-aisc/get-attack-target":{"post":{"operationId":"cloud_aliyun_aisc_get_attack_target","summary":"Queries the details of a scan target by TargetId for AI Red Teaming, including connection configuration and…","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["TargetId"],"properties":{"endpoint":{"type":"string","enum":["https://aisc.ap-southeast-1.aliyuncs.com","https://aisc.cn-shanghai.aliyuncs.com"],"default":"https://aisc.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://aisc.ap-southeast-1.aliyuncs.com"},"TargetId":{"type":"string","description":"The unique identifier of the scan target. If the target does not exist or belongs to another tenant, a 400 error is returned to avoid…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-aisc/get-scanner-task-hit-data-url":{"post":{"operationId":"cloud_aliyun_aisc_get_scanner_task_hit_data_url","summary":"Retrieves a temporary download URL for the attack hit data (hits.csv) of a specified scan task in AI Red…","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://aisc.ap-southeast-1.aliyuncs.com","https://aisc.cn-shanghai.aliyuncs.com"],"default":"https://aisc.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://aisc.ap-southeast-1.aliyuncs.com"},"ScannerTaskId":{"type":"string","description":"The unique identifier of the scan task. This is the TaskId returned by CreateTargetScanTask or the ScannerTaskId returned by…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-aisc/get-scanner-task-result-html-url":{"post":{"operationId":"cloud_aliyun_aisc_get_scanner_task_result_html_url","summary":"Retrieves a temporary download URL for the HTML result report of an AI Red Teaming scan task. The URL is…","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["ScannerTaskId"],"properties":{"endpoint":{"type":"string","enum":["https://aisc.ap-southeast-1.aliyuncs.com","https://aisc.cn-shanghai.aliyuncs.com"],"default":"https://aisc.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://aisc.ap-southeast-1.aliyuncs.com"},"ScannerTaskId":{"type":"string","description":"The unique identifier of the scan task. This is the TaskId returned by CreateTargetScanTask or the ScannerTaskId returned by…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-aisc/list-aiagent-event":{"post":{"operationId":"cloud_aliyun_aisc_list_aiagent_event","summary":"Retrieves a list of agent risk events","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://aisc.ap-southeast-1.aliyuncs.com","https://aisc.cn-shanghai.aliyuncs.com"],"default":"https://aisc.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://aisc.ap-southeast-1.aliyuncs.com"},"PageSize":{"type":"integer","description":"The number of entries per page"},"CurrentPage":{"type":"integer","description":"The current page number"},"RiskName":{"type":"string","description":"The risk name. Fuzzy match is supported"},"AppId":{"type":"string","description":"The ID of the agent application"},"Source":{"type":"string","description":"The event source. Valid values: cspm aiguard SASE SAS Agent-Runtime-Guard"},"Status":{"type":"string","description":"The event status. Valid values: unhandled: Pending. handling: Being processed. fixed: Fixed. ignored: Ignored. rescanned: Rescanned"},"RiskLevel":{"type":"string","description":"The risk level of the check item to query. Valid values: high: High. medium: Medium. low: Low"},"AppName":{"type":"string","description":"Filters the agent list by application name"},"AssetName":{"type":"string","description":"The asset name"},"Lang":{"type":"string","description":"The language of the response. Valid values: zh (default): Chinese. en: English"},"AssetType":{"type":"string","description":"The type of the agent asset. Valid values: rag internet datasets tool model skill app identity"},"StatusList":{"type":"string","description":"The list of statuses (JSON-encoded)"},"Vendor":{"type":"string","description":"The cloud asset vendor. Valid values: ** DIFY**: DIFY ** BAILIAN**: BAILIAN ** VOLCAI**: VOLCAI ** AGENTRUN**: AGENTRUN ** PAI**: PAI **…"},"InfraInstanceId":{"type":"string","description":"The infrastructure instance ID"},"InfraName":{"type":"string","description":"The infrastructure name"},"InfraRegionId":{"type":"string","description":"The infrastructure region"},"OrderBy":{"type":"string","enum":["CheckTime"],"description":"The field by which to sort results. Currently, only sorting by check time is supported"},"Order":{"type":"string","enum":["asc","desc"],"description":"The sort order. Valid values: asc indicates ascending order. desc indicates descending order"},"ResourceDirectoryAccountId":{"type":"integer","description":"The ID of the member accounts in the resource directory (Alibaba Cloud account). Call the…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-aisc/list-attack-targets":{"post":{"operationId":"cloud_aliyun_aisc_list_attack_targets","summary":"Queries the list of scan targets for AI Red Teaming. This operation supports multi-dimensional filtering and…","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["PageNumber","PageSize"],"properties":{"endpoint":{"type":"string","enum":["https://aisc.ap-southeast-1.aliyuncs.com","https://aisc.cn-shanghai.aliyuncs.com"],"default":"https://aisc.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://aisc.ap-southeast-1.aliyuncs.com"},"PageNumber":{"type":"integer","description":"The page number. Pages start from 1. Values less than 1 are normalized to 1"},"PageSize":{"type":"integer","description":"The number of entries per page. Default value: 10. Maximum value: 100. Values greater than 100 are clamped to 100. Values less than 1…"},"TargetName":{"type":"string","description":"Filters targets by name using fuzzy match (substring match). If this parameter is not specified, all targets are returned"},"Provider":{"type":"string","description":"Filters targets by the exact business label of the model or agent provider. This parameter is decoupled from ConnectionMethod (technical…"},"LastScanStatus":{"type":"string","description":"Filters targets by the status of the most recent scan task"},"TargetType":{"type":"string","description":"Filters targets by the exact scan target type"},"RiskLevel":{"type":"string","description":"Filters targets by the risk level derived from the most recent completed scan task. Targets that have never been scanned do not have a…"},"SortField":{"type":"string","description":"The field used for sorting. Only the following three aggregate fields are supported. Sorting is performed in memory. If this parameter is…"},"SortOrder":{"type":"string","description":"The sort order. Targets with null aggregate values are always placed last regardless of the sort order"},"FirstScanTimeStart":{"type":"string","description":"The lower bound (inclusive) of the first scan time range. The value is a UNIX timestamp in milliseconds"},"FirstScanTimeEnd":{"type":"string","description":"The upper bound (inclusive) of the first scan time range. The value is a UNIX timestamp in milliseconds"},"LastScanTimeStart":{"type":"string","description":"The lower bound (inclusive) of the last scan time range. The value is a UNIX timestamp in milliseconds"},"LastScanTimeEnd":{"type":"string","description":"The upper bound (inclusive) of the last scan time range. The value is a UNIX timestamp in milliseconds"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-aisc/list-scan-tasks-by-target":{"post":{"operationId":"cloud_aliyun_aisc_list_scan_tasks_by_target","summary":"Queries scan tasks under a specified scan target by paged query for AI Red Teaming. Supports filtering by…","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["TargetId","PageSize","PageNumber"],"properties":{"endpoint":{"type":"string","enum":["https://aisc.ap-southeast-1.aliyuncs.com","https://aisc.cn-shanghai.aliyuncs.com"],"default":"https://aisc.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://aisc.ap-southeast-1.aliyuncs.com"},"TargetId":{"type":"string","description":"The unique identifier of the scan target. Only tasks under this target are queried. If the target does not exist or does not belong to the…"},"PageSize":{"type":"string","description":"The number of entries per page. Default value: 10. Maximum value: 100. Values greater than 100 are clamped to 100. Values less than 1…"},"PageNumber":{"type":"string","description":"The page number. Pages start from page 1. Values less than 1 are normalized to 1"},"SampleLevel":{"type":"string","description":"Filters by detection intensity. If this parameter is not specified, no filtering by intensity is applied"},"TaskStatus":{"type":"string","description":"Filters by task status. If this parameter is not specified, tasks in all statuses are returned"},"ScanType":{"type":"string","description":"Filters by scan type. If this parameter is not specified, tasks of all scan types are returned"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-aisc/list-sub-tasks":{"post":{"operationId":"cloud_aliyun_aisc_list_sub_tasks","summary":"Get subtask information","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://aisc.ap-southeast-1.aliyuncs.com","https://aisc.cn-shanghai.aliyuncs.com"],"default":"https://aisc.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://aisc.ap-southeast-1.aliyuncs.com"},"RootTaskId":{"type":"string","description":"The main task ID returned upon task submission"},"TaskType":{"type":"string","description":"The task type"},"CurrentPage":{"type":"integer","description":"The current page number"},"PageSize":{"type":"integer","description":"The page size"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-aisc/stop-scanner-task":{"post":{"operationId":"cloud_aliyun_aisc_stop_scanner_task","summary":"Stops (cancels) an in-progress scan task for AI Red Teaming. Calling this operation on a task that is…","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["ScannerTaskId"],"properties":{"endpoint":{"type":"string","enum":["https://aisc.ap-southeast-1.aliyuncs.com","https://aisc.cn-shanghai.aliyuncs.com"],"default":"https://aisc.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://aisc.ap-southeast-1.aliyuncs.com"},"ScannerTaskId":{"type":"string","description":"The unique identifier of the scan task. This is the TaskId returned by CreateTargetScanTask or the ScannerTaskId returned by…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-aisc/test-connectivity":{"post":{"operationId":"cloud_aliyun_aisc_test_connectivity","summary":"Tests the network connectivity and authentication validity of an AI Red Teaming target","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://aisc.ap-southeast-1.aliyuncs.com","https://aisc.cn-shanghai.aliyuncs.com"],"default":"https://aisc.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://aisc.ap-southeast-1.aliyuncs.com"},"TargetId":{"type":"string","description":"The unique identifier of the attack target. If specified, the system reads Endpoint, ApiKey, ModelName, ConnectionMethod, and…"},"Endpoint":{"type":"string","description":"The HTTP or HTTPS endpoint address of the target model service. This parameter is required if TargetId is empty"},"ApiKey":{"type":"string","description":"The API key for the target model service, used to authenticate with the Endpoint. If TargetId is specified, the system reads the key from…"},"ModelName":{"type":"string","description":"The name of the target model. If ConnectionMethod is set to openai, specify the model ID under the OpenAI compatible protocol. If…"},"ConnectionMethod":{"type":"string","description":"The connection protocol type of the target service. The system selects the corresponding protocol adapter to initiate the test based on…"},"ConnectionConfig":{"type":"string","description":"The advanced connection configuration in JSON string format. Common fields: authType (authentication type. custom_header indicates custom…"},"CheckId":{"type":"string","description":"The tracking identifier of the connectivity test. Do not specify this parameter for the first call. The system generates and returns it in…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-aisc/version":{"post":{"operationId":"cloud_aliyun_aisc_version","summary":"version","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://aisc.ap-southeast-1.aliyuncs.com","https://aisc.cn-shanghai.aliyuncs.com"],"default":"https://aisc.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://aisc.ap-southeast-1.aliyuncs.com"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}