memex-sdk
v2026.4.1-9.1
Published
TypeScript SDK for the public Memex REST API
Readme
memex-sdk
TypeScript SDK for the public Memex REST API.
Beta
memex-sdk is currently in beta. The SDK surface and API response shapes will likely change as the Memex API evolves.
Always treat the hosted API docs as the source of truth:
- https://api.memex.garden
- https://api.memex.garden/general/available-endpoints
- https://api.memex.garden/general/response-shape
- https://api.memex.garden/general/sdk
Install
npm install memex-sdkUsage
import { MemexClient } from 'memex-sdk'
const client = new MemexClient({
apiKey: process.env.MEMEX_API_KEY,
})
const result = await client.search({
query: 'vector databases',
limit: 5,
})Auth
For REST requests, Memex accepts:
- API keys as
Authorization: Bearer <apiKey> - OAuth access tokens as
Authorization: Bearer <token>
For agent signup, use x-agent-service-token with agentCreateUser.
Included methods
searchsearchContentsaveContentByUrlgetAvailablePlanscreateCheckoutgetAvailableTagNamesagentCreateUser
