Amazon SES Ses Archive Search API

The Ses Archive Search API from Amazon SES — 3 operation(s) for ses archive search.

GitHub OpenAPI

Operations 3

POST /#GetArchiveSearch Get Archive Search #
POST /#StartArchiveSearch Start Archive Search #
POST /#StopArchiveSearch Stop Archive Search #

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-ses:amazon-ses-archive-search-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-ses-archive-search-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Amazon Simple Email Service Archive Search API
  version: '2010-12-01'
  description: Generated from AWS's published Smithy model for Amazon Simple Email Service. 3 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://mail-manager.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /#GetArchiveSearch:
    post:
      operationId: GetArchiveSearch
      summary: Get Archive Search
      description: Retrieves the details and current status of a specific email archive search job.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/GetArchiveSearchResponse'
        '403':
          description: AccessDeniedException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '429':
          description: ThrottlingException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - MailManagerSvc.GetArchiveSearch
      requestBody:
        required: true
        content:
          application/x-amz-json-1.0:
            schema:
              $ref: '#/components/schemas/GetArchiveSearchRequest'
      tags:
      - Archive Search
  /#StartArchiveSearch:
    post:
      operationId: StartArchiveSearch
      summary: Start Archive Search
      description: Initiates a search across emails in the specified archive.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/StartArchiveSearchResponse'
        '403':
          description: AccessDeniedException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '409':
          description: ConflictException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/MailManagerConflictException'
        '404':
          description: ResourceNotFoundException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '402':
          description: ServiceQuotaExceededException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/ServiceQuotaExceededException'
        '429':
          description: ThrottlingException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - MailManagerSvc.StartArchiveSearch
      requestBody:
        required: true
        content:
          application/x-amz-json-1.0:
            schema:
              $ref: '#/components/schemas/StartArchiveSearchRequest'
      tags:
      - Archive Search
  /#StopArchiveSearch:
    post:
      operationId: StopArchiveSearch
      summary: Stop Archive Search
      description: Stops an in-progress archive search job.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/StopArchiveSearchResponse'
        '403':
          description: AccessDeniedException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '429':
          description: ThrottlingException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - MailManagerSvc.StopArchiveSearch
      requestBody:
        required: true
        content:
          application/x-amz-json-1.0:
            schema:
              $ref: '#/components/schemas/StopArchiveSearchRequest'
      tags:
      - Archive Search
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: ses
  schemas:
    AccessDeniedException:
      type: object
      properties:
        Message:
          type: string
    ArchiveBooleanExpression:
      type: object
      properties:
        Evaluate:
          $ref: '#/components/schemas/ArchiveBooleanToEvaluate'
        Operator:
          type: string
          enum:
          - IS_TRUE
          - IS_FALSE
          description: The boolean operator to use for evaluation.
      required:
      - Evaluate
      - Operator
    ArchiveBooleanToEvaluate:
      type: object
      properties:
        Attribute:
          type: string
          enum:
          - HAS_ATTACHMENTS
          description: The name of the email attribute to evaluate.
      description: Exactly one member is set.
    ArchiveFilterCondition:
      type: object
      properties:
        StringExpression:
          $ref: '#/components/schemas/ArchiveStringExpression'
        BooleanExpression:
          $ref: '#/components/schemas/ArchiveBooleanExpression'
      description: Exactly one member is set.
    ArchiveFilters:
      type: object
      properties:
        Include:
          type: array
          items:
            $ref: '#/components/schemas/ArchiveFilterCondition'
          description: The filter conditions for emails to include.
        Unless:
          type: array
          items:
            $ref: '#/components/schemas/ArchiveFilterCondition'
          description: The filter conditions for emails to exclude.
    ArchiveStringExpression:
      type: object
      properties:
        Evaluate:
          $ref: '#/components/schemas/ArchiveStringToEvaluate'
        Operator:
          type: string
          enum:
          - CONTAINS
          description: The operator to use when evaluating the string values.
        Values:
          type: array
          items:
            type: string
          description: The list of string values to evaluate the email attribute against.
      required:
      - Evaluate
      - Operator
      - Values
    ArchiveStringToEvaluate:
      type: object
      properties:
        Attribute:
          type: string
          enum:
          - TO
          - FROM
          - CC
          - SUBJECT
          - ENVELOPE_TO
          - ENVELOPE_FROM
          description: The name of the email attribute to evaluate.
      description: Exactly one member is set.
    GetArchiveSearchRequest:
      type: object
      properties:
        SearchId:
          type: string
          description: The identifier of the search job to get details for.
      required:
      - SearchId
    GetArchiveSearchResponse:
      type: object
      properties:
        ArchiveId:
          type: string
          description: The identifier of the archive the email search was performed in.
        Filters:
          $ref: '#/components/schemas/ArchiveFilters'
        FromTimestamp:
          type: string
          description: The start timestamp of the range the searched emails cover.
        ToTimestamp:
          type: string
          description: The end timestamp of the range the searched emails cover.
        MaxResults:
          type: integer
          description: The maximum number of search results to return.
        Status:
          $ref: '#/components/schemas/SearchStatus'
    MailManagerConflictException:
      type: object
      properties:
        Message:
          type: string
    ResourceNotFoundException:
      type: object
      properties:
        Message:
          type: string
    SearchStatus:
      type: object
      properties:
        SubmissionTimestamp:
          type: string
          description: The timestamp of when the search was submitted.
        CompletionTimestamp:
          type: string
          description: The timestamp of when the search completed (if finished).
        State:
          type: string
          enum:
          - QUEUED
          - RUNNING
          - COMPLETED
          - FAILED
          - CANCELLED
          description: The current state of the search job.
        ErrorMessage:
          type: string
          description: An error message if the search failed.
    ServiceQuotaExceededException:
      type: object
      properties:
        Message:
          type: string
    StartArchiveSearchRequest:
      type: object
      properties:
        ArchiveId:
          type: string
          description: The identifier of the archive to search emails in.
        Filters:
          $ref: '#/components/schemas/ArchiveFilters'
        FromTimestamp:
          type: string
          description: The start timestamp of the range to search emails from.
        ToTimestamp:
          type: string
          description: The end timestamp of the range to search emails from.
        MaxResults:
          type: integer
          description: The maximum number of search results to return.
      required:
      - ArchiveId
      - FromTimestamp
      - ToTimestamp
      - MaxResults
    StartArchiveSearchResponse:
      type: object
      properties:
        SearchId:
          type: string
          description: The unique identifier for the initiated search job.
    StopArchiveSearchRequest:
      type: object
      properties:
        SearchId:
          type: string
          description: The identifier of the search job to stop.
      required:
      - SearchId
    StopArchiveSearchResponse:
      type: object
      properties: {}
    ThrottlingException:
      type: object
      properties:
        Message:
          type: string
    ValidationException:
      type: object
      properties:
        Message:
          type: string
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/mailmanager/service/2023-10-17/mailmanager-2023-10-17.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)