AgenTrux Console Topology Request API

The console-topology-request API from AgenTrux — 3 operation(s) for console-topology-request.

Operations 3

GET /console/topology-requests/by-user-code Get By User Code #
POST /console/topology-requests/{user_code}/approve Approve #
POST /console/topology-requests/{user_code}/deny Deny #

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-topology-request-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-topology-request-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: AgenTrux Console Topology Request API
  version: 0.1.0
tags:
- name: console-topology-request
paths:
  /console/topology-requests/by-user-code:
    get:
      tags:
      - console-topology-request
      summary: Get By User Code
      description: 'SSOT §2-3。 picker UI が user_code から request 詳細を取得.


        raw device_code は返さない (PII 削減)。 phase は server 派生。


        Codex final review MF-2 (security model documentation):

        本 endpoint は **認証必須 (verified console session)** だが、 user_code を bind 済の特定

        user に限定しない。 これは RFC 8628 §6.1 device flow の前提に揃える設計:

        - user_code は 8 文字 hex (32 bit エントロピー) で out-of-band で受け渡される secret

        - brute-force は middleware/rate_limit.py の per-account RPM cap で抑止

        (default_account_rpm/min、 32 bit エントロピーと組合せて 8 年規模)

        - approve/deny は selected_alias_id の ownership 検証 (check_alias_ownership)

        により account 境界が enforce される。 cross-account approve は SSOT §2-3 通り 404

        すなわち GET は info disclosure を許容 (RAR + client_hint) するが、 actual side effect

        (Script/Topic/Grant 作成) は approve 時の alias ownership で gating される。

        legacy /device flow (`/device/verify` + select_script_candidates) と同 trust model。'
      operationId: get_by_user_code_console_topology_requests_by_user_code_get
      parameters:
      - name: code
        in: query
        required: true
        schema:
          type: string
          title: Code
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Get By User Code Console Topology Requests By User Code Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /console/topology-requests/{user_code}/approve:
    post:
      tags:
      - console-topology-request
      summary: Approve
      description: SSOT §2-4。 1 TX で Script + Topics + Grants 作成 + device_codes UPDATE.
      operationId: approve_console_topology_requests__user_code__approve_post
      parameters:
      - name: user_code
        in: path
        required: true
        schema:
          type: string
          title: User Code
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ApprovePayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Approve Console Topology Requests  User Code  Approve Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /console/topology-requests/{user_code}/deny:
    post:
      tags:
      - console-topology-request
      summary: Deny
      description: SSOT §2-5。 device_codes.denied_at + consumed_at で deny semantic (既存 §3-2b).
      operationId: deny_console_topology_requests__user_code__deny_post
      parameters:
      - name: user_code
        in: path
        required: true
        schema:
          type: string
          title: User Code
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DenyPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Deny Console Topology Requests  User Code  Deny Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    DenyPayload:
      properties:
        reason:
          anyOf:
          - type: string
          - type: 'null'
          title: Reason
      type: object
      title: DenyPayload
    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
    _GrantActionBody:
      properties:
        topic_ref:
          type: string
          title: Topic Ref
        scope:
          type: string
          pattern: ^(read|write)$
          title: Scope
        binding_name:
          anyOf:
          - type: string
          - type: 'null'
          title: Binding Name
        kind:
          type: string
          pattern: ^(approve|deny)$
          title: Kind
      type: object
      required:
      - topic_ref
      - scope
      - kind
      title: _GrantActionBody
    _TopicResolutionBody:
      properties:
        ref:
          type: string
          title: Ref
        kind:
          type: string
          pattern: ^(create_new|bind_existing|skip)$
          title: Kind
        existing_topic_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Existing Topic Id
        override_retention_s:
          anyOf:
          - type: integer
          - type: 'null'
          title: Override Retention S
        bind_existing_acknowledged:
          type: boolean
          title: Bind Existing Acknowledged
          default: false
      type: object
      required:
      - ref
      - kind
      title: _TopicResolutionBody
    _ScriptResolutionBody:
      properties:
        kind:
          type: string
          pattern: ^(create_new|bind_existing)$
          title: Kind
        existing_script_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Existing Script Id
      type: object
      required:
      - kind
      title: _ScriptResolutionBody
    ApprovePayload:
      properties:
        selected_alias_id:
          type: string
          title: Selected Alias Id
        script_resolution:
          $ref: '#/components/schemas/_ScriptResolutionBody'
        topic_resolutions:
          items:
            $ref: '#/components/schemas/_TopicResolutionBody'
          type: array
          title: Topic Resolutions
        grant_actions:
          items:
            $ref: '#/components/schemas/_GrantActionBody'
          type: array
          title: Grant Actions
      type: object
      required:
      - selected_alias_id
      - script_resolution
      title: ApprovePayload