'1.0', 'info' => ['style' => 'ROA', 'product' => 'AiContent', 'version' => '20240611'], 'components' => [ 'schemas' => [ 'AliyunConsoleServiceInfoDTO' => [ 'type' => 'object', 'properties' => [ 'serviceCode' => ['type' => 'string'], 'serviceName' => ['type' => 'string'], 'freeCount' => ['type' => 'integer', 'format' => 'int32'], 'freeConcurrencyCount' => ['type' => 'integer', 'format' => 'int32'], 'documentUrl' => ['type' => 'string'], 'buyUrl' => ['type' => 'string'], ], ], 'ApiKeyCreateCmd' => [ 'type' => 'object', 'properties' => [ 'clientId' => ['type' => 'integer', 'format' => 'int64'], ], ], 'ApiKeyDecryptedDTO' => [ 'type' => 'object', 'properties' => [ 'id' => ['type' => 'integer', 'format' => 'int64'], 'name' => ['type' => 'string'], 'key' => ['type' => 'string'], 'client' => ['$ref' => '#/components/schemas/ClientDTO'], 'keyPreview' => ['type' => 'string'], 'clientId' => ['type' => 'integer', 'format' => 'int64'], 'deleteTag' => ['type' => 'integer', 'format' => 'int32'], 'gmtCreate' => ['type' => 'string'], 'gmtModified' => ['type' => 'string'], ], ], 'ApiKeyDTO' => [ 'type' => 'object', 'properties' => [ 'id' => ['type' => 'integer', 'format' => 'int64'], 'name' => ['type' => 'string'], 'client' => ['$ref' => '#/components/schemas/ClientDTO'], 'keyPreview' => ['type' => 'string'], 'clientId' => ['type' => 'integer', 'format' => 'int64'], 'gmtCreate' => ['type' => 'string'], 'gmtModified' => ['type' => 'string'], 'deleteTag' => ['type' => 'integer', 'format' => 'int32'], 'key' => ['type' => 'string'], ], ], 'ApiKeyListQry' => [ 'type' => 'object', 'properties' => [ 'page' => ['type' => 'integer', 'format' => 'int32'], 'keyword' => ['type' => 'string'], 'status' => ['type' => 'integer', 'format' => 'int32'], 'pageSize' => ['type' => 'integer', 'format' => 'int32'], 'clientId' => ['type' => 'integer', 'format' => 'int64'], ], ], 'ApiKeyUpdateCmd' => [ 'type' => 'object', 'properties' => [ 'name' => ['type' => 'string'], 'status' => ['type' => 'integer', 'format' => 'int32'], ], ], 'BatchCreateModelItemDTO' => [ 'type' => 'object', 'properties' => [ 'name' => ['type' => 'string', 'required' => true], 'modelId' => ['type' => 'string', 'required' => true], 'modelType' => ['type' => 'string', 'required' => true], 'description' => ['type' => 'string'], 'maxInputLength' => ['type' => 'string'], 'maxOutputLength' => ['type' => 'string'], 'inOut' => ['type' => 'string'], 'extensions' => ['type' => 'string'], 'tags' => ['type' => 'string'], ], ], 'BatchModelErrorDTO' => [ 'type' => 'object', 'properties' => [ 'modelId' => ['type' => 'string'], 'name' => ['type' => 'string'], 'errorMsg' => ['type' => 'string'], ], ], 'BillingBillSummaryPointDTO' => [ 'type' => 'object', 'properties' => [ 'timestamp' => ['type' => 'integer', 'format' => 'int64'], 'totalAmount' => ['type' => 'number', 'format' => 'float'], ], ], 'BillingBillSummaryRespDTO' => [ 'type' => 'object', 'properties' => [ 'totalAmount' => ['type' => 'number', 'format' => 'float'], 'points' => [ 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/BillingBillSummaryPointDTO'], ], ], ], 'BillingBillTierDTO' => [ 'type' => 'object', 'properties' => [ 'dimValues' => ['type' => 'string'], 'values' => ['type' => 'string'], 'payableAmount' => ['type' => 'number', 'format' => 'float'], ], ], 'BillingCostBreakdownRespDTO' => [ 'type' => 'object', 'properties' => [ 'granularity' => ['type' => 'string'], 'page' => ['type' => 'integer', 'format' => 'int32'], 'pageSize' => ['type' => 'integer', 'format' => 'int32'], 'total' => ['type' => 'integer', 'format' => 'int64'], 'columns' => [ 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/MetricDefRespDTO'], ], 'rows' => [ 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/BillingCostBreakdownRowDTO'], ], ], ], 'BillingCostBreakdownRowDTO' => [ 'type' => 'object', 'properties' => [ 'summaryTime' => ['type' => 'integer', 'format' => 'int64'], 'modelId' => ['type' => 'integer', 'format' => 'int64'], 'modelCode' => ['type' => 'string'], 'modelName' => ['type' => 'string'], 'modelType' => ['type' => 'string'], 'clientId' => ['type' => 'integer', 'format' => 'int64'], 'clientName' => ['type' => 'string'], 'apiKeyId' => ['type' => 'integer', 'format' => 'int64'], 'apiKeyName' => ['type' => 'string'], 'billingType' => ['type' => 'string'], 'payableAmount' => ['type' => 'number', 'format' => 'float'], 'dimValues' => ['type' => 'string'], 'values' => ['type' => 'string'], 'tiers' => [ 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/BillingBillTierDTO'], ], ], ], 'ClientBalanceDTO' => [ 'type' => 'object', 'properties' => [ 'id' => ['type' => 'integer', 'format' => 'int64'], 'clientId' => ['type' => 'integer', 'format' => 'int64'], 'balance' => ['type' => 'number', 'format' => 'double'], 'balanceType' => ['type' => 'string'], 'enableBalance' => ['type' => 'boolean'], 'gmtCreate' => ['type' => 'string'], 'gmtModified' => ['type' => 'string'], ], ], 'ClientBalanceLogDTO' => [ 'type' => 'object', 'properties' => [ 'id' => ['type' => 'integer', 'format' => 'int64'], 'clientId' => ['type' => 'integer', 'format' => 'int64'], 'changeAmount' => ['type' => 'number', 'format' => 'double'], 'balanceBefore' => ['type' => 'number', 'format' => 'double'], 'balanceAfter' => ['type' => 'number', 'format' => 'double'], 'changeType' => ['type' => 'string'], 'remark' => ['type' => 'string'], 'gmtCreate' => ['type' => 'string'], ], ], 'ClientCreateCmd' => [ 'type' => 'object', 'properties' => [ 'name' => ['type' => 'string'], 'address' => ['type' => 'string'], 'contact' => ['type' => 'string'], 'remark' => ['type' => 'string'], 'allowedModels' => ['type' => 'string'], ], ], 'ClientDTO' => [ 'type' => 'object', 'properties' => [ 'id' => ['type' => 'integer', 'format' => 'int64'], 'name' => ['type' => 'string'], 'address' => ['type' => 'string'], 'contact' => ['type' => 'string'], 'main' => ['type' => 'integer', 'format' => 'int32'], 'remark' => ['type' => 'string'], 'clientUuid' => ['type' => 'string'], 'allowedModels' => ['type' => 'string'], 'deleteTag' => ['type' => 'integer', 'format' => 'int32'], 'gmtCreate' => ['type' => 'string'], 'gmtModified' => ['type' => 'string'], ], ], 'ClientListQry' => [ 'type' => 'object', 'properties' => [ 'page' => ['type' => 'integer', 'format' => 'int32'], 'keyword' => ['type' => 'string'], 'status' => ['type' => 'integer', 'format' => 'int32'], 'pageSize' => ['type' => 'integer', 'format' => 'int32'], ], ], 'ClientTreeDTO' => [ 'type' => 'object', 'properties' => [ 'id' => ['type' => 'integer', 'format' => 'int64'], 'name' => ['type' => 'string'], 'address' => ['type' => 'string'], 'contact' => ['type' => 'string'], 'main' => ['type' => 'integer', 'format' => 'int32'], 'remark' => ['type' => 'string'], 'clientUuid' => ['type' => 'string'], 'allowedModels' => ['type' => 'string'], 'discount' => ['type' => 'number', 'format' => 'double'], 'deleteTag' => ['type' => 'integer', 'format' => 'int32'], 'level' => ['type' => 'integer', 'format' => 'int32'], 'parentId' => ['type' => 'integer', 'format' => 'int64'], 'gmtCreate' => ['type' => 'string'], 'gmtModified' => ['type' => 'string'], 'balance' => ['$ref' => '#/components/schemas/ClientBalanceDTO'], 'children' => [ 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/ClientTreeDTO'], ], ], ], 'ClientUpdateCmd' => [ 'type' => 'object', 'properties' => [ 'name' => ['type' => 'string'], 'address' => ['type' => 'string'], 'contact' => ['type' => 'string'], 'remark' => ['type' => 'string'], 'status' => ['type' => 'integer', 'format' => 'int32'], 'allowedModels' => ['type' => 'string'], ], ], 'ConversationCreateCmd' => [ 'type' => 'object', 'properties' => [ 'chatData' => ['type' => 'string'], 'modelIds' => ['type' => 'string'], 'title' => ['type' => 'string'], ], ], 'ConversationDTO' => [ 'type' => 'object', 'properties' => [ 'id' => ['type' => 'integer', 'format' => 'int64'], 'title' => ['type' => 'string'], 'messageCount' => ['type' => 'integer', 'format' => 'int32'], 'modelIds' => ['type' => 'string'], 'chatData' => ['type' => 'string'], 'deleteTag' => ['type' => 'integer', 'format' => 'int32'], 'gmtCreate' => ['type' => 'string'], 'gmtModified' => ['type' => 'string'], ], ], 'ConversationListQry' => [ 'type' => 'object', 'properties' => [ 'page' => ['type' => 'integer', 'format' => 'int32'], 'keyword' => ['type' => 'string'], 'status' => ['type' => 'integer', 'format' => 'int32'], 'pageSize' => ['type' => 'integer', 'format' => 'int32'], ], ], 'ConversationUpdateCmd' => [ 'type' => 'object', 'properties' => [ 'title' => ['type' => 'string'], 'chatData' => ['type' => 'string'], 'messageCount' => ['type' => 'integer', 'format' => 'int32'], 'modelIds' => ['type' => 'string'], ], ], 'CostModelDetailRespDTO' => [ 'type' => 'object', 'properties' => [ 'columns' => [ 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/MetricDefRespDTO'], ], 'granularity' => ['type' => 'string'], 'modelId' => ['type' => 'integer', 'format' => 'int64'], 'modelName' => ['type' => 'string'], 'page' => ['type' => 'integer', 'format' => 'int32'], 'pageSize' => ['type' => 'integer', 'format' => 'int32'], 'rows' => [ 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/CostModelDetailRowDTO'], ], 'total' => ['type' => 'integer', 'format' => 'int32'], ], ], 'CostModelDetailRowDTO' => [ 'type' => 'object', 'properties' => [ 'timestamp' => ['type' => 'integer', 'format' => 'int64'], 'values' => ['type' => 'string'], ], ], 'CostQueryModelsDTO' => [ 'type' => 'object', 'properties' => [ 'columns' => [ 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/MetricDefRespDTO'], ], 'idField' => ['type' => 'string'], 'nameField' => ['type' => 'string'], 'rows' => [ 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/ModelRowDTO'], ], ], ], 'CostQueryTrendDTO' => [ 'type' => 'object', 'properties' => [ 'defaultMetric' => ['type' => 'string'], 'granularity' => ['type' => 'string'], 'metrics' => [ 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/MetricDefRespDTO'], ], 'points' => [ 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/TrendPointDTO'], ], ], ], 'CostTabDTO' => [ 'type' => 'object', 'properties' => [ 'key' => ['type' => 'string'], 'label' => ['type' => 'string'], 'modelTypes' => [ 'type' => 'array', 'items' => ['type' => 'string'], ], ], ], 'MetricDefRespDTO' => [ 'type' => 'object', 'properties' => [ 'key' => ['type' => 'string'], 'label' => ['type' => 'string'], 'sortable' => ['type' => 'boolean'], 'unit' => ['type' => 'string'], ], ], 'MetricKVPairDTO' => [ 'type' => 'object', 'properties' => [ 'key' => ['type' => 'string'], 'value' => ['type' => 'number', 'format' => 'float'], ], ], 'MetricValueDTO' => [ 'type' => 'object', 'properties' => [ 'key' => ['type' => 'string'], 'label' => ['type' => 'string'], 'unit' => ['type' => 'string'], 'value' => ['type' => 'number', 'format' => 'float'], ], ], 'ModelCreateCmd' => [ 'type' => 'object', 'properties' => [ 'name' => ['type' => 'string'], 'description' => ['type' => 'string'], 'symbol' => ['type' => 'string'], 'tags' => ['type' => 'string'], 'modelId' => ['type' => 'string'], 'modelType' => ['type' => 'string'], 'apiKey' => ['type' => 'string'], 'baseUrl' => ['type' => 'string'], 'maxInputLength' => ['type' => 'string'], 'maxOutputLength' => ['type' => 'string'], ], ], 'ModelDTO' => [ 'type' => 'object', 'properties' => [ 'id' => ['type' => 'integer', 'format' => 'int64'], 'name' => ['type' => 'string'], 'description' => ['type' => 'string'], 'symbol' => ['type' => 'string'], 'tags' => ['type' => 'string'], 'modelCode' => ['type' => 'string'], 'modelType' => ['type' => 'string'], 'apiKeyPreview' => ['type' => 'string'], 'baseUrl' => ['type' => 'string'], 'maxInputLength' => ['type' => 'string'], 'maxOutputLength' => ['type' => 'string'], 'isCustom' => ['type' => 'boolean'], 'tagNames' => ['type' => 'string'], 'deleteTag' => ['type' => 'integer', 'format' => 'int32'], 'gmtCreate' => ['type' => 'string'], 'gmtModified' => ['type' => 'string'], 'version' => ['type' => 'integer', 'format' => 'int32'], 'hasBillingRule' => ['type' => 'boolean'], 'inOut' => ['type' => 'string'], 'extensions' => ['type' => 'string'], ], ], 'ModelListQry' => [ 'type' => 'object', 'properties' => [ 'page' => ['type' => 'integer', 'format' => 'int32'], 'keyword' => ['type' => 'string'], 'status' => ['type' => 'integer', 'format' => 'int32'], 'pageSize' => ['type' => 'integer', 'format' => 'int32'], ], ], 'ModelMetricsDTO' => [ 'type' => 'object', 'properties' => [ 'totalCalls' => ['type' => 'integer', 'format' => 'int64'], 'successRate' => ['type' => 'number', 'format' => 'double'], 'avgResponseTime' => ['type' => 'number', 'format' => 'double'], 'inputTokens' => ['type' => 'integer', 'format' => 'int64'], 'outputTokens' => ['type' => 'integer', 'format' => 'int64'], ], ], 'ModelRowDTO' => [ 'type' => 'object', 'properties' => [ 'modelCode' => ['type' => 'string'], 'modelId' => ['type' => 'integer', 'format' => 'int64'], 'modelName' => ['type' => 'string'], 'values' => ['type' => 'string'], ], ], 'ModelUpdateCmd' => [ 'type' => 'object', 'properties' => [ 'name' => ['type' => 'string'], 'description' => ['type' => 'string'], 'status' => ['type' => 'integer', 'format' => 'int32'], 'symbol' => ['type' => 'string'], 'tags' => ['type' => 'string'], 'modelId' => ['type' => 'string'], 'modelType' => ['type' => 'string'], 'apiKey' => ['type' => 'string'], 'baseUrl' => ['type' => 'string'], 'maxInputLength' => ['type' => 'string'], 'maxOutputLength' => ['type' => 'string'], ], ], 'ObservationChartsDTO' => [ 'type' => 'object', 'properties' => [ 'qpm' => [ 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/TimeSeriesPointDTO'], ], 'tpm' => [ 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/TimeSeriesPointDTO'], ], 'concurrency' => [ 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/TimeSeriesPointDTO'], ], 'callVolume' => [ 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/TimeSeriesPointDTO'], ], 'successRate' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'timestamp' => ['type' => 'string'], 'value' => ['type' => 'any'], 'label' => ['type' => 'string'], ], ], ], 'responseTime' => [ 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/TimeSeriesPointDTO'], ], ], ], 'ObservationLogListQry' => [ 'type' => 'object', 'properties' => [ 'page' => ['type' => 'integer', 'format' => 'int32'], 'pageSize' => ['type' => 'integer', 'format' => 'int32'], 'clientId' => ['type' => 'integer', 'format' => 'int64'], 'apiKeyId' => ['type' => 'integer', 'format' => 'int64'], 'modelId' => ['type' => 'integer', 'format' => 'int64'], 'timeRange' => ['type' => 'string'], 'startTime' => ['type' => 'string'], 'endTime' => ['type' => 'string'], ], ], 'ObservationQry' => [ 'type' => 'object', 'properties' => [ 'clientId' => ['type' => 'integer', 'format' => 'int64'], 'apiKeyId' => ['type' => 'integer', 'format' => 'int64'], 'modelId' => ['type' => 'integer', 'format' => 'int64'], 'timeRange' => ['type' => 'string'], 'startTime' => ['type' => 'string'], 'endTime' => ['type' => 'string'], ], ], 'OralEvaluationStatisticsCallsCountRequest' => [ 'type' => 'object', 'properties' => [ 'projectId' => ['type' => 'string'], 'startTime' => ['type' => 'string'], 'endTime' => ['type' => 'string'], 'granularity' => ['type' => 'string'], 'applicationAccessId' => ['type' => 'string'], ], ], 'OralEvaluationStatisticsCallsCountResponse' => [ 'type' => 'object', 'properties' => [ 'projectId' => ['type' => 'string', 'required' => true], 'projectData' => [ 'type' => 'object', 'required' => true, 'properties' => [ 'applicationInternalId' => ['type' => 'string', 'required' => true], 'ApplicationData' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'applicationAccessId' => ['type' => 'string', 'required' => true], 'Data' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'name' => ['type' => 'string', 'required' => true], 'count' => ['type' => 'integer', 'format' => 'int32', 'required' => true], ], ], ], ], ], ], ], ], ], ], 'OralEvaluationStatisticsConcurrentCountRequest' => [ 'type' => 'object', 'properties' => [ 'projectId' => ['type' => 'string'], 'startTime' => ['type' => 'string'], 'endTime' => ['type' => 'string'], 'granularity' => ['type' => 'string'], 'applicationAccessId' => ['type' => 'string'], ], ], 'OralEvaluationStatisticsConcurrentCountResponse' => [ 'type' => 'object', 'properties' => [ 'projectId' => ['type' => 'string', 'required' => true], 'projectData' => [ 'type' => 'object', 'required' => true, 'properties' => [ 'applicationInternalId' => ['type' => 'string', 'required' => true], 'ApplicationData' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'applicationAccessId' => ['type' => 'string', 'required' => true], 'Data' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'name' => ['type' => 'string', 'required' => true], 'count' => ['type' => 'integer', 'format' => 'int32', 'required' => true], ], ], ], ], ], ], ], ], ], ], 'OralEvaluationStatisticsErrorCountRequest' => [ 'type' => 'object', 'properties' => [ 'projectId' => ['type' => 'string'], 'startTime' => ['type' => 'string'], 'endTime' => ['type' => 'string'], 'granularity' => ['type' => 'string'], 'errorCode' => [ 'type' => 'array', 'items' => ['type' => 'string'], ], 'applicationAccessId' => ['type' => 'string'], ], ], 'OralEvaluationStatisticsErrorCountResponse' => [ 'type' => 'object', 'properties' => [ 'projectId' => ['type' => 'string', 'required' => true], 'ProjectData' => [ 'type' => 'object', 'properties' => [ 'applicationInternalId' => ['type' => 'string', 'required' => true], 'ApplicationData' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'applicationAccessId' => ['type' => 'string', 'required' => true], 'Data' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'ErrorCode' => ['type' => 'string'], 'ErrorMessage' => ['type' => 'string'], 'Data' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'name' => ['type' => 'string', 'required' => true], 'count' => ['type' => 'integer', 'format' => 'int32', 'required' => true], ], ], ], ], ], ], ], ], ], ], ], ], ], 'OrgInitResultDTO' => [ 'type' => 'object', 'properties' => [ 'orgId' => ['type' => 'integer', 'format' => 'int64'], 'userId' => ['type' => 'integer', 'format' => 'int64'], 'clientId' => ['type' => 'integer', 'format' => 'int64'], 'clientUuid' => ['type' => 'string'], 'apiKey' => ['type' => 'string'], 'isNew' => ['type' => 'boolean'], ], ], 'PaidResourceDTO' => [ 'type' => 'object', 'properties' => [ 'instanceId' => ['type' => 'string'], 'resourcePackageCode' => ['type' => 'string'], 'resourcePackageName' => ['type' => 'string'], 'resourceCatalogCode' => ['type' => 'string'], 'resourceCatalogName' => ['type' => 'string'], 'resourceStatus' => ['type' => 'string'], 'quantity' => ['type' => 'integer', 'format' => 'int32'], 'remainQuantity' => ['type' => 'integer', 'format' => 'int32'], 'effectiveTime' => ['type' => 'string'], 'expireTime' => ['type' => 'string'], ], ], 'RequestLogDTO' => [ 'type' => 'object', 'properties' => [ 'id' => ['type' => 'integer', 'format' => 'int64'], 'requestId' => ['type' => 'string'], 'clientId' => ['type' => 'integer', 'format' => 'int64'], 'apiKeyId' => ['type' => 'integer', 'format' => 'int64'], 'modelId' => ['type' => 'integer', 'format' => 'int64'], 'modelName' => ['type' => 'string'], 'requestTime' => ['type' => 'string'], 'responseTimeMs' => ['type' => 'integer', 'format' => 'int32'], 'statusCode' => ['type' => 'integer', 'format' => 'int32'], 'promptTokens' => ['type' => 'integer', 'format' => 'int32'], 'completionTokens' => ['type' => 'integer', 'format' => 'int32'], 'totalTokens' => ['type' => 'integer', 'format' => 'int32'], 'requestBody' => ['type' => 'string'], 'responseBody' => ['type' => 'string'], 'deleteTag' => ['type' => 'integer', 'format' => 'int32'], 'gmtCreate' => ['type' => 'string'], 'gmtModified' => ['type' => 'string'], 'modelCode' => ['type' => 'string'], 'symbol' => ['type' => 'string'], 'clientUuid' => ['type' => 'string'], 'status' => ['type' => 'string'], 'modelType' => ['type' => 'string'], 'usage' => ['$ref' => '#/components/schemas/UsageInfoDTO'], ], ], 'RequestLogListQry' => [ 'type' => 'object', 'properties' => [ 'page' => ['type' => 'integer', 'format' => 'int32'], 'keyword' => ['type' => 'string'], 'status' => ['type' => 'integer', 'format' => 'int32'], 'pageSize' => ['type' => 'integer', 'format' => 'int32'], ], ], 'TimeSeriesPointDTO' => [ 'type' => 'object', 'properties' => [ 'timestamp' => ['type' => 'string'], 'value' => ['type' => 'any'], 'label' => ['type' => 'string'], ], ], 'TrendPointDTO' => [ 'type' => 'object', 'properties' => [ 'timestamp' => ['type' => 'integer', 'format' => 'int64'], 'values' => ['type' => 'string'], ], ], 'UsageBreakdownRespDTO' => [ 'type' => 'object', 'properties' => [ 'granularity' => ['type' => 'string'], 'page' => ['type' => 'integer', 'format' => 'int32'], 'pageSize' => ['type' => 'integer', 'format' => 'int32'], 'total' => ['type' => 'integer', 'format' => 'int64'], 'rows' => [ 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/UsageBreakdownRowDTO'], ], ], ], 'UsageBreakdownRowDTO' => [ 'type' => 'object', 'properties' => [ 'summaryTime' => ['type' => 'integer', 'format' => 'int64'], 'modelId' => ['type' => 'integer', 'format' => 'int64'], 'modelCode' => ['type' => 'string'], 'modelName' => ['type' => 'string'], 'modelType' => ['type' => 'string'], 'clientId' => ['type' => 'integer', 'format' => 'int64'], 'clientName' => ['type' => 'string'], 'apiKeyId' => ['type' => 'integer', 'format' => 'int64'], 'apiKeyName' => ['type' => 'string'], 'metrics' => [ 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/MetricKVPairDTO'], ], ], ], 'UsageInfoDTO' => [ 'type' => 'object', 'properties' => [ 'promptTokens' => ['type' => 'integer', 'format' => 'int32'], 'completionTokens' => ['type' => 'integer', 'format' => 'int32'], 'totalTokens' => ['type' => 'integer', 'format' => 'int32'], 'imageCount' => ['type' => 'integer', 'format' => 'int32'], 'videoCount' => ['type' => 'integer', 'format' => 'int32'], 'videoDuration' => ['type' => 'integer', 'format' => 'int32'], ], ], ], ], 'apis' => [ 'AITeacherExpansionPracticeTaskGenerate' => [ 'path' => '/api/v1/aiteacher/expansionPractice/generateTask', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'userId' => ['type' => 'string', 'required' => true], 'grade' => ['type' => 'string', 'required' => true], 'textbook' => ['type' => 'string', 'required' => false], 'topic' => ['type' => 'string', 'required' => true], 'learningObject' => ['type' => 'string', 'required' => false], 'textContent' => ['type' => 'string', 'required' => true], 'keySentences' => [ 'type' => 'array', 'required' => false, 'items' => ['type' => 'string', 'required' => false], ], 'keyWords' => [ 'type' => 'array', 'required' => false, 'items' => ['type' => 'string', 'required' => false], ], ], ], ], ], ], 'AITeacherSyncPracticeTaskGenerate' => [ 'path' => '/api/v1/aiteacher/syncPractice/generateTask', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'userId' => ['type' => 'string', 'required' => true], 'grade' => ['type' => 'string', 'required' => true], 'textbook' => ['type' => 'string', 'required' => false], 'topic' => ['type' => 'string', 'required' => true], 'learningObject' => ['type' => 'string', 'required' => false], 'textContent' => ['type' => 'string', 'required' => true], 'keySentences' => [ 'type' => 'array', 'required' => false, 'items' => ['type' => 'string', 'required' => false], ], 'keyWords' => [ 'type' => 'array', 'required' => false, 'items' => ['type' => 'string', 'required' => false], ], ], ], ], ], ], 'AliyunConsoleOpenApiQueryAliyunConsoleServcieList' => [ 'path' => '/api/v1/aliyunconsole/queryAliyunConsoleServcieList', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [], ], 'AliyunConsoleOpenApiQueryAliyunConsoleServiceList' => [ 'path' => '/api/v1/aliyunConsole/queryAliyunConsoleServiceList', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [], ], 'AliyunConsoleOpenApiQueryPaidResource' => [ 'path' => '/api/v1/aliyunConsole/queryPaidResource', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'nextToken', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'maxResults', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'resourceType', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'pageSize', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'pageIndex', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'orderBy', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'orderDirection', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'groupBy', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'needTotalCount', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], ], ], 'CountOralEvaluationStatisticsCalls' => [ 'path' => '/api/v1/aliyunConsole/countOralEvaluationStatisticsCalls', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => ['$ref' => '#/components/schemas/OralEvaluationStatisticsCallsCountRequest', 'required' => false], ], ], ], 'CountOralEvaluationStatisticsConcurrent' => [ 'path' => '/api/v1/aliyunConsole/countOralEvaluationStatisticsConcurrent', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => ['$ref' => '#/components/schemas/OralEvaluationStatisticsConcurrentCountRequest', 'required' => false], ], ], ], 'CountOralEvaluationStatisticsError' => [ 'path' => '/api/v1/aliyunConsole/countOralEvaluationStatisticsError', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => ['$ref' => '#/components/schemas/OralEvaluationStatisticsErrorCountRequest', 'required' => false], ], ], ], 'CreateAccessWarrant' => [ 'path' => '/api/v1/aliyunConsole/createAccessWarrant', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'appId' => ['type' => 'string', 'required' => false], 'timestamp' => ['type' => 'string', 'required' => false], 'userId' => ['type' => 'string', 'required' => false], 'userClientIp' => ['type' => 'string', 'required' => false], 'requestSign' => ['type' => 'string', 'required' => false], 'warrantAvailable' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], ], ], 'CreateProject' => [ 'path' => '/api/v1/aliyunConsole/createProject', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'projectName' => ['type' => 'string', 'required' => false], 'projectType' => ['type' => 'string', 'required' => false], ], ], ], ], ], 'ExecuteAITeacherChineseCompositionTutoringWorkflowRun' => [ 'path' => '/pop/api/v1/intelligentAgent/chineseCompositionTutoring/workflowRun', 'methods' => ['post'], 'schemes' => ['https', 'sse'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [], 'produces' => [], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'essayOutline' => ['type' => 'string', 'required' => false], 'essayRequirements' => ['type' => 'string', 'required' => true], 'essayTopic' => ['type' => 'string', 'required' => true], 'essayType' => [ 'type' => 'string', 'required' => true, 'enum' => ['essay', 'outline'], ], 'essayWordCount' => ['type' => 'integer', 'format' => 'int64', 'required' => false], 'grade' => ['type' => 'integer', 'format' => 'int64', 'required' => true], 'responseMode' => [ 'type' => 'string', 'required' => true, 'enum' => ['streaming'], ], 'userId' => ['type' => 'string', 'required' => true], ], ], ], ], ], 'ExecuteAITeacherEnglishCompositionTutoringWorkflowRun' => [ 'path' => '/pop/api/v1/intelligentAgent/englishCompositionTutoring/workflowRun', 'methods' => ['post'], 'schemes' => ['https', 'sse'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'essayOutline' => [ 'type' => 'string', 'required' => false, 'enum' => [], ], 'essayRequirements' => ['type' => 'string', 'required' => true], 'essayTopic' => ['type' => 'string', 'required' => true], 'essayType' => [ 'type' => 'string', 'required' => true, 'enum' => ['essay', 'outline'], ], 'essayWordCount' => ['type' => 'integer', 'format' => 'int64', 'required' => false], 'grade' => ['type' => 'integer', 'format' => 'int64', 'required' => true], 'responseMode' => [ 'type' => 'string', 'required' => true, 'enum' => ['streaming'], ], 'userId' => ['type' => 'string', 'required' => true], ], ], ], ], ], 'ExecuteAITeacherEnglishParaphraseChatMessage' => [ 'path' => '/pop/api/v1/intelligentAgent/englishParaphrase/chatMessage', 'methods' => ['post'], 'schemes' => ['https', 'sse'], 'security' => [ [ 'AK' => [], ], ], 'produces' => [], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'questionInfo' => ['type' => 'string', 'required' => true], 'grade' => ['type' => 'integer', 'format' => 'int64', 'required' => false], 'userAnswer' => ['type' => 'string', 'required' => true], 'questionId' => ['type' => 'string', 'required' => false], 'content' => ['type' => 'string', 'required' => true], 'chatId' => ['type' => 'string', 'required' => false], 'userId' => ['type' => 'string', 'required' => true], 'responseMode' => ['type' => 'string', 'required' => true], ], ], ], ], ], 'ExecuteAITeacherExpansionDialogue' => [ 'path' => '/api/v1/aiteacher/expansionPractice/executeExpansionTraining', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'records' => [ 'type' => 'array', 'required' => false, 'items' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'content' => ['type' => 'string', 'required' => true], 'role' => ['type' => 'string', 'required' => true], 'isOnTopic' => ['type' => 'boolean', 'required' => false], 'isOffTopicControl' => ['type' => 'boolean', 'required' => false], 'order' => ['type' => 'integer', 'format' => 'int32', 'required' => true], ], ], ], 'dialogueTasks' => [ 'type' => 'array', 'required' => true, 'items' => [ 'type' => 'object', 'required' => true, 'properties' => [ 'assistant' => ['type' => 'string', 'required' => true], 'assistantTranslate' => ['type' => 'string', 'required' => false], 'user' => ['type' => 'string', 'required' => true], 'order' => ['type' => 'integer', 'format' => 'int32', 'required' => true], ], ], ], 'languageCode' => ['type' => 'string', 'required' => false], 'background' => ['type' => 'string', 'required' => true], 'roleInfo' => [ 'type' => 'object', 'required' => true, 'properties' => [ 'assistant' => ['type' => 'string', 'required' => true], 'user' => ['type' => 'string', 'required' => true], ], ], 'topic' => ['type' => 'string', 'required' => true], 'startSentence' => ['type' => 'string', 'required' => false], 'userId' => ['type' => 'string', 'required' => true], ], ], ], ], ], 'ExecuteAITeacherExpansionDialogueRefine' => [ 'path' => '/api/v1/aiteacher/expansionPractice/refineByContext', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'records' => [ 'type' => 'array', 'required' => true, 'items' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'content' => ['type' => 'string', 'required' => true], 'role' => ['type' => 'string', 'required' => true], 'isOnTopic' => ['type' => 'boolean', 'required' => false], 'isOffTopicControl' => ['type' => 'boolean', 'required' => false], 'order' => ['type' => 'integer', 'format' => 'int32', 'required' => true], ], ], ], 'dialogueTasks' => [ 'type' => 'array', 'required' => true, 'items' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'assistant' => ['type' => 'string', 'required' => true], 'assistantTranslate' => ['type' => 'string', 'required' => false], 'user' => ['type' => 'string', 'required' => true], 'order' => ['type' => 'integer', 'format' => 'int32', 'required' => true], ], ], ], 'background' => ['type' => 'string', 'required' => true], 'roleInfo' => [ 'type' => 'object', 'required' => true, 'properties' => [ 'assistant' => ['type' => 'string', 'required' => true], 'user' => ['type' => 'string', 'required' => true], ], ], 'topic' => ['type' => 'string', 'required' => true], 'languageCode' => ['type' => 'string', 'required' => false], 'startSentence' => ['type' => 'string', 'required' => false], 'userId' => ['type' => 'string', 'required' => true], ], ], ], ], ], 'ExecuteAITeacherExpansionDialogueTranslate' => [ 'path' => '/api/v1/aiteacher/expansionPractice/translate', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'records' => [ 'type' => 'array', 'required' => false, 'items' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'content' => ['type' => 'string', 'required' => true], 'role' => ['type' => 'string', 'required' => true], 'isOnTopic' => ['type' => 'boolean', 'required' => false], 'isOffTopicControl' => ['type' => 'boolean', 'required' => false], 'order' => ['type' => 'integer', 'format' => 'int32', 'required' => true], ], ], ], 'dialogueTasks' => [ 'type' => 'array', 'required' => true, 'items' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'assistant' => ['type' => 'string', 'required' => true], 'assistantTranslate' => ['type' => 'string', 'required' => false], 'user' => ['type' => 'string', 'required' => true], 'order' => ['type' => 'integer', 'format' => 'int32', 'required' => true], ], ], ], 'background' => ['type' => 'string', 'required' => true], 'roleInfo' => [ 'type' => 'object', 'required' => true, 'properties' => [ 'assistant' => ['type' => 'string', 'required' => true], 'user' => ['type' => 'string', 'required' => true], ], ], 'topic' => ['type' => 'string', 'required' => true], 'startSentence' => ['type' => 'string', 'required' => false], 'userId' => ['type' => 'string', 'required' => true], ], ], ], ], ], 'ExecuteAITeacherGrammarCheck' => [ 'path' => '/api/v1/aiteacher/common/grammarChecking', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'content' => ['type' => 'string', 'required' => true], 'userId' => ['type' => 'string', 'required' => true], ], ], ], ], ], 'ExecuteAITeacherSyncDialogue' => [ 'path' => '/api/v1/aiteacher/syncPractice/executeSyncTraining', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'records' => [ 'type' => 'array', 'required' => false, 'items' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'content' => ['type' => 'string', 'required' => true], 'role' => ['type' => 'string', 'required' => true], 'isOnTopic' => ['type' => 'boolean', 'required' => false], 'isOffTopicControl' => ['type' => 'boolean', 'required' => false], 'order' => ['type' => 'integer', 'format' => 'int32', 'required' => true], ], ], ], 'dialogueTasks' => [ 'type' => 'array', 'required' => true, 'items' => [ 'type' => 'object', 'required' => true, 'properties' => [ 'assistant' => ['type' => 'string', 'required' => true], 'assistantTranslate' => ['type' => 'string', 'required' => false], 'user' => ['type' => 'string', 'required' => true], 'order' => ['type' => 'integer', 'format' => 'int32', 'required' => true], ], ], ], 'languageCode' => ['type' => 'string', 'required' => false], 'userId' => ['type' => 'string', 'required' => true], ], ], ], ], ], 'ExecuteAITeacherSyncDialogueTranslate' => [ 'path' => '/api/v1/aiteacher/syncPractice/translate', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'records' => [ 'type' => 'array', 'required' => false, 'items' => [ 'type' => 'object', 'required' => true, 'properties' => [ 'content' => ['type' => 'string', 'required' => true], 'role' => ['type' => 'string', 'required' => true], 'isOnTopic' => ['type' => 'boolean', 'required' => false], 'isOffTopicControl' => ['type' => 'boolean', 'required' => false], 'order' => ['type' => 'integer', 'format' => 'int32', 'required' => true], ], ], ], 'dialogueTasks' => [ 'type' => 'array', 'required' => true, 'items' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'assistant' => ['type' => 'string', 'required' => true], 'assistantTranslate' => ['type' => 'string', 'required' => false], 'user' => ['type' => 'string', 'required' => true], 'order' => ['type' => 'integer', 'format' => 'int32', 'required' => true], ], ], ], 'userId' => ['type' => 'string', 'required' => true], ], ], ], ], ], 'ExecuteTextbookAssistantDialogue' => [ 'path' => '/api/v1/textbookAssistant/dialogue/ExecuteDialogue', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'scenario' => [ 'type' => 'string', 'required' => true, 'enum' => ['SYNC', 'EXPAND'], ], 'chatId' => ['type' => 'string', 'required' => true], 'userMessage' => ['type' => 'string', 'required' => true], 'authToken' => ['type' => 'string', 'required' => true], ], ], ], ], ], 'ExecuteTextbookAssistantDifficulty' => [ 'path' => '/api/v1/textbookAssistant/dialogue/ExecuteDifficulty', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'scenario' => [ 'type' => 'string', 'required' => true, 'enum' => ['SYNC', 'EXPAND'], ], 'chatId' => ['type' => 'string', 'required' => true], 'assistant' => ['type' => 'string', 'required' => true], 'authToken' => ['type' => 'string', 'required' => true], 'action' => [ 'type' => 'string', 'required' => true, 'enum' => ['UP', 'DOWN'], ], ], ], ], ], ], 'ExecuteTextbookAssistantGrammarCheck' => [ 'path' => '/api/v1/textbookAssistant/dialogue/ExecuteGrammarCheck', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'scenario' => [ 'type' => 'string', 'required' => true, 'enum' => ['SYNC', 'EXPAND'], ], 'chatId' => ['type' => 'string', 'required' => true], 'user' => ['type' => 'string', 'required' => true], 'authToken' => ['type' => 'string', 'required' => true], ], ], ], ], ], 'ExecuteTextbookAssistantRefineByContext' => [ 'path' => '/api/v1/textbookAssistant/dialogue/RefineByContext', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'scenario' => [ 'type' => 'string', 'required' => true, 'enum' => ['SYNC', 'EXPAND'], ], 'chatId' => ['type' => 'string', 'required' => true], 'user' => ['type' => 'string', 'required' => true], 'authToken' => ['type' => 'string', 'required' => true], ], ], ], ], ], 'ExecuteTextbookAssistantRetryConversation' => [ 'path' => '/api/v1/textbookAssistant/dialogue/RetryConversation', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'scenario' => [ 'type' => 'string', 'required' => true, 'enum' => ['SYNC', 'EXPAND'], ], 'chatId' => ['type' => 'string', 'required' => true], 'assistant' => ['type' => 'string', 'required' => true], 'authToken' => ['type' => 'string', 'required' => true], ], ], ], ], ], 'ExecuteTextbookAssistantSseDialogue' => [ 'path' => '/api/v1/textbookAssistant/dialogue/ExecuteSseDialogue', 'methods' => ['post'], 'schemes' => ['https', 'sse'], 'security' => [ [ 'AK' => [], ], ], 'produces' => [], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'scenario' => [ 'type' => 'string', 'required' => true, 'enum' => ['SYNC', 'EXPAND'], ], 'chatId' => ['type' => 'string', 'required' => true], 'userMessage' => ['type' => 'string', 'required' => true], 'authToken' => ['type' => 'string', 'required' => true], ], ], ], ], ], 'ExecuteTextbookAssistantStartConversation' => [ 'path' => '/api/v1/textbookAssistant/dialogue/StartConversation', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'authToken' => ['type' => 'string', 'required' => true], 'scenario' => [ 'type' => 'string', 'required' => true, 'enum' => ['SYNC', 'EXPAND'], ], 'articleId' => ['type' => 'string', 'required' => true], ], ], ], ], ], 'ExecuteTextbookAssistantSuggestion' => [ 'path' => '/api/v1/textbookAssistant/dialogue/Suggestion', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'chatId' => ['type' => 'string', 'required' => true], 'assistant' => ['type' => 'string', 'required' => true], 'scenario' => [ 'type' => 'string', 'required' => true, 'enum' => ['SYNC', 'EXPAND'], ], 'authToken' => ['type' => 'string', 'required' => true], ], ], ], ], ], 'ExecuteTextbookAssistantTranslate' => [ 'path' => '/api/v1/textbookAssistant/dialogue/ExecuteTranslate', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'scenario' => [ 'type' => 'string', 'required' => true, 'enum' => ['SYNC', 'EXPAND'], ], 'chatId' => ['type' => 'string', 'required' => true], 'assistant' => ['type' => 'string', 'required' => true], 'authToken' => ['type' => 'string', 'required' => true], ], ], ], ], ], 'GetAITeacherExpansionDialogueSuggestion' => [ 'path' => '/api/v1/aiteacher/expansionPractice/suggestion', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'records' => [ 'type' => 'array', 'required' => true, 'items' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'content' => ['type' => 'string', 'required' => true], 'role' => ['type' => 'string', 'required' => true], 'isOnTopic' => ['type' => 'boolean', 'required' => false], 'isOffTopicControl' => ['type' => 'boolean', 'required' => false], 'order' => ['type' => 'integer', 'format' => 'int32', 'required' => true], ], ], ], 'dialogueTasks' => [ 'type' => 'array', 'required' => true, 'items' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'assistant' => ['type' => 'string', 'required' => true], 'assistantTranslate' => ['type' => 'string', 'required' => false], 'user' => ['type' => 'string', 'required' => true], 'order' => ['type' => 'integer', 'format' => 'int32', 'required' => true], ], ], ], 'languageCode' => ['type' => 'string', 'required' => false], 'background' => ['type' => 'string', 'required' => true], 'roleInfo' => [ 'type' => 'object', 'required' => true, 'properties' => [ 'assistant' => ['type' => 'string', 'required' => true], 'user' => ['type' => 'string', 'required' => true], ], ], 'topic' => ['type' => 'string', 'required' => true], 'startSentence' => ['type' => 'string', 'required' => false], 'userId' => ['type' => 'string', 'required' => true], ], ], ], ], ], 'GetAITeacherSyncDialogueSuggestion' => [ 'path' => '/api/v1/aiteacher/syncPractice/suggestion', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'records' => [ 'type' => 'array', 'required' => true, 'items' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'content' => ['type' => 'string', 'required' => true], 'role' => ['type' => 'string', 'required' => true], 'isOnTopic' => ['type' => 'boolean', 'required' => false], 'isOffTopicControl' => ['type' => 'boolean', 'required' => false], 'order' => ['type' => 'integer', 'format' => 'int32', 'required' => true], ], ], ], 'dialogueTasks' => [ 'type' => 'array', 'required' => true, 'items' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'assistant' => ['type' => 'string', 'required' => true], 'assistantTranslate' => ['type' => 'string', 'required' => false], 'user' => ['type' => 'string', 'required' => true], 'order' => ['type' => 'integer', 'format' => 'int32', 'required' => true], ], ], ], 'languageCode' => ['type' => 'string', 'required' => false], 'userId' => ['type' => 'string', 'required' => true], ], ], ], ], ], 'GetTextbookAssistantToken' => [ 'path' => '/api/v1/textbookAssistant/teachingResource/GetToken', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [], 'produces' => [], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'deviceId' => ['type' => 'string', 'required' => true], 'model' => ['type' => 'string', 'required' => true], ], ], ], ], ], 'ListTextbookAssistantArticleDetails' => [ 'path' => '/api/v1/textbookAssistant/teachingResource/ListArticleDetails', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'authToken' => ['type' => 'string', 'required' => true], 'articleIdList' => [ 'type' => 'array', 'required' => false, 'items' => ['type' => 'string', 'required' => false], ], ], ], ], ], ], 'ListTextbookAssistantArticles' => [ 'path' => '/api/v1/textbookAssistant/teachingResource/ListArticles', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'directoryId' => ['type' => 'string', 'required' => true], 'authToken' => ['type' => 'string', 'required' => true], ], ], ], ], ], 'ListTextbookAssistantBookDirectories' => [ 'path' => '/api/v1/textbookAssistant/teachingResource/ListBookDirectories', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'bookId' => ['type' => 'string', 'required' => true], 'scenario' => [ 'type' => 'string', 'required' => true, 'enum' => ['SYNC', 'EXPAND', 'ALL'], ], 'authToken' => ['type' => 'string', 'required' => true], ], ], ], ], ], 'ListTextbookAssistantBooks' => [ 'path' => '/api/v1/textbookAssistant/teachingResource/ListBooks', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'bookId' => ['type' => 'string', 'required' => false], 'grade' => ['type' => 'string', 'required' => false], 'volume' => ['type' => 'string', 'required' => false], 'version' => ['type' => 'string', 'required' => false], 'page' => ['type' => 'string', 'required' => false], 'maxResults' => ['type' => 'string', 'required' => false], 'authToken' => ['type' => 'string', 'required' => true], ], ], ], ], ], 'ListTextbookAssistantGradeVolumes' => [ 'path' => '/api/v1/textbookAssistant/teachingResource/ListGradeVolumes', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'scenario' => [ 'type' => 'string', 'required' => true, 'enum' => ['SYNC', 'EXPAND'], ], 'authToken' => ['type' => 'string', 'required' => false], ], ], ], ], ], 'ListTextbookAssistantSceneDetails' => [ 'path' => '/api/v1/textbookAssistant/teachingResource/ListSceneDetails', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'authToken' => ['type' => 'string', 'required' => false], 'sceneIdList' => [ 'type' => 'array', 'required' => false, 'items' => ['type' => 'string', 'required' => false], ], ], ], ], ], ], 'ModelRouterBillingCostTabs' => [ 'path' => '/api/v1/modelRouter/open/billing/cost/tabs', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'maxResults', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'nextToken', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'ModelRouterChatCompletions' => [ 'path' => '/api/v1/modelRouter/open/chat/completions', 'methods' => ['post'], 'schemes' => ['https', 'sse'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/octet-stream'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'schema' => ['type' => 'any', 'required' => false], ], ], ], 'ModelRouterConfigureClientBalance' => [ 'path' => '/api/v1/modelRouter/open/clients/{id}/balance', 'methods' => ['put'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'id', 'in' => 'path', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'enableBalance' => ['type' => 'boolean', 'required' => false], 'balanceType' => ['type' => 'string', 'required' => false], 'initialBalance' => ['type' => 'number', 'format' => 'double', 'required' => false], ], ], ], ], ], 'ModelRouterCopyApiKey' => [ 'path' => '/api/v1/modelRouter/open/apikeys/{id}/copy', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'id', 'in' => 'path', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], ], ], 'ModelRouterCreateApiKey' => [ 'path' => '/api/v1/modelRouter/open/apikeys', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'clientId' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], ], ], ], ], 'ModelRouterCreateBalanceTransaction' => [ 'path' => '/api/v1/modelRouter/open/clients/{id}/balance/transactions', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'id', 'in' => 'path', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'type' => ['type' => 'string', 'required' => false], 'amount' => ['type' => 'number', 'format' => 'double', 'required' => false], 'remark' => ['type' => 'string', 'required' => false], ], ], ], ], ], 'ModelRouterCreateBillingRule' => [ 'path' => '/api/v1/modelRouter/open/billing/rules', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'modelId' => ['type' => 'integer', 'format' => 'int64', 'required' => true], 'billingType' => ['type' => 'string', 'required' => false], 'pricingConfig' => ['type' => 'any', 'required' => false], 'effectiveTime' => ['type' => 'string', 'required' => false], 'expireTime' => ['type' => 'string', 'required' => false], 'version' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], ], ], 'ModelRouterCreateClient' => [ 'path' => '/api/v1/modelRouter/open/clients', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'name' => ['type' => 'string', 'required' => false], 'address' => ['type' => 'string', 'required' => false], 'contact' => ['type' => 'string', 'required' => false], 'remark' => ['type' => 'string', 'required' => false], 'allowedModels' => ['type' => 'string', 'required' => false], 'discount' => ['type' => 'number', 'format' => 'double'], 'parentId' => ['type' => 'integer', 'format' => 'int64'], ], ], ], ], ], 'ModelRouterCreateConversation' => [ 'path' => '/api/v1/modelRouter/open/conversations', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'chatData' => ['type' => 'string', 'required' => false], 'modelIds' => ['type' => 'string', 'required' => false], 'title' => ['type' => 'string', 'required' => false], ], ], ], ], ], 'ModelRouterCreateModel' => [ 'path' => '/api/v1/modelRouter/open/models', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'name' => ['type' => 'string', 'required' => false], 'description' => ['type' => 'string', 'required' => false], 'symbol' => ['type' => 'string', 'required' => false], 'tags' => ['type' => 'string', 'required' => false], 'modelId' => ['type' => 'string', 'required' => false], 'modelType' => ['type' => 'string', 'required' => false], 'apiKey' => ['type' => 'string', 'required' => false], 'baseUrl' => ['type' => 'string', 'required' => false], 'maxInputLength' => ['type' => 'string', 'required' => false], 'maxOutputLength' => ['type' => 'string', 'required' => false], 'inOut' => ['type' => 'string', 'required' => false], 'extensions' => ['type' => 'string', 'required' => false], ], ], ], ], ], 'ModelRouterDeleteApiKey' => [ 'path' => '/api/v1/modelRouter/open/apikeys/{id}', 'methods' => ['delete'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'id', 'in' => 'path', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], ], ], 'ModelRouterDeleteClient' => [ 'path' => '/api/v1/modelRouter/open/clients/{id}', 'methods' => ['delete'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'id', 'in' => 'path', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], ], ], 'ModelRouterDeleteConversation' => [ 'path' => '/api/v1/modelRouter/open/conversations/{id}', 'methods' => ['delete'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'id', 'in' => 'path', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], ], ], 'ModelRouterDeleteModel' => [ 'path' => '/api/v1/modelRouter/open/models/{id}', 'methods' => ['delete'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'id', 'in' => 'path', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], ], ], 'ModelRouterGetClientBalance' => [ 'path' => '/api/v1/modelRouter/open/clients/{id}/balance', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'id', 'in' => 'path', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], ], ], 'ModelRouterGetClientBalanceLogs' => [ 'path' => '/api/v1/modelRouter/open/clients/{id}/balance/logs', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'id', 'in' => 'path', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ 'name' => 'changeType', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'page', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'size', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'maxResults', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'nextToken', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'ModelRouterQueryApiKey' => [ 'path' => '/api/v1/modelRouter/open/apikeys/{id}', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'id', 'in' => 'path', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], ], ], 'ModelRouterQueryApiKeyList' => [ 'path' => '/api/v1/modelRouter/open/apikeys', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'pageSize', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'pageIndex', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'orderBy', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'orderDirection', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'groupBy', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'needTotalCount', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'maxResults', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'keyword', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'clientId', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ 'name' => 'status', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'nextToken', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'ModelRouterQueryBillingCostBreakdown' => [ 'path' => '/api/v1/modelRouter/open/billing/cost/breakdown', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'startTime', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ 'name' => 'endTime', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ 'name' => 'granularity', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'page', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'pageSize', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'modelId', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64'], ], [ 'name' => 'clientId', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64'], ], [ 'name' => 'apiKeyId', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64'], ], [ 'name' => 'modelTypes', 'in' => 'query', 'schema' => ['type' => 'string'], ], [ 'name' => 'maxResults', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'nextToken', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'ModelRouterQueryBillingRuleList' => [ 'path' => '/api/v1/modelRouter/open/billing/rules', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'page', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'pageSize', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'pageIndex', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'modelType', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'modelCode', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'modelId', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'activeOnly', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'maxResults', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'nextToken', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'ModelRouterQueryClientDiscountLogs' => [ 'path' => '/api/v1/modelRouter/open/clients/{id}/discount-logs', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'id', 'in' => 'path', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ 'name' => 'maxResults', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'nextToken', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'ModelRouterQueryClientList' => [ 'path' => '/api/v1/modelRouter/open/clients', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'pageSize', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'pageIndex', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'orderBy', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'orderDirection', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'groupBy', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'needTotalCount', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'maxResults', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'keyword', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'status', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'nextToken', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'ModelRouterQueryClientTree' => [ 'path' => '/api/v1/modelRouter/open/clients/tree', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'maxResults', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'nextToken', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'ModelRouterQueryConversation' => [ 'path' => '/api/v1/modelRouter/open/conversations/{id}', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'id', 'in' => 'path', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], ], ], 'ModelRouterQueryConversationList' => [ 'path' => '/api/v1/modelRouter/open/conversations', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'pageSize', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'pageIndex', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'orderBy', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'orderDirection', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'groupBy', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'needTotalCount', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'maxResults', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'keyword', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'status', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'nextToken', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'ModelRouterQueryCostModelDetail' => [ 'path' => '/api/v1/modelRouter/open/billing/cost/model-detail', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'modelId', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ 'name' => 'startTime', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ 'name' => 'endTime', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ 'name' => 'clientId', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ 'name' => 'apiKeyId', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64'], ], [ 'name' => 'page', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'pageSize', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'pageIndex', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'maxResults', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'nextToken', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'ModelRouterQueryCostModelList' => [ 'path' => '/api/v1/modelRouter/open/billing/cost/models', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'startTime', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ 'name' => 'endTime', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ 'name' => 'modelTypes', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'clientId', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ 'name' => 'apiKeyId', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64'], ], [ 'name' => 'granularity', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'search', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'maxResults', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'nextToken', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'ModelRouterQueryCostOverviewMetrics' => [ 'path' => '/api/v1/modelRouter/open/billing/cost/overview', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'startTime', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ 'name' => 'endTime', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ 'name' => 'modelTypes', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'clientId', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ 'name' => 'apiKeyId', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64'], ], [ 'name' => 'granularity', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'maxResults', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'nextToken', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'ModelRouterQueryCostTrendMetrics' => [ 'path' => '/api/v1/modelRouter/open/billing/cost/trend', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'startTime', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ 'name' => 'endTime', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ 'name' => 'modelTypes', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'clientId', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ 'name' => 'apiKeyId', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64'], ], [ 'name' => 'granularity', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'maxResults', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'nextToken', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'ModelRouterQueryModel' => [ 'path' => '/api/v1/modelRouter/open/models/{id}', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'id', 'in' => 'path', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], ], ], 'ModelRouterQueryModelList' => [ 'path' => '/api/v1/modelRouter/open/models', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'pageSize', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'pageIndex', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'orderBy', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'orderDirection', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'groupBy', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'needTotalCount', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'maxResults', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'keyword', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'status', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'nextToken', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'modelType', 'in' => 'query', 'schema' => ['type' => 'string'], ], ], ], 'ModelRouterQueryNacosProviders' => [ 'path' => '/api/v1/modelRouter/open/nacos/providers', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'pageSize', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'pageIndex', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'orderBy', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'orderDirection', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'groupBy', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'needTotalCount', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'maxResults', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'nextToken', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'ModelRouterQueryNacosTags' => [ 'path' => '/api/v1/modelRouter/open/nacos/tags', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'pageSize', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'pageIndex', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'orderBy', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'orderDirection', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'groupBy', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'needTotalCount', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'maxResults', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'nextToken', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'configType', 'in' => 'query', 'schema' => ['type' => 'string'], ], ], ], 'ModelRouterQueryObservationCharts' => [ 'path' => '/api/v1/modelRouter/open/observation/charts', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'clientId', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ 'name' => 'apiKeyId', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ 'name' => 'modelId', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ 'name' => 'timeRange', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'startTime', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'endTime', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'ModelRouterQueryObservationLogs' => [ 'path' => '/api/v1/modelRouter/open/observation/logs', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'pageSize', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'pageIndex', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'orderBy', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'orderDirection', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'groupBy', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'needTotalCount', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'maxResults', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'clientId', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ 'name' => 'apiKeyId', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ 'name' => 'modelId', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ 'name' => 'timeRange', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'startTime', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'endTime', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'nextToken', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'ModelRouterQueryObservationMetrics' => [ 'path' => '/api/v1/modelRouter/open/observation/metrics', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'pageSize', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'pageIndex', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'orderBy', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'orderDirection', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'groupBy', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'needTotalCount', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'maxResults', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'clientId', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ 'name' => 'apiKeyId', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ 'name' => 'modelId', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ 'name' => 'timeRange', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'startTime', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'endTime', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'nextToken', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'ModelRouterQueryUsageBreakdown' => [ 'path' => '/api/v1/modelRouter/open/usage/breakdown', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'startTime', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ 'name' => 'endTime', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ 'name' => 'granularity', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'clientId', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64'], ], [ 'name' => 'apiKeyId', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64'], ], [ 'name' => 'page', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'pageSize', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'maxResults', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'nextToken', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'ModelRouterSaveFlowConfig' => [ 'path' => '/api/v1/modelRouter/open/flow-config', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'properties' => [ 'modelId' => ['type' => 'integer', 'format' => 'int32', 'required' => true], 'smoothFlowEnabled' => ['type' => 'boolean'], 'rpm' => ['type' => 'integer', 'format' => 'int32'], 'tpm' => ['type' => 'integer', 'format' => 'int32'], ], ], ], ], ], 'ModelRouterUpdateBillingRule' => [ 'path' => '/api/v1/modelRouter/open/billing/rules/{id}', 'methods' => ['put'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'id', 'in' => 'path', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'billingType' => ['type' => 'string', 'required' => false], 'pricingConfig' => ['type' => 'any', 'required' => false], 'effectiveTime' => ['type' => 'string', 'required' => false], 'expireTime' => ['type' => 'string', 'required' => false], 'status' => ['type' => 'integer', 'format' => 'int32', 'required' => false], 'version' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], ], ], 'ModelRouterUpdateClient' => [ 'path' => '/api/v1/modelRouter/open/clients/{id}', 'methods' => ['put'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'id', 'in' => 'path', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'name' => ['type' => 'string', 'required' => false], 'address' => ['type' => 'string', 'required' => false], 'contact' => ['type' => 'string', 'required' => false], 'remark' => ['type' => 'string', 'required' => false], 'discount' => ['type' => 'number', 'format' => 'double'], 'status' => ['type' => 'integer', 'format' => 'int32', 'required' => false], 'allowedModels' => ['type' => 'string', 'required' => false], ], ], ], ], ], 'ModelRouterUpdateConversation' => [ 'path' => '/api/v1/modelRouter/open/conversations/{id}', 'methods' => ['put'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'id', 'in' => 'path', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'title' => ['type' => 'string', 'required' => false], 'chatData' => ['type' => 'string', 'required' => false], 'messageCount' => ['type' => 'integer', 'format' => 'int32', 'required' => false], 'modelIds' => ['type' => 'string', 'required' => false], ], ], ], ], ], 'ModelRouterUpdateModel' => [ 'path' => '/api/v1/modelRouter/open/models/{id}', 'methods' => ['put'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'id', 'in' => 'path', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'name' => ['type' => 'string', 'required' => false], 'description' => ['type' => 'string', 'required' => false], 'status' => ['type' => 'integer', 'format' => 'int32', 'required' => false], 'symbol' => ['type' => 'string', 'required' => false], 'tags' => ['type' => 'string', 'required' => false], 'modelId' => ['type' => 'string', 'required' => false], 'modelType' => ['type' => 'string', 'required' => false], 'apiKey' => ['type' => 'string', 'required' => false], 'baseUrl' => ['type' => 'string', 'required' => false], 'maxInputLength' => ['type' => 'string', 'required' => false], 'maxOutputLength' => ['type' => 'string', 'required' => false], ], ], ], ], ], 'PersonalizedTextToImageAddInferenceJob' => [ 'path' => '/api/v1/personalizedtxt2img/addPreModelInferenceJob', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'imageUrl' => [ 'type' => 'array', 'required' => true, 'items' => ['type' => 'string', 'required' => false], ], 'trainSteps' => ['type' => 'integer', 'format' => 'int32', 'required' => false], 'prompt' => ['type' => 'string', 'required' => true], 'imageNumber' => ['type' => 'integer', 'format' => 'int32', 'required' => false], 'seed' => ['type' => 'integer', 'format' => 'int64', 'required' => false], 'strength' => ['type' => 'number', 'format' => 'double', 'required' => false], ], ], ], ], ], 'PersonalizedTextToImageQueryImageAsset' => [ 'path' => '/api/v1/personalizedtxt2img/queryImageAssetFromImageId', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'imageId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'encodeFormat', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, 'enum' => ['base64'], ], ], ], ], 'PersonalizedTextToImageQueryPreModelInferenceJobInfo' => [ 'path' => '/api/v1/personalizedtxt2img/queryPreModelInferenceJobInfo', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'inferenceJobId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'Personalizedtxt2imgAddInferenceJob' => [ 'path' => '/api/v1/personalizedtxt2img/addInferenceJob', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'modelId' => ['type' => 'string', 'required' => true], 'prompt' => ['type' => 'string', 'required' => true], 'imageNumber' => ['type' => 'integer', 'format' => 'int32', 'required' => false], 'seed' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], ], ], ], ], 'Personalizedtxt2imgAddModelTrainJob' => [ 'path' => '/api/v1/personalizedtxt2img/addModelTrainJob', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'name' => ['type' => 'string', 'required' => true], 'objectType' => ['type' => 'string', 'required' => true], 'imageUrl' => [ 'type' => 'array', 'required' => true, 'items' => ['type' => 'string', 'required' => false], ], 'trainSteps' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], ], ], 'Personalizedtxt2imgQueryImageAsset' => [ 'path' => '/api/v1/personalizedtxt2img/queryImageAsset', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'modelId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'promptId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'imageId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'encodeFormat', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, 'enum' => ['base64'], ], ], ], ], 'Personalizedtxt2imgQueryInferenceJobInfo' => [ 'path' => '/api/v1/personalizedtxt2img/queryInferenceJobInfo', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'inferenceJobId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'Personalizedtxt2imgQueryModelTrainJobList' => [ 'path' => '/api/v1/personalizedtxt2img/queryModelTrainJobList', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [], ], 'Personalizedtxt2imgQueryModelTrainStatus' => [ 'path' => '/api/v1/personalizedtxt2img/queryModelTrainStatus', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'modelId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'QueryApplicationAccessId' => [ 'path' => '/api/v1/aliyunConsole/queryApplicationAccessId', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'applicationAccessId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'QueryProject' => [ 'path' => '/api/v1/aliyunConsole/queryProject', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'projectId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'QueryProjectList' => [ 'path' => '/api/v1/aliyunConsole/queryProjectList', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [], ], 'QueryPurchasedService' => [ 'path' => '/api/v1/aliyunConsole/queryPurchasedService', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [], ], 'UpdateProject' => [ 'path' => '/api/v1/aliyunConsole/updateProject', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'projectId' => ['type' => 'string', 'required' => false], 'projectName' => ['type' => 'string', 'required' => false], ], ], ], ], ], ], 'endpoints' => [ ['regionId' => 'cn-beijing', 'regionName' => '华北2(北京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'aicontent.cn-beijing.aliyuncs.com', 'endpoint' => 'aicontent.cn-beijing.aliyuncs.com', 'vpc' => ''], ['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'aicontent.cn-hangzhou.aliyuncs.com', 'endpoint' => 'aicontent.cn-hangzhou.aliyuncs.com', 'vpc' => ''], ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'aicontent.aliyuncs.com', 'endpoint' => 'aicontent.aliyuncs.com', 'vpc' => 'aicontent-vpc.cn-shanghai.aliyuncs.com'], ['regionId' => 'public', 'regionName' => '公网', 'areaId' => 'other', 'areaName' => '其它', 'public' => 'aicontent.aliyuncs.com', 'endpoint' => 'aicontent.aliyuncs.com', 'vpc' => ''], ], ];