Pagination
Use these query parameters on paginated endpoints:page: Page number, beginning with1.page_size: Number of results per page. The default is50, and JSON responses accept up to100.
links.next until it is null. This avoids calculating page URLs yourself.
Filtering
Filtering and sorting options are specific to each endpoint. The endpoint’s API Reference lists every supported query parameter, its accepted format, and whether it is required. Many filters accept Peerlogic resource IDs. Use the identifiers returned by the API, especially the organization and practice IDs described in Organization, practice, and resource IDs.Filter naming conventions
Some filter names use double underscores (__) to express a relationship or comparison:
Relationships can span more than one resource, so a supported parameter can contain multiple double-underscore segments. Send the complete parameter name exactly as it appears in the API Reference.
Other common conventions include:
- Parameters ending in
_afteror_beforedefine time boundaries. Check the endpoint description to determine whether each boundary is inclusive or exclusive. - Boolean filters accept the values documented by the endpoint.
searchperforms the endpoint’s supported text search.sortororderingselects a supported sort field. Prefix the field with-for descending order when the endpoint supports that convention.
Do not assume that a filter supported by one list endpoint is available on another. Unsupported query parameters may be ignored.