listFilePassages
List passages for a file
GET
/v1/files/{id}/passagesAuthorization
AuthorizationBearerrequiredBearer authentication header of the form
Bearer <token>, where <token> is your auth token.Header parameters
x-bot-idstringrequiredBot id
x-integration-idstringIntegration id
x-integration-aliasstringIntegration alias
x-integration-namestringIntegration name
x-user-idstringUser Id
x-user-rolestringUser Role
Path parameters
idstringrequiredFile ID or Key
Query parameters
nextTokenstringProvide the
meta.nextToken value provided in the last API response to retrieve the next page of resultslimitnumberThe maximum number of passages to return per request (optional, default: 20, max: 200).
Response
application/jsonReturns the list of passages extracted from a file.
The response is of type listFilePassagesResponse · object.
passagesobject[]requiredmetaobjectrequired