Amazon SageMaker · Schema
InvokeEndpointWithResponseStreamInput
Artificial IntelligenceAmazon Web ServicesInferenceMachine LearningMLOpsTrainingModel Training
Properties
| Name | Type | Description |
|---|---|---|
| EndpointName | string | The name of the endpoint that you specified when you created the endpoint using the CreateEndpoint API. |
| Body | string | Provides input data, in the format specified in the ContentType request header. Amazon SageMaker AI passes all of the data in the body to the model. For information about the format of the request bod |
| ContentType | string | The MIME type of the input data in the request body. |
| Accept | string | The desired MIME type of the inference response from the model container. |
| CustomAttributes | string | Provides additional information about a request for an inference submitted to a model hosted at an Amazon SageMaker AI endpoint. The information is an opaque value that is forwarded verbatim. You coul |
| TargetVariant | string | Specify the production variant to send the inference request to when invoking an endpoint that is running two or more variants. Note that this parameter overrides the default behavior for the endpoint |
| TargetContainerHostname | string | If the endpoint hosts multiple containers and is configured to use direct invocation, this parameter specifies the host name of the container to invoke. |
| InferenceId | string | An identifier that you assign to your request. |
| InferenceComponentName | string | If the endpoint hosts one or more inference components, this parameter specifies the name of inference component to invoke for a streaming response. |
| SessionId | string | The ID of a stateful session to handle your request. You can't create a stateful session by using the InvokeEndpointWithResponseStream action. Instead, you can create one by using the InvokeEndpoint a |
| PrefixAwareId | string | An optional, stable identifier that serves as a routing hint for prefix-aware routing. The service routes requests with the same prefix and the same identifier to the same instance. If requests from d |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/amazon-sagemaker/json-schema/amazon-sagemaker-invoke-endpoint-with-response-stream-input-schema.json",
"title": "InvokeEndpointWithResponseStreamInput",
"x-generated": "2026-11-11",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/amazon-sagemaker-operations-api-openapi.yml#/components/schemas/InvokeEndpointWithResponseStreamInput",
"type": "object",
"properties": {
"EndpointName": {
"type": "string",
"description": "The name of the endpoint that you specified when you created the endpoint using the CreateEndpoint API."
},
"Body": {
"type": "string",
"format": "byte",
"description": "Provides input data, in the format specified in the ContentType request header. Amazon SageMaker AI passes all of the data in the body to the model. For information about the format of the request body, see Common Data Formats-Inference."
},
"ContentType": {
"type": "string",
"description": "The MIME type of the input data in the request body."
},
"Accept": {
"type": "string",
"description": "The desired MIME type of the inference response from the model container."
},
"CustomAttributes": {
"type": "string",
"description": "Provides additional information about a request for an inference submitted to a model hosted at an Amazon SageMaker AI endpoint. The information is an opaque value that is forwarded verbatim. You could use this value, for example, to provide an ID that you can use to track a request or to provide other metadata that a service endpoint was programmed to process. The value must consist of no more than 1024 visible US-ASCII characters as specified in Section 3.3.6. Field Value Components of the Hypertext Transfer Protocol (HTTP/1.1). The code in your model is responsible for setting or updating a"
},
"TargetVariant": {
"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 this parameter overrides the default behavior for the endpoint, which is to distribute the invocation traffic based on the variant weights. For information about how to use variant targeting to perform a/b testing, see Test models in production"
},
"TargetContainerHostname": {
"type": "string",
"description": "If the endpoint hosts multiple containers and is configured to use direct invocation, this parameter specifies the host name of the container to invoke."
},
"InferenceId": {
"type": "string",
"description": "An identifier that you assign to your request."
},
"InferenceComponentName": {
"type": "string",
"description": "If the endpoint hosts one or more inference components, this parameter specifies the name of inference component to invoke for a streaming response."
},
"SessionId": {
"type": "string",
"description": "The ID of a stateful session to handle your request. You can't create a stateful session by using the InvokeEndpointWithResponseStream action. Instead, you can create one by using the InvokeEndpoint action. In your request, you specify NEW_SESSION for the SessionId request parameter. The response to that request provides the session ID for the NewSessionId response parameter."
},
"PrefixAwareId": {
"type": "string",
"description": "An optional, stable identifier that serves as a routing hint for prefix-aware routing. The service routes requests with the same prefix and the same identifier to the same instance. If requests from different applications might have the same prompt prefix, set a different identifier for each application to differentiate their routing decisions. Applies only to endpoints configured with a RoutingStrategy of PREFIX_AWARE."
}
},
"required": [
"EndpointName",
"Body"
]
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/amazon-sagemaker-invoke-endpoint-with-response-stream-input"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.