Amazon SageMaker Sagemaker Context API
The Sagemaker Context API from Amazon SageMaker — 5 operation(s) for sagemaker context.
The Sagemaker Context API from Amazon SageMaker — 5 operation(s) for sagemaker context.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.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.curl "https://apis.io/api/v1/apis/amazon-sagemaker:amazon-sagemaker-context-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a 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. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.1.0
info:
title: Amazon SageMaker Service Context API
version: '2017-07-24'
description: Generated from AWS's published Smithy model for Amazon SageMaker Service. 5 operation(s).
contact:
name: Amazon Web Services
url: https://aws.amazon.com/contact-us/
license:
name: Apache 2.0
identifier: Apache-2.0
url: https://github.com/aws/api-models-aws/blob/main/LICENSE
servers:
- url: https://api.sagemaker.{region}.amazonaws.com
variables:
region:
default: us-east-1
security:
- sigv4: []
paths:
/#CreateContext:
post:
operationId: CreateContext
summary: Create Context
description: Creates a context. 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 Amazon SageMaker
ML Lineage Tracking.
responses:
'200':
description: Success
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/CreateContextResponse'
'400':
description: ResourceLimitExceeded
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/ResourceLimitExceeded'
parameters:
- name: X-Amz-Target
in: header
required: true
schema:
type: string
enum:
- SageMaker.CreateContext
requestBody:
required: true
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/CreateContextRequest'
tags:
- Context
/#DeleteContext:
post:
operationId: DeleteContext
summary: Delete Context
description: Deletes an context.
responses:
'200':
description: Success
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/DeleteContextResponse'
'400':
description: ResourceNotFound
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/ResourceNotFound'
parameters:
- name: X-Amz-Target
in: header
required: true
schema:
type: string
enum:
- SageMaker.DeleteContext
requestBody:
required: true
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/DeleteContextRequest'
tags:
- Context
/#DescribeContext:
post:
operationId: DescribeContext
summary: Describe Context
description: Describes a context.
responses:
'200':
description: Success
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/DescribeContextResponse'
'400':
description: ResourceNotFound
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/ResourceNotFound'
parameters:
- name: X-Amz-Target
in: header
required: true
schema:
type: string
enum:
- SageMaker.DescribeContext
requestBody:
required: true
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/DescribeContextRequest'
tags:
- Context
/#ListContexts:
post:
operationId: ListContexts
summary: List Contexts
description: Lists the contexts in your account and their properties.
responses:
'200':
description: Success
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/ListContextsResponse'
'400':
description: ResourceNotFound
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/ResourceNotFound'
parameters:
- name: X-Amz-Target
in: header
required: true
schema:
type: string
enum:
- SageMaker.ListContexts
requestBody:
required: true
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/ListContextsRequest'
tags:
- Context
/#UpdateContext:
post:
operationId: UpdateContext
summary: Update Context
description: Updates a context.
responses:
'200':
description: Success
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/UpdateContextResponse'
'400':
description: ConflictException; ResourceNotFound
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/ConflictException'
parameters:
- name: X-Amz-Target
in: header
required: true
schema:
type: string
enum:
- SageMaker.UpdateContext
requestBody:
required: true
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/UpdateContextRequest'
tags:
- Context
components:
securitySchemes:
sigv4:
type: apiKey
in: header
name: Authorization
description: AWS Signature Version 4. The Authorization header carries an AWS4-HMAC-SHA256 signature over the canonical
request, with X-Amz-Date (and X-Amz-Security-Token for temporary credentials). Not a bearer token.
x-aws-sigv4:
signingName: sagemaker
schemas:
ConflictException:
type: object
properties:
Message:
type: string
ContextSource:
type: object
properties:
SourceUri:
type: string
description: The URI of the source.
SourceType:
type: string
description: The type of the source.
SourceId:
type: string
description: The ID of the source.
required:
- SourceUri
ContextSummary:
type: object
properties:
ContextArn:
type: string
description: The Amazon Resource Name (ARN) of the context.
ContextName:
type: string
description: The name of the context.
Source:
$ref: '#/components/schemas/ContextSource'
ContextType:
type: string
description: The type of the context.
CreationTime:
type: string
format: date-time
description: When the context was created.
LastModifiedTime:
type: string
format: date-time
description: When the context was last modified.
CreateContextRequest:
type: object
properties:
ContextName:
type: string
description: The name of the context. Must be unique to your account in an Amazon Web Services Region.
Source:
$ref: '#/components/schemas/ContextSource'
ContextType:
type: string
description: The context type.
Description:
type: string
description: The description of the context.
Properties:
type: object
additionalProperties:
type: string
description: A list of properties to add to the context.
Tags:
type: array
items:
$ref: '#/components/schemas/Tag'
description: A list of tags to apply to the context.
required:
- ContextName
- Source
- ContextType
CreateContextResponse:
type: object
properties:
ContextArn:
type: string
description: The Amazon Resource Name (ARN) of the context.
DeleteContextRequest:
type: object
properties:
ContextName:
type: string
description: The name of the context to delete.
required:
- ContextName
DeleteContextResponse:
type: object
properties:
ContextArn:
type: string
description: The Amazon Resource Name (ARN) of the context.
DescribeContextRequest:
type: object
properties:
ContextName:
type: string
description: The name of the context to describe.
required:
- ContextName
DescribeContextResponse:
type: object
properties:
ContextName:
type: string
description: The name of the context.
ContextArn:
type: string
description: The Amazon Resource Name (ARN) of the context.
Source:
$ref: '#/components/schemas/ContextSource'
ContextType:
type: string
description: The type of the context.
Description:
type: string
description: The description of the context.
Properties:
type: object
additionalProperties:
type: string
description: A list of the context's properties.
CreationTime:
type: string
format: date-time
description: When the context was created.
CreatedBy:
$ref: '#/components/schemas/UserContext'
LastModifiedTime:
type: string
format: date-time
description: When the context was last modified.
LastModifiedBy:
$ref: '#/components/schemas/UserContext'
LineageGroupArn:
type: string
description: The Amazon Resource Name (ARN) of the lineage group.
IamIdentity:
type: object
properties:
Arn:
type: string
description: The Amazon Resource Name (ARN) of the IAM identity.
PrincipalId:
type: string
description: The ID of the principal that assumes the IAM identity.
SourceIdentity:
type: string
description: The person or application which assumes the IAM identity.
ListContextsRequest:
type: object
properties:
SourceUri:
type: string
description: A filter that returns only contexts with the specified source URI.
ContextType:
type: string
description: A filter that returns only contexts of the specified type.
CreatedAfter:
type: string
format: date-time
description: A filter that returns only contexts created on or after the specified time.
CreatedBefore:
type: string
format: date-time
description: A filter that returns only contexts created on or before the specified time.
SortBy:
type: string
enum:
- Name
- CreationTime
description: The property used to sort results. The default value is CreationTime.
SortOrder:
type: string
enum:
- Ascending
- Descending
description: The sort order. The default value is Descending.
NextToken:
type: string
description: If the previous call to ListContexts didn't return the full set of contexts, the call returns a token
for getting the next set of contexts.
MaxResults:
type: integer
description: The maximum number of contexts to return in the response. The default value is 10.
ListContextsResponse:
type: object
properties:
ContextSummaries:
type: array
items:
$ref: '#/components/schemas/ContextSummary'
description: A list of contexts and their properties.
NextToken:
type: string
description: A token for getting the next set of contexts, if there are any.
ResourceLimitExceeded:
type: object
properties:
Message:
type: string
ResourceNotFound:
type: object
properties:
Message:
type: string
Tag:
type: object
properties:
Key:
type: string
description: The tag key. Tag keys must be unique per resource.
Value:
type: string
description: The tag value.
required:
- Key
- Value
UpdateContextRequest:
type: object
properties:
ContextName:
type: string
description: The name of the context to update.
Description:
type: string
description: The new description for the context.
Properties:
type: object
additionalProperties:
type: string
description: The new list of properties. Overwrites the current property list.
PropertiesToRemove:
type: array
items:
type: string
description: A list of properties to remove.
required:
- ContextName
UpdateContextResponse:
type: object
properties:
ContextArn:
type: string
description: The Amazon Resource Name (ARN) of the context.
UserContext:
type: object
properties:
UserProfileArn:
type: string
description: The Amazon Resource Name (ARN) of the user's profile.
UserProfileName:
type: string
description: The name of the user's profile.
DomainId:
type: string
description: The domain associated with the user.
IamIdentity:
$ref: '#/components/schemas/IamIdentity'
x-provenance:
method: harvested
publisher: Amazon Web Services
source: https://raw.githubusercontent.com/aws/api-models-aws/582e55931c45b944739742a2c1620b6026dd2d13/models/sagemaker/service/2017-07-24/sagemaker-2017-07-24.json
note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)