Skip to content

Create import script from omi #188

Open

Description

@thestumonkey

There's an export to json function in omi. Ideally we would import into our DB and process

Activity

  1. linear commented on Dec 11, 2025

    @linear
  2. thestumonkey commented on Dec 21, 2025

    @thestumonkey
    ContributorAuthor
    1. from Salman (thank you!)

      OMI Export Script - Quick Start

      Export your OMI conversations and memories with one command!

      GitHub: https://github.com/smian1/omi_export --- Two ways to get started:

      Quick Test (curl):h

      curl -X GET "https://api.omi.me/v1/dev/user/conversations?start_date=2025-01 01T00:00:00Z&end_date=2025-01-31T23:59:59Z&limit=10"-H "Authorization: Bearer omi_dev_YOUR_API_KEY_HERE" \-H "Content-Type: application/json"
      

      Full Export (Interactive Mode):

      pip install requests
      
      python3 omi_data.py --interactive
      

      The interactive mode will prompt you for:

      • API key (get it from OMI app → Settings → Developer Settings → Developer API)
      • What to export: conversations, memories, or both
      • Date range (for conversations)
      • Category filters (for memories, optional)
      • Auto-detects your timezone

      That's it! No file editing needed. Exports go to the export/ folder.

      Full docs: See the README on GitHub for advanced options and troubleshooting

    2. Salman — Yesterday at 23:16

      OMI Developer API Key (starts with "omi_dev...")
      To get your API key:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions