From 814ec806c22e2782390af5a4a05cb6281aabd5e1 Mon Sep 17 00:00:00 2001 From: Zhineng Li Date: Sun, 12 Jul 2026 16:56:35 +0800 Subject: update APIs 20260712 --- data/agentloop/2026-05-20/api-docs.php | 2364 ++++++++++++++++++++++++++++++++ 1 file changed, 2364 insertions(+) create mode 100644 data/agentloop/2026-05-20/api-docs.php (limited to 'data/agentloop/2026-05-20/api-docs.php') diff --git a/data/agentloop/2026-05-20/api-docs.php b/data/agentloop/2026-05-20/api-docs.php new file mode 100644 index 0000000..8ac7ac8 --- /dev/null +++ b/data/agentloop/2026-05-20/api-docs.php @@ -0,0 +1,2364 @@ + '1.0', + 'info' => ['style' => 'ROA', 'product' => 'AgentLoop', 'version' => '2026-05-20'], + 'components' => [ + 'schemas' => [ + 'BackfillStrategy' => [ + 'type' => 'object', + 'properties' => [ + 'enabled' => ['type' => 'boolean'], + 'startTime' => ['type' => 'integer', 'format' => 'int64'], + 'endTime' => ['type' => 'integer', 'format' => 'int64'], + ], + ], + 'ConnectorProperties' => [ + 'type' => 'object', + 'properties' => [ + 'protocol' => ['type' => 'string'], + 'modelList' => ['type' => 'string'], + 'channelType' => ['type' => 'string'], + 'vpcId' => ['type' => 'string'], + 'securityGroupId' => ['type' => 'string'], + 'vSwitchId' => ['type' => 'string'], + 'responseBodyPath' => ['type' => 'string'], + 'network' => ['type' => 'string'], + 'region' => ['type' => 'string'], + 'dryRunRequestBody' => ['type' => 'string'], + ], + ], + 'ContinuousStrategy' => [ + 'type' => 'object', + 'properties' => [ + 'enabled' => ['type' => 'boolean'], + 'intervalUnit' => ['type' => 'string'], + 'intervalValue' => ['type' => 'integer', 'format' => 'int32'], + 'dataDelayMinutes' => ['type' => 'integer', 'format' => 'int32'], + ], + ], + 'DataFilter' => [ + 'type' => 'object', + 'properties' => [ + 'query' => ['type' => 'string'], + 'maxRecords' => ['type' => 'integer', 'format' => 'int32'], + 'samplingRate' => ['type' => 'integer', 'format' => 'int32'], + 'provided' => ['type' => 'object'], + ], + ], + 'Evaluator' => [ + 'type' => 'object', + 'properties' => [ + 'evaluatorRef' => ['type' => 'string'], + 'name' => ['type' => 'string'], + 'type' => ['type' => 'string'], + 'resultName' => ['type' => 'string'], + 'resultType' => ['type' => 'string'], + 'config' => ['type' => 'object'], + 'filters' => ['type' => 'object'], + 'variableMapping' => [ + 'type' => 'object', + 'additionalProperties' => ['type' => 'string'], + ], + ], + ], + 'ExperimentConfig' => [ + 'type' => 'object', + 'properties' => [ + 'label' => ['type' => 'string'], + 'name' => ['type' => 'string'], + 'modelName' => ['type' => 'string'], + 'modelProvider' => ['type' => 'string'], + 'modelParameters' => ['$ref' => '#/components/schemas/ModelParameters'], + 'endpointConnectorId' => ['type' => 'string'], + 'promptTemplate' => [ + 'type' => 'array', + 'items' => ['$ref' => '#/components/schemas/PromptTemplateItem'], + ], + 'requestBodyTemplate' => ['type' => 'string'], + 'requestMethod' => ['type' => 'string'], + ], + ], + 'ExperimentPlanData' => [ + 'type' => 'object', + 'properties' => [ + 'planId' => ['type' => 'string'], + 'planName' => ['type' => 'string'], + 'experimentType' => ['type' => 'string'], + 'description' => ['type' => 'string'], + 'status' => ['type' => 'string'], + 'datasetId' => ['type' => 'string'], + 'querySql' => ['type' => 'string'], + 'experimentCount' => ['type' => 'integer', 'format' => 'int32'], + 'createdAt' => ['type' => 'integer', 'format' => 'int64'], + 'updatedAt' => ['type' => 'integer', 'format' => 'int64'], + ], + ], + 'ExperimentRecord' => [ + 'type' => 'object', + 'properties' => [ + 'recordId' => ['type' => 'string'], + 'recordName' => ['type' => 'string'], + 'experimentPlanId' => ['type' => 'string'], + 'planName' => ['type' => 'string'], + 'status' => ['type' => 'string'], + 'totalTasks' => ['type' => 'integer', 'format' => 'int32'], + 'failedTasks' => ['type' => 'integer', 'format' => 'int32'], + 'completedTasks' => ['type' => 'integer', 'format' => 'int32'], + 'progress' => ['type' => 'number', 'format' => 'float'], + 'executedAt' => ['type' => 'integer', 'format' => 'int64'], + 'completedAt' => ['type' => 'integer', 'format' => 'int64'], + 'datasetId' => ['type' => 'string'], + 'experimentConfig' => [ + 'type' => 'array', + 'items' => ['$ref' => '#/components/schemas/ExperimentConfig'], + ], + 'dataSourceType' => ['type' => 'string'], + 'modelNames' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], + ], + 'errorMessage' => ['type' => 'string'], + 'datasetProject' => ['type' => 'string'], + 'evaluators' => [ + 'type' => 'array', + 'items' => ['$ref' => '#/components/schemas/Evaluator'], + ], + 'input' => ['type' => 'object'], + 'selectedItemIds' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], + ], + 'querySql' => ['type' => 'string'], + 'evaluationTaskId' => ['type' => 'string'], + ], + ], + 'IndexJsonKey' => [ + 'type' => 'object', + 'properties' => [ + 'type' => ['type' => 'string'], + 'chn' => ['type' => 'boolean'], + ], + ], + 'IndexKey' => [ + 'type' => 'object', + 'properties' => [ + 'chn' => ['type' => 'boolean'], + 'type' => ['type' => 'string'], + 'embedding' => ['type' => 'string'], + 'jsonKeys' => [ + 'type' => 'object', + 'additionalProperties' => ['$ref' => '#/components/schemas/IndexJsonKey'], + ], + ], + ], + 'ModelParameters' => [ + 'type' => 'object', + 'properties' => [ + 'temperature' => ['type' => 'number', 'format' => 'float'], + 'maxTokens' => ['type' => 'integer', 'format' => 'int64'], + 'topP' => ['type' => 'number', 'format' => 'float'], + 'topK' => ['type' => 'integer', 'format' => 'int32'], + 'frequencyPenalty' => ['type' => 'number', 'format' => 'float'], + 'presencePenalty' => ['type' => 'number', 'format' => 'float'], + 'stopSequences' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], + ], + ], + ], + 'OfflineExperimentConfig' => [ + 'type' => 'object', + 'properties' => [ + 'label' => ['type' => 'string'], + 'name' => ['type' => 'string'], + 'desc' => ['type' => 'string'], + ], + ], + 'PromptTemplateItem' => [ + 'type' => 'object', + 'properties' => [ + 'role' => ['type' => 'string'], + 'content' => ['type' => 'string'], + ], + ], + 'RunStrategies' => [ + 'type' => 'object', + 'properties' => [ + 'backfill' => ['$ref' => '#/components/schemas/BackfillStrategy'], + 'continuous' => ['$ref' => '#/components/schemas/ContinuousStrategy'], + ], + ], + ], + ], + 'apis' => [ + 'AddDatasetData' => [ + 'path' => '/agentspace/{agentSpace}/dataset/{datasetName}/rows', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'agentSpace', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'datasetName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'dataArray' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'additionalProperties' => ['type' => 'any'], + ], + ], + ], + ], + ], + [ + 'name' => 'clientToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'CancelPipelineRun' => [ + 'path' => '/agentspace/{agentSpace}/pipeline/{pipelineName}/runs/{runId}/cancel', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'agentSpace', + 'in' => 'path', + 'schema' => ['type' => 'string'], + ], + [ + 'name' => 'pipelineName', + 'in' => 'path', + 'schema' => ['type' => 'string'], + ], + [ + 'name' => 'runId', + 'in' => 'path', + 'schema' => ['type' => 'string'], + ], + ], + ], + 'CreateAgentSpace' => [ + 'path' => '/agentspace', + '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' => [ + 'agentSpace' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], + 'description' => ['type' => 'string', 'required' => false], + 'cmsWorkspace' => ['type' => 'string', 'required' => false], + 'trajectoryStoreEnabled' => ['type' => 'boolean'], + ], + ], + ], + [ + 'name' => 'clientToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'CreateContextStore' => [ + 'path' => '/agentspace/{agentSpace}/contextstore', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'agentSpace', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'contextStoreName' => ['type' => 'string', 'required' => true], + 'contextType' => ['type' => 'string', 'required' => true], + 'description' => ['type' => 'string', 'required' => false], + 'config' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'source' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'agentSpace' => ['type' => 'string', 'required' => false], + 'startTime' => ['type' => 'string', 'format' => 'iso8601_normal', 'required' => false], + ], + ], + 'serviceNames' => [ + 'type' => 'array', + 'required' => true, + 'items' => ['type' => 'string', 'required' => false], + ], + 'metadataField' => [ + 'type' => 'object', + 'required' => false, + 'additionalProperties' => ['type' => 'string'], + ], + 'miningInterval' => [ + 'type' => 'string', + 'required' => false, + 'enum' => ['1h', '6h', '12h', '1d'], + ], + ], + ], + ], + ], + ], + [ + 'name' => 'clientToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'CreateContextStoreAPIKey' => [ + 'path' => '/agentspace/{agentSpace}/contextstore/{contextStoreName}/apikey', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'agentSpace', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'contextStoreName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'name' => ['type' => 'string', 'required' => true], + ], + ], + ], + [ + 'name' => 'clientToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'CreateDataset' => [ + 'path' => '/agentspace/{agentSpace}/dataset', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'agentSpace', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'datasetName' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], + 'description' => ['type' => 'string', 'required' => false], + 'schema' => [ + 'type' => 'object', + 'required' => true, + 'additionalProperties' => ['$ref' => '#/components/schemas/IndexKey'], + ], + ], + ], + ], + [ + 'name' => 'clientToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'CreateEvaluationTask' => [ + 'path' => '/api/v1/evaluation-task/{agentSpace}', + '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' => [ + 'taskName' => ['type' => 'string', 'required' => false], + 'taskMode' => ['type' => 'string', 'required' => false], + 'dataType' => ['type' => 'string', 'required' => false], + 'dataFilter' => ['type' => 'string', 'required' => false], + 'evaluators' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['$ref' => '#/components/schemas/Evaluator', 'required' => false], + ], + 'channel' => ['type' => 'string', 'required' => false], + 'config' => [ + 'type' => 'object', + 'required' => false, + 'additionalProperties' => ['type' => 'string'], + ], + 'tags' => [ + 'type' => 'object', + 'required' => false, + 'additionalProperties' => ['type' => 'string'], + ], + 'runStrategies' => ['$ref' => '#/components/schemas/RunStrategies', 'required' => false], + 'description' => ['type' => 'string', 'required' => false], + ], + ], + ], + [ + 'name' => 'agentSpace', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'clientToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'CreateEvaluator' => [ + 'path' => '/api/v1/evaluators/{agentSpace}', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'agentSpace', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'name' => ['type' => 'string', 'required' => true], + 'displayName' => ['type' => 'string', 'required' => false], + 'type' => ['type' => 'string', 'required' => true], + 'description' => ['type' => 'string', 'required' => false], + 'metricName' => ['type' => 'string', 'required' => true], + 'version' => ['type' => 'string', 'required' => true], + 'versionDescription' => ['type' => 'string', 'required' => false], + 'config' => ['type' => 'object', 'required' => false], + 'annotations' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'string', 'required' => false], + ], + 'properties' => ['type' => 'object', 'required' => false], + ], + ], + ], + [ + 'name' => 'clientToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'CreateEvaluatorSkill' => [ + 'path' => '/api/v1/evaluator/{name}/skill', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'name', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'agentSpace', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'skillName' => ['type' => 'string', 'required' => true], + 'displayName' => ['type' => 'string', 'required' => false], + 'description' => ['type' => 'string', 'required' => false], + 'enable' => ['type' => 'boolean', 'required' => false], + 'files' => [ + 'type' => 'array', + 'required' => true, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'name' => ['type' => 'string', 'required' => true], + 'content' => ['type' => 'string', 'required' => true], + 'remark' => ['type' => 'string', 'required' => false], + ], + ], + ], + ], + ], + ], + [ + 'name' => 'clientToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'DeleteAgentSpace' => [ + 'path' => '/agentspace/{agentSpace}', + 'methods' => ['delete'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'agentSpace', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], + ], + [ + 'name' => 'deleteMseNamespace', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], + ], + [ + 'name' => 'deleteSlsProject', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], + ], + [ + 'name' => 'deleteCmsWorkspace', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], + ], + ], + ], + 'DeleteContextStore' => [ + 'path' => '/agentspace/{agentSpace}/contextstore/{contextStoreName}', + 'methods' => ['delete'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'agentSpace', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], + ], + [ + 'name' => 'contextStoreName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], + ], + ], + ], + 'DeleteContextStoreAPIKey' => [ + 'path' => '/agentspace/{agentSpace}/contextstore/{contextStoreName}/apikey/{name}', + 'methods' => ['delete'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'agentSpace', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'contextStoreName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'name', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'DeleteDataset' => [ + 'path' => '/agentspace/{agentSpace}/dataset/{datasetName}', + 'methods' => ['delete'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'agentSpace', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], + ], + [ + 'name' => 'datasetName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], + ], + ], + ], + 'DeleteEvaluationRun' => [ + 'path' => '/api/v1/evaluation-task/{agentSpace}/{taskId}/run/{runId}', + 'methods' => ['delete'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'agentSpace', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'taskId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'runId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'DeleteEvaluationTask' => [ + 'path' => '/api/v1/evaluation-task/{agentSpace}/{taskId}', + 'methods' => ['delete'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'agentSpace', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'taskId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'DeleteEvaluator' => [ + 'path' => '/api/v1/evaluators/{agentSpace}/{name}', + 'methods' => ['delete'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'agentSpace', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'name', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'version', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'DeleteEvaluatorSkill' => [ + 'path' => '/api/v1/evaluator/{name}/skill/{skillName}', + 'methods' => ['delete'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'name', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'skillName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'agentSpace', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + ], + ], + 'DeletePipeline' => [ + 'path' => '/agentspace/{agentSpace}/pipeline/{pipelineName}', + 'methods' => ['delete'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'agentSpace', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'pipelineName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'DescribeRegions' => [ + 'path' => '/regions', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'language', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], + ], + [ + 'name' => 'maxResults', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'nextToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'ExecuteQuery' => [ + 'path' => '/agentspace/{agentSpace}/dataset/{datasetName}/query', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'agentSpace', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], + ], + [ + 'name' => 'datasetName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'type' => ['type' => 'string', 'required' => true], + 'query' => ['type' => 'string', 'required' => true], + 'maxOutputLength' => ['type' => 'integer', 'format' => 'int32'], + 'from' => ['type' => 'integer', 'format' => 'int32'], + 'to' => ['type' => 'integer', 'format' => 'int32'], + 'offset' => ['type' => 'integer', 'format' => 'int32'], + 'length' => ['type' => 'integer', 'format' => 'int32'], + 'version' => ['type' => 'string'], + ], + ], + ], + ], + ], + 'GetAgentSpace' => [ + 'path' => '/agentspace/{agentSpace}', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'agentSpace', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], + ], + ], + ], + 'GetContextStore' => [ + 'path' => '/agentspace/{agentSpace}/contextstore/{contextStoreName}', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'agentSpace', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], + ], + [ + 'name' => 'contextStoreName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], + ], + ], + ], + 'GetContextStoreAPIKey' => [ + 'path' => '/agentspace/{agentSpace}/contextstore/{contextStoreName}/apikey/{name}', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'agentSpace', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'contextStoreName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'name', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'GetDataset' => [ + 'path' => '/agentspace/{agentSpace}/dataset/{datasetName}', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'agentSpace', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], + ], + [ + 'name' => 'datasetName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], + ], + ], + ], + 'GetEvaluationRun' => [ + 'path' => '/api/v1/evaluation-task/{agentSpace}/{taskId}/run/{runId}', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'agentSpace', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'taskId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'runId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'GetEvaluationTask' => [ + 'path' => '/api/v1/evaluation-task/{agentSpace}/{taskId}', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'agentSpace', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'taskId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'GetEvaluator' => [ + 'path' => '/api/v1/evaluators/{agentSpace}/{name}', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'agentSpace', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'name', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'version', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'GetEvaluatorSkill' => [ + 'path' => '/api/v1/evaluator/{name}/skill/{skillName}', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'name', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'skillName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'agentSpace', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'version', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'GetPipeline' => [ + 'path' => '/agentspace/{agentSpace}/pipeline/{pipelineName}', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'agentSpace', + 'in' => 'path', + 'schema' => ['type' => 'string'], + ], + [ + 'name' => 'pipelineName', + 'in' => 'path', + 'schema' => ['type' => 'string'], + ], + ], + ], + 'GetPipelineRun' => [ + 'path' => '/agentspace/{agentSpace}/pipeline/{pipelineName}/runs/{runId}', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'agentSpace', + 'in' => 'path', + 'schema' => ['type' => 'string'], + ], + [ + 'name' => 'pipelineName', + 'in' => 'path', + 'schema' => ['type' => 'string'], + ], + [ + 'name' => 'runId', + 'in' => 'path', + 'schema' => ['type' => 'string'], + ], + ], + ], + 'GetPipelineStats' => [ + 'path' => '/agentspace/{agentSpace}/pipeline/{pipelineName}/stats', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'agentSpace', + 'in' => 'path', + 'schema' => ['type' => 'string'], + ], + [ + 'name' => 'pipelineName', + 'in' => 'path', + 'schema' => ['type' => 'string'], + ], + [ + 'name' => 'startTime', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64'], + ], + [ + 'name' => 'endTime', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64'], + ], + [ + 'name' => 'granularity', + 'in' => 'query', + 'schema' => ['type' => 'string'], + ], + ], + ], + 'ListAgentSpaces' => [ + 'path' => '/agentspace', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'agentSpace', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'regionId', + '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], + ], + ], + ], + 'ListContextStoreAPIKeys' => [ + 'path' => '/agentspace/{agentSpace}/contextstore/{contextStoreName}/apikey', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'agentSpace', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'contextStoreName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'nextToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'maxResults', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + ], + ], + 'ListContextStores' => [ + 'path' => '/agentspace/{agentSpace}/contextstore', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'agentSpace', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], + ], + [ + 'name' => 'contextStoreName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'contextType', + '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], + ], + ], + ], + 'ListDatasets' => [ + 'path' => '/agentspace/{agentSpace}/dataset', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'agentSpace', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], + ], + [ + 'name' => 'datasetName', + '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], + ], + ], + ], + 'ListEvaluationRuns' => [ + 'path' => '/api/v1/evaluation-task/{agentSpace}/{taskId}/runs', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'agentSpace', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'taskId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'status', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'runType', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'nextToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'maxResults', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + ], + ], + 'ListEvaluationTasks' => [ + 'path' => '/api/v1/evaluation-tasks', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'agentSpace', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'taskName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'taskMode', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'dataType', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'status', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'nextToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'maxResults', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'channel', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'ListEvaluatorSkills' => [ + 'path' => '/api/v1/evaluator/{name}/skills', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'name', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'agentSpace', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'maxResults', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'nextToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'ListEvaluators' => [ + 'path' => '/api/v1/evaluators', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'agentSpace', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'type', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'name', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'source', + '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], + ], + ], + ], + 'ListPipelineRuns' => [ + 'path' => '/agentspace/{agentSpace}/pipeline/{pipelineName}/runs', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'agentSpace', + 'in' => 'path', + 'schema' => ['type' => 'string'], + ], + [ + 'name' => 'pipelineName', + 'in' => 'path', + 'schema' => ['type' => 'string'], + ], + [ + 'name' => 'status', + 'in' => 'query', + 'schema' => ['type' => 'string'], + ], + [ + 'name' => 'triggerType', + 'in' => 'query', + 'schema' => ['type' => 'string'], + ], + [ + 'name' => 'startTime', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64'], + ], + [ + 'name' => 'endTime', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64'], + ], + [ + 'name' => 'nextToken', + 'in' => 'query', + 'schema' => ['type' => 'string'], + ], + [ + 'name' => 'maxResults', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32'], + ], + ], + ], + 'ListPipelines' => [ + 'path' => '/agentspace/{agentSpace}/pipeline', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'agentSpace', + 'in' => 'path', + 'schema' => ['type' => 'string'], + ], + [ + 'name' => 'pipelineName', + 'in' => 'query', + 'schema' => ['type' => 'string'], + ], + [ + 'name' => 'scheduleType', + 'in' => 'query', + 'schema' => ['type' => 'string'], + ], + [ + 'name' => 'scheduleStatus', + 'in' => 'query', + 'schema' => ['type' => 'string'], + ], + [ + 'name' => 'nextToken', + 'in' => 'query', + 'schema' => ['type' => 'string'], + ], + [ + 'name' => 'maxResults', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32'], + ], + ], + ], + 'PausePipeline' => [ + 'path' => '/agentspace/{agentSpace}/pipeline/{pipelineName}/pause', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'agentSpace', + 'in' => 'path', + 'schema' => ['type' => 'string'], + ], + [ + 'name' => 'pipelineName', + 'in' => 'path', + 'schema' => ['type' => 'string'], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'reason' => ['type' => 'string'], + ], + ], + ], + ], + ], + 'ResumePipeline' => [ + 'path' => '/agentspace/{agentSpace}/pipeline/{pipelineName}/resume', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'agentSpace', + 'in' => 'path', + 'schema' => ['type' => 'string'], + ], + [ + 'name' => 'pipelineName', + 'in' => 'path', + 'schema' => ['type' => 'string'], + ], + ], + ], + 'RunPipeline' => [ + 'path' => '/agentspace/{agentSpace}/pipeline/{pipelineName}/run', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'agentSpace', + 'in' => 'path', + 'schema' => ['type' => 'string'], + ], + [ + 'name' => 'pipelineName', + 'in' => 'path', + 'schema' => ['type' => 'string'], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'fromTime' => ['type' => 'integer', 'format' => 'int64'], + 'toTime' => ['type' => 'integer', 'format' => 'int64'], + 'output' => [ + 'type' => 'object', + 'properties' => [ + 'dataset' => ['type' => 'boolean'], + 'inline' => ['type' => 'boolean'], + ], + ], + ], + ], + ], + ], + ], + 'SearchContext' => [ + 'path' => '/agentspace/{agentSpace}/contextstore/{contextStoreName}/context/search', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'agentSpace', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], + ], + [ + 'name' => 'contextStoreName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'query' => ['type' => 'string', 'required' => true], + 'formatted' => ['type' => 'boolean', 'required' => false], + 'filter' => [ + 'type' => 'object', + 'required' => false, + 'additionalProperties' => ['type' => 'any'], + ], + 'limit' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'threshold' => ['type' => 'number', 'format' => 'double', 'required' => false], + 'retrievalOption' => ['type' => 'string', 'required' => false], + ], + ], + ], + ], + ], + 'TerminatePipeline' => [ + 'path' => '/agentspace/{agentSpace}/pipeline/{pipelineName}/terminate', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'agentSpace', + 'in' => 'path', + 'schema' => ['type' => 'string'], + ], + [ + 'name' => 'pipelineName', + 'in' => 'path', + 'schema' => ['type' => 'string'], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'reason' => ['type' => 'string'], + ], + ], + ], + ], + ], + 'UpdateAgentSpace' => [ + 'path' => '/agentspace/{agentSpace}', + 'methods' => ['put'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'agentSpace', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'description' => ['type' => 'string', 'required' => false], + 'cmsWorkspace' => ['type' => 'string', 'required' => false], + ], + ], + ], + [ + 'name' => 'clientToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'UpdateContextStore' => [ + 'path' => '/agentspace/{agentSpace}/contextstore/{contextStoreName}', + 'methods' => ['put'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'agentSpace', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], + ], + [ + 'name' => 'contextStoreName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'description' => ['type' => 'string', 'required' => false], + 'config' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'metadataField' => [ + 'type' => 'object', + 'required' => false, + 'additionalProperties' => ['type' => 'string'], + ], + 'source' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'startTime' => ['type' => 'string', 'required' => false], + 'agentSpace' => ['type' => 'string', 'required' => false], + ], + ], + ], + ], + 'contextType' => ['type' => 'string', 'required' => false], + ], + ], + ], + [ + 'name' => 'clientToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'UpdateDataset' => [ + 'path' => '/agentspace/{agentSpace}/dataset/{datasetName}', + 'methods' => ['put'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'agentSpace', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], + ], + [ + 'name' => 'datasetName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'description' => ['type' => 'string', 'required' => false], + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'additionalProperties' => ['$ref' => '#/components/schemas/IndexKey'], + ], + ], + ], + ], + [ + 'name' => 'clientToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'UpdateEvaluationRun' => [ + 'path' => '/api/v1/evaluation-task/{agentSpace}/{taskId}/run/{runId}', + 'methods' => ['put'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'agentSpace', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'taskId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'runId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'status' => ['type' => 'string', 'required' => false], + ], + ], + ], + ], + ], + 'UpdateEvaluationTask' => [ + 'path' => '/api/v1/evaluation-task/{agentSpace}/{taskId}', + 'methods' => ['put'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'agentSpace', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'taskId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'dataFilter' => ['type' => 'string', 'required' => false], + 'evaluators' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['$ref' => '#/components/schemas/Evaluator', 'required' => false], + ], + 'status' => ['type' => 'string', 'required' => false], + 'tags' => [ + 'type' => 'object', + 'required' => false, + 'additionalProperties' => ['type' => 'string'], + ], + 'config' => [ + 'type' => 'object', + 'required' => false, + 'additionalProperties' => ['type' => 'string'], + ], + 'runStrategies' => ['$ref' => '#/components/schemas/RunStrategies', 'required' => false], + 'description' => ['type' => 'string', 'required' => false], + ], + ], + ], + [ + 'name' => 'clientToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'UpdateEvaluator' => [ + 'path' => '/api/v1/evaluators/{agentSpace}/{name}', + 'methods' => ['put'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'agentSpace', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'name', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'displayName' => ['type' => 'string', 'required' => false], + 'description' => ['type' => 'string', 'required' => false], + 'version' => ['type' => 'string', 'required' => false], + 'versionDescription' => ['type' => 'string', 'required' => false], + 'config' => ['type' => 'object', 'required' => false], + 'annotations' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'string', 'required' => false], + ], + 'properties' => ['type' => 'object', 'required' => false], + ], + ], + ], + [ + 'name' => 'clientToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'UpdateEvaluatorSkill' => [ + 'path' => '/api/v1/evaluator/{name}/skill/{skillName}', + 'methods' => ['put'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'name', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'skillName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'agentSpace', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'displayName' => ['type' => 'string', 'required' => false], + 'description' => ['type' => 'string', 'required' => false], + 'enable' => ['type' => 'boolean', 'required' => false], + 'files' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'name' => ['type' => 'string', 'required' => true], + 'content' => ['type' => 'string', 'required' => true], + 'remark' => ['type' => 'string', 'required' => false], + ], + ], + ], + ], + ], + ], + [ + 'name' => 'clientToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'UpdatePipeline' => [ + 'path' => '/agentspace/{agentSpace}/pipeline/{pipelineName}', + 'methods' => ['put'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'agentSpace', + 'in' => 'path', + 'schema' => ['type' => 'string'], + ], + [ + 'name' => 'pipelineName', + 'in' => 'path', + 'schema' => ['type' => 'string'], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'description' => ['type' => 'string'], + 'source' => [ + 'type' => 'object', + 'properties' => [ + 'type' => ['type' => 'string'], + 'logstore' => [ + 'type' => 'object', + 'properties' => [ + 'logstore' => ['type' => 'string'], + 'query' => ['type' => 'string'], + ], + ], + ], + ], + 'pipeline' => [ + 'type' => 'object', + 'properties' => [ + 'nodes' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'id' => ['type' => 'string'], + 'type' => ['type' => 'string'], + 'parameters' => [ + 'type' => 'object', + 'additionalProperties' => ['type' => 'any'], + ], + ], + ], + ], + ], + ], + 'sink' => [ + 'type' => 'object', + 'properties' => [ + 'type' => ['type' => 'string'], + 'dataset' => [ + 'type' => 'object', + 'properties' => [ + 'agentSpace' => ['type' => 'string'], + 'dataset' => ['type' => 'string'], + ], + ], + ], + ], + 'executePolicy' => [ + 'type' => 'object', + 'properties' => [ + 'mode' => ['type' => 'string'], + 'runOnce' => [ + 'type' => 'object', + 'properties' => [ + 'fromTime' => ['type' => 'integer', 'format' => 'int64'], + 'toTime' => ['type' => 'integer', 'format' => 'int64'], + ], + ], + 'scheduled' => [ + 'type' => 'object', + 'properties' => [ + 'interval' => ['type' => 'string'], + 'fromTime' => ['type' => 'integer', 'format' => 'int64'], + ], + ], + ], + ], + ], + ], + ], + [ + 'name' => 'clientToken', + 'in' => 'query', + 'schema' => ['type' => 'string'], + ], + ], + ], + ], + 'endpoints' => [ + ['regionId' => 'cn-shenzhen', 'regionName' => '华南1(深圳)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'agentloop.cn-shenzhen.aliyuncs.com', 'endpoint' => 'agentloop.cn-shenzhen.aliyuncs.com', 'vpc' => 'agentloop-vpc.cn-shenzhen.aliyuncs.com'], + ['regionId' => 'cn-beijing', 'regionName' => '华北2(北京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'agentloop.cn-beijing.aliyuncs.com', 'endpoint' => 'agentloop.cn-beijing.aliyuncs.com', 'vpc' => 'agentloop-vpc.cn-beijing.aliyuncs.com'], + ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'agentloop.cn-shanghai.aliyuncs.com', 'endpoint' => 'agentloop.cn-shanghai.aliyuncs.com', 'vpc' => 'agentloop-vpc.cn-shanghai.aliyuncs.com'], + ['regionId' => 'cn-guangzhou', 'regionName' => '华南3(广州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'agentloop.cn-guangzhou.aliyuncs.com', 'endpoint' => 'agentloop.cn-guangzhou.aliyuncs.com', 'vpc' => 'agentloop-vpc.cn-guangzhou.aliyuncs.com'], + ['regionId' => 'cn-hongkong', 'regionName' => '中国香港', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'agentloop.cn-hongkong.aliyuncs.com', 'endpoint' => 'agentloop.cn-hongkong.aliyuncs.com', 'vpc' => 'agentloop-vpc.cn-hongkong.aliyuncs.com'], + ['regionId' => 'ap-southeast-1', 'regionName' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'agentloop.ap-southeast-1.aliyuncs.com', 'endpoint' => 'agentloop.ap-southeast-1.aliyuncs.com', 'vpc' => 'agentloop-vpc.ap-southeast-1.aliyuncs.com'], + ['regionId' => 'cn-zhangjiakou', 'regionName' => '华北3(张家口)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'agentloop.cn-zhangjiakou.aliyuncs.com', 'endpoint' => 'agentloop.cn-zhangjiakou.aliyuncs.com', 'vpc' => 'agentloop-vpc.cn-zhangjiakou.aliyuncs.com'], + ['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'agentloop.cn-hangzhou.aliyuncs.com', 'endpoint' => 'agentloop.cn-hangzhou.aliyuncs.com', 'vpc' => 'agentloop-vpc.cn-hangzhou.aliyuncs.com'], + ['regionId' => 'cn-chengdu', 'regionName' => '西南1(成都)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'agentloop.cn-chengdu.aliyuncs.com', 'endpoint' => 'agentloop.cn-chengdu.aliyuncs.com', 'vpc' => 'agentloop-vpc.cn-chengdu.aliyuncs.com'], + ], +]; -- cgit v1.2.3