Need help? Open a Clearline Support ticket or browse support articles.
On this page

Pagination, filtering, and errors

Clearline confirms supported pagination, filtering, rate limits, and error behavior during read-only API onboarding. Access is optional, tenant-scoped, and disabled unless provisioned by Clearline.

Endpoint and response examples below are placeholders until Clearline confirms the exact implementation for your tenant.

Pagination#

List endpoints may use page-based pagination.

GET /api/v1/samples?page=2&page_size=50 HTTP/1.1
Host: api.example.clearlinelims.test
Authorization: Bearer EXAMPLE_READ_ONLY_TOKEN
Accept: application/json

Typical pagination metadata may include:

{
"page": 2,
"page_size": 50,
"total_pages": 8,
"total_count": 391
}

Use a conservative page size unless Clearline Support confirms a higher limit for your integration.

Filtering#

Supported filters vary by endpoint and tenant. Common read-only filters may include:

FilterTypical use
updated_sinceRetrieve records changed since a known timestamp.
received_sinceRetrieve recently received samples where enabled.
published_sinceRetrieve recently published reports where enabled.
statusLimit results to supported customer-facing statuses.
client_idLimit records to an authorized client scope.
project_idLimit records to an authorized project scope.

Avoid polling aggressively. Clearline Support will confirm expected query frequency during onboarding.

Error responses#

Typical error responses may include:

StatusMeaningRecommended action
400Invalid filter, date, or pagination value.Correct the request and retry.
401Missing, expired, revoked, or invalid credential.Check credential handling; contact Clearline Support if needed.
403Token is authenticated but the requested resource is outside the provisioned scope.Confirm the requested tenant, client, project, or data area.
404The record was not found or is not available within the token scope.Confirm the identifier and access scope.
429Rate limit reached.Back off and retry later according to onboarding guidance.
500Service error.Retry cautiously; contact Clearline Support if repeated.

Support escalation#

When contacting Clearline Support about API behavior, include:

  1. timestamp and timezone;
  2. endpoint path without secrets;
  3. HTTP status code;
  4. correlation or request ID if provided;
  5. tenant and integration name;
  6. sanitized request parameters;
  7. whether the issue is blocking a production workflow.

Never include bearer tokens or downloaded sensitive data in the support ticket.

See also#