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 11 APIs on the APIs.io network, including Agents API, Conversations API, Logs API, and 8 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 19 more developer resources.

34.5/100 thin ▬ flat Agent 21/100 agent aware Front door AI 6/6 dominant saas · Apache 2.0 + Mastra Enterprise License Full breakdown ↓
scored 2026-10-04 · rubric v0.23.0
AccessFreemiumSelf serve⚡ Free to try
1 published contract
AgentsArtificial IntelligenceJavaScriptRAGTypeScriptWorkflows

What this lets a business do 2

Business capabilities this provider's published APIs can perform, derived from its own contracts. Browse all capabilities →

Information & Data Management
BC-610
Agents
POST /api/agents/{agentId}/generate
SaaS Platform Operations Management
BC-4220
Telemetry
GET /api/telemetry/traces

Kin Score

Kin Score Kin Score How this is scored →
scored 2026-10-04 · rubric v0.23.0
Regulatory Posture applies to this provider. Its tags matched the Horizontal (data, software, accessibility, platform) regime, so Regulatory Posture carries 15 points of the composite. If this regime is wrong for your business, say so on your provider repo — the applicability map is public and we will correct it.
Create-or-Update Ergonomics applies to this provider. This API accepts writes, so it carries 10 points of the composite. It is scored from the published contracts themselves: whether a caller can create-or-update in one call, whether the write accepts a key the caller already holds, and whether the response says which branch ran. Without that, every write needs a search-and-branch in front of it, and the first time that check is skipped a duplicate record is created. Scored against the observed mean rather than raw — a provider at the catalog average is unchanged by this facet, not penalised by it.
The six quality facets above are damped to 75 points between them, because the conditional facet above carries the other 25. That is why each facet's contribution is shown against a damped maximum: raising a quality facet moves the composite by 75% of its nominal weight, not 100%. The full arithmetic is at apis.io/rating/.
Improve this rating by publishing the missing artifacts — every area above can be raised, and the full rubric is at apis.io/rating/. Every facet and dimension name above is a link: it opens that measurement's own page — what it means, the exact checks that feed it, how the whole catalog distributes on it, and the providers at the top of it. 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. Submit an artifact on GitHub — free → Manage your own listing — the Influence plan, $499/mo →

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 5

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
deliveryModel:
  model: saas
  license: Apache 2.0 + Mastra Enterprise License
  open_source: false
  commercial: true
  callable_host: false
  label: Hosted service · you call their endpoint
  confidence: medium
  source:
  - license
  - openapi
  - pricing
  generated: '2026-08-28'
  method: derived
accessModel:
  pricing: freemium
  onboarding: self-serve
  trial: false
  try_now: true
  public: false
  label: Freemium · Self-serve signup
  confidence: medium
  source:
  - plans
  - authentication
  - security
  generated: '2026-09-03'
  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: CapabilityMap
  url: capabilities/mastra-capability-edges.yml
  name: Mastra Business Capability Map
- 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 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.