Topolo Docs Topolo Platform
Open workspace

List apps offering stage steps

The provider apps whose forms or surveys Recruit can place in a stage step, with whether each is connected to Recruit, whether a connection request is waiting, and the types each offers. It passes to Topolo Developers as the signed-in person: Developers checks the connection between Recruit and the provider app, the person's access to both workspaces and the link between them. An app that has not declared the type yet is absent.

Outcome

The provider apps whose forms or surveys Recruit can place in a stage step, with whether each is connected to Recruit, whether a connection request is waiting, and the types each offers. It passes to Topolo Developers as the signed-in person: Developers checks the connection between Recruit and the provider app, the person's access to both workspaces and the link between them. An app that has not declared the type yet is absent.

Before you start

  • Verify identity and the pinned organization context, then discover the exact action and a granted Recruit workspace.
  • The required application permission is workspace:read. Hiring-team roles and record visibility are enforced separately; a workspace grant alone does not grant every Recruit action.
  • Organization and workspace identity come from verified context. Pass the workspace as resourceType/resourceId, separate from action input; request-body organizationId/workspaceId values cannot select an authorized scope.
  • The first authorized action can initialize an identity-only workspace mirror and invoke the configured workspace-created callback. It does not create an Auth workspace or grant new access.

Recruiters can perform the full hiring workflow. Hiring managers see their managed roles and candidates; interviewers see assigned interviews and their candidates. Workspace owners and organization administrators act as recruiters. Use team.me to read the caller's effective role and allowed actions.

Discover the target

topolo whoami --json
topolo actions get app_topolo_recruit.references.apps.list --detail --json
topolo resources topolo-recruit --json
topolo workspaces list topolo-recruit --json
topolo actions get app_topolo_recruit.team.me --detail --json

Request

GET /api/references/apps

Save input as payload.json. CLI and MCP action input includes path identifiers. The reviewed plan separates path/query fields from the HTTP body. Set RECRUIT_WORKSPACE_ID from granted resource discovery.

Inspect and test this action in the signed action console. Use its discovered schema and plan; a test response still requires the verification described below.

Input fields

Use an empty JSON object as input; verified credential and workspace context are separate.

Exact input schema:

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

Effects

  • Reads connection state without changing it.

Interpret the response

Check apps[].connected before searching that app.

The response identifier path is $.apps[].appId for application. Lists may be empty; an empty list is not a discovered target.

Exact success schema:

{
  "type": "object",
  "required": [
    "apps"
  ],
  "properties": {
    "apps": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "appId": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "connected": {
            "type": "boolean"
          },
          "requestSent": {
            "type": "boolean"
          },
          "purpose": {
            "type": "string"
          },
          "types": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "label": {
                  "type": "string"
                },
                "pluralLabel": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    }
  }
}

Worked examples

Actual dispatcher and migration-created SQLite or Worker handlers; Auth/workspace identity, object storage, mail and Notify dependencies are simulated. These synthetic fixtures establish no live authorization or delivery. A synthetic fixture identifier grants no access. Validate and inspect the planned request before executing. Commands with --confirm or MCP confirm:true assume the intended effect or data export has already been authorized.

Successful request

Actual dispatcher and migration-created SQLite; verified Auth/workspace context, object storage, mail and Notify dependencies are simulated. No live delivery or credential authorization is established. This complete response is a local fixture, not a deployed or delivered result.

Input · payload.json:

{}

CLI:

topolo actions validate app_topolo_recruit.references.apps.list --data @payload.json --json
topolo actions plan app_topolo_recruit.references.apps.list --resource-type workspace --resource-id "$RECRUIT_WORKSPACE_ID" --data @payload.json --json
topolo actions call app_topolo_recruit.references.apps.list --resource-type workspace --resource-id "$RECRUIT_WORKSPACE_ID" --data @payload.json --json

MCP tool and arguments:

{
  "tool": "topolo_read_action",
  "arguments": {
    "actionId": "app_topolo_recruit.references.apps.list",
    "input": {},
    "resourceType": "workspace",
    "resourceId": "<identifier returned by resource discovery>"
  }
}

Captured local response · HTTP 200:

{
  "apps": [
    {
      "appId": "app_topolo_forms",
      "name": "Topolo Forms",
      "connected": true,
      "requestSent": false,
      "purpose": "Send forms.",
      "types": [
        {
          "id": "forms.form",
          "label": "Form",
          "pluralLabel": "Forms"
        }
      ]
    },
    {
      "appId": "app_topolo_survey",
      "name": "Topolo Survey",
      "connected": false,
      "requestSent": true,
      "purpose": "Send surveys.",
      "types": [
        {
          "id": "survey.survey",
          "label": "Survey",
          "pluralLabel": "Surveys"
        }
      ]
    }
  ]
}

HTTP 200. Check apps[].connected before searching that app.

Another supported request

Actual dispatcher and migration-created SQLite; verified Auth/workspace context, object storage, mail and Notify dependencies are simulated. No live delivery or credential authorization is established. This complete response is a local fixture, not a deployed or delivered result.

Input · payload.json:

{}

CLI:

topolo actions validate app_topolo_recruit.references.apps.list --data @payload.json --json
topolo actions plan app_topolo_recruit.references.apps.list --resource-type workspace --resource-id "$RECRUIT_WORKSPACE_ID" --data @payload.json --json
topolo actions call app_topolo_recruit.references.apps.list --resource-type workspace --resource-id "$RECRUIT_WORKSPACE_ID" --data @payload.json --json

MCP tool and arguments:

