{"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/put-session":{"post":{"operationId":"cloud_amazonaws_runtime_lex_put_session","summary":"Creates a new session or modifies an existing session with an Amazon Lex bot. Use this operation to enable…","description":"POST /bot/{botName}/alias/{botAlias}/user/{userId}/session","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["botName","botAlias","userId","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"},"botName":{"type":"string","description":"The name of the bot that contains the session data."},"botAlias":{"type":"string","description":"The alias in use for the bot that contains the session data."},"userId":{"type":"string","description":"The ID of the client application user. Amazon Lex uses this to identify a user's conversation with your bot."},"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/delete-session":{"post":{"operationId":"cloud_amazonaws_runtime_lex_delete_session","summary":"Removes session information for a specified bot, alias, and user ID.","description":"DELETE /bot/{botName}/alias/{botAlias}/user/{userId}/session","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["botName","botAlias","userId"],"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"},"botName":{"type":"string","description":"The name of the bot that contains the session data."},"botAlias":{"type":"string","description":"The alias in use for the bot that contains the session data."},"userId":{"type":"string","description":"The identifier of the user associated with the session data."}}}}}},"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/get-session":{"get":{"operationId":"cloud_amazonaws_runtime_lex_get_session","summary":"Returns session information for a specified bot, alias, and user ID.","description":"GET /bot/{botName}/alias/{botAlias}/user/{userId}/session/","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":"botName","in":"query","required":true,"description":"The name of the bot that contains the session data.","schema":{"type":"string","description":"The name of the bot that contains the session data."}},{"name":"botAlias","in":"query","required":true,"description":"The alias in use for the bot that contains the session data.","schema":{"type":"string","description":"The alias in use for the bot that contains the session data."}},{"name":"userId","in":"query","required":true,"description":"The ID of the client application user. Amazon Lex uses this to identify a user's conversation with your bot.","schema":{"type":"string","description":"The ID of the client application user. Amazon Lex uses this to identify a user's conversation with your bot."}},{"name":"checkpointLabelFilter","in":"query","required":false,"description":"A string used to filter the intents returned in the recentIntentSummaryView structure. When you specify a filter, only intents with their…","schema":{"type":"string","description":"A string used to filter the intents returned in the recentIntentSummaryView structure. When you specify a filter, only intents with their…"}}],"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/post-content":{"post":{"operationId":"cloud_amazonaws_runtime_lex_post_content","summary":"Sends user input (text or speech) to Amazon Lex. Clients use this API to send text and audio requests to…","description":"POST /bot/{botName}/alias/{botAlias}/user/{userId}/content","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["botName","botAlias","userId","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"},"botName":{"type":"string","description":"Name of the Amazon Lex bot."},"botAlias":{"type":"string","description":"Alias of the Amazon Lex bot."},"userId":{"type":"string","description":"The ID of the client application user. Amazon Lex uses this to identify a user's conversation with your bot. At runtime, each request must…"},"x-amz-lex-session-attributes":{"type":"string","description":"You pass this value as the x-amz-lex-session-attributes HTTP header. Application-specific information passed between Amazon Lex and a…"},"x-amz-lex-request-attributes":{"type":"string","description":"You pass this value as the x-amz-lex-request-attributes HTTP header. Request-specific information passed between Amazon Lex and a client…"},"x-amz-lex-active-contexts":{"type":"string","description":"A list of contexts active for the request. A context can be activated when a previous intent is fulfilled, or by including the context in…"},"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/post-text":{"post":{"operationId":"cloud_amazonaws_runtime_lex_post_text","summary":"Sends user input to Amazon Lex. Client applications can use this API to send requests to Amazon Lex at…","description":"POST /bot/{botName}/alias/{botAlias}/user/{userId}/text","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["botName","botAlias","userId","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"},"botName":{"type":"string","description":"The name of the Amazon Lex bot."},"botAlias":{"type":"string","description":"The alias of the Amazon Lex bot."},"userId":{"type":"string","description":"The ID of the client application user. Amazon Lex uses this to identify a user's conversation with your bot. At runtime, each request must…"},"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"}}}}}}}