B3

B3 Admin API

The Admin API from B3 — 19 operation(s) for admin.

Operations 21

GET /v1/admin/ai-profiles List all org AI profiles (admin) #
GET /v1/admin/ai-prompts List all AI prompt templates (admin) #
GET /v1/admin/chat-conversations List chat conversations (admin) #
GET /v1/admin/chat-messages List all chat messages (admin) #
GET /v1/admin/organizations List all organizations (admin) #
GET /v1/admin/organizations/{orgId} Get organization details (admin) #
POST /v1/admin/organizations/{orgId}/cu/adjust Adjust CU (admin) #
POST /v1/admin/organizations/{orgId}/cu/deposit Deposit CU (admin) #
GET /v1/admin/organizations/{orgId}/knowledge List org knowledge entries (admin) #
GET /v1/admin/runs/{runId} Get run details (admin) #
GET /v1/admin/templates List all templates (admin) #
PATCH /v1/admin/templates/{templateId} Update template (admin) #
GET /v1/admin/workflows List all workflows (admin) #
GET /v1/admin/workflows/{workflowId} Get workflow details (admin) #
GET /v1/admin/workflows/{workflowId}/runs List workflow runs (admin) #
POST /v1/admin/workflows/{workflowId}/{action} Update workflow status (admin) #
GET /v1/admin/onboarding/analytics Get admin onboarding analytics #
GET /v1/admin/onboarding/questions Get admin onboarding questions #
POST /v1/admin/onboarding/questions Create admin onboarding questions #
DELETE /v1/admin/onboarding/questions/{questionId} Delete admin onboarding questions by question id #
PATCH /v1/admin/onboarding/questions/{questionId} Update admin onboarding questions by question id #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/b3-admin-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

b3-admin-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: Workflow management API for B3OS
  title: B3OS Workflow Admin API
  version: '1.0'
