How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Mastra Memory API

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

Mastra Memory API is one of 11 APIs that Mastra publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Memory. The published artifact set on APIs.io includes an OpenAPI specification.

This API exposes 6 operations across 3 paths. It is described by OpenAPI 3.1.0, at version v1.

Requests are made against 2 base URLs: http://localhost:4111, https://{host}.

6 operations 3 paths 0 schemas 1 DELETE3 GET2 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
v1
Servers
http://localhost:4111
https://{host}
Authentication
HTTP Bearer
Contact
Resource Areas
1

Authentication & Security 1

Mastra Memory API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (BearerAuth). By default, every request must be authenticated.

  • BearerAuth — Mastra API key passed as Authorization: Bearer {apikey}. Local dev servers may not require authentication.

Paths & Operations 6

Across 3 paths, the API surfaces 6 operations — 1 DELETE, 3 GET, 2 POST. Each is listed below with its method, path, parameters, and response codes.

Memory 6
GET
/api/memory/threads
List memory threads
listMemoryThreads → 200
POST
/api/memory/threads
Create a memory thread
createMemoryThread body → 200
GET
/api/memory/threads/{threadId}
Get a memory thread
getMemoryThread 1 param → 200
DELETE
/api/memory/threads/{threadId}
Delete a memory thread
deleteMemoryThread 1 param → 204
GET
/api/memory/threads/{threadId}/messages
Get messages in a thread
getThreadMessages 1 param → 200
POST
/api/memory/threads/{threadId}/messages
Add a message to a thread
addThreadMessage 1 param body → 200

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

mastra-memory-api-openapi.yml Raw ↑

Other APIs Mastra publishes across the network.

Mastra Agents API
Mastra Conversations API
Mastra Logs API
Mastra Mcp API
Mastra Responses API
Mastra Telemetry API
Mastra Tools API
Mastra Vectors API
Mastra Workflows API
Where this information came from

This is an independent, third-party profile of Mastra Memory API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.