Search Index, REST: SearchIndexFile.List
List files that are indexed within a specific search index.
HTTP request
GET https://rest-assistant.api.cloud.yandex.net/assistants/v1/searchIndexFile/{searchIndexId}
Path parameters
Request message for listing files in a specific search index.
Field |
Description |
searchIndexId |
string Required field. ID of the search index whose files will be listed. |
Query parameters
Request message for listing files in a specific search index.
Field |
Description |
pageSize |
string (int64) Maximum number of files to return per page. |
pageToken |
string Token to retrieve the next page of results. |
Response
HTTP Code: 200 - OK
{
"files": [
{
"id": "string",
"searchIndexId": "string",
"createdBy": "string",
"createdAt": "string"
}
],
"nextPageToken": "string"
}
Response message for the list operation.
Field |
Description |
files[] |
List of files in the specified search index. |
nextPageToken |
string Token to retrieve the next page of results. |
SearchIndexFile
Represents a file that has been indexed within a search index.
Field |
Description |
id |
string Unique identifier of the file that was used for indexing. |
searchIndexId |
string ID of the search index that contains this file. |
createdBy |
string Identifier of the subject who created the file in the search index. |
createdAt |
string (date-time) Timestamp representing when the file was created. String in RFC3339 To work with values in this field, use the APIs described in the |