Skip to main content
Noorle Platform provides three APIs for different use cases: REST for administration, MCP for agent tools, and A2A for agent-to-agent communication.

API Endpoints

Base URLs

Versioning

Current API version: v1 REST API uses path versioning: /v1/capabilities, /v1/agents, etc.

Three API Types

1. REST API (api.noorle.com)

Traditional HTTP REST API for administration. Use for:
  • Plugin management (upload, list, versions)
  • Agent configuration
  • OAuth device flow authentication
  • Capability management
Example:
REST API Reference →

2. MCP Gateway (mcp-{id}.noorle.com)

Model Context Protocol server providing tools to LLMs and agents. Use for:
  • Discovering available tools
  • Calling tools (capabilities)
  • Accessing resources
  • Retrieving prompts
Transports:
  • Streamable HTTP - SSE for events, POST for requests
  • HTTP - Stateless request-response
Example:
MCP Reference →

3. A2A Gateway (agent-{id}.noorle.com)

Agent-to-Agent protocol for multi-agent workflows. Use for:
  • Sending messages to agents
  • Streaming responses
  • Querying agent capabilities
  • Managing tasks
Transports:
  • JSON-RPC 2.0 - Over HTTP/WebSocket
  • SSE (Server-Sent Events) - For streaming
Example:
A2A Reference →

Authentication

All APIs support multiple authentication methods:

API Key (Header)

Bearer Token (OAuth)

Device Flow (CLI)

Authentication Guide →

Request Format

All APIs use JSON for request and response bodies.

Headers

Common Request Fields

Response Format

Success Response

HTTP Status: 200 OK

Error Response

HTTP Status: 4xx (client error) or 5xx (server error)

Rate Limiting

All APIs implement rate limiting:
When limit reached, response is:
Wait until X-RateLimit-Reset timestamp before retrying. Rate Limits →

Error Codes

Common HTTP Status Codes

Error Reference →

JSON-RPC Error Codes

MCP and A2A use JSON-RPC 2.0 error codes:

Testing APIs

Using cURL

Using Postman

  1. Import OpenAPI spec from https://api.noorle.com/openapi.json
  2. Set X-API-Key header in collection
  3. Execute requests

Using SDK

Official SDKs available:
  • JavaScript/TypeScript - npm install @noorle/sdk
  • Python - pip install noorle-sdk
  • Go - go get github.com/noorle/sdk-go

Choosing an API

API Clients

Official Clients:
  • Noorle CLI - Command-line tool for administration
  • Console - Web UI for all operations
  • SDKs - Typed clients for your language
Third-party tools:
  • Postman Collection - Import and test APIs
  • OpenAPI Schema - Integrate with code generators
  • Webhooks - Event-driven integrations (future)

Common Workflows

Upload a Plugin

Call a Tool

Send Message to Agent

Next Steps