{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://zieapi.vercel.app"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/cloud:aliyun-aisearchengine/engine-search":{"post":{"operationId":"cloud_aliyun_aisearchengine_engine_search","summary":"Provides a search API operation for the CleverSee AI Search platform. After you create a search application…","description":"POST /api/v1/platform/app/search","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","query"],"properties":{"endpoint":{"type":"string","enum":["https://aisearchengine.aliyuncs.com"],"default":"https://aisearchengine.aliyuncs.com","description":"Regional endpoint, for example https://aisearchengine.aliyuncs.com"},"appId":{"type":"string","description":"The unique ID of the application"},"grey":{"type":"string","description":"Specifies whether to access the draft version"},"query":{"type":"object","description":"The query condition object"},"sessionId":{"type":"string","description":"No input required"},"user":{"type":"object","description":"The user information object, used for subsequent user-perspective analysis"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-aisearchengine/get-dataset-resource-url":{"post":{"operationId":"cloud_aliyun_aisearchengine_get_dataset_resource_url","summary":"Retrieves a temporary public network access URL for an image, audio, or video resource in your dataset","description":"POST /api/v1/dataset/open/resources","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["primaryKey"],"properties":{"endpoint":{"type":"string","enum":["https://aisearchengine.aliyuncs.com"],"default":"https://aisearchengine.aliyuncs.com","description":"Regional endpoint, for example https://aisearchengine.aliyuncs.com"},"datasetId":{"type":"string","description":"The dataset ID. You can view this in the dataset list on the console"},"primaryKey":{"type":"string","description":"The primary key value of the data record in the dataset"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-aisearchengine/import-dataset-data":{"post":{"operationId":"cloud_aliyun_aisearchengine_import_dataset_data","summary":"Supports real-time addition or update of data in a specific dataset. The system matches records based on the…","description":"POST /api/v1/dataset/open/upsert","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["records"],"properties":{"endpoint":{"type":"string","enum":["https://aisearchengine.aliyuncs.com"],"default":"https://aisearchengine.aliyuncs.com","description":"Regional endpoint, for example https://aisearchengine.aliyuncs.com"},"datasetId":{"type":"string","description":"The dataset ID. You can view this in the dataset list in the console"},"records":{"type":"array","description":"The list of data records to add or update. A maximum of 100 records can be included in a single batch operation. Note: The records must…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-aisearchengine/qa-chat":{"post":{"operationId":"cloud_aliyun_aisearchengine_qa_chat","summary":"Powered by robust multimodal search and comprehension capabilities, build Q&A applications on the CleverSee…","description":"POST /api/v1/platform/app/chat","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["appId","message"],"properties":{"endpoint":{"type":"string","enum":["https://aisearchengine.aliyuncs.com"],"default":"https://aisearchengine.aliyuncs.com","description":"Regional endpoint, for example https://aisearchengine.aliyuncs.com"},"appId":{"type":"string","description":"Application ID"},"message":{"type":"object","description":"User message object containing role and multimodal content"},"options":{"type":"object","description":"No input required"},"sessionId":{"type":"string","description":"Q&A session ID, used to track multiple Q&A interactions from the same user"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-aisearchengine/version":{"post":{"operationId":"cloud_aliyun_aisearchengine_version","summary":"version","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://aisearchengine.aliyuncs.com"],"default":"https://aisearchengine.aliyuncs.com","description":"Regional endpoint, for example https://aisearchengine.aliyuncs.com"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}