debugging

Cut and price an import

Cut files into data points, batch them and price them against what is left to spend. Writes nothing, spends nothing, and leaves no row in the request log.

post/api/v1/ingest/estimate

Request

  • Base URL: https://api.past.dev
  • URL: https://api.past.dev/api/v1/ingest/estimate
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer

Request body

timeZonestring

IANA zone reading the times a file writes without one. UTC when omitted.

points'none' | 'summary' | 'full'

How much of each point the answer lists.

Response

The cut, the batches to send it in, and what it costs.

dataPointsinteger required
bytesinteger required
creditsnumber nullable required

Null when nothing is metered.

pointsOmittedinteger required

The points past the listing cap.

fitsboolean required

Whether the whole import fits what is left to spend.

fitsFirstinteger required

How many points, in time order, do fit.

meteredboolean required

False on a deployment with no plan.

timeZonestring required

Changes

No recorded changes to this operation across all 1 revision of this API.