Siren

Distributions

REST API reference for distributions — read-only listing and retrieval, plus manual metric crediting.

Last updated: April 8, 2026

Distributions

A distribution represents a scheduled payout from a distributor. When obligations accumulate and a distributor’s payout cycle triggers, the system groups those obligations into a distribution with a total value and a trigger date. Each distribution tracks its own status through the fulfillment lifecycle and carries a set of allocations linking it back to the individual obligations it covers.

Distributions are read-only through the REST API. They are created internally by the distribution engine when payout conditions are met. The only write action available is crediting a manual metric to a collaborator, which lives on the distributors endpoint.

The Distribution Object

FieldTypeDescription
idintegerUnique identifier
distributorIdintegerID of the distributor this distribution belongs to
statusstringCurrent distribution status
valueintegerTotal value of the distribution, in the smallest currency or points unit
triggerDatedatetimeWhen the distribution is scheduled to be triggered
dateCreateddatetimeWhen the distribution was created
dateModifieddatetimeWhen the distribution was last modified

Extended Fields (via ?fields=)

These fields are resolved dynamically via the field resolver system and must be explicitly requested:

FieldTypeDescription
distributorNamestringDisplay name of the associated distributor
distributorUnitsstringUnit label configured on the distributor (e.g., USD, points)
allocationCountintegerNumber of allocations (obligations) included in this distribution
allocationsobject[]Array of allocation objects, each containing distributionId, obligationId, and status

Endpoints

All endpoints require authentication and are scoped to the current tenant (organization). Distributions are read-only through the REST API. The only write action available is crediting a manual metric to a collaborator. See the individual endpoint pages in the sidebar for full request and response details.

Relationship to Other Resources

  • Distributor (parent). Every distribution belongs to a distributor via distributorId. The distributor defines the payout rules, units, and metric configuration that ultimately produce distributions.
  • Obligation (upstream). Distributions aggregate approved obligations. Each allocation within a distribution references one obligation via obligationId.
  • Metric (related). Metrics track collaborator scores against distributors. The credit-metric endpoint creates or updates metric records, which feed into the distribution engine’s calculations.