tags:
- name: Admin
paths:
  /v1/admin/ai-profiles:
    get:
      description: List all org AI profiles with organization info and memory counts
      parameters:
      - description: Limit (1-100, default 20)
        in: query
        name: limit
        schema:
          type: integer
      - description: Offset (default 0)
        in: query
        name: offset
        schema:
          type: integer
      - description: Search by org name or slug
        in: query
        name: search
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdminListAIProfilesSuccessResponse'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_com_b3-fun_b3-mono_services_b3os-workflow_internal_app_api_http.ErrorResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_com_b3-fun_b3-mono_services_b3os-workflow_internal_app_api_http.ErrorResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_com_b3-fun_b3-mono_services_b3os-workflow_internal_app_api_http.ErrorResponse'
          description: Internal Server Error
      summary: List all org AI profiles (admin)
      tags:
      - Admin
      operationId: getV1AdminAiProfiles
      x-operation-id-source: derived
  /v1/admin/ai-prompts:
    get:
      description: Returns all prompt templates used by the AI agent
      requestBody:
        content:
          application/json:
            schema:
              type: object
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdminListAIPromptsSuccessResponse'
          description: OK
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_com_b3-fun_b3-mono_services_b3os-workflow_internal_app_api_http.ErrorResponse'
          description: Forbidden
      summary: List all AI prompt templates (admin)
      tags:
      - Admin
      operationId: getV1AdminAiPrompts
      x-operation-id-source: derived
  /v1/admin/chat-conversations:
    get:
      description: List AI chat conversations grouped by workflow/session, with message counts
      parameters:
      - description: Limit (1-100, default 20)
        in: query
        name: limit
        schema:
          type: integer
      - description: Offset (default 0)
        in: query
        name: offset
        schema:
          type: integer
      - description: Filter by organization ID
        in: query
        name: org_id
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdminListChatConversationsSuccessResponse'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_com_b3-fun_b3-mono_services_b3os-workflow_internal_app_api_http.ErrorResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_com_b3-fun_b3-mono_services_b3os-workflow_internal_app_api_http.ErrorResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_com_b3-fun_b3-mono_services_b3os-workflow_internal_app_api_http.ErrorResponse'
          description: Internal Server Error
      summary: List chat conversations (admin)
      tags:
      - Admin
      operationId: getV1AdminChatConversations
      x-operation-id-source: derived
  /v1/admin/chat-messages:
    get:
      description: List all AI chat messages across organizations, optionally filtered by org, workflow, or session
      parameters:
      - description: Limit (1-100, default 20)
        in: query
        name: limit
        schema:
          type: integer
      - description: Offset (default 0)
        in: query
        name: offset
        schema:
          type: integer
      - description: Filter by organization ID
        in: query
        name: org_id
        schema:
          type: string
      - description: Filter by workflow ID
        in: query
        name: workflow_id
        schema:
          type: string
      - description: Filter by session ID
        in: query
        name: session_id
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdminListChatMessagesSuccessResponse'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_com_b3-fun_b3-mono_services_b3os-workflow_internal_app_api_http.ErrorResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_com_b3-fun_b3-mono_services_b3os-workflow_internal_app_api_http.ErrorResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_com_b3-fun_b3-mono_services_b3os-workflow_internal_app_api_http.ErrorResponse'
          description: Internal Server Error
      summary: List all chat messages (admin)
      tags:
      - Admin
      operationId: getV1AdminChatMessages
      x-operation-id-source: derived
  /v1/admin/organizations:
    get:
      description: List all organizations with CU balance and member count
      parameters:
      - description: Limit (1-100, default 20)
        in: query
        name: limit
        schema:
          type: integer
      - description: Offset (default 0)
        in: query
        name: offset
        schema:
          type: integer
      - description: Search by name or slug
        in: query
        name: search
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdminListOrganizationsSuccessResponse'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_com_b3-fun_b3-mono_services_b3os-workflow_internal_app_api_http.ErrorResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_com_b3-fun_b3-mono_services_b3os-workflow_internal_app_api_http.ErrorResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_com_b3-fun_b3-mono_services_b3os-workflow_internal_app_api_http.ErrorResponse'
          description: Internal Server Error
      summary: List all organizations (admin)
      tags:
      - Admin
      operationId: getV1AdminOrganizations
      x-operation-id-source: derived
  /v1/admin/organizations/{orgId}:
    get:
      description: Get detailed organization info with members and workflow count
      parameters:
      - description: Organization ID
        in: path
        name: orgId
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdminGetOrganizationSuccessResponse'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_com_b3-fun_b3-mono_services_b3os-workflow_internal_app_api_http.ErrorResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_com_b3-fun_b3-mono_services_b3os-workflow_internal_app_api_http.ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_com_b3-fun_b3-mono_services_b3os-workflow_internal_app_api_http.ErrorResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_com_b3-fun_b3-mono_services_b3os-workflow_internal_app_api_http.ErrorResponse'
          description: Internal Server Error
      summary: Get organization details (admin)
      tags:
      - Admin
      operationId: getV1AdminOrganizationsByOrgId
      x-operation-id-source: derived
  /v1/admin/organizations/{orgId}/cu/adjust:
    post:
      description: Adjust CU balance for any organization
      parameters:
      - description: Organization ID
        in: path
        name: orgId
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              oneOf:
              - type: object
              - $ref: '#/components/schemas/github_com_b3-fun_b3-mono_services_b3os-workflow_internal_app_api_service_cu.AdjustParams'
                summary: body
                description: Adjust parameters
        description: Adjust parameters
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdjustCUSuccessResponse'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_com_b3-fun_b3-mono_services_b3os-workflow_internal_app_api_http.ErrorResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_com_b3-fun_b3-mono_services_b3os-workflow_internal_app_api_http.ErrorResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_com_b3-fun_b3-mono_services_b3os-workflow_internal_app_api_http.ErrorResponse'
          description: Internal Server Error
      summary: Adjust CU (admin)
      tags:
      - Admin
      operationId: postV1AdminOrganizationsByOrgIdCuAdjust
      x-operation-id-source: derived
  /v1/admin/organizations/{orgId}/cu/deposit:
    post:
      description: Deposit CU to any organization
      parameters:
      - description: Organization ID
        in: path
        name: orgId
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              oneOf:
              - type: object
              - $ref: '#/components/schemas/github_com_b3-fun_b3-mono_services_b3os-workflow_internal_app_api_service_cu.DepositParams'
                summary: body
                description: Deposit parameters
        description: Deposit parameters
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DepositCUSuccessResponse'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_com_b3-fun_b3-mono_services_b3os-workflow_internal_app_api_http.ErrorResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_com_b3-fun_b3-mono_services_b3os-workflow_internal_app_api_http.ErrorResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_com_b3-fun_b3-mono_services_b3os-workflow_internal_app_api_http.ErrorResponse'
          description: Internal Server Error
      summary: Deposit CU (admin)
      tags:
      - Admin
      operationId: postV1AdminOrganizationsByOrgIdCuDeposit
      x-operation-id-source: derived
  /v1/admin/organizations/{orgId}/knowledge:
    get:
      description: List knowledge/memory entries for an organization with optional source_type filter
      parameters:
      - description: Organization ID
        in: path
        name: orgId
        required: true
        schema:
          type: string
      - description: Filter by source type (memory, manual, workflow, connector, run_pattern)
        in: query
        name: source_type
        schema:
          type: string
      - description: Limit (1-100, default 20)
        in: query
        name: limit
        schema:
          type: integer
      - description: Offset (default 0)
        in: query
        name: offset
        schema:
          type: integer
      requestBody:
        content:
          application/json:
            schema:
              type: object
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdminListOrgKnowledgeSuccessResponse'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_com_b3-fun_b3-mono_services_b3os-workflow_internal_app_api_http.ErrorResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_com_b3-fun_b3-mono_services_b3os-workflow_internal_app_api_http.ErrorResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_com_b3-fun_b3-mono_services_b3os-workflow_internal_app_api_http.ErrorResponse'
          description: Internal Server Error
      summary: List org knowledge entries (admin)
      tags:
      - Admin
      operationId: getV1AdminOrganizationsByOrgIdKnowledge
      x-operation-id-source: derived
  /v1/admin/runs/{runId}:
    get:
      description: Retrieve detailed run info including execution state
      parameters:
      - description: Run ID
        in: path
        name: runId
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdminGetRunSuccessResponse'
          description: OK
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_com_b3-fun_b3-mono_services_b3os-workflow_internal_app_api_http.ErrorResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_com_b3-fun_b3-mono_services_b3os-workflow_internal_app_api_http.ErrorResponse'
          description: Internal Server Error
      summary: Get run details (admin)
      tags:
      - Admin
      operationId: getV1AdminRunsByRunId
      x-operation-id-source: derived
  /v1/admin/templates:
    get:
      description: List all workflow templates with organization info and filters
      parameters:
      - description: Limit (1-100, default 20)
        in: query
        name: limit
        schema:
          type: integer
      - description: Offset (default 0)
        in: query
        name: offset
        schema:
          type: integer
      - description: Search by template name
        in: query
        name: search
        schema:
          type: string
      - description: 'Filter by visibility: org, public'
        in: query
        name: visibility
        schema:
          type: string
      - description: 'Filter by promoted status: true, false'
        in: query
        name: isPromoted
        schema:
          type: string
      - description: Filter by organization ID
        in: query
        name: orgId
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdminListTemplatesSuccessResponse'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_com_b3-fun_b3-mono_services_b3os-workflow_internal_app_api_http.ErrorResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_com_b3-fun_b3-mono_services_b3os-workflow_internal_app_api_http.ErrorResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_com_b3-fun_b3-mono_services_b3os-workflow_internal_app_api_http.ErrorResponse'
          description: Internal Server Error
      summary: List all templates (admin)
      tags:
      - Admin
      operationId: getV1AdminTemplates
      x-operation-id-source: derived
  /v1/admin/templates/{templateId}:
    patch:
      description: Update template visibility and/or promoted status
      parameters:
      - description: Template ID
        in: path
        name: templateId
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              oneOf:
              - type: object
              - $ref: '#/components/schemas/AdminUpdateTemplateParams'
                summary: body
                description: Update parameters
        description: Update parameters
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_com_b3-fun_b3-mono_services_b3os-workflow_internal_app_api_http.SuccessResponse'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_com_b3-fun_b3-mono_services_b3os-workflow_internal_app_api_http.ErrorResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_com_b3-fun_b3-mono_services_b3os-workflow_internal_app_api_http.ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_com_b3-fun_b3-mono_services_b3os-workflow_internal_app_api_http.ErrorResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_com_b3-fun_b3-mono_services_b3os-workflow_internal_app_api_http.ErrorResponse'
          description: Internal Server Error
      summary: Update template (admin)
      tags:
      - Admin
      operationId: patchV1AdminTemplatesByTemplateId
      x-operation-id-source: derived
  /v1/admin/workflows:
    get:
      description: List all workflows with organization info and filters
      parameters:
      - description: Limit (1-100, default 20)
        in: query
        name: limit
        schema:
          type: integer
      - description: Offset (default 0)
        in: query
        name: offset
        schema:
          type: integer
      - description: 'Filter by status: draft, active, paused, archived'
        in: query
        name: status
        schema:
          type: string
      - description: Search by workflow name
        in: query
        name: search
        schema:
          type: string
      - description: Filter by organization ID
        in: query
        name: orgId
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdminListWorkflowsSuccessResponse'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_com_b3-fun_b3-mono_services_b3os-workflow_internal_app_api_http.ErrorResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_com_b3-fun_b3-mono_services_b3os-workflow_internal_app_api_http.ErrorResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_com_b3-fun_b3-mono_services_b3os-workflow_internal_app_api_http.ErrorResponse'
          description: Internal Server Error
      summary: List all workflows (admin)
      tags:
      - Admin
      operationId: getV1AdminWorkflows
      x-operation-id-source: derived
  /v1/admin/workflows/{workflowId}:
    get:
      description: Get detailed workflow info including definition
      parameters:
      - description: Workflow ID
        in: path
        name: workflowId
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdminGetWorkflowSuccessResponse'
          description: OK
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_com_b3-fun_b3-mono_services_b3os-workflow_internal_app_api_http.ErrorResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_com_b3-fun_b3-mono_services_b3os-workflow_internal_app_api_http.ErrorResponse'
          description: Internal Server Error
      summary: Get workflow details (admin)
      tags:
      - Admin
      operationId: getV1AdminWorkflowsByWorkflowId
      x-operation-id-source: derived
  /v1/admin/workflows/{workflowId}/runs:
    get:
      description: List runs for a workflow with pagination
      parameters:
      - description: Workflow ID
        in: path
        name: workflowId
        required: true
        schema:
          type: string
      - description: Limit (1-100, default 20)
        in: query
        name: limit
        schema:
          type: integer
      - description: Offset (default 0)
        in: query
        name: offset
        schema:
          type: integer
      requestBody:
        content:
          application/json:
            schema:
              type: object
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdminListWorkflowRunsSuccessResponse'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_com_b3-fun_b3-mono_services_b3os-workflow_internal_app_api_http.ErrorResponse'
          description: Bad Request
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_com_b3-fun_b3-mono_services_b3os-workflow_internal_app_api_http.ErrorResponse'
          description: Internal Server Error
      summary: List workflow runs (admin)
      tags:
      - Admin
      operationId: getV1AdminWorkflowsByWorkflowIdRuns
      x-operation-id-source: derived
  /v1/admin/workflows/{workflowId}/{action}:
    post:
      description: Change workflow status (publish, pause, resume, archive)
      parameters:
      - description: Workflow ID
        in: path
        name: workflowId
        required: true
        schema:
          type: string
      - description: Action (publish, pause, resume, archive)
        in: path
        name: action
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdminUpdateWorkflowStatusSuccessResponse'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_com_b3-fun_b3-mono_services_b3os-workflow_internal_app_api_http.ErrorResponse'
          description: Bad Request
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_com_b3-fun_b3-mono_services_b3os-workflow_internal_app_api_http.ErrorResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_com_b3-fun_b3-mono_services_b3os-workflow_internal_app_api_http.ErrorResponse'
          description: Internal Server Error
      summary: Update workflow status (admin)
      tags:
      - Admin
      operationId: postV1AdminWorkflowsByWorkflowIdByAction
      x-operation-id-source: derived
  /v1/admin/onboarding/analytics:
    get:
      description: '[ADMIN] Get onboarding analytics'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdminGetOnboardingAnalyticsSuccessResponse'
          description: OK
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_com_b3-fun_b3-mono_services_b3os-workflow_internal_app_api_http.ErrorResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_com_b3-fun_b3-mono_services_b3os-workflow_internal_app_api_http.ErrorResponse'
          description: Internal Server Error
      tags:
      - Admin
      summary: Get admin onboarding analytics
      x-summary-source: derived
      operationId: getV1AdminOnboardingAnalytics
      x-operation-id-source: derived
  /v1/admin/onboarding/questions:
    get:
      description: '[ADMIN] Get all onboarding questions (including inactive)'
      parameters:
      - description: 'Scope: ''user'' or ''org'' (empty = all)'
        in: query
        name: scope
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdminGetAllOnboardingQuestionsSuccessResponse'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_com_b3-fun_b3-mono_services_b3os-workflow_internal_app_api_http.ErrorResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_com_b3-fun_b3-mono_services_b3os-workflow_internal_app_api_http.ErrorResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_com_b3-fun_b3-mono_services_b3os-workflow_internal_app_api_http.ErrorResponse'
          description: Internal Server Error
      tags:
      - Admin
      summary: Get admin onboarding questions
      x-summary-source: derived
      operationId: getV1AdminOnboardingQuestions
      x-operation-id-source: derived
    post:
      description: '[ADMIN] Create a new onboarding question'
      requestBody:
        content:
          application/json:
            schema:
              oneOf:
              - type: object
              - $ref: '#/components/schemas/AdminCreateOnboardingQuestionParams'
                summary: body
                description: Question data
        description: Question data
        required: true
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdminCreateOnboardingQuestionSuccessResponse'
          description: Created
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_com_b3-fun_b3-mono_services_b3os-workflow_internal_app_api_http.ErrorResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_com_b3-fun_b3-mono_services_b3os-workflow_internal_app_api_http.ErrorResponse'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_com_b3-fun_b3-mono_services_b3os-workflow_internal_app_api_http.ErrorResponse'
          description: Internal Server Error
      tags:
      - Admin
      summary: Create admin onboarding questions
      x-summary-source: derived
      operationId: postV1AdminOnboardingQuestions
      x-operation-id-source: derived
  /v1/admin/onboarding/questions/{questionId}:
    delete:
      description: '[ADMIN] Delete an onboarding question'
      parameters:
      - description: Question ID
        in: path
        name: questionId
        required: true
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdminDeleteOnboardingQuestionSuccessResponse'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_com_b3-fun_b3-mono_services_b3os-workflow_internal_app_api_http.ErrorResponse'
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_com_b3-fun_b3-mono_services_b3os-workflow_internal_app_api_http.ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/github_com_b3-fun_b3-mono_services_b3os-workflow_internal_app_api_http.ErrorResponse'
          description: Not Found
        '500':
          content:
            application/json

# --- truncated at 32 KB (66 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/b3/refs/heads/main/openapi/b3-admin-api-openapi.yml