v2

latestOpenAPI 3.1.02026-07-2664759910.6 KB
external
external-v1

Create Note

post/v1/notes

Request body

contentstring required

Markdown formatted string representing the note content. The first line is automatically interpreted as the title.

created_atstring date-time nullable

When this note was created (ISO 8601 datetime string). Defaults to the current date and time.

Example: • "2025-04-01T14:30:45Z" • "2023-12-15T09:45:30+01:00"

idstring uuid nullable

Optional UUID for the note. If provided, Mem will create a new note with the given ID.

Examples: • "123e4567-e89b-12d3-a456-426614174000"

updated_atstring date-time nullable

When this note was last updated (ISO 8601 datetime string). Defaults to the same as created_at.

Examples: • "2025-04-02T09:15:22Z" • "2023-12-15T09:45:30+01:00"

Example request

{
  "content": "# Meeting with Product Team\n\nDiscussion Topics:\n- Roadmap updates\n- Feature prioritization\n\nAction Items:\n- Schedule follow-up with design\n- Share Q2 priorities document"
}

Response

OK

contentstring required
created_atstring date-time required
idstring uuid required
request_idstring required
status'completed' | 'failed' | 'unknown' required
titlestring required
updated_atstring date-time required
urlstring required

Example response

{
  "content": "# Sales Call with Acme Corp\n\nContact: John Smith (john@acme.com)\n\nInterested in enterprise plan. Follow up next week.\n\n## Action Items\n- Schedule follow-up call next week\n- Send enterprise pricing information\n\n## Key Points\n- Interested in enterprise plan\n- Contact: John Smith (john@acme.com)",
  "created_at": "2025-04-11T04:47:14.457Z",
  "id": "5e29c8a2-c73b-476b-9311-e2579712d4b1",
  "operations": [
    {
      "collection_id": "3e4f5a6b-7c8d-9e0f-1a2b-3c4d5e6f7a8b",
      "collection_title": "Acme Corp",
      "collection_url": "https://mem.ai/collections/3e4f5a6b-7c8d-9e0f-1a2b-3c4d5e6f7a8b",
      "type": "created-collection"
    },
    {
      "collection_id": "3e4f5a6b-7c8d-9e0f-1a2b-3c4d5e6f7a8b",
      "collection_title": "Acme Corp",
      "collection_url": "https://mem.ai/collections/3e4f5a6b-7c8d-9e0f-1a2b-3c4d5e6f7a8b",
      "note_id": "5e29c8a2-c73b-476b-9311-e2579712d4b1",
      "note_title": "Sales Call with Acme Corp",
      "note_url": "https://mem.ai/notes/5e29c8a2-c73b-476b-9311-e2579712d4b1",
      "type": "added-note-to-collection"
    },
    "..."
  ],
  "request_id": "api-request-036ed6c7-de00-459f-a89b-43d26aafe522",
  "status": "completed",
  "title": "Sales Call with Acme Corp",
  "updated_at": "2025-04-11T04:47:19.702Z",
  "url": "https://mem.ai/notes/5e29c8a2-c73b-476b-9311-e2579712d4b1"
}