{"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:aws-bedrock-agent-runtime/get-agent-memory":{"get":{"operationId":"cloud_aws_bedrock_agent_runtime_get_agent_memory","summary":"Get Agent Memory","description":"GET /agents/{agentId}/agentAliases/{agentAliasId}/memories","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","ca-central-1","eu-west-1","eu-west-2","eu-west-3","eu-central-1","eu-north-1","eu-south-1","ap-northeast-1","ap-northeast-2","ap-northeast-3","ap-southeast-1","ap-southeast-2","ap-south-1","ap-east-1","sa-east-1","me-south-1","af-south-1"],"default":"us-east-1","description":"The AWS region"}},{"name":"agentId","in":"query","required":true,"description":"Path parameter {agentId}","schema":{"type":"string","description":"Path parameter {agentId}"}},{"name":"agentAliasId","in":"query","required":true,"description":"Path parameter {agentAliasId}","schema":{"type":"string","description":"Path parameter {agentAliasId}"}}],"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:aws-bedrock-agent-runtime/delete-agent-memory":{"post":{"operationId":"cloud_aws_bedrock_agent_runtime_delete_agent_memory","summary":"Delete Agent Memory","description":"DELETE /agents/{agentId}/agentAliases/{agentAliasId}/memories","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["agentId","agentAliasId"],"properties":{"region":{"type":"string","enum":["us-east-1","us-east-2","us-west-1","us-west-2","ca-central-1","eu-west-1","eu-west-2","eu-west-3","eu-central-1","eu-north-1","eu-south-1","ap-northeast-1","ap-northeast-2","ap-northeast-3","ap-southeast-1","ap-southeast-2","ap-south-1","ap-east-1","sa-east-1","me-south-1","af-south-1"],"default":"us-east-1","description":"The AWS region"},"agentId":{"type":"string","description":"Path parameter {agentId}"},"agentAliasId":{"type":"string","description":"Path parameter {agentAliasId}"}}}}}},"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:aws-bedrock-agent-runtime/invoke-agent":{"post":{"operationId":"cloud_aws_bedrock_agent_runtime_invoke_agent","summary":"Invoke Agent","description":"POST /agents/{agentId}/agentAliases/{agentAliasId}/sessions/{sessionId}/text","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["agentId","agentAliasId","sessionId"],"properties":{"region":{"type":"string","enum":["us-east-1","us-east-2","us-west-1","us-west-2","ca-central-1","eu-west-1","eu-west-2","eu-west-3","eu-central-1","eu-north-1","eu-south-1","ap-northeast-1","ap-northeast-2","ap-northeast-3","ap-southeast-1","ap-southeast-2","ap-south-1","ap-east-1","sa-east-1","me-south-1","af-south-1"],"default":"us-east-1","description":"The AWS region"},"agentId":{"type":"string","description":"Path parameter {agentId}"},"agentAliasId":{"type":"string","description":"Path parameter {agentAliasId}"},"sessionId":{"type":"string","description":"Path parameter {sessionId}"}}}}}},"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:aws-bedrock-agent-runtime/invoke-flow":{"post":{"operationId":"cloud_aws_bedrock_agent_runtime_invoke_flow","summary":"Invoke Flow","description":"POST /flows/{flowIdentifier}/aliases/{flowAliasIdentifier}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["flowIdentifier","flowAliasIdentifier"],"properties":{"region":{"type":"string","enum":["us-east-1","us-east-2","us-west-1","us-west-2","ca-central-1","eu-west-1","eu-west-2","eu-west-3","eu-central-1","eu-north-1","eu-south-1","ap-northeast-1","ap-northeast-2","ap-northeast-3","ap-southeast-1","ap-southeast-2","ap-south-1","ap-east-1","sa-east-1","me-south-1","af-south-1"],"default":"us-east-1","description":"The AWS region"},"flowIdentifier":{"type":"string","description":"Path parameter {flowIdentifier}"},"flowAliasIdentifier":{"type":"string","description":"Path parameter {flowAliasIdentifier}"}}}}}},"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:aws-bedrock-agent-runtime/retrieve":{"post":{"operationId":"cloud_aws_bedrock_agent_runtime_retrieve","summary":"Retrieve","description":"POST /knowledgebases/{knowledgeBaseId}/retrieve","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["knowledgeBaseId"],"properties":{"region":{"type":"string","enum":["us-east-1","us-east-2","us-west-1","us-west-2","ca-central-1","eu-west-1","eu-west-2","eu-west-3","eu-central-1","eu-north-1","eu-south-1","ap-northeast-1","ap-northeast-2","ap-northeast-3","ap-southeast-1","ap-southeast-2","ap-south-1","ap-east-1","sa-east-1","me-south-1","af-south-1"],"default":"us-east-1","description":"The AWS region"},"knowledgeBaseId":{"type":"string","description":"Path parameter {knowledgeBaseId}"}}}}}},"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:aws-bedrock-agent-runtime/retrieve-and-generate":{"post":{"operationId":"cloud_aws_bedrock_agent_runtime_retrieve_and_generate","summary":"Retrieve And Generate","description":"POST /retrieveAndGenerate","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"region":{"type":"string","enum":["us-east-1","us-east-2","us-west-1","us-west-2","ca-central-1","eu-west-1","eu-west-2","eu-west-3","eu-central-1","eu-north-1","eu-south-1","ap-northeast-1","ap-northeast-2","ap-northeast-3","ap-southeast-1","ap-southeast-2","ap-south-1","ap-east-1","sa-east-1","me-south-1","af-south-1"],"default":"us-east-1","description":"The AWS region"}}}}}},"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"}}}}}}}