Pagination
The pagination.conf file defines default and maximum pagination limits used by Enterprise list endpoints that support limit, offset, and, on some endpoints, sort.
Configuration
{
"defaultLimit": 100,
"maxLimit": 1000
}
Fields
defaultLimit: applied whenlimitis not provided by the client.maxLimit: upper bound accepted forlimit.
offset is not configurable — it always defaults to 0 when omitted.
Query parameters
limit(integer, optional): number of entries to return. Defaults todefaultLimit; must be greater than0and less than or equal tomaxLimit.offset(integer, optional): number of entries to skip. Defaults to0; must be greater than or equal to0.sort(string, optional): only accepted on endpoints marked Sortable in the table below. Supported values:createdDateTimeorcreatedDateTime-— newest created first (the bare value is shorthand for-, descending)createdDateTime+— oldest created first (ascending)updatedDateTimeorupdatedDateTime-— most recently updated first (descending)updatedDateTime+— least recently updated first (ascending)
Passingsorton an endpoint that isn't marked Sortable returns400 Bad Request. Whensortis omitted, each endpoint falls back to its own default order, which isn't necessarily insertion order — passsortexplicitly if your client depends on ordering.
The + in createdDateTime+ / updatedDateTime+ must be URL-encoded as %2B. A literal, unencoded + in a query string is decoded as a space by the server, so ?sort=createdDateTime+ pasted directly into a browser or a raw HTTP client is received as "createdDateTime " and rejected with 400 Bad Request. HTTP client libraries that percent-encode query parameters for you (most SDKs, curl --data-urlencode) are unaffected.
Validation behavior
For list endpoints using this pagination contract, the API returns 400 Bad Request when:
limit <= 0limit > maxLimitoffset < 0limitoroffsetis not an integersortis provided on an endpoint that doesn't support itsortis provided with a value outside the supported list above
Endpoint behavior
The following list endpoints support this contract:
| Endpoint | Sortable |
|---|---|
GET /v1/{target}/resource-api/resources/list | No |
GET /v1/{target}/credential-store-service-api/credentials/list | Yes |
GET /v1/{target}/credential-store-service-api/credentials/list-ids | No |
GET /v1/{target}/did-store-service-api/dids | Yes |
GET /v1/{target}/did-store-service-api/dids/list-did-ids | No |
GET /v1/{target}/kms-service-api/keys/list | Yes |
GET /v1/{target}/x509-store-api/certificates | Yes |
GET /v1/{target}/x509-store-api/certificates/ids | No |
GET /v2/{target}/issuer-service-api/sessions | Yes |
GET /v1/{target}/verifier2-service-api/sessions | Yes |
GET /v1/{target}/policy-store-service-api/policies/list | No |
GET /v1/{target}/policy-store-service-api/policies/list-ids | No |
GET /v1/{target}/credential-status-service-api/status-credential/list | No |
GET /v1/{target}/vical-service-api/versions/ids | No |
Responses remain arrays (no pagination envelope is added).
See also: List Service Resources and Manage Certificates for worked examples.
