Amazon Kendra FA Qs API

Operations for managing FAQ entries

GitHub OpenAPI

Operations 4

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /#CreateFaq Add a FAQ file to an index · Create Faq #
Ask an LLM
“How do I load a CSV of frequently asked questions into an index?”
“Can I add FAQs to an index from an S3 bucket?”
Tell an agent
Create FAQ {Name} in index {IndexId} from S3 path {S3Path} with role {RoleArn}.
Add FAQs {Name} to index {IndexId} from {S3Path} using IAM role {RoleArn} in {LanguageCode}.
POST /#DeleteFaq Remove a FAQ from an index · Delete Faq #
Ask an LLM
“How do I remove a FAQ I added to an index?”
“Can I delete a single FAQ from an index?”
Tell an agent destructive · confirm first
Delete FAQ {Id} from index {IndexId}.
Remove the FAQ {Id} in index {IndexId}.
POST /#DescribeFaq Get details about a FAQ · Describe Faq #
Ask an LLM
“What file format and S3 path were used for a FAQ?”
“Can I check the status of a FAQ I added?”
Tell an agent
Describe FAQ {Id} in index {IndexId}.
Show the details of FAQ {Id} on index {IndexId}.
POST /#ListFaqs List FAQs in an index · List Faqs #
Ask an LLM
“Which FAQs are attached to my index?”
“Can I page through all FAQs in an index?”
Tell an agent
List FAQs in index {IndexId}.
Show the first {MaxResults} FAQs for index {IndexId}.

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-kendra:amazon-kendra-faqs-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-kendra-faqs-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: AWSKendraFrontendService Faqs API
  version: '2019-02-03'
  description: Generated from AWS's published Smithy model for AWSKendraFrontendService. 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://kendra.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /#CreateFaq:
    post:
      operationId: CreateFaq
      summary: Create Faq
      description: Creates a set of frequently ask questions (FAQs) using a specified FAQ file stored in an Amazon S3 bucket.
        Adding FAQs to an index is an asynchronous operation. For an example of adding an FAQ to an index using Python and
        Java SDKs, see Using your FAQ file.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/CreateFaqResponse'
        '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'
        '402':
          description: ServiceQuotaExceededException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ServiceQuotaExceededException'
        '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:
          - AWSKendraFrontendService.CreateFaq
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/CreateFaqRequest'
      tags:
      - Faqs
  /#DeleteFaq:
    post:
      operationId: DeleteFaq
      summary: Delete Faq
      description: Removes a FAQ from an index.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.1:
              schema:
                type: string
        '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:
          - AWSKendraFrontendService.DeleteFaq
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/DeleteFaqRequest'
      tags:
      - Faqs
  /#DescribeFaq:
    post:
      operationId: DescribeFaq
      summary: Describe Faq
      description: Gets information about a FAQ.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/DescribeFaqResponse'
        '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:
          - AWSKendraFrontendService.DescribeFaq
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/DescribeFaqRequest'
      tags:
      - Faqs
  /#ListFaqs:
    post:
      operationId: ListFaqs
      summary: List Faqs
      description: Gets a list of FAQs associated with an index.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ListFaqsResponse'
        '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:
          - AWSKendraFrontendService.ListFaqs
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/ListFaqsRequest'
      tags:
      - Faqs
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: kendra
  schemas:
    AccessDeniedException:
      type: object
      properties:
        Message:
          type: string
    ConflictException:
      type: object
      properties:
        Message:
          type: string
    CreateFaqRequest:
      type: object
      properties:
        IndexId:
          type: string
          description: The identifier of the index for the FAQ.
        Name:
          type: string
          description: A name for the FAQ.
        Description:
          type: string
          description: A description for the FAQ.
        S3Path:
          $ref: '#/components/schemas/S3Path'
        RoleArn:
          type: string
          description: The Amazon Resource Name (ARN) of an IAM role with permission to access the S3 bucket that contains
            the FAQ file. For more information, see IAM access roles for Amazon Kendra.
        Tags:
          type: array
          items:
            $ref: '#/components/schemas/Tag'
          description: A list of key-value pairs that identify the FAQ. You can use the tags to identify and organize your
            resources and to control access to resources.
        FileFormat:
          type: string
          enum:
          - CSV
          - CSV_WITH_HEADER
          - JSON
          description: The format of the FAQ input file. You can choose between a basic CSV format, a CSV format that includes
            customs attributes in a header, and a JSON format that includes custom attributes. The default format is CSV.
            The format must match the format of the file stored in the S3 bucket identified in the S3Path parameter. For more
            information, see Adding questions and answers.
        ClientToken:
          type: string
          description: A token that you provide to identify the request to create a FAQ. Multiple calls to the CreateFaqRequest
            API with the same client token will create only one FAQ.
        LanguageCode:
          type: string
          description: The code for a language. This allows you to support a language for the FAQ document. English is supported
            by default. For more information on supported languages, including their codes, see Adding documents in languages
            other than English.
      required:
      - IndexId
      - Name
      - S3Path
      - RoleArn
    CreateFaqResponse:
      type: object
      properties:
        Id:
          type: string
          description: The identifier of the FAQ.
    DeleteFaqRequest:
      type: object
      properties:
        Id:
          type: string
          description: The identifier of the FAQ you want to remove.
        IndexId:
          type: string
          description: The identifier of the index for the FAQ.
      required:
      - Id
      - IndexId
    DescribeFaqRequest:
      type: object
      properties:
        Id:
          type: string
          description: The identifier of the FAQ you want to get information on.
        IndexId:
          type: string
          description: The identifier of the index for the FAQ.
      required:
      - Id
      - IndexId
    DescribeFaqResponse:
      type: object
      properties:
        Id:
          type: string
          description: The identifier of the FAQ.
        IndexId:
          type: string
          description: The identifier of the index for the FAQ.
        Name:
          type: string
          description: The name that you gave the FAQ when it was created.
        Description:
          type: string
          description: The description of the FAQ that you provided when it was created.
        CreatedAt:
          type: string
          format: date-time
          description: The Unix timestamp when the FAQ was created.
        UpdatedAt:
          type: string
          format: date-time
          description: The Unix timestamp when the FAQ was last updated.
        S3Path:
          $ref: '#/components/schemas/S3Path'
        Status:
          type: string
          enum:
          - CREATING
          - UPDATING
          - ACTIVE
          - DELETING
          - FAILED
          description: The status of the FAQ. It is ready to use when the status is ACTIVE.
        RoleArn:
          type: string
          description: The Amazon Resource Name (ARN) of the IAM role that provides access to the S3 bucket containing the
            FAQ file.
        ErrorMessage:
          type: string
          description: If the Status field is FAILED, the ErrorMessage field contains the reason why the FAQ failed.
        FileFormat:
          type: string
          enum:
          - CSV
          - CSV_WITH_HEADER
          - JSON
          description: The file format used for the FAQ file.
        LanguageCode:
          type: string
          description: The code for a language. This shows a supported language for the FAQ document. English is supported
            by default. For more information on supported languages, including their codes, see Adding documents in languages
            other than English.
    FaqSummary:
      type: object
      properties:
        Id:
          type: string
          description: The identifier of the FAQ.
        Name:
          type: string
          description: The name that you assigned the FAQ when you created or updated the FAQ.
        Status:
          type: string
          enum:
          - CREATING
          - UPDATING
          - ACTIVE
          - DELETING
          - FAILED
          description: The current status of the FAQ. When the status is ACTIVE the FAQ is ready for use.
        CreatedAt:
          type: string
          format: date-time
          description: The Unix timestamp when the FAQ was created.
        UpdatedAt:
          type: string
          format: date-time
          description: The Unix timestamp when the FAQ was last updated.
        FileFormat:
          type: string
          enum:
          - CSV
          - CSV_WITH_HEADER
          - JSON
          description: The file type used to create the FAQ.
        LanguageCode:
          type: string
          description: The code for a language. This shows a supported language for the FAQ document as part of the summary
            information for FAQs. English is supported by default. For more information on supported languages, including
            their codes, see Adding documents in languages other than English.
    InternalServerException:
      type: object
      properties:
        Message:
          type: string
    ListFaqsRequest:
      type: object
      properties:
        IndexId:
          type: string
          description: The index for the FAQs.
        NextToken:
          type: string
          description: If the previous response was incomplete (because there is more data to retrieve), Amazon Kendra returns
            a pagination token in the response. You can use this pagination token to retrieve the next set of FAQs.
        MaxResults:
          type: integer
          description: The maximum number of FAQs to return in the response. If there are fewer results in the list, this
            response contains only the actual results.
      required:
      - IndexId
    ListFaqsResponse:
      type: object
      properties:
        NextToken:
          type: string
          description: If the response is truncated, Amazon Kendra returns this token that you can use in the subsequent request
            to retrieve the next set of FAQs.
        FaqSummaryItems:
          type: array
          items:
            $ref: '#/components/schemas/FaqSummary'
          description: Summary information about the FAQs for a specified index.
    ResourceNotFoundException:
      type: object
      properties:
        Message:
          type: string
    S3Path:
      type: object
      properties:
        Bucket:
          type: string
          description: The name of the S3 bucket that contains the file.
        Key:
          type: string
          description: The name of the file.
      required:
      - Bucket
      - Key
    ServiceQuotaExceededException:
      type: object
      properties:
        Message:
          type: string
    Tag:
      type: object
      properties:
        Key:
          type: string
          description: The key for the tag. Keys are not case sensitive and must be unique for the index, FAQ, data source,
            or other resource.
        Value:
          type: string
          description: The value associated with the tag. The value may be an empty string but it can't be null.
      required:
      - Key
      - Value
    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/kendra/service/2019-02-03/kendra-2019-02-03.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)