AnomalyArmor Agent API

The Agent API from AnomalyArmor — 7 operation(s) for agent.

Operations 8

POST /api/v1/intelligence/agent/messages Send Agent Message #
POST /api/v1/intelligence/agent/messages/stream Stream Agent Message #
POST /api/v1/intelligence/agent/sessions/{session_uuid}/cancel Cancel Agent Stream #
GET /api/v1/intelligence/agent/sessions List Agent Sessions #
GET /api/v1/intelligence/agent/sessions/{session_id}/messages Get Agent Session Messages #
DELETE /api/v1/intelligence/agent/sessions/{session_id} Delete Agent Session #
PATCH /api/v1/intelligence/agent/sessions/{session_id} Update Agent Session #
POST /api/v1/intelligence/agent/sessions/{session_id}/messages/{message_id}/feedback Set Agent Message Feedback #

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/anomalyarmor-ai:anomalyarmor-ai-agent-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

anomalyarmor-ai-agent-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Anomalyarmor Ai Agent API
  version: 1.0.0
  contact:
    name: AnomalyArmor Support
    url: https://anomalyarmor.ai/support
  license:
    name: Proprietary
  description: 'Operations tagged Agent across 3 of this provider''s published API definitions: anomalyarmor.ai-openapi.json, app.anomalyarmor.ai-openapi.json, docs.anomalyarmor.ai-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: http://localhost:8000
  description: Development server
- url: https://api.anomalyarmor.ai
  description: Production server
tags:
- name: Agent
paths:
  /api/v1/intelligence/agent/messages:
    post:
      tags:
      - Agent
      summary: Send Agent Message
      description: 'Send a message to the agent and get a response.


        If session_id is None a new agent session is created automatically.

        The agent loop runs synchronously and the full result is returned.'
      operationId: send_agent_message_api_v1_intelligence_agent_messages_post
      parameters:
      - name: Authorization
        in: header
        required: false
        schema:
          type: string
          title: Authorization
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AgentMessageRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StandardResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    servers:
    - url: http://localhost:8000
      description: Development server
    - url: https://api.anomalyarmor.ai
      description: Production server
  /api/v1/intelligence/agent/messages/stream:
    post:
      tags:
      - Agent
      summary: Stream Agent Message
      description: 'Send a message to the agent and stream events via SSE.


        Events are flushed as they happen, so the frontend can show

        tool execution progress in real time instead of waiting for

        the full response.


        Event types: text, tool_start, tool_result, error, done


        NOTE: ctx.session (from get_async_session via Depends) stays alive for the

        full duration of the SSE stream. FastAPI/Starlette only runs dependency

        cleanup after the streaming response body is fully consumed.'
      operationId: stream_agent_message_api_v1_intelligence_agent_messages_stream_post
      parameters:
      - name: Authorization
        in: header
        required: false
        schema:
          type: string
          title: Authorization
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AgentMessageRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    servers:
    - url: http://localhost:8000
      description: Development server
    - url: https://api.anomalyarmor.ai
      description: Production server
  /api/v1/intelligence/agent/sessions/{session_uuid}/cancel:
    post:
      tags:
      - Agent
      summary: Cancel Agent Stream
      description: 'Cancel any in-progress streaming messages for a session.


        Called by the frontend when the user clicks the stop button.

        Marks ''streaming'' messages as ''cancelled'' so they don''t stay in limbo.'
      operationId: cancel_agent_stream_api_v1_intelligence_agent_sessions__session_uuid__cancel_post
      parameters:
      - name: session_uuid
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Session Uuid
      - name: Authorization
        in: header
        required: false
        schema:
          type: string
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StandardResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    servers:
    - url: http://localhost:8000
      description: Development server
    - url: https://api.anomalyarmor.ai
      description: Production server
  /api/v1/intelligence/agent/sessions:
    get:
      tags:
      - Agent
      summary: List Agent Sessions
      description: List agent sessions for the current user.
      operationId: list_agent_sessions_api_v1_intelligence_agent_sessions_get
      parameters:
      - name: offset
        in: query
        required: false
        schema:
          type: integer
          default: 0
          title: Offset
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          default: 50
          title: Limit
      - name: Authorization
        in: header
        required: false
        schema:
          type: string
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StandardResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    servers:
    - url: http://localhost:8000
      description: Development server
    - url: https://api.anomalyarmor.ai
      description: Production server
  /api/v1/intelligence/agent/sessions/{session_id}/messages:
    get:
      tags:
      - Agent
      summary: Get Agent Session Messages
      description: Get message history for an agent session.
      operationId: get_agent_session_messages_api_v1_intelligence_agent_sessions__session_id__messages_get
      parameters:
      - name: session_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          description: Session UUID
          title: Session Id
        description: Session UUID
      - name: Authorization
        in: header
        required: false
        schema:
          type: string
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StandardResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    servers:
    - url: http://localhost:8000
      description: Development server
    - url: https://api.anomalyarmor.ai
      description: Production server
  /api/v1/intelligence/agent/sessions/{session_id}:
    delete:
      tags:
      - Agent
      summary: Delete Agent Session
      description: Soft delete an agent session.
      operationId: delete_agent_session_api_v1_intelligence_agent_sessions__session_id__delete
      parameters:
      - name: session_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          description: Session UUID
          title: Session Id
        description: Session UUID
      - name: Authorization
        in: header
        required: false
        schema:
          type: string
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StandardResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    patch:
      tags:
      - Agent
      summary: Update Agent Session
      description: Update an agent session (rename and/or pin).
      operationId: update_agent_session_api_v1_intelligence_agent_sessions__session_id__patch
      parameters:
      - name: session_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          description: Session UUID
          title: Session Id
        description: Session UUID
      - name: Authorization
        in: header
        required: false
        schema:
          type: string
          title: Authorization
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AgentSessionUpdateRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StandardResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    servers:
    - url: http://localhost:8000
      description: Development server
    - url: https://api.anomalyarmor.ai
      description: Production server
  /api/v1/intelligence/agent/sessions/{session_id}/messages/{message_id}/feedback:
    post:
      tags:
      - Agent
      summary: Set Agent Message Feedback
      description: Set feedback on an agent message.
      operationId: set_agent_message_feedback_api_v1_intelligence_agent_sessions__session_id__messages__message_id__feedback_post
      parameters:
      - name: session_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          description: Session UUID
          title: Session Id
        description: Session UUID
      - name: message_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          description: Message UUID
          title: Message Id
        description: Message UUID
      - name: Authorization
        in: header
        required: false
        schema:
          type: string
          title: Authorization
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AgentFeedbackRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StandardResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    servers:
    - url: http://localhost:8000
      description: Development server
    - url: https://api.anomalyarmor.ai
      description: Production server
