Amazon SageMaker Sagemaker Hub API
The Sagemaker Hub API from Amazon SageMaker — 5 operation(s) for sagemaker hub.
The Sagemaker Hub API from Amazon SageMaker — 5 operation(s) for sagemaker hub.
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-hub-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 Hub 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:
/#CreateHub:
post:
operationId: CreateHub
summary: Create Hub
description: Create a hub.
responses:
'200':
description: Success
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/CreateHubResponse'
'400':
description: ResourceInUse; ResourceLimitExceeded
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/ResourceInUse'
parameters:
- name: X-Amz-Target
in: header
required: true
schema:
type: string
enum:
- SageMaker.CreateHub
requestBody:
required: true
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/CreateHubRequest'
tags:
- Hub
/#DeleteHub:
post:
operationId: DeleteHub
summary: Delete Hub
description: Delete a hub.
responses:
'200':
description: Success
content:
application/x-amz-json-1.1:
schema:
type: string
'400':
description: ResourceInUse; ResourceNotFound
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/ResourceInUse'
parameters:
- name: X-Amz-Target
in: header
required: true
schema:
type: string
enum:
- SageMaker.DeleteHub
requestBody:
required: true
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/DeleteHubRequest'
tags:
- Hub
/#DescribeHub:
post:
operationId: DescribeHub
summary: Describe Hub
description: Describes a hub.
responses:
'200':
description: Success
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/DescribeHubResponse'
'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.DescribeHub
requestBody:
required: true
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/DescribeHubRequest'
tags:
- Hub
/#ListHubs:
post:
operationId: ListHubs
summary: List Hubs
description: List all existing hubs.
responses:
'200':
description: Success
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/ListHubsResponse'
parameters:
- name: X-Amz-Target
in: header
required: true
schema:
type: string
enum:
- SageMaker.ListHubs
requestBody:
required: true
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/ListHubsRequest'
tags:
- Hub
/#UpdateHub:
post:
operationId: UpdateHub
summary: Update Hub
description: Update a hub.
responses:
'200':
description: Success
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/UpdateHubResponse'
'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.UpdateHub
requestBody:
required: true
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/UpdateHubRequest'
tags:
- Hub
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:
CreateHubRequest:
type: object
properties:
HubName:
type: string
description: The name of the hub to create.
HubDescription:
type: string
description: A description of the hub.
HubDisplayName:
type: string
description: The display name of the hub.
HubSearchKeywords:
type: array
items:
type: string
description: The searchable keywords for the hub.
S3StorageConfig:
$ref: '#/components/schemas/HubS3StorageConfig'
Tags:
type: array
items:
$ref: '#/components/schemas/Tag'
description: Any tags to associate with the hub.
required:
- HubName
- HubDescription
CreateHubResponse:
type: object
properties:
HubArn:
type: string
description: The Amazon Resource Name (ARN) of the hub.
required:
- HubArn
DeleteHubRequest:
type: object
properties:
HubName:
type: string
description: The name of the hub to delete.
required:
- HubName
DescribeHubRequest:
type: object
properties:
HubName:
type: string
description: The name of the hub to describe.
required:
- HubName
DescribeHubResponse:
type: object
properties:
HubName:
type: string
description: The name of the hub.
HubArn:
type: string
description: The Amazon Resource Name (ARN) of the hub.
HubDisplayName:
type: string
description: The display name of the hub.
HubDescription:
type: string
description: A description of the hub.
HubSearchKeywords:
type: array
items:
type: string
description: The searchable keywords for the hub.
S3StorageConfig:
$ref: '#/components/schemas/HubS3StorageConfig'
HubStatus:
type: string
enum:
- InService
- Creating
- Updating
- Deleting
- CreateFailed
- UpdateFailed
- DeleteFailed
description: The status of the hub.
FailureReason:
type: string
description: The failure reason if importing hub content failed.
CreationTime:
type: string
format: date-time
description: The date and time that the hub was created.
LastModifiedTime:
type: string
format: date-time
description: The date and time that the hub was last modified.
required:
- HubName
- HubArn
- HubStatus
- CreationTime
- LastModifiedTime
HubInfo:
type: object
properties:
HubName:
type: string
description: The name of the hub.
HubArn:
type: string
description: The Amazon Resource Name (ARN) of the hub.
HubDisplayName:
type: string
description: The display name of the hub.
HubDescription:
type: string
description: A description of the hub.
HubSearchKeywords:
type: array
items:
type: string
description: The searchable keywords for the hub.
HubStatus:
type: string
enum:
- InService
- Creating
- Updating
- Deleting
- CreateFailed
- UpdateFailed
- DeleteFailed
description: The status of the hub.
CreationTime:
type: string
format: date-time
description: The date and time that the hub was created.
LastModifiedTime:
type: string
format: date-time
description: The date and time that the hub was last modified.
required:
- HubName
- HubArn
- HubStatus
- CreationTime
- LastModifiedTime
HubS3StorageConfig:
type: object
properties:
S3OutputPath:
type: string
description: The Amazon S3 bucket prefix for hosting hub content.
ListHubsRequest:
type: object
properties:
NameContains:
type: string
description: Only list hubs with names that contain the specified string.
CreationTimeBefore:
type: string
format: date-time
description: Only list hubs that were created before the time specified.
CreationTimeAfter:
type: string
format: date-time
description: Only list hubs that were created after the time specified.
LastModifiedTimeBefore:
type: string
format: date-time
description: Only list hubs that were last modified before the time specified.
LastModifiedTimeAfter:
type: string
format: date-time
description: Only list hubs that were last modified after the time specified.
SortBy:
type: string
enum:
- HubName
- CreationTime
- HubStatus
- AccountIdOwner
description: Sort hubs by either name or creation time.
SortOrder:
type: string
enum:
- Ascending
- Descending
description: Sort hubs by ascending or descending order.
MaxResults:
type: integer
description: The maximum number of hubs to list.
NextToken:
type: string
description: If the response to a previous ListHubs request was truncated, the response includes a NextToken. To
retrieve the next set of hubs, use the token in the next request.
ListHubsResponse:
type: object
properties:
HubSummaries:
type: array
items:
$ref: '#/components/schemas/HubInfo'
description: The summaries of the listed hubs.
NextToken:
type: string
description: If the response is truncated, SageMaker returns this token. To retrieve the next set of hubs, use it
in the subsequent request.
required:
- HubSummaries
ResourceInUse:
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
UpdateHubRequest:
type: object
properties:
HubName:
type: string
description: The name of the hub to update.
HubDescription:
type: string
description: A description of the updated hub.
HubDisplayName:
type: string
description: The display name of the hub.
HubSearchKeywords:
type: array
items:
type: string
description: The searchable keywords for the hub.
required:
- HubName
UpdateHubResponse:
type: object
properties:
HubArn:
type: string
description: The Amazon Resource Name (ARN) of the updated hub.
required:
- HubArn
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)