30MHz Agent API

The agent API from 30MHz — 2 operation(s) for agent.

Operations 2

GET /agent/conversation/{conversationId}/message Return all messages of the provided conversation #
POST /agent/message-stream Send a message to the provided conversation and start a run #

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/30mhz-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

30mhz-agent-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: '2.0'
  title: ZENSIE Agent API
servers:
- url: https://api.30mhz.com/api
tags:
- name: Agent
paths:
  /agent/conversation/{conversationId}/message:
    get:
      tags:
      - Agent
      summary: Return all messages of the provided conversation
      description: Authentication required for this operation.
      operationId: getConversationMessages
      parameters:
      - name: conversationId
        in: path
        required: true
        schema:
          type: string
      security:
      - Bearer: []
      responses:
        '200':
          description: All messages returned.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/AgentMessage'
            application/zensie-v2+json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/AgentMessage'
        '403':
          description: Not enough permissions to perform the operation.
  /agent/message-stream:
    post:
      tags:
      - Agent
      summary: Send a message to the provided conversation and start a run
      description: Authentication required for this operation.
      operationId: sendMessageStream
      security:
      - Bearer: []
      responses:
        '200':
          description: Stream with updates to the run.
          content:
            text/event-stream:
              schema:
                $ref: '#/components/schemas/ChunkedOutput'
        '403':
          description: Not enough permissions to perform the operation.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AgentMessageNew'
components:
  schemas:
    Type:
      type: object
      properties:
        typeName:
          type: string
    ChunkedOutput:
      type: object
      properties:
        type:
          $ref: '#/components/schemas/Type'
        closed:
          type: boolean
    AgentToolCall:
      type: object
      properties:
        agentToolId:
          type: string
          description: The unique identifier of the tool. This is also the name of the tool.
        arguments:
          type: object
          description: A key-value map of the tool arguments.
          additionalProperties:
            type: object
        toolCallId:
          type: string
          description: The unique identifier of the AI agents call to a tool.
      description: An AI agent request to call a tool.
    AgentMessageNew:
      type: object
      properties:
        agentId:
          type: string
          description: The unique identifier of the AI agent.
        content:
          type: string
          description: Content of the message
        isSystemGenerated:
          type: boolean
          description: Indicates whether it was automatically created by the system or sent by the user.
        organizationId:
          type: string
          description: Unique identifier for the organization, preferably a readable text such as the domain name of the company.
        requiredToolCall:
          description: A tool call that the agent must perform for the task.
          $ref: '#/components/schemas/AgentToolCall'
        role:
          type: string
          description: Role of the message sender (e.g. assistant or user)
        conversationId:
          type: string
          description: The unique identifier of the AI agent conversation.
      description: Object holding the required properties to create a new AgentMessage.
    AgentMessage:
      type: object
      required:
      - conversationId
      properties:
        agentId:
          type: string
          description: The unique identifier of the AI agent.
        content:
          type: string
          description: Content of the message
        isSystemGenerated:
          type: boolean
          description: Indicates whether it was automatically created by the system or sent by the user.
        organizationId:
          type: string
          description: Unique identifier for the organization, preferably a readable text such as the domain name of the company.
        requiredToolCall:
          description: A tool call that the agent must perform for the task.
          $ref: '#/components/schemas/AgentToolCall'
        role:
          type: string
          description: Role of the message sender (e.g. assistant or user)
        conversationId:
          type: string
          description: The unique identifier of the AI agent conversation.
        createdAt:
          type: integer
          format: int64
          description: Timestamp of when it was created.
        messageId:
          type: string
          description: Unique identifier for the message.
        runId:
          type: string
          description: The unique identifier of the AI agent run.
      description: A message in the AI Agent conversation.
  securitySchemes:
    Bearer:
      description: ''
      type: apiKey
      name: Authorization
      in: header