AgenTrux Console Script API

The console-script API from AgenTrux — 6 operation(s) for console-script.

Operations 10

POST /console/scripts Create Script Endpoint #
GET /console/scripts List Scripts Endpoint #
GET /console/scripts/{scr_id} Get Script Endpoint #
DELETE /console/scripts/{scr_id} Delete Script Endpoint #
POST /console/scripts/{scr_id}/credentials Issue Credential Endpoint #
GET /console/scripts/{scr_id}/credentials List Credentials Endpoint #
POST /console/scripts/{scr_id}/activation-codes Issue Activation Code Endpoint #
POST /console/scripts/{scr_id}/mcp-connections Create Mcp Connection Endpoint #
GET /console/scripts/{scr_id}/mcp-connections List Mcp Connections Endpoint #
DELETE /console/scripts/{scr_id}/mcp-connections/{mcn_id} Revoke Mcp Connection Endpoint #

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-script-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-script-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: AgenTrux Console Script API
  version: 0.1.0
tags:
- name: console-script
paths:
  /console/scripts:
    post:
      tags:
      - console-script
      summary: Create Script Endpoint
      operationId: create_script_endpoint_console_scripts_post
      parameters:
      - name: X-Workspace-Alias-Id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Workspace-Alias-Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateScriptBody'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Create Script Endpoint Console Scripts Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    get:
      tags:
      - console-script
      summary: List Scripts Endpoint
      operationId: list_scripts_endpoint_console_scripts_get
      parameters:
      - name: alias_id
        in: query
        required: true
        schema:
          type: string
          description: ali_<uuid>
          title: Alias Id
        description: ali_<uuid>
      - name: after
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: (legacy) cursor (scr_<uuid>)
          title: After
        description: (legacy) cursor (scr_<uuid>)
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          description: 1..200
          default: 50
          title: Limit
        description: 1..200
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response List Scripts Endpoint Console Scripts Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /console/scripts/{scr_id}:
    get:
      tags:
      - console-script
      summary: Get Script Endpoint
      description: 'Codex impl review #5: GET single も counts / last_used_at を返す。'
      operationId: get_script_endpoint_console_scripts__scr_id__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 Get Script Endpoint Console Scripts  Scr Id  Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - console-script
      summary: Delete Script Endpoint
      operationId: delete_script_endpoint_console_scripts__scr_id__delete
      parameters:
      - name: scr_id
        in: path
        required: true
        schema:
          type: string
          title: Scr Id
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /console/scripts/{scr_id}/credentials:
    post:
      tags:
      - console-script
      summary: Issue Credential Endpoint
      operationId: issue_credential_endpoint_console_scripts__scr_id__credentials_post
      parameters:
      - name: scr_id
        in: path
        required: true
        schema:
          type: string
          title: Scr Id
      - name: Idempotency-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Idempotency-Key
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    get:
      tags:
      - console-script
      summary: List Credentials Endpoint
      description: 'Phase 4.11.2 4.11.1 標準準拠の Credential list 実装.


        Query (4.11.1 標準):

        - q: credential_id (crd_ または bare uuid prefix) の部分一致

        - sort: created_at / last_used_at (default created_at:desc)

        - filter[revoked]: true|false

        - filter[active]: true|false (revoked_at IS NULL かつ expires_at が未到来)

        - cursor / limit: keyset (created_at, id)


        A4 (cross-tenant) 隠蔽は script 所有確認 + WHERE script_id 経由。'
      operationId: list_credentials_endpoint_console_scripts__scr_id__credentials_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 Credentials Endpoint Console Scripts  Scr Id  Credentials Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /console/scripts/{scr_id}/activation-codes:
    post:
      tags:
      - console-script
      summary: Issue Activation Code Endpoint
      operationId: issue_activation_code_endpoint_console_scripts__scr_id__activation_codes_post
      parameters:
      - name: scr_id
        in: path
        required: true
        schema:
          type: string
          title: Scr Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IssueActivationCodeBody'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Issue Activation Code Endpoint Console Scripts  Scr Id  Activation Codes Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /console/scripts/{scr_id}/mcp-connections:
    post:
      tags:
      - console-script
      summary: Create Mcp Connection Endpoint
      operationId: create_mcp_connection_endpoint_console_scripts__scr_id__mcp_connections_post
      parameters:
      - name: scr_id
        in: path
        required: true
        schema:
          type: string
          title: Scr Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/_CreateMcpConnectionBody'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    get:
      tags:
      - console-script
      summary: List Mcp Connections Endpoint
      operationId: list_mcp_connections_endpoint_console_scripts__scr_id__mcp_connections_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 Mcp Connections Endpoint Console Scripts  Scr Id  Mcp Connections Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /console/scripts/{scr_id}/mcp-connections/{mcn_id}:
    delete:
      tags:
      - console-script
      summary: Revoke Mcp Connection Endpoint
      operationId: revoke_mcp_connection_endpoint_console_scripts__scr_id__mcp_connections__mcn_id__delete
      parameters:
      - name: scr_id
        in: path
        required: true
        schema:
          type: string
          title: Scr Id
      - name: mcn_id
        in: path
        required: true
        schema:
          type: string
          title: Mcn Id
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    IssueActivationCodeBody:
      properties:
        ttl_seconds:
          type: integer
          maximum: 1800.0
          minimum: 300.0
          title: Ttl Seconds
          default: 300
      additionalProperties: false
      type: object
      title: IssueActivationCodeBody
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    _CreateMcpConnectionBody:
      properties:
        label:
          anyOf:
          - type: string
            maxLength: 128
          - type: 'null'
          title: Label
      additionalProperties: false
      type: object
      title: _CreateMcpConnectionBody
    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
    CreateScriptBody:
      properties:
        name:
          type: string
          maxLength: 128
          minLength: 1
          title: Name
      additionalProperties: false
      type: object
      required:
      - name
      title: CreateScriptBody