{
  "tool": "topolo_read_action",
  "arguments": {
    "actionId": "app_topolo_recruit.references.apps.list",
    "input": {},
    "resourceType": "workspace",
    "resourceId": "<identifier returned by resource discovery>"
  }
}

Captured local response · HTTP 200:

{
  "apps": [
    {
      "appId": "app_topolo_forms",
      "name": "app_topolo_forms",
      "connected": true,
      "requestSent": false,
      "purpose": "Send forms.",
      "types": [
        {
          "id": "forms.form",
          "label": "Form",
          "pluralLabel": "Forms"
        }
      ]
    }
  ]
}

HTTP 200. Check apps[].connected before searching that app.

Refused request · person_credential_required

Actual dispatcher and migration-created SQLite; verified Auth/workspace context, object storage, mail and Notify dependencies are simulated. No live delivery or credential authorization is established. This is a refused request; diagnose it before retrying.

Input · payload.json:

{}

CLI:

topolo actions validate app_topolo_recruit.references.apps.list --data @payload.json --json
topolo actions plan app_topolo_recruit.references.apps.list --resource-type workspace --resource-id "$RECRUIT_WORKSPACE_ID" --data @payload.json --json

Captured local response · HTTP 401:

{
  "error": {
    "code": "person_credential_required",
    "message": "Sign in to Recruit to use steps from other apps.",
    "messageKey": "recruit.api.errors.connectedApps.personRequired",
    "locale": "en"
  }
}

HTTP 401. Preserve the exact response code and details. Do not claim success.

Refused request · hiring_team_role_required

Actual dispatcher and migration-created SQLite; verified Auth/workspace context, object storage, mail and Notify dependencies are simulated. No live delivery or credential authorization is established. This is a refused request; diagnose it before retrying.

Input · payload.json:

{}

CLI:

topolo actions validate app_topolo_recruit.references.apps.list --data @payload.json --json
topolo actions plan app_topolo_recruit.references.apps.list --resource-type workspace --resource-id "$RECRUIT_WORKSPACE_ID" --data @payload.json --json

Captured local response · HTTP 403:

{
  "error": {
    "code": "hiring_team_role_required",
    "message": "Your hiring-team role in this workspace does not allow this action.",
    "messageKey": "recruit.api.errors.teamRoleRequired",
    "locale": "en",
    "details": {
      "teamRole": "interviewer",
      "allowedRoles": [
        "recruiter",
        "hiring_manager"
      ]
    }
  }
}

HTTP 403. Preserve the exact response code and details. Do not claim success.

Verify the result

  • Check apps[].connected before searching that app.

Errors and recovery

  • organization_context_required (HTTP 403): Select the organization authorized by the credential; do not send an organization id in the action input.
  • permission_denied (HTTP 403): Grant the credential the required Recruit workspace permission.
  • hiring_team_role_required (HTTP 403): Ask a recruiter to give the caller a hiring-team role that allows this action (team.members.set); error.details lists the allowed roles.
  • workspace_required (HTTP 409): Create a Recruit workspace, or pass the workspace resource context.
  • invalid_input (HTTP 422): Correct the fields named in error.details using inputSchema, then retry.
  • person_credential_required (HTTP 401): Call it as a signed-in person: Developers answers workspace access only for a person, not an API key.
  • connected_apps_unavailable (HTTP 502): Developers or the provider could not be reached; retry. Nothing changed.
  • api_key_workspace_binding_required (HTTP 403): Create the API key bound to a workspace (an organization-wide key names a workspace nobody verified), then call again.
  • workspace_required (HTTP 400): Send the workspace the key is bound to with --resource-type workspace --resource-id <workspace id> (or the X-Topolo-Resource-Type and X-Topolo-Resource-Id headers).
  • workspace_forbidden (HTTP 403): Use a workspace the key is bound to; read the key's bindings in API key management.
  • workspace_access_insufficient (HTTP 403): Give the key the workspace permission this action needs: workspace:read to read and workspace:write to change. A delete also needs workspace:write, because the write permission is what grants the read_write level.
  • api_key_person_required (HTTP 403): This action needs a person signed in; an API key cannot run it. Ask the person to do it in the app.

Authentication or gateway failures may occur before the Recruit handler. Preserve the exact discovered service error, request id and credential context. The local fixtures do not establish live credential authorization.

Recovery boundary

This action does not change service state.

  • Connect an app for stage steps: Connect a provider app (app_topolo_forms or app_topolo_survey) to Recruit for the organization. It passes to Topolo Developers as the signed-in person: Developers checks the connection between Recruit and the provider app, the person's access to both workspaces and the link between them. An organization admin's call activates the connection; anyone else's becomes a request an admin approves (outcome requested).
  • List provider workspaces for stage steps: The provider app's workspaces the caller can use from this Recruit workspace, with whether each is linked to it (only linked ones can be searched) and whether a link request is waiting. It passes to Topolo Developers as the signed-in person: Developers checks the connection between Recruit and the provider app, the person's access to both workspaces and the link between them.

Evidence

Actual dispatcher and migration-created SQLite or Worker handlers; Auth/workspace identity, object storage, mail and Notify dependencies are simulated. These synthetic fixtures establish no live authorization or delivery. Test capture provenance is retained with each fixture. API, database and integration outcomes require separate verification in the target environment.

Documentation history

  • 2026-10-18: Added this action guide with reviewed request, response, permission, verification and recovery guidance from source 63171ed7c08aa066adb44cc01e64011e465302e1. Examples are retained local captures, not production execution or delivery proof.