{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://www.apizie.tech"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/cloud:aliyun-sasclaw/chat-user-sec-agent":{"post":{"operationId":"cloud_aliyun_sasclaw_chat_user_sec_agent","summary":"Initiates a conversation with the security agent of the current account and receives the processing progress…","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"Prompt":{"type":"string","description":"The text input from the user for the current turn. When initiating a new question, pass a non-empty string and specify the SessionId and a…"},"Stream":{"type":"string","description":"Specifies whether to return the agent response as an SSE (Server-Sent Events) stream. Default value: true. When set to true, the operation…"},"Memory":{"type":"string","description":"Specifies whether to enable session memory. Default value: true. When set to true, the agent references the historical context of the same…"},"ExecutionMode":{"type":"string","enum":["single","team","role"],"description":"The execution mode for the current conversation. The execution mode is determined during the first turn of a session and is reused for…"},"Target":{"type":"string","description":"The execution target for the current conversation. This parameter is used together with ExecutionMode to specify the entity that handles…"},"Channel":{"type":"string","description":"The access channel identifier from which the conversation is initiated. This parameter is used to distinguish between different calling…"},"AttachmentStagingId":{"type":"string","description":"The staging ID of the attachment referenced in the current conversation. This parameter is used to associate pre-staged attachment content"},"Attachments":{"type":"string","description":"The list of attachments for the current conversation. The OpenAPI parameter value is a JSON array string. The console uploads attachments…"},"UserInputInfo":{"type":"string","description":"The form interaction information. The value is a JSON object string. When submitting a form, set Prompt to an empty string. sessionId and…"},"ExtraParams":{"type":"string","description":"The extended parameters for the current conversation. The value is a JSON object string. The console frontend passes the execution mode…"},"Agent":{"type":"string","description":"The agent identifier. The console frontend does not pass this parameter by default"},"Model":{"type":"string","description":"The model identifier. The console frontend does not pass this parameter by default"},"Skill":{"type":"string","description":"The skill identifier. The console frontend does not pass this parameter by default"},"TalkId":{"type":"string","description":"The conversation turn ID. The console generates and passes a new value each time a new regular question is initiated. Follow-up questions…"},"SessionId":{"type":"string","description":"The session ID for a continuous conversation. The console generates and passes this value when initiating a new session. Subsequent…"},"TimeZone":{"type":"string","description":"The IANA time zone name of the caller, for example, Asia/Shanghai. The console passes the browser time zone when initiating a new…"},"ResponseLanguage":{"type":"string","description":"The language used for user-visible model content during the current turn. Use a valid BCP-47 language tag, such as zh-CN, en-US, or ja-JP.…"}}}}}},"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-sasclaw/version":{"post":{"operationId":"cloud_aliyun_sasclaw_version","summary":"version","description":"POST /","tags":["cloud"],"parameters":[],"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"}}}}}}}