> ## Documentation Index
> Fetch the complete documentation index at: https://docs.usenexio.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Read the steps of renewal calls

> A scoped key needs actions:read beside book:read: every plan row is computed from the action ledger (workflow stage and retention outlook), so a key without it is refused with 403 insufficient_capability. The read decides only the named plans for the caller's scope, then reads their last step and next step; it runs no list search.



## OpenAPI

````yaml /openapi.generated.json get /engines/{engineSlug}/renewal-plans/steps
openapi: 3.1.0
info:
  description: >-
    Public API reference. Generated from apps/engine/openapi.yaml by make
    docs-openapi-write. Do not edit.
  title: Nexio platform API
  version: '1'
servers:
  - url: https://api.usenexio.com
security: []
tags:
  - name: Access
  - name: Catalog
  - name: Conversations
  - name: Documents
  - name: Engines
  - name: Events
  - name: Feedback
  - name: Graph
  - name: Records
  - name: Roadmap
  - name: Runs
  - name: Webhooks
  - name: accounts
  - name: actions
  - name: activities
  - name: activity-feed
  - name: attachments
  - name: audit
  - name: benefit-plans
  - name: billing-transactions
  - name: carrier_documents
  - name: certificate-holders
  - name: certificate_drafts
  - name: certificates
  - name: change_feed
  - name: claims
  - name: classes
  - name: codes
  - name: commission_facts
  - name: connections
  - name: contacts
  - name: contingencies
  - name: conversations
  - name: customer
  - name: customer_contacts
  - name: deals
  - name: dependents
  - name: document_extractions
  - name: documents
  - name: drivers
  - name: eforms
  - name: employees
  - name: events
  - name: feature_requests
  - name: form-templates
  - name: invoices
  - name: leads
  - name: line_schedules_other
  - name: loss_history
  - name: machines
  - name: markets
  - name: motor-carriers
  - name: notes
  - name: opportunities
  - name: opportunity-signals
  - name: pages
  - name: personal_lines_detail
  - name: placement_choices
  - name: placement_feedback
  - name: placements
  - name: policies
  - name: policy_parties
  - name: policy_personnel
  - name: policy_transactions
  - name: premium_rows
  - name: procedures
  - name: proposals
  - name: quote_comparisons
  - name: quotes
  - name: records
  - name: register-views
  - name: renewal-entries
  - name: risk_review_choices
  - name: rollups
  - name: seats
  - name: sec-filings
  - name: service_agreements
  - name: submissions
  - name: suspenses
  - name: tasks
  - name: umbrella_underlying
  - name: underwriting_questions
  - name: uploaded_documents
  - name: vehicles
  - name: workflows
paths:
  /engines/{engineSlug}/renewal-plans/steps:
    get:
      tags:
        - Engines
      summary: Read the steps of renewal calls
      description: >-
        A scoped key needs actions:read beside book:read: every plan row is
        computed from the action ledger (workflow stage and retention outlook),
        so a key without it is refused with 403 insufficient_capability. The
        read decides only the named plans for the caller's scope, then reads
        their last step and next step; it runs no list search.
      operationId: listEngineRenewalPlanSteps
      parameters:
        - description: >-
            The person the read is made for (a WorkOS user id). Unset keeps the
            org-wide posture the key alone grants.
          in: header
          name: Nexio-Act-As
          schema:
            description: >-
              The person the read is made for (a WorkOS user id). Unset keeps
              the org-wide posture the key alone grants.
            type: string
        - description: >-
            The acting principal's verified email, lowercased. Ignored without
            Nexio-Act-As.
          in: header
          name: Nexio-Act-As-Email
          schema:
            description: >-
              The acting principal's verified email, lowercased. Ignored without
              Nexio-Act-As.
            type: string
        - description: Read as another member, for a caller whose seat may.
          in: header
          name: Nexio-Book-Lens
          schema:
            description: Read as another member, for a caller whose seat may.
            type: string
        - description: >-
            The Renewal Plan Engine in the caller's org, by its id or its slug
            (renewal-plans).
          in: path
          name: engineSlug
          required: true
          schema:
            description: >-
              The Renewal Plan Engine in the caller's org, by its id or its slug
              (renewal-plans).
            type: string
        - explode: false
          in: query
          name: connection_id
          schema:
            type: string
        - description: >-
            The selection the rows read carried, so the ids are decided under
            the scope it ran under: true narrows to the acting seat's own book.
          explode: false
          in: query
          name: mine
          schema:
            description: >-
              The selection the rows read carried, so the ids are decided under
              the scope it ran under: true narrows to the acting seat's own
              book.
            enum:
              - 'true'
              - 'false'
            type: string
        - description: >-
            As the rows read: one producer code whose book to read. Not
            combinable with mine.
          explode: false
          in: query
          name: book
          schema:
            description: >-
              As the rows read: one producer code whose book to read. Not
              combinable with mine.
            type: string
        - description: >-
            As the rows read: a producer code, a name key, or me. Repeat to
            select several.
          explode: false
          in: query
          name: producer
          schema:
            description: >-
              As the rows read: a producer code, a name key, or me. Repeat to
              select several.
            type: string
        - description: >-
            As the rows read: a client manager code, a name key, or me. Repeat
            to select several.
          explode: false
          in: query
          name: client_manager
          schema:
            description: >-
              As the rows read: a client manager code, a name key, or me. Repeat
              to select several.
            type: string
        - description: >-
            The plan rows to read the steps of, 1 to 200, as the list read
            served them (plan_id). Repeat the parameter to name several. Each
            must be an active plan in the caller's scope; one that is not
            refuses the read with 404, so a caller never learns which.
          explode: true
          in: query
          name: plan_id
          schema:
            description: >-
              The plan rows to read the steps of, 1 to 200, as the list read
              served them (plan_id). Repeat the parameter to name several. Each
              must be an active plan in the caller's scope; one that is not
              refuses the read with 404, so a caller never learns which.
            items:
              type: string
            type:
              - array
              - 'null'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EngineRenewalPlanStepsEnvelope'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: Not Found
        '429':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: Too Many Requests
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: Internal Server Error
        '503':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: Service Unavailable
      security:
        - bearer: []
