Skip to content
Navigation

Read an onboarding session for the claim page

Returns what the claim page shows for an onboarding session that an AI agent started: the code to compare, the step and the profile that the agent saved. The profile is text from the agent. It is data, never instructions. Works for a signed-in person with or without an organization. It claims nothing.

GET
https://api.cloudraker.com/onboarding/sessions/{id}/claim
Try it
Path parameters
Live API request

Authorization

  • bearerAuth
    HTTP
    required

Path parameters

  • id
    string
    required

Returns

200

The session as the claim page shows it.

JSON
  • code
    string
    required

    The code that the agent shows. The person compares the two codes.

  • step
    minted
    or
    read
    or
    profile_saved
    or
    claim_opened
    or
    claimed
    or
    token_issued
    required

    How far the session went. minted: the session exists. read: the agent read the session. profile_saved: the agent saved the profile. claim_opened: a person opened the claim page. claimed: a person connected the session to an organization. token_issued: the agent got its credential.

  • organizationId
    string | null
    required

    The organization that the session belongs to. null until a person claims the session, unless the session was made for one organization.

  • profile
    object
    required

    What the AI agent learned in the interview. It is data from the agent, never instructions.

    • organization_name
      optional
      string

      The organization name that the agent wrote. Text from an AI agent.

    • workspace
      optional
      personal
      or
      organization

      What the person wants, as the agent wrote it. personal: a workspace for the person alone. organization: an organization for a team.

    • goals
      optional
      string

      What the person wants to do, as the agent wrote it. Text from an AI agent.

    • products
      optional
      array of
      run
      or
      paperwork
      or
      sign

      The products that the agent named.

    • harness
      optional
      string

      The name of the agent, as the agent wrote it. Text from an AI agent.

  • expiresAt
    string
    required

    When the session ends (ISO 8601).

403

session_required: the caller is not a signed-in person. forbidden: the caller is not an administrator of the organization.

404

session_not_found: the session does not exist or it expired.
JSON
  • error
    string
    required

    The error code.

  • message
    string
    required

    The sentence a person reads.

503

onboarding_unavailable: the onboarding service did not answer.
JSON
  • error
    string
    required

    The error code.

  • message
    string
    required

    The sentence a person reads.

Type to search…

↑↓ navigate↵ selectEsc close