v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-143021,9861.6 MB

Creates a <i>context</i>. A context is a lineage tracking entity that represents a logical grouping of other tracking or experiment entities. Some examples are an endpoint and a model package. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/lineage-tracking.html">Amazon SageMaker ML Lineage Tracking</a>.

post/#X-Amz-Target=SageMaker.CreateContext

Headers

X-Amz-Target'SageMaker.CreateContext' required

Request body

ContextNamestring required

The name of the context. Must be unique to your account in an Amazon Web Services Region.

ContextTypestring required

The context type.

Descriptionstring

The description of the context.

Propertiesobject

A list of properties to add to the context.

Response

Success

ContextArnstring

The Amazon Resource Name (ARN) of the context.