> ## 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.

# Update the facts of a company's onboarding

> Set what you know of a company's stack, before or after its onboarding is created: only the facts you send change, each one replaced whole; an empty list or a null choice says « not known ». The Setup tasks are computed again from the facts: a platform, provider or tool the facts leave out is read as one the company does not have, and its tasks are skipped. Each fact is recorded under your name, as the partner's, or the Primo team's for a Primo email. Read the facts first with `getCompanyOnboarding`. Answers 409 for a company that is not activated yet. Only accessible with a Workspace API key or through the Workspace MCP.

Key: WriteScope: Workspace


## OpenAPI

````yaml https://api.getprimo.com/openapi.json patch /workspace/companies/{companyId}/onboarding/facts
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:
  /workspace/companies/{companyId}/onboarding/facts:
    patch:
      tags:
        - WorkspaceOnboarding
      summary: Update the facts of a company's onboarding
      description: >-
        Set what you know of a company's stack, before or after its onboarding
        is created: only the facts you send change, each one replaced whole; an
        empty list or a null choice says « not known ». The Setup tasks are
        computed again from the facts: a platform, provider or tool the facts
        leave out is read as one the company does not have, and its tasks are
        skipped. Each fact is recorded under your name, as the partner's, or the
        Primo team's for a Primo email. Read the facts first with
        `getCompanyOnboarding`. Answers 409 for a company that is not activated
        yet. Only accessible with a Workspace API key or through the Workspace
        MCP.
      operationId: updateCompanyOnboardingFacts
      parameters:
        - name: companyId
          required: true
          in: path
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateCompanyOnboardingFactsBody'
      responses:
        default:
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CompanyOnboarding_Output'
components:
  schemas:
    UpdateCompanyOnboardingFactsBody:
      type: object
      properties:
        devices:
          description: >-
            The devices the company has. A platform left out is read as one the
            company does not have
          type: object
          properties:
            platforms:
              type: array
              items:
                type: object
                properties:
                  platform:
                    type: string
                    enum:
                      - MACOS
                      - WINDOWS
                      - LINUX
                      - IOS
                      - ANDROID
                  count:
                    description: How many devices of this platform; null when not known
                    anyOf:
                      - type: integer
                        minimum: 0
                        maximum: 9007199254740991
                      - type: 'null'
                  managedByPrimo:
                    description: >-
                      false when the platform stays on its current MDM; true or
                      null when it moves to Primo
                    anyOf:
                      - type: boolean
                      - type: 'null'
                required:
                  - platform
                  - count
            totalCount:
              description: How many devices in all; null when not known
              anyOf:
                - type: integer
                  minimum: 0
                  maximum: 9007199254740991
                - type: 'null'
          required:
            - platforms
            - totalCount
        currentMdm:
          description: The MDM that manages each platform today, one entry per platform
          type: object
          properties:
            entries:
              type: array
              items:
                type: object
                properties:
                  platform:
                    type: string
                    enum:
                      - MACOS
                      - WINDOWS
                      - LINUX
                      - IOS
                      - ANDROID
                  vendor:
                    description: >-
                      NONE when no MDM manages the platform; OTHER with its name
                      otherwise
                    type: string
                    enum:
                      - NONE
                      - JAMF
                      - INTUNE
                      - MOSYLE
                      - KANDJI
                      - GPO_SCCM
                      - OTHER
                  otherName:
                    description: The name of an OTHER MDM; null otherwise
                    anyOf:
                      - type: string
                      - type: 'null'
                required:
                  - platform
                  - vendor
                  - otherName
          required:
            - entries
        hris:
          description: The HR systems the company uses
          type: object
          properties:
            entries:
              type: array
              items:
                type: object
                properties:
                  name:
                    description: The HRIS as the company calls it, e.g. PayFit
                    type: string
                    minLength: 1
                  komboToolId:
                    description: Kombo's tool id when known; null otherwise
                    anyOf:
                      - type: string
                      - type: 'null'
                  countryCode:
                    description: The country it pays in; null when not known
                    anyOf:
                      - type: string
                        pattern: ^[A-Z]{2}$
                      - type: 'null'
                required:
                  - name
                  - komboToolId
                  - countryCode
          required:
            - entries
        emailProviders:
          description: >-
            Every email provider the company uses: a provider left out is read
            as one it does not use
          type: object
          properties:
            entries:
              type: array
              items:
                type: object
                properties:
                  provider:
                    type: string
                    enum:
                      - GOOGLE_WORKSPACE
                      - MICROSOFT_365
                  countryCode:
                    anyOf:
                      - type: string
                        pattern: ^[A-Z]{2}$
                      - type: 'null'
                required:
                  - provider
                  - countryCode
          required:
            - entries
        chat:
          description: The chat tool the company uses; null when not known
          type: object
          properties:
            tool:
              anyOf:
                - type: string
                  enum:
                    - SLACK
                    - MICROSOFT_TEAMS
                    - OTHER
                - type: 'null'
            otherName:
              anyOf:
                - type: string
                - type: 'null'
          required:
            - tool
            - otherName
        edr:
          description: >-
            The EDR the company runs with Primo: the one its plan names; NONE
            for none
          type: object
          properties:
            vendor:
              anyOf:
                - type: string
                  enum:
                    - NONE
                    - SENTINEL_ONE
                    - THREATDOWN
                    - OTHER
                - type: 'null'
            otherName:
              anyOf:
                - type: string
                - type: 'null'
            managedBy:
              description: Who runs its console with Primo
              anyOf:
                - type: string
                  enum:
                    - PRIMO
                    - PROVIDER
                    - IT_TEAM
                - type: 'null'
          required:
            - vendor
            - otherName
        currentEdr:
          description: The EDR the company runs today, before Primo; NONE for none
          type: object
          properties:
            vendor:
              anyOf:
                - type: string
                  enum:
                    - NONE
                    - SENTINEL_ONE
                    - THREATDOWN
                    - MICROSOFT_DEFENDER
                    - CROWDSTRIKE
                    - SOPHOS
                    - OTHER
                - type: 'null'
            otherName:
              anyOf:
                - type: string
                - type: 'null'
            managedBy:
              description: Who runs its console today
              anyOf:
                - type: string
                  enum:
                    - IT_TEAM
                    - PROVIDER
                - type: 'null'
          required:
            - vendor
            - otherName
        buysDevices:
          description: Whether and where the company buys devices through Primo
          type: object
          properties:
            throughPrimo:
              description: Whether the company buys its devices through Primo
              anyOf:
                - type: boolean
                - type: 'null'
            countryCodes:
              description: The countries it buys in
              type: array
              items:
                type: string
                pattern: ^[A-Z]{2}$
          required:
            - throughPrimo
            - countryCodes
        admins:
          description: The people who will administer Primo for the company
          type: object
          properties:
            people:
              type: array
              items:
                type: object
                properties:
                  name:
                    type: string
                    minLength: 1
                  email:
                    anyOf:
                      - type: string
                      - type: 'null'
                required:
                  - name
                  - email
          required:
            - people
    CompanyOnboarding_Output:
      type: object
      properties:
        started:
          type: boolean
          description: >-
            Whether the company has an onboarding: activating the company starts
            it
        draft:
          type: boolean
          description: >-
            true until the onboarding is created with createCompanyOnboarding:
            the company sees no Setup before
        completedAt:
          description: When every Setup task was done or skipped; null while one is open
          anyOf:
            - type: string
              format: date-time
              pattern: >-
                ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
            - type: 'null'
        facts:
          type: object
          properties:
            devices:
              type: object
              properties:
                value:
                  anyOf:
                    - description: >-
                        The devices the company has. A platform left out is read
                        as one the company does not have
                      type: object
                      properties:
                        platforms:
                          type: array
                          items:
                            type: object
                            properties:
                              platform:
                                type: string
                                enum:
                                  - MACOS
                                  - WINDOWS
                                  - LINUX
                                  - IOS
                                  - ANDROID
                              count:
                                description: >-
                                  How many devices of this platform; null when
                                  not known
                                anyOf:
                                  - type: integer
                                    minimum: 0
                                    maximum: 9007199254740991
                                  - type: 'null'
                              managedByPrimo:
                                description: >-
                                  false when the platform stays on its current
                                  MDM; true or null when it moves to Primo
                                anyOf:
                                  - type: boolean
                                  - type: 'null'
                            required:
                              - platform
                              - count
                            additionalProperties: false
                        totalCount:
                          description: How many devices in all; null when not known
                          anyOf:
                            - type: integer
                              minimum: 0
                              maximum: 9007199254740991
                            - type: 'null'
                      required:
                        - platforms
                        - totalCount
                      additionalProperties: false
                    - type: 'null'
                known:
                  description: false when the fact was never set, or set empty
                  type: boolean
                source:
                  description: >-
                    Where the fact comes from: PARTNER for a partner, null when
                    not known
                  anyOf:
                    - type: string
                      enum:
                        - DEAL
                        - CALL
                        - PLAIN_THREAD
                        - PARTNER
                        - ADMIN_ANSWER
                        - PRIMO_TEAM
                    - type: 'null'
                updatedAt:
                  anyOf:
                    - type: string
                      format: date-time
                      pattern: >-
                        ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
                    - type: 'null'
                updatedBy:
                  description: Who set it last, by name
                  anyOf:
                    - type: string
                    - type: 'null'
              required:
                - value
                - known
                - source
                - updatedAt
                - updatedBy
              additionalProperties: false
            currentMdm:
              type: object
              properties:
                value:
                  anyOf:
                    - description: >-
                        The MDM that manages each platform today, one entry per
                        platform
                      type: object
                      properties:
                        entries:
                          type: array
                          items:
                            type: object
                            properties:
                              platform:
                                type: string
                                enum:
                                  - MACOS
                                  - WINDOWS
                                  - LINUX
                                  - IOS
                                  - ANDROID
                              vendor:
                                description: >-
                                  NONE when no MDM manages the platform; OTHER
                                  with its name otherwise
                                type: string
                                enum:
                                  - NONE
                                  - JAMF
                                  - INTUNE
                                  - MOSYLE
                                  - KANDJI
                                  - GPO_SCCM
                                  - OTHER
                              otherName:
                                description: The name of an OTHER MDM; null otherwise
                                anyOf:
                                  - type: string
                                  - type: 'null'
                            required:
                              - platform
                              - vendor
                              - otherName
                            additionalProperties: false
                      required:
                        - entries
                      additionalProperties: false
                    - type: 'null'
                known:
                  description: false when the fact was never set, or set empty
                  type: boolean
                source:
                  description: >-
                    Where the fact comes from: PARTNER for a partner, null when
                    not known
                  anyOf:
                    - type: string
                      enum:
                        - DEAL
                        - CALL
                        - PLAIN_THREAD
                        - PARTNER
                        - ADMIN_ANSWER
                        - PRIMO_TEAM
                    - type: 'null'
                updatedAt:
                  anyOf:
                    - type: string
                      format: date-time
                      pattern: >-
                        ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
                    - type: 'null'
                updatedBy:
                  description: Who set it last, by name
                  anyOf:
                    - type: string
                    - type: 'null'
              required:
                - value
                - known
                - source
                - updatedAt
                - updatedBy
              additionalProperties: false
            hris:
              type: object
              properties:
                value:
                  anyOf:
                    - description: The HR systems the company uses
                      type: object
                      properties:
                        entries:
                          type: array
                          items:
                            type: object
                            properties:
                              name:
                                description: The HRIS as the company calls it, e.g. PayFit
                                type: string
                                minLength: 1
                              komboToolId:
                                description: Kombo's tool id when known; null otherwise
                                anyOf:
                                  - type: string
                                  - type: 'null'
                              countryCode:
                                description: The country it pays in; null when not known
                                anyOf:
                                  - type: string
                                    pattern: ^[A-Z]{2}$
                                  - type: 'null'
                            required:
                              - name
                              - komboToolId
                              - countryCode
                            additionalProperties: false
                      required:
                        - entries
                      additionalProperties: false
                    - type: 'null'
                known:
                  description: false when the fact was never set, or set empty
                  type: boolean
                source:
                  description: >-
                    Where the fact comes from: PARTNER for a partner, null when
                    not known
                  anyOf:
                    - type: string
                      enum:
                        - DEAL
                        - CALL
                        - PLAIN_THREAD
                        - PARTNER
                        - ADMIN_ANSWER
                        - PRIMO_TEAM
                    - type: 'null'
                updatedAt:
                  anyOf:
                    - type: string
                      format: date-time
                      pattern: >-
                        ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
                    - type: 'null'
                updatedBy:
                  description: Who set it last, by name
                  anyOf:
                    - type: string
                    - type: 'null'
              required:
                - value
                - known
                - source
                - updatedAt
                - updatedBy
              additionalProperties: false
            emailProviders:
              type: object
              properties:
                value:
                  anyOf:
                    - description: >-
                        Every email provider the company uses: a provider left
                        out is read as one it does not use
                      type: object
                      properties:
                        entries:
                          type: array
                          items:
                            type: object
                            properties:
                              provider:
                                type: string
                                enum:
                                  - GOOGLE_WORKSPACE
                                  - MICROSOFT_365
                              countryCode:
                                anyOf:
                                  - type: string
                                    pattern: ^[A-Z]{2}$
                                  - type: 'null'
                            required:
                              - provider
                              - countryCode
                            additionalProperties: false
                      required:
                        - entries
                      additionalProperties: false
                    - type: 'null'
                known:
                  description: false when the fact was never set, or set empty
                  type: boolean
                source:
                  description: >-
                    Where the fact comes from: PARTNER for a partner, null when
                    not known
                  anyOf:
                    - type: string
                      enum:
                        - DEAL
                        - CALL
                        - PLAIN_THREAD
                        - PARTNER
                        - ADMIN_ANSWER
                        - PRIMO_TEAM
                    - type: 'null'
                updatedAt:
                  anyOf:
                    - type: string
                      format: date-time
                      pattern: >-
                        ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
                    - type: 'null'
                updatedBy:
                  description: Who set it last, by name
                  anyOf:
                    - type: string
                    - type: 'null'
              required:
                - value
                - known
                - source
                - updatedAt
                - updatedBy
              additionalProperties: false
            chat:
              type: object
              properties:
                value:
                  anyOf:
                    - description: The chat tool the company uses; null when not known
                      type: object
                      properties:
                        tool:
                          anyOf:
                            - type: string
                              enum:
                                - SLACK
                                - MICROSOFT_TEAMS
                                - OTHER
                            - type: 'null'
                        otherName:
                          anyOf:
                            - type: string
                            - type: 'null'
                      required:
                        - tool
                        - otherName
                      additionalProperties: false
                    - type: 'null'
                known:
                  description: false when the fact was never set, or set empty
                  type: boolean
                source:
                  description: >-
                    Where the fact comes from: PARTNER for a partner, null when
                    not known
                  anyOf:
                    - type: string
                      enum:
                        - DEAL
                        - CALL
                        - PLAIN_THREAD
                        - PARTNER
                        - ADMIN_ANSWER
                        - PRIMO_TEAM
                    - type: 'null'
                updatedAt:
                  anyOf:
                    - type: string
                      format: date-time
                      pattern: >-
                        ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
                    - type: 'null'
                updatedBy:
                  description: Who set it last, by name
                  anyOf:
                    - type: string
                    - type: 'null'
              required:
                - value
                - known
                - source
                - updatedAt
                - updatedBy
              additionalProperties: false
            edr:
              type: object
              properties:
                value:
                  anyOf:
                    - description: >-
                        The EDR the company runs with Primo: the one its plan
                        names; NONE for none
                      type: object
                      properties:
                        vendor:
                          anyOf:
                            - type: string
                              enum:
                                - NONE
                                - SENTINEL_ONE
                                - THREATDOWN
                                - OTHER
                            - type: 'null'
                        otherName:
                          anyOf:
                            - type: string
                            - type: 'null'
                        managedBy:
                          description: Who runs its console with Primo
                          anyOf:
                            - type: string
                              enum:
                                - PRIMO
                                - PROVIDER
                                - IT_TEAM
                            - type: 'null'
                      required:
                        - vendor
                        - otherName
                      additionalProperties: false
                    - type: 'null'
                known:
                  description: false when the fact was never set, or set empty
                  type: boolean
                source:
                  description: >-
                    Where the fact comes from: PARTNER for a partner, null when
                    not known
                  anyOf:
                    - type: string
                      enum:
                        - DEAL
                        - CALL
                        - PLAIN_THREAD
                        - PARTNER
                        - ADMIN_ANSWER
                        - PRIMO_TEAM
                    - type: 'null'
                updatedAt:
                  anyOf:
                    - type: string
                      format: date-time
                      pattern: >-
                        ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
                    - type: 'null'
                updatedBy:
                  description: Who set it last, by name
                  anyOf:
                    - type: string
                    - type: 'null'
              required:
                - value
                - known
                - source
                - updatedAt
                - updatedBy
              additionalProperties: false
            currentEdr:
              type: object
              properties:
                value:
                  anyOf:
                    - description: >-
                        The EDR the company runs today, before Primo; NONE for
                        none
                      type: object
                      properties:
                        vendor:
                          anyOf:
                            - type: string
                              enum:
                                - NONE
                                - SENTINEL_ONE
                                - THREATDOWN
                                - MICROSOFT_DEFENDER
                                - CROWDSTRIKE
                                - SOPHOS
                                - OTHER
                            - type: 'null'
                        otherName:
                          anyOf:
                            - type: string
                            - type: 'null'
                        managedBy:
                          description: Who runs its console today
                          anyOf:
                            - type: string
                              enum:
                                - IT_TEAM
                                - PROVIDER
                            - type: 'null'
                      required:
                        - vendor
                        - otherName
                      additionalProperties: false
                    - type: 'null'
                known:
                  description: false when the fact was never set, or set empty
                  type: boolean
                source:
                  description: >-
                    Where the fact comes from: PARTNER for a partner, null when
                    not known
                  anyOf:
                    - type: string
                      enum:
                        - DEAL
                        - CALL
                        - PLAIN_THREAD
                        - PARTNER
                        - ADMIN_ANSWER
                        - PRIMO_TEAM
                    - type: 'null'
                updatedAt:
                  anyOf:
                    - type: string
                      format: date-time
                      pattern: >-
                        ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
                    - type: 'null'
                updatedBy:
                  description: Who set it last, by name
                  anyOf:
                    - type: string
                    - type: 'null'
              required:
                - value
                - known
                - source
                - updatedAt
                - updatedBy
              additionalProperties: false
            buysDevices:
              type: object
              properties:
                value:
                  anyOf:
                    - description: Whether and where the company buys devices through Primo
                      type: object
                      properties:
                        throughPrimo:
                          description: Whether the company buys its devices through Primo
                          anyOf:
                            - type: boolean
                            - type: 'null'
                        countryCodes:
                          description: The countries it buys in
                          type: array
                          items:
                            type: string
                            pattern: ^[A-Z]{2}$
                      required:
                        - throughPrimo
                        - countryCodes
                      additionalProperties: false
                    - type: 'null'
                known:
                  description: false when the fact was never set, or set empty
                  type: boolean
                source:
                  description: >-
                    Where the fact comes from: PARTNER for a partner, null when
                    not known
                  anyOf:
                    - type: string
                      enum:
                        - DEAL
                        - CALL
                        - PLAIN_THREAD
                        - PARTNER
                        - ADMIN_ANSWER
                        - PRIMO_TEAM
                    - type: 'null'
                updatedAt:
                  anyOf:
                    - type: string
                      format: date-time
                      pattern: >-
                        ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
                    - type: 'null'
                updatedBy:
                  description: Who set it last, by name
                  anyOf:
                    - type: string
                    - type: 'null'
              required:
                - value
                - known
                - source
                - updatedAt
                - updatedBy
              additionalProperties: false
            admins:
              type: object
              properties:
                value:
                  anyOf:
                    - description: The people who will administer Primo for the company
                      type: object
                      properties:
                        people:
                          type: array
                          items:
                            type: object
                            properties:
                              name:
                                type: string
                                minLength: 1
                              email:
                                anyOf:
                                  - type: string
                                  - type: 'null'
                            required:
                              - name
                              - email
                            additionalProperties: false
                      required:
                        - people
                      additionalProperties: false
                    - type: 'null'
                known:
                  description: false when the fact was never set, or set empty
                  type: boolean
                source:
                  description: >-
                    Where the fact comes from: PARTNER for a partner, null when
                    not known
                  anyOf:
                    - type: string
                      enum:
                        - DEAL
                        - CALL
                        - PLAIN_THREAD
                        - PARTNER
                        - ADMIN_ANSWER
                        - PRIMO_TEAM
                    - type: 'null'
                updatedAt:
                  anyOf:
                    - type: string
                      format: date-time
                      pattern: >-
                        ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
                    - type: 'null'
                updatedBy:
                  description: Who set it last, by name
                  anyOf:
                    - type: string
                    - type: 'null'
              required:
                - value
                - known
                - source
                - updatedAt
                - updatedBy
              additionalProperties: false
          required:
            - devices
            - currentMdm
            - hris
            - emailProviders
            - chat
            - edr
            - currentEdr
            - buysDevices
            - admins
          additionalProperties: false
        sections:
          type: array
          description: The Setup's progress, section by section
          items:
            type: object
            properties:
              product:
                type: string
                enum:
                  - CORE_PLATFORM
                  - HELPDESK
                  - AI_AND_AGENTS
                  - DEVICE_MANAGEMENT
                  - EDR
                  - SAAS_MANAGEMENT
                  - PURCHASING
              done:
                type: integer
                minimum: -9007199254740991
                maximum: 9007199254740991
              total:
                description: The tasks of the section not skipped
                type: integer
                minimum: -9007199254740991
                maximum: 9007199254740991
            required:
              - product
              - done
              - total
            additionalProperties: false
        upNext:
          type: array
          description: The next Setup tasks the company is asked to do
          items:
            type: object
            properties:
              key:
                description: The Setup task, e.g. connect_hris
                type: string
              item:
                description: Which HRIS, platform or vendor, for a task repeated per item
                anyOf:
                  - type: string
                  - type: 'null'
              status:
                type: string
                enum:
                  - TODO
                  - IN_PROGRESS
                  - DONE
                  - SKIPPED
            required:
              - key
              - item
              - status
            additionalProperties: false
      required:
        - started
        - draft
        - completedAt
        - facts
        - sections
        - upNext
      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.