Amazon Fraud Detector Fraud Detector Event API

The Fraud Detector Event API from Amazon Fraud Detector — 4 operation(s) for fraud detector event.

GitHub OpenAPI

Operations 4

POST /#DeleteEvent Delete Event #
POST /#DeleteEventsByEventType Delete Events By Event Type #
POST /#GetEvent Get Event #
POST /#SendEvent Send Event #

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-event-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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. 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-event-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Amazon Fraud Detector Event 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:
  /#DeleteEvent:
    post:
      operationId: DeleteEvent
      summary: Delete Event
      description: Deletes the specified event. When you delete an event, Amazon Fraud Detector permanently deletes that event
        and the event data is no longer stored in Amazon Fraud Detector. If deleteAuditHistory is True, event data is available
        through search for up to 30 seconds after the delete operation is completed.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/DeleteEventResult'
        '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.DeleteEvent
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/DeleteEventRequest'
      tags:
      - Event
  /#DeleteEventsByEventType:
    post:
      operationId: DeleteEventsByEventType
      summary: Delete Events By Event Type
      description: Deletes all events of a particular event type.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/DeleteEventsByEventTypeResult'
        '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.DeleteEventsByEventType
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/DeleteEventsByEventTypeRequest'
      tags:
      - Event
  /#GetEvent:
    post:
      operationId: GetEvent
      summary: Get Event
      description: Retrieves details of events stored with Amazon Fraud Detector. This action does not retrieve prediction
        results.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/GetEventResult'
        '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.GetEvent
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/GetEventRequest'
      tags:
      - Event
  /#SendEvent:
    post:
      operationId: SendEvent
      summary: Send Event
      description: Stores events in Amazon Fraud Detector without generating fraud predictions for those events. For example,
        you can use SendEvent to upload a historical dataset, which you can then later use to train a model.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/SendEventResult'
        '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.SendEvent
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/SendEventRequest'
      tags:
      - Event
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
    DeleteEventRequest:
      type: object
      properties:
        eventId:
          type: string
          description: The ID of the event to delete.
        eventTypeName:
          type: string
          description: The name of the event type.
        deleteAuditHistory:
          type: boolean
          description: Specifies whether or not to delete any predictions associated with the event. If set to True,
      required:
      - eventId
      - eventTypeName
    DeleteEventResult:
      type: object
      properties: {}
    DeleteEventsByEventTypeRequest:
      type: object
      properties:
        eventTypeName:
          type: string
          description: The name of the event type.
      required:
      - eventTypeName
    DeleteEventsByEventTypeResult:
      type: object
      properties:
        eventTypeName:
          type: string
          description: Name of event type for which to delete the events.
        eventsDeletionStatus:
          type: string
          description: The status of the delete request.
    Entity:
      type: object
      properties:
        entityType:
          type: string
          description: The entity type.
        entityId:
          type: string
          description: The entity ID. If you do not know the entityId, you can pass unknown, which is areserved string literal.
      required:
      - entityType
      - entityId
    Event:
      type: object
      properties:
        eventId:
          type: string
          description: The event ID.
        eventTypeName:
          type: string
          description: The event type.
        eventTimestamp:
          type: string
          description: The timestamp that defines when the event under evaluation occurred. The timestamp must be specified
            using ISO 8601 standard in UTC.
        eventVariables:
          type: object
          additionalProperties:
            type: string
          description: Names of the event type's variables you defined in Amazon Fraud Detector to represent data elements
            and their corresponding values for the event you are sending for evaluation.
        currentLabel:
          type: string
          description: The label associated with the event.
        labelTimestamp:
          type: string
          description: The timestamp associated with the label to update. The timestamp must be specified using ISO 8601 standard
            in UTC.
        entities:
          type: array
          items:
            $ref: '#/components/schemas/Entity'
          description: The event entities.
    GetEventRequest:
      type: object
      properties:
        eventId:
          type: string
          description: The ID of the event to retrieve.
        eventTypeName:
          type: string
          description: The event type of the event to retrieve.
      required:
      - eventId
      - eventTypeName
    GetEventResult:
      type: object
      properties:
        event:
          $ref: '#/components/schemas/Event'
    InternalServerException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    ResourceNotFoundException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    SendEventRequest:
      type: object
      properties:
        eventId:
          type: string
          description: The event ID to upload.
        eventTypeName:
          type: string
          description: The event type name of the event.
        eventTimestamp:
          type: string
          description: The timestamp that defines when the event under evaluation occurred. The timestamp must be specified
            using ISO 8601 standard in UTC.
        eventVariables:
          type: object
          additionalProperties:
            type: string
          description: Names of the event type's variables you defined in Amazon Fraud Detector to represent data elements
            and their corresponding values for the event you are sending for evaluation.
        assignedLabel:
          type: string
          description: The label to associate with the event. Required if specifying labelTimestamp.
        labelTimestamp:
          type: string
          description: The timestamp associated with the label. Required if specifying assignedLabel.
        entities:
          type: array
          items:
            $ref: '#/components/schemas/Entity'
          description: An array of entities.
      required:
      - eventId
      - eventTypeName
      - eventTimestamp
      - eventVariables
      - entities
    SendEventResult:
      type: object
      properties: {}
    ThrottlingException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    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)