/api/v1/get-my-limitsGet your own limits
Returns the spending limit that applies to the caller in one workspace, how much they have already spent in the current cycle, and when the counter resets.
PAYMENT_INITCall this before starting a movement to see what headroom you have. The limit
comes from the role you hold in the workspace you name, and amount_spent is
your own usage in the current cycle, so the difference between the two is what
you can still move before the counter resets. Because roles are
workspace-scoped, the answer applies to that workspace only: see
Roles and permissions.
Every field except role_name can be null, which means no spending policy is
set for your role. These are plain JSON nulls, not the nullable wrapper used
elsewhere in the API. cycle_period is W for a weekly cycle or M for a
monthly one, and cycle_day is the day of the week or the day of the month the
counter resets on. Your role limit is not the only constraint on a movement: the
vault it comes from has a limit of its own, described under
Vault policies.
workspace_idnumberrequired