Mastra website screenshot

Mastra

Mastra is an open-source TypeScript AI agent framework from the team that built Gatsby. It enables developers to prototype and productionize AI features using a modern JavaScript stack with tools for agents, workflows, RAG, and integrations.

Mastra publishes 10 APIs on the APIs.io network, including Agents API, Conversations API, Logs API, and 7 more. Tagged areas include Agents, AI, JavaScript, RAG, and TypeScript.

Mastra’s developer surface includes authentication, documentation, engineering blog, and 6 more developer resources.

36.3/100 thin ▬ flat Agent 31/100 agent aware Full breakdown ↓
scored 2026-08-05 · rubric v0.9.1
AccessFreemiumSelf serve⚡ Free to try
11 APIs
AgentsAIJavaScriptRAGTypeScriptWorkflows

Kin Score

Kin Score Kin Score How this is scored →
scored 2026-08-05 · rubric v0.9.1
Composite quality — 36.3/100 · thin
Contract Quality 12.8 / 25
Developer Ergonomics 4.3 / 20
Commercial Clarity 7.9 / 20
Operational Transparency 4.8 / 13
Governance 0.0 / 12
Discoverability 6.5 / 10
Agent readiness — 31/100 · agent aware
Machine-Readable Contract 18 / 18
Agentic Access Contract 10 / 10
MCP Server 0 / 12
Machine-Readable Auth 10 / 10
Idempotency 0 / 9
Stable Error Semantics 0 / 8
Request/Response Examples 0 / 7
Rate-Limit Signaling 7 / 7
Typed Event Surface 0 / 6
Agent Skills 0 / 5
Well-Known Catalog 0 / 4
Consent & Bot Identity 0 / 3
A2A Agent Card 0 / 8
Dry-Run / Simulate Mode 0 / 4
Improve this rating by publishing the missing artifacts — every area above can be raised, and the full rubric is at apis.io/rating/. This rating is computed from github.com/api-evangelist/mastra: open an issue to ask a question, or submit a pull request to add artifacts. Want it done for you? Prioritized profiling — $2,500 →

APIs 11

Individual APIs this provider publishes, each with its own machine-readable definition.

Mastra

Mastra is an open-source TypeScript AI agent framework that enables developers to build and deploy AI-powered applications with agents, workflows, RAG pipelines, and third-party...

Mastra Agents API

The Agents API from Mastra — 6 operation(s) for agents.

Mastra Conversations API

The Conversations API from Mastra — 3 operation(s) for conversations.

Mastra Logs API

The Logs API from Mastra — 1 operation(s) for logs.

Mastra Mcp API

The Mcp API from Mastra — 2 operation(s) for mcp.

Mastra Memory API

The Memory API from Mastra — 3 operation(s) for memory.

Mastra Responses API

The Responses API from Mastra — 2 operation(s) for responses.

Mastra Telemetry API

The Telemetry API from Mastra — 2 operation(s) for telemetry.

Mastra Tools API

The Tools API from Mastra — 3 operation(s) for tools.

Mastra Vectors API

The Vectors API from Mastra — 3 operation(s) for vectors.

Mastra Workflows API

The Workflows API from Mastra — 8 operation(s) for workflows.

Scroll for all 11

Open Collections 1

Open, tool-agnostic API collections (OpenAPI-derived and Bruno).

Mastra Server REST API

OPEN COLLECTION

Pricing Plans 1

Published pricing tiers and plan structures.

Mastra Plans Pricing

3 plans

PLANS

Rate Limits 1

Documented rate limits and quota policies.

Mastra Rate Limits

5 limits

RATE LIMITS

FinOps 1

Cost, billing, and metering signals for API financial operations.

Security Posture 2

Authentication, domain security, vulnerability disclosure, and trust-center signals.

Mastra Authentication

http · 1 scheme

SECURITY

Mastra Domain Security

TLSv1.3 · HSTS · DMARC

SECURITY

Agentic Access 1

Recommended x-agentic-access execution contracts for AI agents.

Mastra Agentic Access

37 operations · 17 acting

37 operations · 17 acting

AGENTIC

Resources

Documentation 1

Reference material describing how the API behaves

Agent Surfaces 2

MCP servers, agent skills, and machine-readable catalogs

Build 1

SDKs, sample code, and the tooling you integrate with

Access & Security 2

Authentication, authorization, and security posture

Company 3

The organization behind the API

Source (apis.yml)

apis.yml Raw ↑
aid: mastra
name: Mastra
description: Mastra is an open-source TypeScript AI agent framework from the team that built Gatsby. It enables developers
  to prototype and productionize AI features using a modern JavaScript stack with tools for agents, workflows, RAG, and integrations.
