Amazon Fraud Detector Models API

ML model training and versioning

GitHub OpenAPI

Operations 4

POST /#CreateModel Create Model #
POST /#DeleteModel Delete Model #
POST /#GetModels Get Models #
POST /#UpdateModel Update Model #

Documentation

Specifications

Schemas & Data

Other Resources

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-fraud-detector:amazon-fraud-detector-models-api"
All apis
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.

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-fraud-detector-models-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Amazon Fraud Detector Models API
  version: '2019-11-15'
  description: Generated from AWS's published Smithy model for Amazon Fraud Detector. 4 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://frauddetector.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /#CreateModel:
    post:
      operationId: CreateModel
      summary: Create Model
      description: Creates a model using the specified model type.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/CreateModelResult'
        '403':
          description: AccessDeniedException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '500':
          description: InternalServerException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '429':
          description: ThrottlingException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - AWSHawksNestServiceFacade.CreateModel
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/CreateModelRequest'
      tags:
      - Models
  /#DeleteModel:
    post:
      operationId: DeleteModel
      summary: Delete Model
      description: Deletes a model. You can delete models and model versions in Amazon Fraud Detector, provided that they
        are not associated with a detector version. When you delete a model, Amazon Fraud Detector permanently deletes that
        model and the data is no longer stored in Amazon Fraud Detector.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/DeleteModelResult'
        '403':
          description: AccessDeniedException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '409':
          description: ConflictException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ConflictException'
        '500':
          description: InternalServerException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '429':
          description: ThrottlingException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - AWSHawksNestServiceFacade.DeleteModel
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/DeleteModelRequest'
      tags:
      - Models
  /#GetModels:
    post:
      operationId: GetModels
      summary: Get Models
      description: Gets one or more models. Gets all models for the Amazon Web Services account if no model type and no model
        id provided. Gets all models for the Amazon Web Services account and model type, if the model type is specified but
        model id is not provided. Gets a specific model if (model type, model id) tuple is specified. This is a paginated
        API. If you provide a null maxResults, this action retrieves a maximum of 10 records per page. If you provide a maxResults,
        the value must be between 1 and 10. To get the next page results, provide the pagination token from the response as
        part of your request. A null pagination token fetches the records from the beginning.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/GetModelsResult'
        '403':
          description: AccessDeniedException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '500':
          description: InternalServerException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - AWSHawksNestServiceFacade.GetModels
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/GetModelsRequest'
      tags:
      - Models
  /#UpdateModel:
    post:
      operationId: UpdateModel
      summary: Update Model
      description: Updates model description.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/UpdateModelResult'
        '403':
          description: AccessDeniedException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '409':
          description: ConflictException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ConflictException'
        '500':
          description: InternalServerException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - AWSHawksNestServiceFacade.UpdateModel
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/UpdateModelRequest'
      tags:
      - Models
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: frauddetector
  schemas:
    AccessDeniedException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    ConflictException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    CreateModelRequest:
      type: object
      properties:
        modelId:
          type: string
          description: The model ID.
        modelType:
          type: string
          enum:
          - ONLINE_FRAUD_INSIGHTS
          - TRANSACTION_FRAUD_INSIGHTS
          - ACCOUNT_TAKEOVER_INSIGHTS
          description: The model type.
        description:
          type: string
          description: The model description.
        eventTypeName:
          type: string
          description: The name of the event type.
        tags:
          type: array
          items:
            $ref: '#/components/schemas/Tag'
          description: A collection of key and value pairs.
      required:
      - modelId
      - modelType
      - eventTypeName
    CreateModelResult:
      type: object
      properties: {}
    DeleteModelRequest:
      type: object
      properties:
        modelId:
          type: string
          description: The model ID of the model to delete.
        modelType:
          type: string
          enum:
          - ONLINE_FRAUD_INSIGHTS
          - TRANSACTION_FRAUD_INSIGHTS
          - ACCOUNT_TAKEOVER_INSIGHTS
          description: The model type of the model to delete.
      required:
      - modelId
      - modelType
    DeleteModelResult:
      type: object
      properties: {}
    GetModelsRequest:
      type: object
      properties:
        modelId:
          type: string
          description: The model ID.
        modelType:
          type: string
          enum:
          - ONLINE_FRAUD_INSIGHTS
          - TRANSACTION_FRAUD_INSIGHTS
          - ACCOUNT_TAKEOVER_INSIGHTS
          description: The model type.
        nextToken:
          type: string
          description: The next token for the subsequent request.
        maxResults:
          type: integer
          description: The maximum number of objects to return for the request.
    GetModelsResult:
      type: object
      properties:
        nextToken:
          type: string
          description: The next page token to be used in subsequent requests.
        models:
          type: array
          items:
            $ref: '#/components/schemas/Model'
          description: The array of models.
    InternalServerException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    Model:
      type: object
      properties:
        modelId:
          type: string
          description: The model ID.
        modelType:
          type: string
          enum:
          - ONLINE_FRAUD_INSIGHTS
          - TRANSACTION_FRAUD_INSIGHTS
          - ACCOUNT_TAKEOVER_INSIGHTS
          description: The model type.
        description:
          type: string
          description: The model description.
        eventTypeName:
          type: string
          description: The name of the event type.
        createdTime:
          type: string
          description: Timestamp of when the model was created.
        lastUpdatedTime:
          type: string
          description: Timestamp of last time the model was updated.
        arn:
          type: string
          description: The ARN of the model.
    ResourceNotFoundException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    Tag:
      type: object
      properties:
        key:
          type: string
          description: A tag key.
        value:
          type: string
          description: A value assigned to a tag key.
      required:
      - key
      - value
    ThrottlingException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    UpdateModelRequest:
      type: object
      properties:
        modelId:
          type: string
          description: The model ID.
        modelType:
          type: string
          enum:
          - ONLINE_FRAUD_INSIGHTS
          - TRANSACTION_FRAUD_INSIGHTS
          - ACCOUNT_TAKEOVER_INSIGHTS
          description: The model type.
        description:
          type: string
          description: The new model description.
      required:
      - modelId
      - modelType
    UpdateModelResult:
      type: object
      properties: {}
    ValidationException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/frauddetector/service/2019-11-15/frauddetector-2019-11-15.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)