Skip to main content
POST
/
v2
/
mem-it
cURL
curl "https://api.mem.ai/v2/mem-it" \
     --header "Content-Type: application/json" \
     --header "Authorization: Bearer $MEM_API_KEY" \
     --data '{
         "input": "<!DOCTYPE html><html><head><title>AI Trends 2025</title>...</html>",
         "instructions": "Extract the key findings and save as a research note",
     }'
{
  "request_id": "api-request-036ed6c7-de00-459f-a89b-43d26aafe522"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
input
string
required

Any raw content you want to remember - web pages, emails, transcripts, articles, or simple text.

Common Use Cases: • HTML from a webpage • Email text (including headers) • Meeting transcript • Text from a document • Simple notes or thoughts

Examples: • "<!DOCTYPE html><html><head><title>AI Trends 2025</title>...</html>" • "[08:47:19] Kevin: Hello...[09:15:22] Meeting ended." • "Check out Atomic Habits by James Clear - recommended by Sarah"

instructions
string | null

Optional guidance on how you want this information processed or remembered.

Examples: • "Extract the key findings and save as a research note" • "Create a summary with action items and decisions" • "Add to my reading list"

context
string | null

Additional background information that helps Mem understand how this input relates to your existing knowledge.

Examples: • "This is related to my Project Alpha research" • "This is from the quarterly planning meeting" • "This is a follow-up to our discussion yesterday"

timestamp
string<date-time> | null

When this information was encountered or 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"

Response

200 - application/json

OK

request_id
string
required