List a partner's terms versions
/lokta-lms/api/v1/sourcing-partners/{partnerId}/termsLists every terms version a sourcing partner has had, newest first.
Every version this partner has ever had, newest first, each with its fee lines and each line's slabs inline. An agreement read a line at a time can be rendered half-applied.
product_id / product_name are null on the partner's default agreement and populated on a product-specific override. product_id is the ledger's own numeric loan-product id, not one of this API's opaque ids: a core id travels as itself.
guarantee is a single nested object or null; a percentage without an invocation window is not a partial guarantee. method and accrual_frequency are enums and arrive as bare lower-case strings; basis and guarantee.form are lookups and arrive as {code, label} with upper codes.
slabs arrive ordered by from_principal ascending and that order is contractual. order_position is not published; reading bands out of order computes the wrong fee at a band boundary while every individual number still looks right.
An unknown partner is a 404 on the partner, not an empty list: "has no agreements" and "does not exist" are different answers.
Path parameters
partnerIdpath · string · requiredOpaque partner id, spr_…
Query parameters
limitquery · integer · int32 · optionalDefault 25, maximum 100
cursorquery · string · optionalOpaque; never parse it
Responses
defaultdefault responseEvery request authenticates with HTTP Basic and carries a Tenant-Identifier header. See the conventions for dates, commands, pagination and errors.
Open this operation in the interactive explorer, or read it as Markdown.
This is the API reference for Lokta, the agentic loan servicing platform. Go to lokta.ai