Generated by API Evangelist
Written by API Evangelist tooling for Amazon Q's API. It is a proposal applied on top of the contract, not a document Amazon Q publishes.
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for QBusiness Documents API
version: 1.0.0
extends: openapi/amazon-q-documents-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-27'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 3
- target: $.paths['/applications/{applicationId}/indices/{indexId}/documents/delete'].post
update:
x-apievangelist-phrasing:
intent: Delete documents from a Q Business index
effect: destructive
questions:
- How do I remove documents from an Amazon Q Business index?
- Can I delete several documents added in a sync at once?
instructions:
- text: Delete documents {documents} from index {indexId} in application {applicationId}.
slots:
documents: requestBody.documents
indexId: path.indexId
applicationId: path.applicationId
- text: Remove documents {documents} from index {indexId} in app {applicationId} during sync {dataSourceSyncId}.
slots:
documents: requestBody.documents
indexId: path.indexId
applicationId: path.applicationId
dataSourceSyncId: requestBody.dataSourceSyncId
method: generated
generated: '2026-11-27'
- target: $.paths['/applications/{applicationId}/indices/{indexId}/documents'].post
update:
x-apievangelist-phrasing:
intent: Add documents to a Q Business index
effect: write
questions:
- How do I add documents to an Amazon Q Business index?
- Can I attach an access control list when adding documents to an index?
instructions:
- text: Add documents {documents} to index {indexId} in application {applicationId}.
slots:
documents: requestBody.documents
indexId: path.indexId
applicationId: path.applicationId
- text: Ingest documents {documents} into index {indexId} of app {applicationId} with role {roleArn}.
slots:
documents: requestBody.documents
indexId: path.indexId
applicationId: path.applicationId
roleArn: requestBody.roleArn
method: generated
generated: '2026-11-27'
- target: $.paths['/applications/{applicationId}/index/{indexId}/documents'].get
update:
x-apievangelist-phrasing:
intent: List documents in a Q Business index
effect: read
questions:
- Which documents are in my Q Business index?
- Can I list only the documents from certain data sources?
instructions:
- text: List documents in index {indexId} of application {applicationId}.
slots:
indexId: path.indexId
applicationId: path.applicationId
- text: Show documents from data sources {dataSourceIds} in index {indexId}, app {applicationId}.
slots:
dataSourceIds: query.dataSourceIds
indexId: path.indexId
applicationId: path.applicationId
method: generated
generated: '2026-11-27'
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.