components:
  schemas:
    AgentFeedbackRequest:
      properties:
        feedback:
          anyOf:
          - type: string
            pattern: ^(thumbs-up|thumbs-down|bug)$
          - type: 'null'
          title: Feedback
        bug_report:
          anyOf:
          - $ref: '#/components/schemas/BugReportDetail'
          - type: 'null'
      type: object
      title: AgentFeedbackRequest
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    AgentSessionUpdateRequest:
      properties:
        title:
          anyOf:
          - type: string
            maxLength: 500
            minLength: 1
          - type: 'null'
          title: Title
        pinned:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Pinned
      type: object
      title: AgentSessionUpdateRequest
    AgentMessageRequest:
      properties:
        session_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Session Id
        message:
          type: string
          maxLength: 10000
          minLength: 1
          title: Message
        asset_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Asset Id
        auto_approve:
          type: boolean
          title: Auto Approve
          default: true
        history:
          anyOf:
          - items:
              $ref: '#/components/schemas/AgentHistoryTurn'
            type: array
          - type: 'null'
          title: History
      type: object
      required:
      - message
      title: AgentMessageRequest
    StandardResponse:
      properties:
        success:
          type: boolean
          title: Success
        data:
          anyOf:
          - {}
          - type: 'null'
          title: Data
        message:
          anyOf:
          - type: string
          - type: 'null'
          title: Message
        error:
          anyOf:
          - type: string
          - type: 'null'
          title: Error
        meta:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Meta
      type: object
      required:
      - success
      title: StandardResponse
      description: Standard API response wrapper.
    AgentHistoryTurn:
      properties:
        role:
          type: string
          maxLength: 32
          title: Role
        content:
          type: string
          maxLength: 10000
          minLength: 1
          title: Content
      type: object
      required:
      - role
      - content
      title: AgentHistoryTurn
      description: One prior conversation turn replayed by the public demo (R1).
    BugReportDetail:
      properties:
        description:
          type: string
          maxLength: 2000
          minLength: 1
          title: Description
        expected_behavior:
          anyOf:
          - type: string
            maxLength: 2000
          - type: 'null'
          title: Expected Behavior
        severity:
          type: string
          pattern: ^(low|medium|high|critical)$
          title: Severity
          default: medium
        steps_to_reproduce:
          anyOf:
          - type: string
            maxLength: 3000
          - type: 'null'
          title: Steps To Reproduce
      type: object
      required:
      - description
      title: BugReportDetail
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
x-refined-from:
- anomalyarmor.ai-openapi.json
- app.anomalyarmor.ai-openapi.json
- docs.anomalyarmor.ai-openapi.json