Skip to main content
Read a workspace’s onboarding checklist from code: which setup steps are done, which are missing and why, which wait for a person in a browser, and whether the Code IDE, Bolt, and DinoAI agents can run. A script or an agent can read it to find the next step.
Prerequisites:
  • These operations are available on every plan.
  • An account API key or a workspace API key. With an account API key, name the workspace with workspace(workspaceUid:), or send X-Paradime-Workspace.
  • The Workspace admin or Workspace metadata viewer capability group. To list the AGENT_INTEGRATION rows, the key also needs Integrations admin.
Keys, errors, and steps that need a person work the same in every area. See Conventions.

Operations

Read the checklist

setupStatus returns:
  • isComplete: true when every required step is DONE.
  • steps: one row for each step, in onboarding order.
  • products: whether each product can run, and what it still needs.
The example shows only some of the steps.
To read every workspace in one query, select setupStatus on the nodes of workspaces.

Steps

Each row’s status is one of: detail is text for a person to read. Make scripts branch on step and status, not on detail.

Products

products has one entry for each product: codeIde, bolt, and agent.
  • status is DONE when the product is active, as the Paradime app shows it. It is PENDING_USER_ACTION when only browser steps are left, and MISSING otherwise.
  • missing lists the steps the product needs that are not done. The Code IDE needs GIT_REPOSITORY and DEVELOPMENT_CONNECTION. Bolt needs GIT_REPOSITORY and the default Bolt environment’s SCHEDULER_CONNECTION. DinoAI agents need GIT_REPOSITORY.
  • missingSuggested lists the steps the product works better with that are not done. For DinoAI agents, these are AGENT_CONNECTION, NOTIFICATIONS, and GITHUB_APP.
A cloned repository counts for products even after its git app lost access. So a product can be DONE while the GIT_REPOSITORY row is PENDING_USER_ACTION.

Errors

For the error format and the codes every area shares, see Errors. setupStatus adds no codes of its own. When Paradime can’t read the agent integrations, the checklist has one AGENT_INTEGRATION row with MISSING and a detail that says so. When it can’t read the workspace environment variables, the ENVIRONMENT_VARIABLES row is MISSING with a detail that says so. Read the checklist again later.