listFiles

List files for bot

GET/v1/files

Authorization

AuthorizationBearer
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Header parameters

x-bot-idstring
Bot id
x-integration-id?string
Integration id
x-integration-alias?string
Integration alias
x-integration-name?string
Integration name
x-user-id?string
User Id
x-user-role?string
User Role

Query parameters

nextToken?string
Provide the `meta.nextToken` value provided in the last API response to retrieve the next page of results
pageSize?integer
Number of items to return per page (default 20, max 100)
sortField?enum<string>
Sort results by this field
Available options:"key","size","createdAt","updatedAt","status"
sortDirection?enum<string>
Sort results in this direction
Available options:"asc","desc"
tags?any
Filter files by tags. Tags should be passed as a URL-encoded JSON object of key-value pairs that must be present in the tags of a file. An array of multiple string values for the same key are treated as an OR condition. To exclude a value, express it as an object with a nested `not` key with the string or string-array value(s) to exclude.
ids?string[]
Filter files by IDs.
indexed?boolean
Filter files by indexing state

Response

Returns the list of files related to the bot.

filesobject[]
metaobject