Advanced: fees

List a calculation chain's events

Returns what happened to a calculation chain you can read, oldest first: revisions published, the record it was copied from, its deprecation, and marketplace slots binding or unbinding it.

GET /calculation-chains/{calculation_chain_id}/events

Returns what happened to a calculation chain you can read, oldest first: revisions published, the record it was copied from, its deprecation, and marketplace slots binding or unbinding it.

  • The chain's owner sees every event; anyone else only publish events.
  • A 404 means the chain is not visible to you.

Usage

NameDescription
AuthenticationAPI key required
Credit costFree

Parameters

NameInTypeRequiredDescription
calculation_chain_idpathintegerYesID of the calculation chain.

Responses

StatusDescriptionSchema
200Successful ResponseEnvelope_list_EventOut__
401Authentication is missing or invalidErrorEnvelope
403The credential is valid but not allowed to call this operationErrorEnvelope
404The requested resource does not existErrorEnvelope
422A parameter or the request body is invalidErrorEnvelope
429Too many requests to this endpoint; retry laterErrorEnvelope
503The service is temporarily unavailable; retry laterErrorEnvelope

Models

CreditMeta

Credit accounting for a billable request.

FieldTypeRequiredDescription
costintegerYesCredits this request costs.
remainingintegerYesEstimated credit balance left after this request. A hint rather than a ledger: concurrent requests can make it slightly off.

Envelope_list_EventOut__

FieldTypeRequiredDescription
dataarray of EventOutYesThe endpoint payload.
metaMetaYesRequest metadata.

ErrorBody

Details of a failed request.

FieldTypeRequiredDescription
codestringYesStable machine-readable error code. Branch on this value, not on message.
messagestringYesHuman-readable explanation. The wording may change.
detailsobject or nullNoOptional structured context, such as the list of validation errors or, for credit_insufficient, the required and remaining credits.

ErrorEnvelope

Error response: the error in error plus request metadata in meta.

FieldTypeRequiredDescription
errorErrorBodyYesWhat went wrong.
metaMetaYesRequest metadata.

EventOut

Something that happened to a calculation chain.

FieldTypeRequiredDescription
idintegerYesEvent ID; events are listed oldest first.
typestringYespublish (a revision was saved), fork / officialize (the chain was created as a copy; detail names the source), deprecate, bind / unbind (a marketplace slot started or stopped using it). Only its owner sees anything but publish. Values: publish, fork, officialize, deprecate, bind, unbind, delete.
revisioninteger or nullYesThe revision concerned, if any.
actorstringYesuser (a person's API key) or platform. Values: user, platform.
actor_user_idstring or nullYesThe acting user; null unless it is you.
website_codestring or nullYesMarketplace of a bind / unbind.
purposestring or nullYesPurpose of a bind / unbind.
detailobjectYesEvent specifics: source_id / source_revision of a copy; owner_scope (personal or official) and previous of a binding change.
created_atstringYesWhen it happened (ISO 8601, UTC).

Meta

Request metadata included in every enveloped response.

FieldTypeRequiredDescription
request_idstringYesUnique identifier of this request, identical to the X-Request-ID response header. Quote it when contacting support.
billableboolean or nullNoWhether the request is billed in credits. Present only on metered endpoints; false means the request is free, for example because it costs nothing or your subscription covers it.
creditCreditMeta or nullNoCost of the request and your estimated remaining balance. Present only when billable is true.
pagePageMeta or nullNoPaging state. Present only on a response that lists a page.

PageMeta

Where a paged list stands after this page.

FieldTypeRequiredDescription
limitintegerYesPage size actually applied to this request.
has_nextbooleanYesWhether another page follows.
next_cursorstring or nullYesPass it back unchanged as cursor to get the next page; null once the list is complete.

Download the public OpenAPI schema