Amazon Connect Connect Extraction Definitions API

The Connect Extraction Definitions API from Amazon Connect — 2 operation(s) for connect extraction definitions.

GitHub OpenAPI

Operations 5

POST /extraction-definitions/{InstanceId} Create Extraction Definition #
GET /extraction-definitions/{InstanceId} List Extraction Definitions #
DELETE /extraction-definitions/{InstanceId}/{ExtractionDefinitionId} Delete Extraction Definition #
GET /extraction-definitions/{InstanceId}/{ExtractionDefinitionId} Describe Extraction Definition #
PUT /extraction-definitions/{InstanceId}/{ExtractionDefinitionId} Update Extraction Definition #

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-connect:amazon-connect-extraction-definitions-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-connect-extraction-definitions-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Amazon Connect Service Extraction Definitions API
  version: '2017-08-08'
  description: Generated from AWS's published Smithy model for Amazon Connect 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://connect.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /extraction-definitions/{InstanceId}:
    post:
      operationId: CreateExtractionDefinition
      summary: Create Extraction Definition
      description: Creates an extraction definition in the specified Connect Customer instance. An extraction definition specifies
        how structured data is extracted from customer interactions using generative AI, including the prompt hint that guides
        extraction and the behavior when a value cannot be found.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateExtractionDefinitionResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '500':
          description: InternalServiceException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServiceException'
        '400':
          description: InvalidRequestException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidRequestException'
        '409':
          description: ResourceConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceConflictException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '402':
          description: ServiceQuotaExceededException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceQuotaExceededException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
      parameters:
      - name: InstanceId
        in: path
        required: true
        schema:
          type: string
        description: The identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource
          Name (ARN) of the instance.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                ClientToken:
                  type: string
                  description: A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
                    If not provided, the Amazon Web Services SDK populates this field.
                Name:
                  type: string
                  description: A unique name of the extraction definition.
                ExtractionConfiguration:
                  $ref: '#/components/schemas/ExtractionConfiguration'
                Display:
                  $ref: '#/components/schemas/ExtractionDefinitionDisplay'
                Tags:
                  type: object
                  additionalProperties:
                    type: string
                  description: The tags used to organize, track, or control access for this resource.
              required:
              - Name
              - ExtractionConfiguration
      tags:
      - Extraction Definitions
    get:
      operationId: ListExtractionDefinitions
      summary: List Extraction Definitions
      description: Lists extraction definitions in the specified Connect Customer instance.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListExtractionDefinitionsResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '500':
          description: InternalServiceException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServiceException'
        '400':
          description: InvalidRequestException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidRequestException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
      parameters:
      - name: InstanceId
        in: path
        required: true
        schema:
          type: string
        description: The identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource
          Name (ARN) of the instance.
      - name: maxResults
        in: query
        schema:
          type: integer
        description: The maximum number of results to return per page. The default MaxResult size is 100.
      - name: nextToken
        in: query
        schema:
          type: string
        description: The token for the next set of results. Use the value returned in the previous response in the next request
          to retrieve the next set of results.
      tags:
      - Extraction Definitions
  /extraction-definitions/{InstanceId}/{ExtractionDefinitionId}:
    delete:
      operationId: DeleteExtractionDefinition
      summary: Delete Extraction Definition
      description: Deletes an extraction definition from the specified Connect Customer instance.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteExtractionDefinitionResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '500':
          description: InternalServiceException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServiceException'
        '400':
          description: InvalidRequestException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidRequestException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
      parameters:
      - name: InstanceId
        in: path
        required: true
        schema:
          type: string
        description: The identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource
          Name (ARN) of the instance.
      - name: ExtractionDefinitionId
        in: path
        required: true
        schema:
          type: string
        description: The identifier of the extraction definition to delete.
      tags:
      - Extraction Definitions
    get:
      operationId: DescribeExtractionDefinition
      summary: Describe Extraction Definition
      description: Describes an extraction definition in the specified Connect Customer instance.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DescribeExtractionDefinitionResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '500':
          description: InternalServiceException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServiceException'
        '400':
          description: InvalidRequestException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidRequestException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
      parameters:
      - name: InstanceId
        in: path
        required: true
        schema:
          type: string
        description: The identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource
          Name (ARN) of the instance.
      - name: ExtractionDefinitionId
        in: path
        required: true
        schema:
          type: string
        description: The identifier of the extraction definition to describe.
      tags:
      - Extraction Definitions
    put:
      operationId: UpdateExtractionDefinition
      summary: Update Extraction Definition
      description: Updates an extraction definition in the specified Connect Customer instance.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdateExtractionDefinitionResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '500':
          description: InternalServiceException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServiceException'
        '400':
          description: InvalidRequestException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidRequestException'
        '409':
          description: ResourceConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceConflictException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
      parameters:
      - name: ExtractionDefinitionId
        in: path
        required: true
        schema:
          type: string
        description: The identifier of the extraction definition to update.
      - name: InstanceId
        in: path
        required: true
        schema:
          type: string
        description: The identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource
          Name (ARN) of the instance.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                ClientToken:
                  type: string
                  description: A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
                    If not provided, the Amazon Web Services SDK populates this field.
                Name:
                  type: string
                  description: The name of the extraction definition.
                ExtractionConfiguration:
                  $ref: '#/components/schemas/ExtractionConfiguration'
                Display:
                  $ref: '#/components/schemas/ExtractionDefinitionDisplay'
              required:
              - Name
              - ExtractionConfiguration
      tags:
      - Extraction Definitions
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: connect
  schemas:
    AccessDeniedException:
      type: object
      properties:
        Message:
          type: string
    CreateExtractionDefinitionResponse:
      type: object
      properties:
        ExtractionDefinitionArn:
          type: string
          description: The Amazon Resource Name (ARN) of the extraction definition.
        ExtractionDefinitionId:
          type: string
          description: The identifier of the extraction definition.
      required:
      - ExtractionDefinitionArn
      - ExtractionDefinitionId
    DeleteExtractionDefinitionResponse:
      type: object
      properties: {}
    DescribeExtractionDefinitionResponse:
      type: object
      properties:
        ExtractionDefinition:
          $ref: '#/components/schemas/ExtractionDefinition'
      required:
      - ExtractionDefinition
    ExtractionConfiguration:
      type: object
      properties:
        PromptHint:
          type: string
          description: The prompt hint that guides the extraction. This text tells the generative AI model what data to look
            for in the customer interaction.
        NotFoundBehavior:
          $ref: '#/components/schemas/ExtractionDefinitionNotFoundBehavior'
      required:
      - PromptHint
    ExtractionDefinition:
      type: object
      properties:
        Name:
          type: string
          description: The name of the extraction definition.
        ExtractionDefinitionId:
          type: string
          description: The identifier of the extraction definition.
        ExtractionDefinitionArn:
          type: string
          description: The Amazon Resource Name (ARN) of the extraction definition.
        ExtractionConfiguration:
          $ref: '#/components/schemas/ExtractionConfiguration'
        Display:
          $ref: '#/components/schemas/ExtractionDefinitionDisplay'
        CreatedTime:
          type: string
          format: date-time
          description: The timestamp when the extraction definition was created.
        LastUpdatedTime:
          type: string
          format: date-time
          description: The timestamp when the extraction definition was last updated.
        LastUpdatedBy:
          type: string
          description: The Amazon Resource Name (ARN) of the user who last updated the extraction definition.
        Tags:
          type: object
          additionalProperties:
            type: string
          description: The tags used to organize, track, or control access for this resource.
      required:
      - Name
      - ExtractionDefinitionId
      - ExtractionDefinitionArn
      - ExtractionConfiguration
      - CreatedTime
      - LastUpdatedTime
      - LastUpdatedBy
    ExtractionDefinitionDisplay:
      type: object
      properties:
        Label:
          type: string
          description: The label displayed in the agent workspace for this extraction definition.
    ExtractionDefinitionNotFoundBehavior:
      type: object
      properties:
        Behavior:
          type: string
          enum:
          - USE_DEFAULT_VALUE
          - OMIT
          description: The behavior type. USE_DEFAULT_VALUE returns the specified default value. OMIT excludes the field from
            the output.
        DefaultValue:
          type: string
          description: The default value to use when the behavior is USE_DEFAULT_VALUE.
      required:
      - Behavior
    ExtractionDefinitionSummary:
      type: object
      properties:
        Name:
          type: string
          description: The name of the extraction definition.
        ExtractionDefinitionId:
          type: string
          description: The identifier of the extraction definition.
        ExtractionDefinitionArn:
          type: string
          description: The Amazon Resource Name (ARN) of the extraction definition.
        CreatedTime:
          type: string
          format: date-time
          description: The timestamp when the extraction definition was created.
        LastUpdatedTime:
          type: string
          format: date-time
          description: The timestamp when the extraction definition was last updated.
        LastUpdatedBy:
          type: string
          description: The Amazon Resource Name (ARN) of the user who last updated the extraction definition.
      required:
      - Name
      - ExtractionDefinitionId
      - ExtractionDefinitionArn
      - CreatedTime
      - LastUpdatedTime
      - LastUpdatedBy
    InternalServiceException:
      type: object
      properties:
        Message:
          type: string
          description: The message.
    InvalidRequestException:
      type: object
      properties:
        Message:
          type: string
          description: The message about the request.
        Reason:
          $ref: '#/components/schemas/InvalidRequestExceptionReason'
    InvalidRequestExceptionReason:
      type: object
      properties:
        AttachedFileInvalidRequestExceptionReason:
          type: string
          enum:
          - INVALID_FILE_SIZE
          - INVALID_FILE_TYPE
          - INVALID_FILE_NAME
          description: Reason why the StartAttachedFiledUpload request was invalid.
      description: Exactly one member is set.
    ListExtractionDefinitionsResponse:
      type: object
      properties:
        ExtractionDefinitionSummaryList:
          type: array
          items:
            $ref: '#/components/schemas/ExtractionDefinitionSummary'
          description: Information about the extraction definitions.
        NextToken:
          type: string
          description: If there are additional results, this is the token for the next set of results.
      required:
      - ExtractionDefinitionSummaryList
    ResourceConflictException:
      type: object
      properties:
        Message:
          type: string
    ResourceNotFoundException:
      type: object
      properties:
        Message:
          type: string
          description: The message about the resource.
    ServiceQuotaExceededException:
      type: object
      properties:
        Message:
          type: string
        Reason:
          $ref: '#/components/schemas/ServiceQuotaExceededExceptionReason'
    ServiceQuotaExceededExceptionReason:
      type: object
      properties:
        AttachedFileServiceQuotaExceededExceptionReason:
          type: string
          enum:
          - TOTAL_FILE_SIZE_EXCEEDED
          - TOTAL_FILE_COUNT_EXCEEDED
          description: Total file size of all files or total number of files exceeds the service quota
      description: Exactly one member is set.
    ThrottlingException:
      type: object
      properties:
        Message:
          type: string
    UpdateExtractionDefinitionResponse:
      type: object
      properties: {}
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/connect/service/2017-08-08/connect-2017-08-08.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)