components:
  schemas:
    EngineRenewalPlanStepsEnvelope:
      additionalProperties: false
      properties:
        data:
          items:
            $ref: '#/components/schemas/EngineRenewalPlanStepsRow'
          type:
            - array
            - 'null'
      required:
        - data
      type: object
    ErrorEnvelope:
      additionalProperties: false
      properties:
        code:
          description: The stable machine-readable error code. One meaning forever.
          type: string
        details:
          description: Structured detail for the code.
        message:
          description: A human-readable sentence about this occurrence.
          type: string
      required:
        - code
        - message
      type: object
    EngineRenewalPlanStepsRow:
      additionalProperties: false
      properties:
        next_status_key:
          description: The renewal register's status key when the term has no next action.
          type: string
        next_step_args:
          anyOf:
            - $ref: '#/components/schemas/RenewalActionArgs'
              description: The next step's arguments, set for annual_check_in only.
            - type: 'null'
        next_step_due:
          anyOf:
            - description: >-
                Due date of the next step; null when none is stated or
                steps_unread.
              type:
                - string
                - 'null'
            - type: 'null'
        next_step_key:
          description: >-
            The term's one next step: the plan workspace's (its checklist item
            id, or record_the_outcome once the term expired with no settled
            outcome); for a term the workspace names no step for (a settled
            term), the renewal register's next action key from its AMS 360
            activity and Workbench stage record. Empty when next_status_key is
            set or no step is served.
          type: string
        next_step_label:
          description: >-
            The next step's words: the plan workspace's item, or the org's
            renewal_stage machine's words for a register key.
          type: string
        plan_id:
          type: string
        status:
          anyOf:
            - $ref: '#/components/schemas/EngineRenewalPlanStatus'
              description: >-
                The status line for the term, as the list read serves it, with
                the next step once read: the renewal_outcome label (and Next:
                the next step unless settled) for a recorded state, else the
                next step and its due date; null when there is nothing to say.
            - type: 'null'
        steps:
          anyOf:
            - $ref: '#/components/schemas/BookRenewalStepsRow'
              description: >-
                The term's last AMS 360 activity, open step and last Workbench
                stage record; null when steps_unread.
            - type: 'null'
        steps_unread:
          description: >-
            True when the term's steps were not read: the step read failed, or
            the renewal register does not serve the term (outside its window).
            The step fields are then absent, never no recorded work.
          type: boolean
      required:
        - plan_id
        - next_step_due
        - next_step_args
        - steps
        - status
      type: object
    RenewalActionArgs:
      additionalProperties: false
      properties:
        renewal_certificate:
          description: >-
            annual_check_in only: the line is a bond, surety, dealer or garage
            line, so the check-in also asks for what the renewal certificate
            needs. False on a row that serves no line.
          type: boolean
      required:
        - renewal_certificate
      type: object
    EngineRenewalPlanStatus:
      additionalProperties: false
      properties:
        detail:
          description: >-
            The second line: Next: and the next step for a recorded state; Due
            and the day for a next step with a due date; null when there is
            none.
          type:
            - string
            - 'null'
        label:
          description: >-
            The first line: the renewal_outcome label for a term with a recorded
            state; for a term with nothing recorded, its next step (never the
            words Nothing recorded).
          type: string
        tone:
          description: >-
            The tone the label is shown with: the outcome's tone for a recorded
            state, neutral for a next step.
          enum:
            - neutral
            - positive
            - warning
            - danger
          type: string
      required:
        - label
        - detail
        - tone
      type: object
    BookRenewalStepsRow:
      additionalProperties: false
      properties:
        ams:
          $ref: '#/components/schemas/BookRenewalAMSStep'
        auto_id_on:
          type:
            - string
            - 'null'
        certificate_on:
          type:
            - string
            - 'null'
        datasource:
          type: string
        open_step:
          $ref: '#/components/schemas/BookRenewalOpenStep'
        policy_id:
          type: string
        workbench:
          $ref: '#/components/schemas/BookRenewalWorkbenchStep'
      required:
        - datasource
        - policy_id
        - ams
        - open_step
        - auto_id_on
        - certificate_on
        - workbench
      type: object
    BookRenewalAMSStep:
      additionalProperties: false
      properties:
        action:
          type: string
        occurred_on:
          type: string
        scope:
          enum:
            - policy
            - account
          type: string
        source:
          enum:
            - activity
            - suspense
          type: string
        step:
          type: string
      required:
        - action
        - step
        - scope
        - source
        - occurred_on
      type: object
    BookRenewalOpenStep:
      additionalProperties: false
      properties:
        action:
          type: string
        assigned_to_name:
          type:
            - string
            - 'null'
        due_on:
          type:
            - string
            - 'null'
        step:
          type: string
      required:
        - action
        - step
        - due_on
        - assigned_to_name
      type: object
    BookRenewalWorkbenchStep:
      additionalProperties: false
      properties:
        at:
          format: date-time
          type:
            - string
            - 'null'
        reason:
          type:
            - string
            - 'null'
        stage:
          type: string
      required:
        - stage
        - reason
        - at
      type: object
  securitySchemes:
    bearer:
      description: The org's platform API key.
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.