AgenTrux Abuse API

The abuse API from AgenTrux — 9 operation(s) for abuse.

Operations 11

POST /admin/abuse/accounts/{account_id}/ban Ban Account Endpoint #
POST /admin/abuse/accounts/{account_id}/unban Unban Account Endpoint #
POST /admin/abuse/aliases/{alias_id}/suspend Suspend Alias Endpoint #
POST /admin/abuse/aliases/{alias_id}/unsuspend Unsuspend Alias Endpoint #
POST /admin/abuse/external-actions/{aea_id}/retry Retry External Action Endpoint #
POST /admin/abuse/email-blocklist Add Email Blocklist Endpoint #
GET /admin/abuse/email-blocklist List Email Blocklist Endpoint #
DELETE /admin/abuse/email-blocklist/{ebl_id} Remove Email Blocklist Endpoint #
POST /admin/abuse/ip-blocklist Add Ip Blocklist Endpoint #
GET /admin/abuse/ip-blocklist List Ip Blocklist Endpoint #
DELETE /admin/abuse/ip-blocklist/{ibl_id} Remove Ip Blocklist 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-abuse-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-abuse-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: AgenTrux Abuse API
  version: 0.1.0
tags:
- name: abuse
paths:
  /admin/abuse/accounts/{account_id}/ban:
    post:
      tags:
      - abuse
      summary: Ban Account Endpoint
      description: 'account を BAN 状態に遷移、 cascade revoke、 Kratos deactivate を enqueue。


        SSOT: docs/04_design/admin_console/14_abuse_defense.md §5-1'
      operationId: ban_account_endpoint_admin_abuse_accounts__account_id__ban_post
      parameters:
      - name: account_id
        in: path
        required: true
        schema:
          type: string
          title: Account Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/_ReasonBody'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /admin/abuse/accounts/{account_id}/unban:
    post:
      tags:
      - abuse
      summary: Unban Account Endpoint
      description: account の BAN 解除。 cascade revoke は巻き戻さない (§5-1 注意)。
      operationId: unban_account_endpoint_admin_abuse_accounts__account_id__unban_post
      parameters:
      - name: account_id
        in: path
        required: true
        schema:
          type: string
          title: Account Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/_ReasonBody'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /admin/abuse/aliases/{alias_id}/suspend:
    post:
      tags:
      - abuse
      summary: Suspend Alias Endpoint
      operationId: suspend_alias_endpoint_admin_abuse_aliases__alias_id__suspend_post
      parameters:
      - name: alias_id
        in: path
        required: true
        schema:
          type: string
          title: Alias Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/_ReasonBody'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /admin/abuse/aliases/{alias_id}/unsuspend:
    post:
      tags:
      - abuse
      summary: Unsuspend Alias Endpoint
      operationId: unsuspend_alias_endpoint_admin_abuse_aliases__alias_id__unsuspend_post
      parameters:
      - name: alias_id
        in: path
        required: true
        schema:
          type: string
          title: Alias Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/_ReasonBody'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /admin/abuse/external-actions/{aea_id}/retry:
    post:
      tags:
      - abuse
      summary: Retry External Action Endpoint
      description: 'failed_permanently_at が set されている external_action を手動 retry 可能化。


        failed_permanently_at = NULL に戻し、 next_attempt_at = now() で再 enqueue。'
      operationId: retry_external_action_endpoint_admin_abuse_external_actions__aea_id__retry_post
      parameters:
      - name: aea_id
        in: path
        required: true
        schema:
          type: string
          title: Aea Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /admin/abuse/email-blocklist:
    post:
      tags:
      - abuse
      summary: Add Email Blocklist Endpoint
      description: email blocklist 追加 (kind='exact' は server 側で hash 化).
      operationId: add_email_blocklist_endpoint_admin_abuse_email_blocklist_post
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/_EmailBlocklistAddBody'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    get:
      tags:
      - abuse
      summary: List Email Blocklist Endpoint
      operationId: list_email_blocklist_endpoint_admin_abuse_email_blocklist_get
      parameters:
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          default: 100
          title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /admin/abuse/email-blocklist/{ebl_id}:
    delete:
      tags:
      - abuse
      summary: Remove Email Blocklist Endpoint
      operationId: remove_email_blocklist_endpoint_admin_abuse_email_blocklist__ebl_id__delete
      parameters:
      - name: ebl_id
        in: path
        required: true
        schema:
          type: string
          title: Ebl Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/_ReasonBody'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /admin/abuse/ip-blocklist:
    post:
      tags:
      - abuse
      summary: Add Ip Blocklist Endpoint
      operationId: add_ip_blocklist_endpoint_admin_abuse_ip_blocklist_post
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/_IpBlocklistAddBody'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    get:
      tags:
      - abuse
      summary: List Ip Blocklist Endpoint
      operationId: list_ip_blocklist_endpoint_admin_abuse_ip_blocklist_get
      parameters:
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          default: 100
          title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /admin/abuse/ip-blocklist/{ibl_id}:
    delete:
      tags:
      - abuse
      summary: Remove Ip Blocklist Endpoint
      operationId: remove_ip_blocklist_endpoint_admin_abuse_ip_blocklist__ibl_id__delete
      parameters:
      - name: ibl_id
        in: path
        required: true
        schema:
          type: string
          title: Ibl Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/_ReasonBody'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '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
    _ReasonBody:
      properties:
        reason:
          type: string
          maxLength: 1024
          minLength: 1
          title: Reason
      additionalProperties: false
      type: object
      required:
      - reason
      title: _ReasonBody
    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
    _IpBlocklistAddBody:
      properties:
        cidr:
          type: string
          maxLength: 64
          minLength: 1
          title: Cidr
        reason:
          type: string
          maxLength: 1024
          minLength: 1
          title: Reason
        expires_at:
          anyOf:
          - type: string
          - type: 'null'
          title: Expires At
      additionalProperties: false
      type: object
      required:
      - cidr
      - reason
      title: _IpBlocklistAddBody
    _EmailBlocklistAddBody:
      properties:
        kind:
          type: string
          pattern: ^(exact|domain)$
          title: Kind
        value:
          type: string
          maxLength: 254
          minLength: 1
          title: Value
        reason:
          type: string
          maxLength: 1024
          minLength: 1
          title: Reason
        expires_at:
          anyOf:
          - type: string
          - type: 'null'
          title: Expires At
      additionalProperties: false
      type: object
      required:
      - kind
      - value
      - reason
      title: _EmailBlocklistAddBody