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

# List the open onboardings an access policy can still change

> List the open onboardings whose "Choose apps" task has not run yet, to do or scheduled, soonest start first: the ones a newly published access policy can still change. Each one can be named in `onboardingIdsToUpdate` of `publishSaasRule` or `updateSaasRule` with `publish: true`, which then gives its "Choose apps" task the apps the published policies propose. Empty when the company does not use the tasks interaction model. Changes nothing and calls no AI.

Key: ReadScope: Company


## OpenAPI

````yaml https://api.getprimo.com/openapi.json get /saas/onboardings-awaiting-saas-selection
openapi: 3.1.1
info:
  title: Public API - BETA
  description: Read docs on https://docs.getprimo.com/
  version: '1.0'
  contact: {}
servers:
  - url: https://api.getprimo.com
security:
  - apikey: []
tags: []
paths:
  /saas/onboardings-awaiting-saas-selection:
    get:
      tags:
        - Saas
      summary: List the open onboardings an access policy can still change
      description: >-
        List the open onboardings whose "Choose apps" task has not run yet, to
        do or scheduled, soonest start first: the ones a newly published access
        policy can still change. Each one can be named in
        `onboardingIdsToUpdate` of `publishSaasRule` or `updateSaasRule` with
        `publish: true`, which then gives its "Choose apps" task the apps the
        published policies propose. Empty when the company does not use the
        tasks interaction model. Changes nothing and calls no AI.
      operationId: getOnboardingsAwaitingSaasSelection
      parameters: []
      responses:
        default:
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OnboardingsAwaitingSaasSelection_Output'
components:
  schemas:
    OnboardingsAwaitingSaasSelection_Output:
      type: object
      properties:
        onboardings:
          type: array
          description: Soonest start first.
          items:
            type: object
            properties:
              onboardingId:
                description: The onboarding to name in onboardingIdsToUpdate.
                type: string
              name:
                description: >-
                  The new hire, as the admin knows them. Null when the
                  onboarding names nobody yet.
                anyOf:
                  - type: string
                  - type: 'null'
              startDate:
                description: The start date of the new hire (ISO 8601).
                anyOf:
                  - type: string
                  - type: 'null'
              taskStatus:
                description: >-
                  "PENDING": the "Choose apps" task waits for an admin.
                  "SCHEDULED": it runs at scheduleDate.
                type: string
                enum:
                  - PENDING
                  - SCHEDULED
              scheduleDate:
                description: When a scheduled "Choose apps" task runs (ISO 8601).
                anyOf:
                  - type: string
                  - type: 'null'
            required:
              - onboardingId
              - name
              - startDate
              - taskStatus
              - scheduleDate
            additionalProperties: false
      required:
        - onboardings
      additionalProperties: false
  securitySchemes:
    apikey:
      scheme: bearer
      bearerFormat: API key
      type: http
      description: >-
        Use your Primo API key in the Authorization header as `Bearer
        <API_KEY>`.

````

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