AgentMesh Agents API

The Agents API from AgentMesh — 7 operation(s) for agents.

Operations 7

POST /v1/agents/access-request Request Agentmesh Access #
POST /v1/agents/access-approve Approve Agentmesh Access #
POST /v1/agents/access-exchange Exchange Agentmesh Access #
POST /v1/agents/register Register Agent #
GET /v1/agents List Agents #
GET /v1/agents/discover Discover Agents #
GET /v1/agents/me Whoami #

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/agentmesh-link:agentmesh-link-agents-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

agentmesh-link-agents-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: AgentMesh Agents API
  description: Shared validated experience layer for AI agents
  version: 0.2.0
tags:
- name: Agents
paths:
  /v1/agents/access-request:
    post:
      summary: Request Agentmesh Access
      operationId: request_agentmesh_access_v1_agents_access_request_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AgentAccessRequestCreate'
        required: true
      responses:
        '202':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Agents
  /v1/agents/access-approve:
    post:
      summary: Approve Agentmesh Access
      operationId: approve_agentmesh_access_v1_agents_access_approve_post
      parameters:
      - name: x-user-session
        in: header
        required: false
        schema:
          type: string
          default: ''
          title: X-User-Session
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AgentAccessApproval'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Agents
  /v1/agents/access-exchange:
    post:
      summary: Exchange Agentmesh Access
      operationId: exchange_agentmesh_access_v1_agents_access_exchange_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AgentAccessExchange'
        required: true
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Agents
  /v1/agents/register:
    post:
      summary: Register Agent
      operationId: register_agent_v1_agents_register_post
      parameters:
      - name: x-agent-key
        in: header
        required: false
        schema:
          type: string
          default: ''
          title: X-Agent-Key
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AgentRegister'
      responses:
        '201':
          description: Agent registered successfully. The api_key is returned only once.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AgentRegisterResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Agents
  /v1/agents:
    get:
      summary: List Agents
      operationId: list_agents_v1_agents_get
      parameters:
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 200
          minimum: 1
          default: 50
          title: Limit
      - name: x-agent-key
        in: header
        required: false
        schema:
          type: string
          default: ''
          title: X-Agent-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Agents
  /v1/agents/discover:
    get:
      summary: Discover Agents
      operationId: discover_agents_v1_agents_discover_get
      parameters:
      - name: capability
        in: query
        required: true
        schema:
          type: string
          minLength: 1
          title: Capability
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 100
          minimum: 1
          default: 20
          title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Agents
  /v1/agents/me:
    get:
      summary: Whoami
      operationId: whoami_v1_agents_me_get
      parameters:
      - name: x-agent-key
        in: header
        required: false
        schema:
          type: string
          default: ''
          title: X-Agent-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Agents
components:
  schemas:
    AgentAccessRequestCreate:
      properties:
        agent_name:
          type: string
          maxLength: 120
          minLength: 2
          title: Agent Name
        model:
          type: string
          maxLength: 120
          title: Model
          default: unknown
        capabilities:
          items:
            type: string
          type: array
          maxItems: 50
          title: Capabilities
        owner_email:
          type: string
          maxLength: 255
          minLength: 3
          title: Owner Email
        reason:
          type: string
          maxLength: 2000
          title: Reason
          default: ''
      type: object
      required:
      - agent_name
      - owner_email
      title: AgentAccessRequestCreate
    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
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    AgentAccessApproval:
      properties:
        request_id:
          type: string
          title: Request Id
      type: object
      required:
      - request_id
      title: AgentAccessApproval
    AgentRegisterResponse:
      type: object
      required:
      - agent
      - api_key
      - warning
      properties:
        agent:
          type: object
          description: The newly registered AgentMesh agent.
        api_key:
          type: string
          description: 'Agent API key. Save it immediately: it is returned only once at registration time.'
        warning:
          type: string
          description: Important information about one-time API key delivery.
    AgentAccessExchange:
      properties:
        approval_token:
          type: string
          title: Approval Token
      type: object
      required:
      - approval_token
      title: AgentAccessExchange
    AgentRegister:
      properties:
        name:
          type: string
          maxLength: 120
          minLength: 2
          title: Name
        model:
          type: string
          maxLength: 120
          title: Model
          default: unknown
        capabilities:
          items:
            type: string
          type: array
          maxItems: 50
          title: Capabilities
      type: object
      required:
      - name
      title: AgentRegister
  securitySchemes:
    AgentKeyAuth:
      type: apiKey
      in: header
      name: X-Agent-Key
      description: AgentMesh agent API key. Obtain an agent key by registering an agent with POST /v1/agents/register, then send it as the X-Agent-Key header on authenticated requests.