AgenTrux Console Misc API

The console-misc API from AgenTrux — 16 operation(s) for console-misc.

Operations 17

GET /console/playground/sessions/{pgi_id} Get Playground Session #
GET /console/scripts/{scr_id}/delegations List Script Delegations #
GET /console/me/delegations List My Delegations #
GET /console/topics/{top_id}/events List Topic Events Console #
POST /console/topics/{top_id}/events Publish Event Console #
POST /console/composer/token Issue Composer Token #
GET /console/connections/sse List Sse Connections #
GET /console/connections/streamable-http List Streamable Http Connections #
GET /console/topics/{top_id}/connected-scripts List Topic Connected Scripts #
GET /console/topics/{top_id}/connected-users List Topic Connected Users #
POST /console/feedback Submit Feedback Console #
GET /console/billing/usage-metrics Get Usage Metrics Console #
GET /console/topics/{top_id}/metrics Get Topic Metrics Console #
GET /console/metrics Get Metrics #
GET /console/notifications List Notifications #
GET /console/playground/snippets Get Playground Snippets #
GET /console/playground/sample-topics Get Sample Topics #

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/agentrux-com:agentrux-com-console-misc-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

agentrux-com-console-misc-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: AgenTrux Console Misc API
  version: 0.1.0
tags:
- name: console-misc
paths:
  /console/playground/sessions/{pgi_id}:
    get:
      tags:
      - console-misc
      summary: Get Playground Session
      description: 'MVP: pgi_ は永続化なしのため、 lookup できない事を 404 で示す。 永続化は別 phase。'
      operationId: get_playground_session_console_playground_sessions__pgi_id__get
      parameters:
      - name: pgi_id
        in: path
        required: true
        schema:
          type: string
          title: Pgi Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Get Playground Session Console Playground Sessions  Pgi Id  Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /console/scripts/{scr_id}/delegations:
    get:
      tags:
      - console-misc
      summary: List Script Delegations
      operationId: list_script_delegations_console_scripts__scr_id__delegations_get
      parameters:
      - name: scr_id
        in: path
        required: true
        schema:
          type: string
          title: Scr Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response List Script Delegations Console Scripts  Scr Id  Delegations Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /console/me/delegations:
    get:
      tags:
      - console-misc
      summary: List My Delegations
      description: 'AccountPage Script Delegations 一覧 (W.4.x)。


        PII 隠蔽: owner_script_id / grantee_account_id は raw UUID + 接頭語付きで返す

        (Console UI は接頭語前提)。'
      operationId: list_my_delegations_console_me_delegations_get
      parameters:
      - name: direction
        in: query
        required: false
        schema:
          enum:
          - incoming
          - outgoing
          type: string
          description: 'outgoing: 自 user の primary_account が owner の delegations (発行済)。 incoming: 自 user の primary_account が grantee の delegations (受領済)。'
          default: outgoing
          title: Direction
        description: 'outgoing: 自 user の primary_account が owner の delegations (発行済)。 incoming: 自 user の primary_account が grantee の delegations (受領済)。'
      - name: include_revoked
        in: query
        required: false
        schema:
          type: boolean
          default: false
          title: Include Revoked
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response List My Delegations Console Me Delegations Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /console/topics/{top_id}/events:
    get:
      tags:
      - console-misc
      summary: List Topic Events Console
      description: '4.11.1 標準準拠の event list endpoint (backward compat 維持)。


        旧 query (limit / order / after_seq) はそのまま、 新 query (q / sort /

        filter[*] / cursor) を追加。 新 query 指定時は keyset cursor pagination、

        旧 query のみなら従来の sequence_number ordering。'
      operationId: list_topic_events_console_console_topics__top_id__events_get
      parameters:
      - name: top_id
        in: path
        required: true
        schema:
          type: string
          title: Top Id
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 200
          minimum: 1
          default: 50
          title: Limit
      - name: order
        in: query
        required: false
        schema:
          enum:
          - asc
          - desc
          type: string
          default: desc
          title: Order
      - name: after_seq
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
            minimum: 0
          - type: 'null'
          description: (backward compat) strictly greater than この sequence_number の event のみ返す。 Composer SSE 差分 read 用。 cursor と排他。
          title: After Seq
        description: (backward compat) strictly greater than この sequence_number の event のみ返す。 Composer SSE 差分 read 用。 cursor と排他。
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response List Topic Events Console Console Topics  Top Id  Events Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    post:
      tags:
      - console-misc
      summary: Publish Event Console
      description: 'Console session 経路の event publish (Phase 4.8.2)。


        capability JWT (aat_) を取得せず、 console session 認証だけで publish できる。

        Composer / Topic 詳細 UI から呼ばれる前提。


        Authorization:

        - caller の primary_account_id を解決 (users.primary_account_id)

        - check_topic_publish_ownership で account_id == topic の owner alias.account_id

        を確認 (cross-tenant は A4 隠蔽 404)

        - scope-based check は skip (console session には scope 概念がない)'
      operationId: publish_event_console_console_topics__top_id__events_post
      parameters:
      - name: top_id
        in: path
        required: true
        schema:
          type: string
          title: Top Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/agentrux__api__routers__console_misc_router__PublishEventBody'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Publish Event Console Console Topics  Top Id  Events Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /console/composer/token:
    post:
      tags:
      - console-misc
      summary: Issue Composer Token
      description: 'Composer 専用 capability JWT を mint。


        Authz: caller が指定 topic_ids 全ての owner alias の account の member (personal primary or

        group_membership) であることを検証 (A4 404 隠蔽)。

        全 topic が同一 alias 配下であることも検証 (Composer は alias-scoped)。'
      operationId: issue_composer_token_console_composer_token_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ComposerTokenBody'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Issue Composer Token Console Composer Token Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /console/connections/sse:
    get:
      tags:
      - console-misc
      summary: List Sse Connections
      description: 'alias 配下 (全 topic 横断 / filter[topic_id] で topic-scope) の active な

        SSE session 一覧 (4.11.1 標準準拠)。'
      operationId: list_sse_connections_console_connections_sse_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response List Sse Connections Console Connections Sse Get
  /console/connections/streamable-http:
    get:
      tags:
      - console-misc
      summary: List Streamable Http Connections
      description: alias 配下の active な Streamable HTTP (MCP) session 一覧 (4.11.1 標準準拠)。
      operationId: list_streamable_http_connections_console_connections_streamable_http_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response List Streamable Http Connections Console Connections Streamable Http Get
  /console/topics/{top_id}/connected-scripts:
    get:
      tags:
      - console-misc
      summary: List Topic Connected Scripts
      description: Topic に現在接続中の Script 一覧 (script_id 単位に集約、keyset ページング)。
      operationId: list_topic_connected_scripts_console_topics__top_id__connected_scripts_get
      parameters:
      - name: top_id
        in: path
        required: true
        schema:
          type: string
          title: Top Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response List Topic Connected Scripts Console Topics  Top Id  Connected Scripts Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /console/topics/{top_id}/connected-users:
    get:
      tags:
      - console-misc
      summary: List Topic Connected Users
      description: Topic に現在接続中の Console ユーザー一覧 (console_user_id 単位に集約)。
      operationId: list_topic_connected_users_console_topics__top_id__connected_users_get
      parameters:
      - name: top_id
        in: path
        required: true
        schema:
          type: string
          title: Top Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response List Topic Connected Users Console Topics  Top Id  Connected Users Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /console/feedback:
    post:
      tags:
      - console-misc
      summary: Submit Feedback Console
      description: 'ご意見・不具合報告を保存する (append-only)。


        - rate limit: user あたり 10 回/暦日 (失敗時は枠を戻す)

        - INSERT + audit_logs append を同一 TX で commit

        - Slack 通知は commit 後の background task (応答を待たせない、失敗しても 200)'
      operationId: submit_feedback_console_console_feedback_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FeedbackBody'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Submit Feedback Console Console Feedback Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /console/billing/usage-metrics:
    get:
      tags:
      - console-misc
      summary: Get Usage Metrics Console
      description: '過去 N 日 (default 30) の usage_records 集計。


        Codex review #B (a51813c) で workspace account scope に対応: X-Workspace-Account-Id

        header が指定されていれば対応 account を、 なければ caller の primary account を対象。'
      operationId: get_usage_metrics_console_console_billing_usage_metrics_get
      parameters:
      - name: days
        in: query
        required: false
        schema:
          type: integer
          maximum: 90
          minimum: 1
          default: 30
          title: Days
      - name: X-Workspace-Account-Id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Workspace-Account-Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Get Usage Metrics Console Console Billing Usage Metrics Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /console/topics/{top_id}/metrics:
    get:
      tags:
      - console-misc
      summary: Get Topic Metrics Console
      description: '過去 N 日 (default 30) の per-topic 集計。 caller が topic 所有 alias の

        account の personal / group member であれば許可 (GET /events と同じ A4 隠蔽)。'
      operationId: get_topic_metrics_console_console_topics__top_id__metrics_get
      parameters:
      - name: top_id
        in: path
        required: true
        schema:
          type: string
          title: Top Id
      - name: days
        in: query
        required: false
        schema:
          type: integer
          maximum: 90
          minimum: 1
          default: 30
          title: Days
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Get Topic Metrics Console Console Topics  Top Id  Metrics Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /console/metrics:
    get:
      tags:
      - console-misc
      summary: Get Metrics
      description: 'MVP placeholder: 空 series を返す。 実際の Prometheus query は別 phase。'
      operationId: get_metrics_console_metrics_get
      parameters:
      - name: metric
        in: query
        required: false
        schema:
          type: string
          default: publish_rate
          title: Metric
      - name: granularity
        in: query
        required: false
        schema:
          enum:
          - 1m
          - 5m
          - 1h
          type: string
          default: 5m
          title: Granularity
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Get Metrics Console Metrics Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /console/notifications:
    get:
      tags:
      - console-misc
      summary: List Notifications
      description: 'MVP placeholder: 空配列を返す。 push notification system は別 phase。'
      operationId: list_notifications_console_notifications_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response List Notifications Console Notifications Get
  /console/playground/snippets:
    get:
      tags:
      - console-misc
      summary: Get Playground Snippets
      operationId: get_playground_snippets_console_playground_snippets_get
      parameters:
      - name: language
        in: query
        required: false
        schema:
          enum:
          - curl
          - python
          - node
          - mcp
          type: string
          default: python
          title: Language
      - name: topic_id
        in: query
        required: false
        schema:
          type: string
          default: top_<topic_id>
          title: Topic Id
      - name: playground_identity_id
        in: query
        required: false
        schema:
          type: string
          default: pgi_<id>
          title: Playground Identity Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Get Playground Snippets Console Playground Snippets Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /console/playground/sample-topics:
    get:
      tags:
      - console-misc
      summary: Get Sample Topics
      description: Demo 用の sample topics (固定 list、 backing data なし)。
      operationId: get_sample_topics_console_playground_sample_topics_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Get Sample Topics Console Playground Sample Topics Get
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ComposerTokenBody:
      properties:
        topic_ids:
          items:
            type: string
          type: array
          maxItems: 20
          minItems: 1
          title: Topic Ids
        actions:
          items:
            type: string
          type: array
          maxItems: 2
          minItems: 1
          title: Actions
      additionalProperties: false
      type: object
      required:
      - topic_ids
      - actions
      title: ComposerTokenBody
    FeedbackBody:
      properties:
        category:
          type: string
          enum:
          - feedback
          - bug
          - question
          title: Category
        body:
          type: string
          maxLength: 4000
          minLength: 1
          title: Body
        page:
          anyOf:
          - type: string
            maxLength: 300
          - type: 'null'
          title: Page
      additionalProperties: false
      type: object
      required:
      - category
      - body
      title: FeedbackBody
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    agentrux__api__routers__console_misc_router__PublishEventBody:
      properties:
        event_type:
          anyOf:
          - type: string
            maxLength: 128
          - type: 'null'
          title: Event Type
        payload:
          anyOf:
          - {}
          - type: 'null'
          title: Payload
        payload_object_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Payload Object Id
        metadata:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Metadata
        idempotency_key:
          anyOf:
          - type: string
            maxLength: 256
          - type: 'null'
          title: Idempotency Key
      additionalProperties: false
      type: object
      title: PublishEventBody
      description: POST /console/topics/{top_id}/events body (Phase 4.8.2).