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, Artificial Intelligence, JavaScript, RAG, and TypeScript.

Mastra’s developer surface includes authentication, documentation, engineering blog, GitHub presence, changelog, pricing, code examples, and 18 more developer resources.

33.2/100 thin ▬ flat Agent 21/100 agent aware Full breakdown ↓
scored 2026-08-25 · rubric v0.14.0
AccessFreemiumSelf serve⚡ Free to try
11 APIs
AgentsArtificial IntelligenceJavaScriptRAGTypeScriptWorkflows

Kin Score

Kin Score Kin Score How this is scored →
scored 2026-08-25 · rubric v0.14.0
Composite quality — 33.2/100 · thin
Contract Quality 12.1 / 25
Developer Ergonomics 5.2 / 20
Access Clarity 5.3 / 20
Operational Transparency 3.4 / 13
Contract Governance 0.0 / 12
Discoverability 7.2 / 10
Agent readiness — 21/100 · agent aware
Machine-Readable Contract 18 / 18
Agentic Access Contract 10 / 10
Documented Reversibility 0 / 6
MCP Server 0 / 12
Machine-Readable Auth 10 / 10
Idempotency 0 / 9
Stable Error Semantics 0 / 8
Request/Response Examples 7 / 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
Delegated User Identity 0 / 6
Protected Resource Metadata 0 / 5
Registration Without a Human 0 / 6
Agentic Commerce Surface 0 / 5
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 12

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

API Collection

OPEN COLLECTION

Mastra Server REST API

OPEN COLLECTION

Scroll for all 12

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 5

SDKs, sample code, and the tooling you integrate with

Access & Security 2

Authentication, authorization, and security posture

Learn 2

Tutorials, courses, talks, and written guidance

Operate 2

Status, limits, changes, and where to get help

Commercial 2

Pricing, plans, and the legal terms of use

Company 5

The organization behind the API

Other 4

Properties that don't map to a standard resource type

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
- Artificial Intelligence
- JavaScript
- RAG
- TypeScript
- Workflows
tags_raw:
- 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-08-08'
specificationVersion: '0.23'
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
  - Artificial Intelligence
  - TypeScript
  tags_raw:
  - 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
  tags_raw:
  - 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
- type: GitHub
  url: https://github.com/mastra-ai/mastra
- type: GitHubOrg
  url: https://github.com/mastra-ai
- type: ChangeLog
  url: https://github.com/mastra-ai/mastra/releases
  name: GitHub Releases
- type: Pricing
  url: https://mastra.ai/pricing
- type: PackageManager
  url: https://www.npmjs.com/org/mastra
  name: npm @mastra Org
- type: Examples
  url: https://github.com/mastra-ai/mastra/tree/main/examples
- type: Templates
  url: https://mastra.ai/templates
- type: Community
  url: https://discord.gg/BTYqqHKUrf
  name: Discord
- type: XTwitter
  url: https://x.com/mastra_ai
- type: YouTube
  url: https://www.youtube.com/@mastra-ai
- type: Course
  url: https://mastra.ai/course
  name: Mastra MCP Course
- type: Book
  url: https://mastra.ai/book
  name: Principles of Building AI Agents
- type: Podcast
  url: https://mastra.ai/agent-hour
  name: Agent Hour
- type: License
  url: https://github.com/mastra-ai/mastra/blob/main/LICENSE.md
  name: Apache 2.0 + Mastra Enterprise License
- type: YCombinator
  url: https://www.ycombinator.com/companies/mastra
- type: Crunchbase
  url: https://www.crunchbase.com/organization/mastra-44ba
maintainers:
- FN: Kin Lane
  email: kin@apievangelist.com
x-merged-from:
- mastra-ai

Work with this as data

Every provider 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 providers

9 MCP tools reach this
  • find_providersBrowse and filter every provider in the catalog.
  • get_provider_artifactsEvery artifact this provider publishes, grouped by type.
  • get_provider_operationsEvery operation across all of their OpenAPIs — one call instead of parsing every spec.
  • get_provider_toolsEvery MCP tool they ship, with the operation each wraps.
  • get_provider_evidenceHow each part of their score was established. Free — the basis for a claim should not sit behind it.
  • get_provider_ratingPRO — composite, band, trend and facet scores.
  • 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 provider
curl "https://apis.io/api/v1/providers/mastra"
All providers
curl "https://apis.io/api/v1/providers?limit=25"
Every operation they expose
curl "https://apis.io/api/v1/providers/mastra/operations?limit=25"
How their score was established
curl "https://apis.io/api/v1/providers/mastra/evidence"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.