API

Create investments

Batch-create 1–100 manual holdings.

Creates 1–100 manual holdings in a group in one call. Keeps at most 1000 holdings per group by dropping the oldest. Each row needs its own idempotencyKey. Counts as one write toward the rate limit. Bank holdings cannot be created.

POST/v1/create_investments

Body

FieldTypeRequiredDefaultDescription
budgetIdstringYes—Budget that owns the group.
groupIdstringYes—Manual investment group id.
investmentsarrayYes—Rows of { idempotencyKey, name, balance, … } (1–100).

Response data

FieldTypeDescription
resultsarrayPer-index create outcome.