Skip to main content
This contract describes the endpoint your system exposes, which Hyperline calls to pull records. Configure the connection and schedule in the data loader interface. HTTP connections must be enabled for your account.

Endpoint and authentication

Use a public HTTPS URL without URL credentials, a query string or a fragment. Hyperline does not follow redirects or connect to private network addresses. Choose GET or a read-only POST; requests may be retried. The source must accept one of these authentication methods: Use a credential issued by your source system, not a Hyperline API key. Hyperline encrypts the stored credential and does not return it in connection responses. OAuth is not supported. When editing a connection, leave the credential blank to keep it; changing the endpoint or authentication method/header requires entering the credential again.

Request parameters

For GET, accept parameters in the URL query string. For POST, accept the same parameters in a JSON body. Hyperline sends Accept: application/json and Content-Type: application/json. Only the selected pagination mode is used. Accept absent date bounds and return up to limit records of any age for samples. When dates are provided, return records matching from <= timestamp < to. The source must accept imports with limit=1000; accepting only the sample’s smaller limit is insufficient. No total-count endpoint or response field is required.

Import window

  • On the first run, from is 24 hours before the data loader was created.
  • On subsequent runs, from is 24 hours before the previous successful fetch window’s to.
  • to is captured when the current fetch starts. All pages and retries in that run use the same bounds.
  • A failed fetch does not advance the checkpoint. The checkpoint tracks records fetched and queued, not completion of ingestion or billing updates.
There is no configurable start date or automatic historical backfill. Records older than the first window are excluded even if they appear in a sample. Late records and updates outside the overlap window may require a separate import; contact support through the in-app chat.

Response records

Return a JSON object containing a data array. Each record is flat, like a database row: Keep usage properties at the same level as id, customerId and timestamp; do not nest them under usage or record. Arrays and nested objects are not supported. Return no more records than the requested limit. Stable IDs allow the existing ingestion pipeline to deduplicate overlapping fetches. For example, the final page of a cursor-paginated response can contain:

Cursor pagination

Include nextCursor in every response. Use a non-empty string when another page exists and null on the final page. Hyperline sends that string as cursor on the next request. Repeated cursors are rejected.

Offset pagination

Return the data array; nextCursor is not required. Hyperline increases offset by the number of records received and stops when a page contains fewer records than limit. An exact multiple of the page size requires a final empty page. Use stable ordering throughout pagination so changes to your source do not cause records to be skipped between pages.

Failures and limits

HTTP 429 and 5xx responses can be retried twice. Hyperline honors Retry-After delays up to 30 seconds; longer delays fail the pull for the scheduler to handle. Authentication failures, invalid JSON and invalid response records fail the pull. Repeated source failures stop automatic refresh attempts after the existing three-failure cutoff. Imports use the same ingestion, customer assignment and billing pipeline as other data loaders. The total record count is unknown while pages are being fetched. A chunk error does not discard the final fetched total: successful ingestion retries can still trigger batch completion, while the HTTP batch retains its error status. Completion waits for all queued records to be processed.

Troubleshooting

  • The sample succeeds but the import returns 400: check that the endpoint accepts limit=1000 and the from/to date parameters, not only the sample request.
  • The sample has records but the import is empty: compare record timestamps with the import window. Samples have no date filter.
  • Rows are missing across pages: verify stable ordering, cursor progression and filtering before returning each page.
  • HTTP is not offered in the connection form: contact support through the in-app chat to check availability for your account.
For setup steps, see Pull usage data with connectors.