Amazon DeepRacer Models API

Manage reinforcement learning models for autonomous racing

Operations 3

GET /20201101/models List Models #
GET /20201101/models/{modelArn} Get Model #
DELETE /20201101/models/{modelArn} Delete Model #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/amazon-deepracer-models-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

amazon-deepracer-models-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Amazon DeepRacer Cars Models API
  description: The Amazon DeepRacer API provides programmatic access to manage DeepRacer vehicles, reinforcement learning models, leaderboards, and training tracks for autonomous racing experiences on AWS. Resources are versioned under /20201101/.
  version: 2020-11-01
  contact:
    name: Amazon Web Services
    url: https://aws.amazon.com/deepracer/
  termsOfService: https://aws.amazon.com/service-terms/
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0
servers:
- url: https://deepracer.amazonaws.com
  description: Amazon DeepRacer API
security:
- awsSignatureV4: []
tags:
- name: Models
  description: Manage reinforcement learning models for autonomous racing
paths:
  /20201101/models:
    get:
      operationId: listModels
      summary: List Models
      description: List reinforcement learning models available for DeepRacer racing.
      tags:
      - Models
      parameters:
      - name: nextToken
        in: query
        description: Pagination token from a previous list response.
        required: false
        schema:
          type: string
      - name: maxResults
        in: query
        description: Maximum number of models to return.
        required: false
        schema:
          type: integer
          minimum: 1
          maximum: 100
      responses:
        '200':
          description: List of reinforcement learning models retrieved successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListModelsResponse'
              example:
                models:
                - modelArn: arn:aws:deepracer:us-east-1:123456789012:model/reinforcement_learning/MyModel
                  modelName: MyModel
                  creationTime: '2024-01-10T09:00:00Z'
                  lastModifiedTime: '2024-01-12T14:00:00Z'
                  modelStatus: READY
                  trainingJobArn: arn:aws:sagemaker:us-east-1:123456789012:training-job/deepracer-job-123
                nextToken: null
                x-microcks-default: true
        '400':
          description: Bad request — invalid parameters.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal server error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /20201101/models/{modelArn}:
    get:
      operationId: getModel
      summary: Get Model
      description: Retrieve the details and training status of a specific reinforcement learning model.
      tags:
      - Models
      parameters:
      - name: modelArn
        in: path
        description: The ARN of the reinforcement learning model.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Reinforcement learning model details retrieved successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Model'
              example:
                modelArn: arn:aws:deepracer:us-east-1:123456789012:model/reinforcement_learning/MyModel
                modelName: MyModel
                creationTime: '2024-01-10T09:00:00Z'
                lastModifiedTime: '2024-01-12T14:00:00Z'
                modelStatus: READY
                trainingJobArn: arn:aws:sagemaker:us-east-1:123456789012:training-job/deepracer-job-123
                rewardFunction: def reward_function(params):\n    return float(params["progress"])
                x-microcks-default: true
        '404':
          description: Model not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    delete:
      operationId: deleteModel
      summary: Delete Model
      description: Delete a reinforcement learning model from DeepRacer.
      tags:
      - Models
      parameters:
      - name: modelArn
        in: path
        description: The ARN of the model to delete.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Model deleted successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteModelResponse'
              example:
                modelArn: arn:aws:deepracer:us-east-1:123456789012:model/reinforcement_learning/MyModel
                x-microcks-default: true
        '404':
          description: Model not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    DeleteModelResponse:
      type: object
      description: Response confirming the model deletion.
      properties:
        modelArn:
          type: string
          description: The ARN of the deleted model.
    Error:
      type: object
      description: Error response returned when an API request fails.
      properties:
        message:
          type: string
          description: A human-readable description of the error.
        code:
          type: string
          description: An error code identifying the type of failure.
    ListModelsResponse:
      type: object
      description: Response containing a list of reinforcement learning models.
      properties:
        models:
          type: array
          description: List of reinforcement learning models.
          items:
            $ref: '#/components/schemas/Model'
        nextToken:
          type: string
          description: Token for retrieving the next page of results.
    Model:
      type: object
      description: A reinforcement learning model trained for DeepRacer autonomous racing.
      properties:
        modelArn:
          type: string
          description: The ARN uniquely identifying the reinforcement learning model.
        modelName:
          type: string
          description: The display name of the model.
        creationTime:
          type: string
          format: date-time
          description: Timestamp when the model was created.
        lastModifiedTime:
          type: string
          format: date-time
          description: Timestamp when the model was last updated.
        modelStatus:
          type: string
          description: Current status of the model (TRAINING, READY, FAILED, STOPPED).
          enum:
          - TRAINING
          - READY
          - FAILED
          - STOPPED
        trainingJobArn:
          type: string
          description: The ARN of the SageMaker training job that produced this model.
        rewardFunction:
          type: string
          description: The Python reward function code used during model training.
  securitySchemes:
    awsSignatureV4:
      type: apiKey
      in: header
      name: Authorization
      description: AWS Signature Version 4 authentication. Sign requests using your AWS access key, secret key, and session token.