{"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-sagemaker/invoke-endpoint":{"post":{"operationId":"cloud_amazonaws_runtime_sagemaker_invoke_endpoint","summary":"After you deploy a model into production using Amazon SageMaker hosting services, your client applications…","description":"POST /endpoints/{EndpointName}/invocations","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["EndpointName","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"},"EndpointName":{"type":"string","description":"The name of the endpoint that you specified when you created the endpoint using the CreateEndpoint API."},"X-Amzn-SageMaker-Custom-Attributes":{"type":"string","description":"Provides additional information about a request for an inference submitted to a model hosted at an Amazon SageMaker endpoint. The…"},"X-Amzn-SageMaker-Target-Model":{"type":"string","description":"The model to request for inference when invoking a multi-model endpoint."},"X-Amzn-SageMaker-Target-Variant":{"type":"string","description":"Specify the production variant to send the inference request to when invoking an endpoint that is running two or more variants. Note that…"},"X-Amzn-SageMaker-Target-Container-Hostname":{"type":"string","description":"If the endpoint hosts multiple containers and is configured to use direct invocation, this parameter specifies the host name of the…"},"X-Amzn-SageMaker-Inference-Id":{"type":"string","description":"If you provide a value, it is added to the captured data when you enable data capture on the endpoint. For information about data capture,…"},"X-Amzn-SageMaker-Enable-Explanations":{"type":"string","description":"An optional JMESPath expression used to override the EnableExplanations parameter of the ClarifyExplainerConfig API. See the…"},"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-sagemaker/invoke-endpoint-async":{"post":{"operationId":"cloud_amazonaws_runtime_sagemaker_invoke_endpoint_async","summary":"After you deploy a model into production using Amazon SageMaker hosting services, your client applications…","description":"POST /endpoints/{EndpointName}/async-invocations","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["EndpointName","X-Amzn-SageMaker-InputLocation"],"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"},"EndpointName":{"type":"string","description":"The name of the endpoint that you specified when you created the endpoint using the CreateEndpoint API."},"X-Amzn-SageMaker-Content-Type":{"type":"string","description":"The MIME type of the input data in the request body."},"X-Amzn-SageMaker-Accept":{"type":"string","description":"The desired MIME type of the inference in the response."},"X-Amzn-SageMaker-Custom-Attributes":{"type":"string","description":"Provides additional information about a request for an inference submitted to a model hosted at an Amazon SageMaker endpoint. The…"},"X-Amzn-SageMaker-Inference-Id":{"type":"string","description":"The identifier for the inference request. Amazon SageMaker will generate an identifier for you if none is specified."},"X-Amzn-SageMaker-InputLocation":{"type":"string","description":"The Amazon S3 URI where the inference request payload is stored."},"X-Amzn-SageMaker-RequestTTLSeconds":{"type":"integer","description":"Maximum age in seconds a request can be in the queue before it is marked as expired. The default is 6 hours, or 21,600 seconds."},"X-Amzn-SageMaker-InvocationTimeoutSeconds":{"type":"integer","description":"Maximum amount of time in seconds a request can be processed before it is marked as expired. The default is 15 minutes, or 900 seconds."}}}}}},"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"}}}}}}}