Topolo Docs Topolo Platform
Open workspace

Get workspace bootstrap

Get the verified user and organization context for this service.

Outcome

Get the verified user and organization context for this service.

Before you start

  • Verify identity and pin the intended organization and environment before discovering the action.
  • This Worker context route uses verified identity without resolving a Nurture product workspace. Bootstrap organization can be null; it does not discover a granted workspace.

Discover the target

topolo whoami --json
topolo actions get app_topolo_nurture.workspace.bootstrap --detail --json

Request

GET /api/bootstrap

Save action input as payload.json. The reviewed plan separates path identifiers, query fields and HTTP body. No Nurture workspace selection is required for this context route.

Inspect and test this action in the signed action console. A test response still requires the verification below.

Input fields

Use an empty JSON object; verified credential and resource context are separate.

Exact input schema:

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {},
  "additionalProperties": false
}

Effects

  • Reads the verified caller context without changing state.

Interpret the response

The returned identifier path is $.user.id for user. Empty lists do not discover a target.

Confirm $.user.id is the calling identity.

Exact success schema:

{
  "type": "object",
  "required": [
    "user"
  ],
  "properties": {
    "user": {
      "type": "object"
    },
    "organization": {
      "type": [
        "object",
        "null"
      ]
    }
  }
}

Worked examples

Actual dispatcher and migration-created SQLite or Worker handlers; identity/workspace and external service dependencies are simulated. Fixture identifiers and timestamps are synthetic. These responses establish no live authorization, paid generation, credential provisioning or message delivery. Replace synthetic identifiers using credential-scoped discovery. A local success is not evidence of a deployed effect, configured provider or delivered message.

Successful request

Actual Nurture Worker handler and widget builder; runtime identity, credential verification and failure injection are simulated. No live authorization is established.

Input · payload.json:

{}

CLI:

topolo actions validate app_topolo_nurture.workspace.bootstrap --data @payload.json --json
topolo actions plan app_topolo_nurture.workspace.bootstrap --data @payload.json --json
topolo actions call app_topolo_nurture.workspace.bootstrap --data @payload.json --json

MCP tool and arguments:

{
  "tool": "topolo_read_action",
  "arguments": {
    "actionId": "app_topolo_nurture.workspace.bootstrap",
    "input": {}
  }
}

Captured local response · HTTP 200:

{
  "user": {
    "id": "user_2"
  },
  "organization": {
    "id": "org_1"
  }
}

HTTP 200. Confirm $.user.id is the calling identity.

Another supported request

Actual Nurture Worker handler and widget builder; runtime identity, credential verification and failure injection are simulated. No live authorization is established.

Input · payload.json:

{}

CLI:

topolo actions validate app_topolo_nurture.workspace.bootstrap --data @payload.json --json
topolo actions plan app_topolo_nurture.workspace.bootstrap --data @payload.json --json
topolo actions call app_topolo_nurture.workspace.bootstrap --data @payload.json --json

MCP tool and arguments:

{
  "tool": "topolo_read_action",
  "arguments": {
    "actionId": "app_topolo_nurture.workspace.bootstrap",
    "input": {}
  }
}

Captured local response · HTTP 200:

{
  "user": {
    "id": "user_1"
  },
  "organization": null
}

HTTP 200. Confirm $.user.id is the calling identity.

Another supported request

Actual Nurture Worker handler and widget builder; runtime identity, credential verification and failure injection are simulated. No live authorization is established.

Input · payload.json:

{}

CLI:

topolo actions validate app_topolo_nurture.workspace.bootstrap --data @payload.json --json
topolo actions plan app_topolo_nurture.workspace.bootstrap --data @payload.json --json
topolo actions call app_topolo_nurture.workspace.bootstrap --data @payload.json --json

MCP tool and arguments:

{
  "tool": "topolo_read_action",
  "arguments": {
    "actionId": "app_topolo_nurture.workspace.bootstrap",
    "input": {}
  }
}

Captured local response · HTTP 200:

{
  "user": {
    "id": "user_1"
  },
  "organization": {
    "id": "org_1"
  }
}

HTTP 200. Confirm $.user.id is the calling identity.

Verify the result

  • Confirm $.user.id is the calling identity.

Errors and recovery

  • csrf_origin_rejected (HTTP 403): Use the trusted first-party origin for cookie-authenticated requests. Preserve the exact Auth error for other credential failures.

Auth or gateway failures may precede this handler. Preserve the exact response shape, error string/code, request id and credential context; no synthetic fixture establishes live credential access.

Recovery boundary

This action does not change service state.

Evidence

Actual dispatcher and migration-created SQLite or Worker handlers; identity/workspace and external service dependencies are simulated. Fixture identifiers and timestamps are synthetic. These responses establish no live authorization, paid generation, credential provisioning or message delivery. Test scenario and capture digests are retained with each fixture.