{"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:amazonaws-runtime-lex-v2/get-session":{"get":{"operationId":"cloud_amazonaws_runtime_lex_v2_get_session","summary":"Returns session information for a specified bot, alias, and user. For example, you can use this operation to…","description":"GET /bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}","tags":["cloud"],"parameters":[{"name":"region","in":"query","required":false,"description":"The AWS region","schema":{"type":"string","enum":["us-east-1","us-east-2","us-west-1","us-west-2","us-gov-west-1","us-gov-east-1","ca-central-1","eu-north-1","eu-west-1","eu-west-2","eu-west-3","eu-central-1","eu-south-1","af-south-1","ap-northeast-1","ap-northeast-2","ap-northeast-3","ap-southeast-1","ap-southeast-2","ap-east-1","ap-south-1","sa-east-1","me-south-1"],"default":"us-east-1","description":"The AWS region"}},{"name":"botId","in":"query","required":true,"description":"The identifier of the bot that contains the session data.","schema":{"type":"string","description":"The identifier of the bot that contains the session data."}},{"name":"botAliasId","in":"query","required":true,"description":"The alias identifier in use for the bot that contains the session data.","schema":{"type":"string","description":"The alias identifier in use for the bot that contains the session data."}},{"name":"localeId","in":"query","required":true,"description":"The locale where the session is in use.","schema":{"type":"string","description":"The locale where the session is in use."}},{"name":"sessionId","in":"query","required":true,"description":"The identifier of the session to return.","schema":{"type":"string","description":"The identifier of the session to return."}}],"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":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:amazonaws-runtime-lex-v2/put-session":{"post":{"operationId":"cloud_amazonaws_runtime_lex_v2_put_session","summary":"Creates a new session or modifies an existing session with an Amazon Lex V2 bot. Use this operation to…","description":"POST /bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["botId","botAliasId","localeId","sessionId","body"],"properties":{"region":{"type":"string","enum":["us-east-1","us-east-2","us-west-1","us-west-2","us-gov-west-1","us-gov-east-1","ca-central-1","eu-north-1","eu-west-1","eu-west-2","eu-west-3","eu-central-1","eu-south-1","af-south-1","ap-northeast-1","ap-northeast-2","ap-northeast-3","ap-southeast-1","ap-southeast-2","ap-east-1","ap-south-1","sa-east-1","me-south-1"],"default":"us-east-1","description":"The AWS region"},"botId":{"type":"string","description":"The identifier of the bot that receives the session data."},"botAliasId":{"type":"string","description":"The alias identifier of the bot that receives the session data."},"localeId":{"type":"string","description":"The locale where the session is in use."},"sessionId":{"type":"string","description":"The identifier of the session that receives the session data."},"ResponseContentType":{"type":"string","description":"The message that Amazon Lex V2 returns in the response can be either text or speech depending on the value of this parameter. If the value…"},"body":{"type":"object","description":"JSON request body"}}}}}},"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:amazonaws-runtime-lex-v2/delete-session":{"post":{"operationId":"cloud_amazonaws_runtime_lex_v2_delete_session","summary":"Removes session information for a specified bot, alias, and user ID. You can use this operation to restart a…","description":"DELETE /bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["botId","botAliasId","localeId","sessionId"],"properties":{"region":{"type":"string","enum":["us-east-1","us-east-2","us-west-1","us-west-2","us-gov-west-1","us-gov-east-1","ca-central-1","eu-north-1","eu-west-1","eu-west-2","eu-west-3","eu-central-1","eu-south-1","af-south-1","ap-northeast-1","ap-northeast-2","ap-northeast-3","ap-southeast-1","ap-southeast-2","ap-east-1","ap-south-1","sa-east-1","me-south-1"],"default":"us-east-1","description":"The AWS region"},"botId":{"type":"string","description":"The identifier of the bot that contains the session data."},"botAliasId":{"type":"string","description":"The alias identifier in use for the bot that contains the session data."},"localeId":{"type":"string","description":"The locale where the session is in use."},"sessionId":{"type":"string","description":"The identifier of the session to delete."}}}}}},"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:amazonaws-runtime-lex-v2/recognize-text":{"post":{"operationId":"cloud_amazonaws_runtime_lex_v2_recognize_text","summary":"Sends user input to Amazon Lex V2. Client applications use this API to send requests to Amazon Lex V2 at…","description":"POST /bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}/text","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["botId","botAliasId","localeId","sessionId","body"],"properties":{"region":{"type":"string","enum":["us-east-1","us-east-2","us-west-1","us-west-2","us-gov-west-1","us-gov-east-1","ca-central-1","eu-north-1","eu-west-1","eu-west-2","eu-west-3","eu-central-1","eu-south-1","af-south-1","ap-northeast-1","ap-northeast-2","ap-northeast-3","ap-southeast-1","ap-southeast-2","ap-east-1","ap-south-1","sa-east-1","me-south-1"],"default":"us-east-1","description":"The AWS region"},"botId":{"type":"string","description":"The identifier of the bot that processes the request."},"botAliasId":{"type":"string","description":"The alias identifier in use for the bot that processes the request."},"localeId":{"type":"string","description":"The locale where the session is in use."},"sessionId":{"type":"string","description":"The identifier of the user session that is having the conversation."},"body":{"type":"object","description":"JSON request body"}}}}}},"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:amazonaws-runtime-lex-v2/recognize-utterance":{"post":{"operationId":"cloud_amazonaws_runtime_lex_v2_recognize_utterance","summary":"Sends user input to Amazon Lex V2. You can send text or speech. Clients use this API to send text and audio…","description":"POST /bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}/utterance","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["botId","botAliasId","localeId","sessionId","body"],"properties":{"region":{"type":"string","enum":["us-east-1","us-east-2","us-west-1","us-west-2","us-gov-west-1","us-gov-east-1","ca-central-1","eu-north-1","eu-west-1","eu-west-2","eu-west-3","eu-central-1","eu-south-1","af-south-1","ap-northeast-1","ap-northeast-2","ap-northeast-3","ap-southeast-1","ap-southeast-2","ap-east-1","ap-south-1","sa-east-1","me-south-1"],"default":"us-east-1","description":"The AWS region"},"botId":{"type":"string","description":"The identifier of the bot that should receive the request."},"botAliasId":{"type":"string","description":"The alias identifier in use for the bot that should receive the request."},"localeId":{"type":"string","description":"The locale where the session is in use."},"sessionId":{"type":"string","description":"The identifier of the session in use."},"x-amz-lex-session-state":{"type":"string","description":"Sets the state of the session with the user. You can use this to set the current intent, attributes, context, and dialog action. Use the…"},"x-amz-lex-request-attributes":{"type":"string","description":"Request-specific information passed between the client application and Amazon Lex V2 The namespace x-amz-lex: is reserved for special…"},"Response-Content-Type":{"type":"string","description":"The message that Amazon Lex V2 returns in the response can be either text or speech based on the responseContentType value. If the value…"},"body":{"type":"object","description":"JSON request body"}}}}}},"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"}}}}}}}