Amazon Kendra Indexes API
Operations for creating and managing search indexes
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
Operations for creating and managing search indexes
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
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/amazon-kendra:amazon-kendra-indexes-api"
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.
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: 3.1.0
info:
title: AWSKendraFrontendService Indexes 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:
/#CreateIndex:
post:
operationId: CreateIndex
summary: Create Index
description: Creates an Amazon Kendra index. Index creation is an asynchronous API. To determine if index creation has
completed, check the Status field returned from a call to DescribeIndex. The Status field is set to ACTIVE when the
index is ready to use. Once the index is active, you can index your documents using the BatchPutDocument API or using
one of the supported data sources. For an example of creating an index and data source using the Python SDK, see Getting
started with Python SDK. For an example of creating an index and data source using the Java SDK, see Getting started
with Java SDK.
responses:
'200':
description: Success
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/CreateIndexResponse'
'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'
'400':
description: ResourceAlreadyExistException; ValidationException
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/ResourceAlreadyExistException'
'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'
parameters:
- name: X-Amz-Target
in: header
required: true
schema:
type: string
enum:
- AWSKendraFrontendService.CreateIndex
requestBody:
required: true
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/CreateIndexRequest'
tags:
- Indexes
/#DeleteIndex:
post:
operationId: DeleteIndex
summary: Delete Index
description: Deletes an Amazon Kendra index. An exception is not thrown if the index is already being deleted. While
the index is being deleted, the Status field returned by a call to the DescribeIndex API is set to DELETING.
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.DeleteIndex
requestBody:
required: true
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/DeleteIndexRequest'
tags:
- Indexes
/#DescribeIndex:
post:
operationId: DescribeIndex
summary: Describe Index
description: Gets information about an Amazon Kendra index.
responses:
'200':
description: Success
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/DescribeIndexResponse'
'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.DescribeIndex
requestBody:
required: true
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/DescribeIndexRequest'
tags:
- Indexes
/#UpdateIndex:
post:
operationId: UpdateIndex
summary: Update Index
description: Updates an Amazon Kendra 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'
'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.UpdateIndex
requestBody:
required: true
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/UpdateIndexRequest'
tags:
- Indexes
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
CapacityUnitsConfiguration:
type: object
properties:
StorageCapacityUnits:
type: integer
description: The amount of extra storage capacity for an index. A single capacity unit provides 30 GB of storage
space or 100,000 documents, whichever is reached first. You can add up to 100 extra capacity units.
QueryCapacityUnits:
type: integer
description: The amount of extra query capacity for an index and GetQuerySuggestions capacity. A single extra capacity
unit for an index provides 0.1 queries per second or approximately 8,000 queries per day. You can add up to 100
extra capacity units. GetQuerySuggestions capacity is five times the provisioned query capacity for an index,
or the base capacity of 2.5 calls per second, whichever is higher. For example, the base capacity for an index
is 0.1 queries per second, and GetQuerySuggestions capacity has a base of 2.5 calls per second. If you add another
0.1 queries per second to total 0.2 queries pe
required:
- StorageCapacityUnits
- QueryCapacityUnits
ConflictException:
type: object
properties:
Message:
type: string
CreateIndexRequest:
type: object
properties:
Name:
type: string
description: A name for the index.
Edition:
type: string
enum:
- DEVELOPER_EDITION
- ENTERPRISE_EDITION
- GEN_AI_ENTERPRISE_EDITION
description: The Amazon Kendra edition to use for the index. Choose DEVELOPER_EDITION for indexes intended for development,
testing, or proof of concept. Use ENTERPRISE_EDITION for production. Use GEN_AI_ENTERPRISE_EDITION for creating
generative AI applications. Once you set the edition for an index, it can't be changed. The Edition parameter
is optional. If you don't supply a value, the default is ENTERPRISE_EDITION. For more information on quota limits
for Gen AI Enterprise Edition, Enterprise Edition, and Developer Edition indices, see Quotas.
RoleArn:
type: string
description: The Amazon Resource Name (ARN) of an IAM role with permission to access your Amazon CloudWatch logs
and metrics. For more information, see IAM access roles for Amazon Kendra.
ServerSideEncryptionConfiguration:
$ref: '#/components/schemas/ServerSideEncryptionConfiguration'
Description:
type: string
description: A description for the index.
ClientToken:
type: string
description: A token that you provide to identify the request to create an index. Multiple calls to the CreateIndex
API with the same client token will create only one index.
Tags:
type: array
items:
$ref: '#/components/schemas/Tag'
description: 'A list of key-value pairs that identify or categorize the index. You can also use tags to help control
access to the index. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following
symbols: _ . : / = + - @.'
UserTokenConfigurations:
type: array
items:
$ref: '#/components/schemas/UserTokenConfiguration'
description: The user token configuration. If you're using an Amazon Kendra Gen AI Enterprise Edition index and
you try to use UserTokenConfigurations to configure user context policy, Amazon Kendra returns a ValidationException
error.
UserContextPolicy:
type: string
enum:
- ATTRIBUTE_FILTER
- USER_TOKEN
description: The user context policy. If you're using an Amazon Kendra Gen AI Enterprise Edition index, you can
only use ATTRIBUTE_FILTER to filter search results by user context. If you're using an Amazon Kendra Gen AI Enterprise
Edition index and you try to use USER_TOKEN to configure user context policy, Amazon Kendra returns a ValidationException
error. ATTRIBUTE_FILTER All indexed content is searchable and displayable for all users. If you want to filter
search results on user context, you can use the attribute filters of _user_id and _group_ids or you can provide
user and group information in UserCon
UserGroupResolutionConfiguration:
$ref: '#/components/schemas/UserGroupResolutionConfiguration'
required:
- Name
- RoleArn
CreateIndexResponse:
type: object
properties:
Id:
type: string
description: The identifier of the index. Use this identifier when you query an index, set up a data source, or
index a document.
DeleteIndexRequest:
type: object
properties:
Id:
type: string
description: The identifier of the index you want to delete.
required:
- Id
DescribeIndexRequest:
type: object
properties:
Id:
type: string
description: The identifier of the index you want to get information on.
required:
- Id
DescribeIndexResponse:
type: object
properties:
Name:
type: string
description: The name of the index.
Id:
type: string
description: The identifier of the index.
Edition:
type: string
enum:
- DEVELOPER_EDITION
- ENTERPRISE_EDITION
- GEN_AI_ENTERPRISE_EDITION
description: The Amazon Kendra edition used for the index. You decide the edition when you create the index.
RoleArn:
type: string
description: The Amazon Resource Name (ARN) of the IAM role that gives Amazon Kendra permission to write to your
Amazon CloudWatch logs.
ServerSideEncryptionConfiguration:
$ref: '#/components/schemas/ServerSideEncryptionConfiguration'
Status:
type: string
enum:
- CREATING
- ACTIVE
- DELETING
- FAILED
- UPDATING
- SYSTEM_UPDATING
description: The current status of the index. When the value is ACTIVE, the index is ready for use. If the Status
field value is FAILED, the ErrorMessage field contains a message that explains why.
Description:
type: string
description: The description for the index.
CreatedAt:
type: string
format: date-time
description: The Unix timestamp when the index was created.
UpdatedAt:
type: string
format: date-time
description: The Unix timestamp when the index was last updated.
DocumentMetadataConfigurations:
type: array
items:
$ref: '#/components/schemas/DocumentMetadataConfiguration'
description: Configuration information for document metadata or fields. Document metadata are fields or attributes
associated with your documents. For example, the company department name associated with each document.
IndexStatistics:
$ref: '#/components/schemas/IndexStatistics'
ErrorMessage:
type: string
description: When the Status field value is FAILED, the ErrorMessage field contains a message that explains why.
CapacityUnits:
$ref: '#/components/schemas/CapacityUnitsConfiguration'
UserTokenConfigurations:
type: array
items:
$ref: '#/components/schemas/UserTokenConfiguration'
description: The user token configuration for the Amazon Kendra index.
UserContextPolicy:
type: string
enum:
- ATTRIBUTE_FILTER
- USER_TOKEN
description: The user context policy for the Amazon Kendra index.
UserGroupResolutionConfiguration:
$ref: '#/components/schemas/UserGroupResolutionConfiguration'
DocumentMetadataConfiguration:
type: object
properties:
Name:
type: string
description: The name of the index field.
Type:
type: string
enum:
- STRING_VALUE
- STRING_LIST_VALUE
- LONG_VALUE
- DATE_VALUE
description: The data type of the index field.
Relevance:
$ref: '#/components/schemas/Relevance'
Search:
$ref: '#/components/schemas/Search'
required:
- Name
- Type
FaqStatistics:
type: object
properties:
IndexedQuestionAnswersCount:
type: integer
description: The total number of FAQ questions and answers for an index.
required:
- IndexedQuestionAnswersCount
IndexStatistics:
type: object
properties:
FaqStatistics:
$ref: '#/components/schemas/FaqStatistics'
TextDocumentStatistics:
$ref: '#/components/schemas/TextDocumentStatistics'
required:
- FaqStatistics
- TextDocumentStatistics
InternalServerException:
type: object
properties:
Message:
type: string
JsonTokenTypeConfiguration:
type: object
properties:
UserNameAttributeField:
type: string
description: The user name attribute field.
GroupAttributeField:
type: string
description: The group attribute field.
required:
- UserNameAttributeField
- GroupAttributeField
JwtTokenTypeConfiguration:
type: object
properties:
KeyLocation:
type: string
enum:
- URL
- SECRET_MANAGER
description: The location of the key.
URL:
type: string
description: The signing key URL.
SecretManagerArn:
type: string
description: The Amazon Resource Name (arn) of the secret.
UserNameAttributeField:
type: string
description: The user name attribute field.
GroupAttributeField:
type: string
description: The group attribute field.
Issuer:
type: string
description: The issuer of the token.
ClaimRegex:
type: string
description: The regular expression that identifies the claim.
required:
- KeyLocation
Relevance:
type: object
properties:
Freshness:
type: boolean
description: Indicates that this field determines how "fresh" a document is. For example, if document 1 was created
on November 5, and document 2 was created on October 31, document 1 is "fresher" than document 2. Only applies
to DATE fields.
Importance:
type: integer
description: The relative importance of the field in the search. Larger numbers provide more of a boost than smaller
numbers.
Duration:
type: string
description: Specifies the time period that the boost applies to. For example, to make the boost apply to documents
with the field value within the last month, you would use "2628000s". Once the field value is beyond the specified
range, the effect of the boost drops off. The higher the importance, the faster the effect drops off. If you don't
specify a value, the default is 3 months. The value of the field is a numeric string followed by the character
"s", for example "86400s" for one day, or "604800s" for one week. Only applies to DATE fields.
RankOrder:
type: string
enum:
- ASCENDING
- DESCENDING
description: Determines how values should be interpreted. When the RankOrder field is ASCENDING, higher numbers
are better. For example, a document with a rating score of 10 is higher ranking than a document with a rating
score of 1. When the RankOrder field is DESCENDING, lower numbers are better. For example, in a task tracking
application, a priority 1 task is more important than a priority 5 task. Only applies to LONG fields.
ValueImportanceMap:
type: object
additionalProperties:
type: integer
description: A list of values that should be given a different boost when they appear in the result list. For example,
if you are boosting a field called "department", query terms that match the department field are boosted in the
result. However, you can add entries from the department field to boost documents with those values higher. For
example, you can add entries to the map with names of departments. If you add "HR",5 and "Legal",3 those departments
are given special attention when they appear in the metadata of a document. When those terms appear they are given
the specified importance instead of th
ResourceAlreadyExistException:
type: object
properties:
Message:
type: string
ResourceNotFoundException:
type: object
properties:
Message:
type: string
Search:
type: object
properties:
Facetable:
type: boolean
description: Indicates that the field can be used to create search facets, a count of results for each value in
the field. The default is false .
Searchable:
type: boolean
description: Determines whether the field is used in the search. If the Searchable field is true, you can use relevance
tuning to manually tune how Amazon Kendra weights the field in the search. The default is true for string fields
and false for number and date fields.
Displayable:
type: boolean
description: Determines whether the field is returned in the query response. The default is true.
Sortable:
type: boolean
description: Determines whether the field can be used to sort the results of a query. If you specify sorting on
a field that does not have Sortable set to true, Amazon Kendra returns an exception. The default is false.
ServerSideEncryptionConfiguration:
type: object
properties:
KmsKeyId:
type: string
description: The identifier of the KMS key. Amazon Kendra doesn't support asymmetric keys.
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
TextDocumentStatistics:
type: object
properties:
IndexedTextDocumentsCount:
type: integer
description: The number of text documents indexed.
IndexedTextBytes:
type: integer
description: The total size, in bytes, of the indexed documents.
required:
- IndexedTextDocumentsCount
- IndexedTextBytes
ThrottlingException:
type: object
properties:
Message:
type: string
UpdateIndexRequest:
type: object
properties:
Id:
type: string
description: The identifier of the index you want to update.
Name:
type: string
description: A new name for the index.
RoleArn:
type: string
description: An Identity and Access Management (IAM) role that gives Amazon Kendra permission to access Amazon CloudWatch
logs and metrics.
Description:
type: string
description: A new description for the index.
DocumentMetadataConfigurationUpdates:
type: array
items:
$ref: '#/components/schemas/DocumentMetadataConfiguration'
description: The document metadata configuration you want to update for the index. Document metadata are fields
or attributes associated with your documents. For example, the company department name associated with each document.
CapacityUnits:
$ref: '#/components/schemas/CapacityUnitsConfiguration'
UserTokenConfigurations:
type: array
items:
$ref: '#/components/schemas/UserTokenConfiguration'
description: The user token configuration. If you're using an Amazon Kendra Gen AI Enterprise Edition index and
you try to use UserTokenConfigurations to configure user context policy, Amazon Kendra returns a ValidationException
error.
UserContextPolicy:
type: string
enum:
- ATTRIBUTE_FILTER
- USER_TOKEN
description: The user context policy. If you're using an Amazon Kendra Gen AI Enterprise Edition index, you can
only use ATTRIBUTE_FILTER to filter search results by user context. If you're using an Amazon Kendra Gen AI Enterprise
Edition index and you try to use USER_TOKEN to configure user context policy, Amazon Kendra returns a ValidationException
error.
UserGroupResolutionConfiguration:
$ref: '#/components/schemas/UserGroupResolutionConfiguration'
required:
- Id
UserGroupResolutionConfiguration:
type: object
properties:
UserGroupResolutionMode:
type: string
enum:
- AWS_SSO
- NONE
description: The identity store provider (mode) you want to use to get users and groups. IAM Identity Center is
currently the only available mode. Your users and groups must exist in an IAM Identity Center identity source
in order to use this mode.
required:
- UserGroupResolutionMode
UserTokenConfiguration:
type: object
properties:
JwtTokenTypeConfiguration:
$ref: '#/components/schemas/JwtTokenTypeConfiguration'
JsonTokenTypeConfiguration:
$ref: '#/components/schemas/JsonTokenTypeConfiguration'
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)