Skip to main content
GET
List ranked renewal calls

Authorizations

Authorization
string
header
required

The org's platform API key.

Headers

Nexio-Act-As
string

The person the read is made for (a WorkOS user id). Unset keeps the org-wide posture the key alone grants.

Nexio-Act-As-Email
string

The acting principal's verified email, lowercased. Ignored without Nexio-Act-As.

Nexio-Book-Lens
string

Read as another member, for a caller whose seat may.

Path Parameters

engineSlug
string
required

The Renewal Plan Engine in the caller's org, by its id or its slug (renewal-plans).

Query Parameters

mine
enum<string>

true narrows to the acting seat's own book.

Available options:
true,
false
book
string

One producer code whose book to read. Not combinable with mine.

producer
string

A producer code, a name key, or me. Repeat the parameter to select several (an OR); a comma is part of a value, never a separator.

client_manager
string

A client manager code, a name key, or me. Repeat the parameter to select several (an OR); ANDs with producer.

account
string

An explicit account key; labels the served selection account.

risk
string

Old links: comma-separated bands to keep, read as hide.risk of the others.

sort
enum<string>

rank (the default) is the plan's order; due and expiration are nearest first; premium is smallest first and -premium largest first, a renewal with no premium last either way; producer.name is the producer's name A to Z, each producer's renewals in plan order and a renewal with no producer last.

Available options:
rank,
due,
expiration,
premium,
-premium,
producer.name
limit
string

Page size, 1 to 200; default 50.

offset
string

Rows to skip, 0 to 10000.

due_within_days
string

Calls due within 1 to 180 days of the run pin.

connection_id
string
q
string

Keeps renewals whose account name holds these words (any case, spacing, punctuation and plural ignored), or whose policy number or carrier contains this text.

world
string[] | null

Keeps renewals in any of these books, by the line class the plan row carries. Repeat the parameter to select several.

line
string[] | null

Keeps renewals on any of these lines, by the source's own wording. Repeat the parameter to select several.

carrier
string[] | null

Keeps renewals with any of these carriers. Repeat the parameter to select several.

office
string[] | null

Keeps renewals of any of these offices, by agency code. Repeat the parameter to select several.

bill_method
string[] | null

Keeps renewals billed by any of these methods as AMS 360 records them: agency or direct. Repeat the parameter to select both.

market
string

Keeps renewals of the offices the org units place in this reporting market; all, or none sent, keeps every market. The office options are counted without it, so they list every market's offices.

premium_gte
string

Premium floor in whole dollars. A renewal with no premium fails a floor.

Pattern: ^[0-9]{1,12}$
expires_within_days
string

Keeps renewals whose term expires before this many days past the run pin, 0 to 3650; 0 is off.

state
enum<string>

open serves open work and is the default; top_quarter serves the open renewals in their owner's top quarter: per owner (the client manager, else the producer) among the open renewals the read admits, the first quarter rounded up, at least one, by commission revenue, a renewal with none after those with some, by premium, or by premium alone for a seat withheld revenue; q and due_within_days narrow the rows shown, never the list ranked; refused with account and on the summary; done serves terms AMS 360 finished or a person closed; all serves both.

Available options:
open,
top_quarter,
done,
all
hide.stage
string

Comma-separated renewal_stage values to hide, read live against the org's declared machine. Empty or none turns it off.

hide.risk
string

Comma-separated risk bands to hide: at_risk, watch, steady.

hide.closed_by
string

Comma-separated values to hide: producer_closed, a finished term AMS 360 names the person who keyed or worked its live successor for; not_producer_closed, every other row.

options_q.carrier
string

Narrows the carrier options to values with a word starting each typed word, in any order, ignoring case and accents.

options_q.line
string

Narrows the line options.

options_q.office
string

Narrows the office options.

options_q.world
string

Narrows the book options.

include
enum<string>[] | null

detail serves one row's detail beside the page (detail), as getEngineRenewalPlan serves it; it needs account. marks serves the market mark of every carrier the page and its detail name (marks), as getMarketMarks serves them to the caller.

Available options:
detail,
marks
detail_policy
string

With include=detail: the policy_id of the page row to detail. Absent, the row of the term the account's renewal workspace opens on (in force and expiring soonest) when the page serves it; otherwise, and when the search names a producer or client manager, the first open row, else the first row. A named policy the page does not serve has no detail.

steps
enum<string>

omit serves the rows without their last step and next step (steps, next_step_args and next_step_due are null, next_step_key, next_step_label and next_status_key are absent, and steps_unread is false), so the page answers without waiting on the steps read. Absent, each row carries its steps.

Available options:
omit
facets
string

producer, client_manager or both, comma separated: the owner facets (facets.producer, facets.client_manager), the AMS 360 codes the seat's admitted plan rows name under every view filter, each with its staff name and its renewals, busiest first, counted without that owner selection, capped (facets.producer_truncated, facets.client_manager_truncated say it was cut). A code the staff register does not name is not listed.

cursor
string

The page.next_cursor of the page before: the next page of the same read, in the same order, with the rows it held when the cursor was minted. It fixes nothing but the position, so send the same filters and sort; another read's cursor is refused (400 cursor_filter_mismatch), and one from before a new run published is expired (409 cursor_expired). Not with offset.

rows_only
enum<string>

true serves the page's rows and page.next_cursor alone: no total, premium_total, view or facets is read, and the answer says rows_only: true. The rows and their order are the full read's for the same filters.

Available options:
true,
false
figures_only
enum<string>

true serves total, premium_total, view and facets alone, with no rows: data is empty, page.next_cursor is absent and the answer says figures_only: true. They match the full read's for the same filters. Not with rows_only, cursor or offset (400).

Available options:
true,
false
owner_q
string

Words that each start a word of an owner's name, or equal an owner's AMS 360 code, in any order, at most 64 characters. It narrows the owner facets' lists (search a list the facet cap cut) and selects no renewal, moves no count and reads under the same admission.

Maximum string length: 64

Response

OK

data
object[] | null
required
page
object
required
premium_total
string
required

The premiums of every renewal the filters keep, summed as a decimal string; a renewal with no premium adds nothing. 0 when none carries one.

serving
object
required
total
integer<int64>
required
detail
object

With include=detail: one page row, as the page serves it (steps included), with its renewal workspace as getEngineRenewalPlan serves it: the row whose policy_id is detail_policy, else the row detail_policy describes as the default. Absent when the page has no such row, or detail_unread.

detail_unread
boolean

True when include=detail picked a row and its workspace could not be read; read the row with getEngineRenewalPlan.

facets
object

With facets=: the owner facets it named.

figures_only
boolean

True when the request sent figures_only: the answer holds total, premium_total, view and facets alone. data is empty because no row was read, not because the plan is empty.

marks
object

With include=marks: each carrier label the page rows and the detail's offer name, keyed by the label as served, with its market mark exactly as getMarketMarks answers it to the caller (market_id null for a label that names no market). Absent when no row or offer names a carrier, or marks_unread.

marks_unread
boolean

True when include=marks was asked and the caller's marks read did not answer (it refused the seat, or failed); read the marks with getMarketMarks.

rows_only
boolean

True when the request sent rows_only: the answer holds the page and page.next_cursor alone. total, premium_total, view and facets are absent because no figure was read, not because they are zero.

view
object

The filters this read applied, with option counts, defaults and hidden counts. Absent before the first publish.