memos-api

Generates curl and Python requests for the Memos REST API with authentication, pagination, and filtering.

1|Updated Jun 20, 2026
One-click install
npx skills add https://github.com/riipandi/minis-skills --skill memos-api-riipandi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: memos-api
Source: https://github.com/riipandi/minis-skills/tree/main/memos-api
Command: npx skills add https://github.com/riipandi/minis-skills --skill memos-api-riipandi

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Working with the Memos API requires remembering endpoint paths, Bearer token headers, pagination parameters, AIP-160 filter syntax, and updateMask semantics. This Skill provides ready-to-run request templates and a condensed endpoint reference so you can call, debug, or script against a Memos instance without reading the full API documentation. ## Core Features & Use Cases - Request Generation: Produces curl and Python requests examples with Authorization Bearer headers for memo CRUD, attachments, activities, auth, and identity providers. - Pagination & Filtering Guidance: Handles pageSize/pageToken pagination, AIP-160 filter expressions, and updateMask partial updates correctly. - Endpoint Reference: Bundles a condensed API reference covering memos, attachments, resources, tags, auth, and identity provider endpoints. - Use Case: You want to batch download all public memos from your instance. Ask for a script, and get a paginated curl or Python loop using $MEMOS_BASE and $MEMOS_TOKEN environment variables without exposing your token. ## Quick Start Ask the assistant to generate a curl command that lists the 20 most recent memos from your Memos instance using a bearer token stored in an environment variable.

Frequently Asked Questions about memos-api

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I call the Memos API with curl?

Send requests to https://<your-instance>/api/v1 with an Authorization: Bearer $MEMOS_TOKEN header. For example, list memos with curl -s -H "Authorization: Bearer $MEMOS_TOKEN" "$MEMOS_BASE/api/v1/memos?pageSize=20".

How do I paginate through Memos API list results?

Use the pageSize and pageToken query parameters on list endpoints. Read nextPageToken from each response and pass it as pageToken in the next request, repeating until the token is empty.

How do I filter memos with the Memos API?

Pass a filter query parameter using AIP-160 syntax, such as filter=visibility=PUBLIC or create_time>"2024-01-01T00:00:00Z". Quote string values and use field operator value expressions.

How do I update only part of a memo via the API?

Send a PATCH request to /api/v1/memos/{memo} with an updateMask query parameter listing the fields to change, for example ?updateMask=content, and include only those fields in the JSON body.

Why does the Memos API return 401 or 403 errors?

A 401 or 403 usually means the bearer token is missing, expired, or lacks scope. Verify the Authorization: Bearer header is present, and refresh the token via POST /api/v1/auth/refresh or sign in again.