type: Index
accessModel:
  pricing: freemium
  onboarding: self-serve
  trial: false
  try_now: true
  public: false
  label: Freemium · Self-serve signup
  confidence: high
  source:
  - plans
  - authentication
  generated: '2026-07-22'
  method: derived
image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/icons/mastra.png
tags:
- Agents
- AI
- JavaScript
- RAG
- TypeScript
- Workflows
url: https://raw.githubusercontent.com/api-evangelist/mastra/refs/heads/main/apis.yml
created: '2026-01-02'
modified: '2026-04-28'
specificationVersion: '0.19'
apis:
- aid: mastra:mastra
  name: Mastra
  description: Mastra is an open-source TypeScript AI agent framework that enables developers to build and deploy AI-powered
    applications with agents, workflows, RAG pipelines, and third-party integrations.
  humanURL: https://mastra.ai/
  tags:
  - Agents
  - AI
  - TypeScript
  properties:
  - type: Documentation
    url: https://mastra.ai/docs
  - type: GettingStarted
    url: https://mastra.ai/docs/getting-started/installation
- aid: mastra:mastra-agents-api
  name: Mastra Agents API
  description: The Agents API from Mastra — 6 operation(s) for agents.
  humanURL: https://mastra.ai/
  tags:
  - Agents
  properties:
  - type: OpenAPI
    url: openapi/mastra-agents-api-openapi.yml
- aid: mastra:mastra-conversations-api
  name: Mastra Conversations API
  description: The Conversations API from Mastra — 3 operation(s) for conversations.
  humanURL: https://mastra.ai/
  tags:
  - Conversations
  properties:
  - type: OpenAPI
    url: openapi/mastra-conversations-api-openapi.yml
- aid: mastra:mastra-logs-api
  name: Mastra Logs API
  description: The Logs API from Mastra — 1 operation(s) for logs.
  humanURL: https://mastra.ai/
  tags:
  - Logs
  properties:
  - type: OpenAPI
    url: openapi/mastra-logs-api-openapi.yml
- aid: mastra:mastra-mcp-api
  name: Mastra Mcp API
  description: The Mcp API from Mastra — 2 operation(s) for mcp.
  humanURL: https://mastra.ai/
  tags:
  - Mcp
  properties:
  - type: OpenAPI
    url: openapi/mastra-mcp-api-openapi.yml
- aid: mastra:mastra-memory-api
  name: Mastra Memory API
  description: The Memory API from Mastra — 3 operation(s) for memory.
  humanURL: https://mastra.ai/
  tags:
  - Memory
  properties:
  - type: OpenAPI
    url: openapi/mastra-memory-api-openapi.yml
- aid: mastra:mastra-responses-api
  name: Mastra Responses API
  description: The Responses API from Mastra — 2 operation(s) for responses.
  humanURL: https://mastra.ai/
  tags:
  - Responses
  properties:
  - type: OpenAPI
    url: openapi/mastra-responses-api-openapi.yml
- aid: mastra:mastra-telemetry-api
  name: Mastra Telemetry API
  description: The Telemetry API from Mastra — 2 operation(s) for telemetry.
  humanURL: https://mastra.ai/
  tags:
  - Telemetry
  properties:
  - type: OpenAPI
    url: openapi/mastra-telemetry-api-openapi.yml
- aid: mastra:mastra-tools-api
  name: Mastra Tools API
  description: The Tools API from Mastra — 3 operation(s) for tools.
  humanURL: https://mastra.ai/
  tags:
  - Tools
  properties:
  - type: OpenAPI
    url: openapi/mastra-tools-api-openapi.yml
- aid: mastra:mastra-vectors-api
  name: Mastra Vectors API
  description: The Vectors API from Mastra — 3 operation(s) for vectors.
  humanURL: https://mastra.ai/
  tags:
  - Vectors
  properties:
  - type: OpenAPI
    url: openapi/mastra-vectors-api-openapi.yml
- aid: mastra:mastra-workflows-api
  name: Mastra Workflows API
  description: The Workflows API from Mastra — 8 operation(s) for workflows.
  humanURL: https://mastra.ai/
  tags:
  - Workflows
  properties:
  - type: OpenAPI
    url: openapi/mastra-workflows-api-openapi.yml
common:
- type: AgenticAccess
  url: agentic-access/mastra-agentic-access.yml
- type: DomainSecurity
  url: security/mastra-domain-security.yml
- type: Authentication
  url: authentication/mastra-authentication.yml
- type: LinkedIn
  url: https://www.linkedin.com/company/mastra-ai
- type: Website
  url: https://mastra.ai/
- type: GitHubOrganization
  url: https://github.com/mastra-ai
- type: Documentation
  url: https://mastra.ai/docs
- type: LlmsText
  url: https://mastra.ai/llms.txt
- url: https://mastra.ai/blog
  type: Blog
maintainers:
- FN: Kin Lane
  email: kin@apievangelist.com