Skip to main content
 print this page

Search files metadata in a dataset

GET 

/datasets/:id/searchfiles

Searches OpenSearch metadata for files under a dataset and returns a paginated file list with presigned download URLs. Caller must have access to the dataset via role_id. Dataset must exist, be active, and have completed registration. Pagination (sort_page_in_code): offset is 1-based (converted to offset-1; omitted starts at index 0). limit defaults to 100 and max is 500 (over max returns IPV-1050). sortorder defaults to desc; sortby defaults to LastModified. Response includes next_available ("yes" or "no"); last page when next_available is "no". Also returns count and total_count. Safe to retry (read-only).

Request

Responses

Search results returned. Body is DatasetFilesSearchResponse with files[], count, total_count, and next_available ("yes"|"no").

Response Headers
    Access-Control-Allow-Origin
    Access-Control-Allow-Methods
    Access-Control-Allow-Headers