{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://apizie.tech"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/cloud:aliyun-alikafkakopilot/kopilot-chat-stream":{"post":{"operationId":"cloud_aliyun_alikafkakopilot_kopilot_chat_stream","summary":"Initiates a streaming chat session with an agent","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["RegionId"],"properties":{"endpoint":{"type":"string","enum":["https://alikafkakopilot.cn-beijing.aliyuncs.com"],"default":"https://alikafkakopilot.cn-beijing.aliyuncs.com","description":"Regional endpoint, for example https://alikafkakopilot.cn-beijing.aliyuncs.com"},"RegionId":{"type":"string","description":"The region ID"},"Message":{"type":"string","description":"The chat message content entered by the user"},"SessionId":{"type":"string","description":"The session ID"},"AcceptLanguage":{"type":"string","description":"The language for system operation prompts. Valid values: zh-CN, en-US, and ja-JP. If not specified, the compatible language parameter is…"}}}}}},"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-alikafkakopilot/kopilot-feedback":{"post":{"operationId":"cloud_aliyun_alikafkakopilot_kopilot_feedback","summary":"Evaluates a user session","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["RegionId"],"properties":{"endpoint":{"type":"string","enum":["https://alikafkakopilot.cn-beijing.aliyuncs.com"],"default":"https://alikafkakopilot.cn-beijing.aliyuncs.com","description":"Regional endpoint, for example https://alikafkakopilot.cn-beijing.aliyuncs.com"},"RegionId":{"type":"string","description":"The region ID"},"SessionId":{"type":"string","description":"The session ID"},"TurnId":{"type":"string","description":"The primary key ID"},"Feedback":{"type":"string","description":"The user satisfaction level. Valid values: 1: satisfied -1: not satisfied 0: cancel the evaluation"},"Comment":{"type":"string","description":"The user feedback comment"}}}}}},"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-alikafkakopilot/kopilot-list-conversation-chat-messages":{"post":{"operationId":"cloud_aliyun_alikafkakopilot_kopilot_list_conversation_chat_messages","summary":"Queries the historical messages of a specified session and returns the associated scheduled tasks and task…","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["RegionId"],"properties":{"endpoint":{"type":"string","enum":["https://alikafkakopilot.cn-beijing.aliyuncs.com"],"default":"https://alikafkakopilot.cn-beijing.aliyuncs.com","description":"Regional endpoint, for example https://alikafkakopilot.cn-beijing.aliyuncs.com"},"SessionId":{"type":"string","description":"The session ID"},"RegionId":{"type":"string","description":"The region ID"},"PageSize":{"type":"integer","description":"The maximum number of conversation turns to return per page. Default value: 10. Valid values: 1 to 50. If the value exceeds the range, the…"},"BeforeTurnId":{"type":"integer","description":"The pagination cursor for conversation history. If this parameter is not specified in the first query, the latest turns specified by…"},"TaskPageSize":{"type":"integer","description":"The number of associated scheduled tasks to return per page. Default value: 20. Valid values: 1 to 100. If the value exceeds the range,…"},"TaskCursor":{"type":"string","description":"The pagination cursor for the list of associated scheduled tasks. Do not specify this parameter in the first query. To continue…"}}}}}},"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-alikafkakopilot/kopilot-list-conversations":{"post":{"operationId":"cloud_aliyun_alikafkakopilot_kopilot_list_conversations","summary":"Queries the session IDs of the current user in the Console channel, sorted by creation time in descending…","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["RegionId"],"properties":{"endpoint":{"type":"string","enum":["https://alikafkakopilot.cn-beijing.aliyuncs.com"],"default":"https://alikafkakopilot.cn-beijing.aliyuncs.com","description":"Regional endpoint, for example https://alikafkakopilot.cn-beijing.aliyuncs.com"},"RegionId":{"type":"string","description":"The region ID"},"Page":{"type":"integer","description":"The current page number"},"Size":{"type":"integer","description":"The page size"},"IncludeAutomationOverview":{"type":"string","description":"Specifies whether to return the overview of scheduled tasks and notification channels for the account. A value of true indicates that the…"},"TaskPageSize":{"type":"integer","description":"The number of entries per page for the scheduled task list. Default value: 20. Valid values: 1 to 100"},"TaskCursor":{"type":"string","description":"The pagination cursor. Do not specify this parameter for the first query. For subsequent queries, pass in the value of…"},"DestinationPageSize":{"type":"integer","description":"The number of entries per page for the notification channel list. Default value: 20. Valid values: 1 to 100"},"DestinationCursor":{"type":"string","description":"The pagination cursor for notification channels. Do not specify this parameter for the first query. For subsequent queries, pass in the…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-alikafkakopilot/kopilot-query-status":{"post":{"operationId":"cloud_aliyun_alikafkakopilot_kopilot_query_status","summary":"Queries the enabling status of an instance","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["RegionId","Owner"],"properties":{"endpoint":{"type":"string","enum":["https://alikafkakopilot.cn-beijing.aliyuncs.com"],"default":"https://alikafkakopilot.cn-beijing.aliyuncs.com","description":"Regional endpoint, for example https://alikafkakopilot.cn-beijing.aliyuncs.com"},"RegionId":{"type":"string","description":"The region ID"},"Owner":{"type":"string","description":"The account ID of the owner"}}}}}},"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-alikafkakopilot/version":{"post":{"operationId":"cloud_aliyun_alikafkakopilot_version","summary":"version","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://alikafkakopilot.cn-beijing.aliyuncs.com"],"default":"https://alikafkakopilot.cn-beijing.aliyuncs.com","description":"Regional endpoint, for example https://alikafkakopilot.cn-beijing.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"}}}}}}}