Search
Search index
Execute a search query against the specified index. Note: annotation index requires admin privileges.
post/api/v3/search/{indexName}
Request
- Base URL/ (relative, and the document was published on a file host, not at the API’s origin)
- AuthAPI key in cookie JSESSIONID
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
indexName'encounter' | 'individual' | 'occurrence' | 'annotation' | 'sighting' | 'user' required
Name of the index to search
Query parameters
frominteger
Pagination offset
sizeinteger
Number of results to return
sortstring
Sort field
sortOrder'asc' | 'desc'
Sort order
Request body
Search Query required
OpenSearch/Elasticsearch query body
Response
Search results
Changes
No recorded changes to this operation across all 7 revisions of this API.