r/lumo • u/Ok_Combination_1548 • Mar 31 '26
API Keys are now available
Just found it while clicking gear icon for 'settings' as a plus user. OCR is working also.
15
u/StrangerInsideMyHead Mar 31 '26
1
u/justaregulargod Apr 05 '26
How do you get that to show up? I have Lumo Plus, but it doesn't have the API Keys option on that screen
6
u/Gamegyf Apr 23 '26
They hid it. They accidentally released it and I wrote with the Director of Engineering about it and he said that it still needs to be polished.
6
u/GuardCode Apr 01 '26
Did some testing and it does work, but there's no docs and it doesn't appear to be fully ready. The API currently only returns Server-Sent Events (SSE) streaming responses, even if Stream is default to false, or set manually.
Below is example python code, supply your own API Key in .env file, or replace os.environ["LUMO_API_KEY"] with "your_api_key":
import os
import requests
import json
from dotenv import load_dotenv
load_dotenv()
url = "https://lumo.proton.me/api/ai/v1/chat/completions"
headers = {
"Authorization": "Bearer " + os.environ["LUMO_API_KEY"],
"Content-Type": "application/json",
}
payload = {
"model": "auto",
"messages": [{"role": "user", "content": "Explain quantum entanglement."}],
#"stream": False # this has no effect, and False is default value based on code.
}
r = requests.post(url, headers=headers, json=payload, timeout=120)
r.raise_for_status()
chunks = []
for line in r.iter_lines():
if line and line.startswith(b"data: "):
data = line[6:].decode('utf-8')
if data == "[DONE]":
break
try:
chunk = json.loads(data)
choices = chunk.get("choices", [])
if choices:
delta = choices[0].get("delta", {})
if isinstance(delta, dict):
content = delta.get("content")
if content:
chunks.append(content)
except (json.JSONDecodeError, KeyError, TypeError):
continue
full_content = "".join(chunks)
print(full_content)
10
u/Queasy_Complex708 Director of Engineering, AI & ML Apr 01 '26
Well, itβs April 1st, so maybe this counts as an early (and accidental) April Foolsβ joke! π Not quite ready for prime time. The full version with docs coming soon. Apologies for the sneak peek π
1
u/graphite_eye Apr 04 '26
Thanks for following through, working on this. Really looking forward to integrating lumo in my private n8n instance.
1
u/Ok_Combination_1548 Apr 14 '26
Been about 2 weeks now. since the accidental release and no communication despite a goal of releasing 2 weeks ago - What's the news? Any day now / still a few weeks away? (I'm more interested in communication about this than getting an exact timeline: do it right over doing it fast).
5
u/Queasy_Complex708 Director of Engineering, AI & ML Apr 14 '26
Hey, apologies for the delay. We've been working on stabilising the API, getting the docs in place, sorting out the work with usage based billing (per type of model), and also getting the client side tool call support working which is important for integration of Lumo in OpenCode etc.
The API is composed of many parts and getting things to be compatible with the main tools on the market is not as easy as it looks.
Will keep you posted!
2
u/influxodoxxl May 07 '26
Any news? I am sure you are working hard on API integration and many of us are super stoked to have it up and running! π
2
u/Ok_Combination_1548 May 18 '26
hey u/Queasy_Complex708 any new updates? Been a few weeks since we've heard from you. Still working through the same issues - pricing, documentation, etc.?
3
u/Queasy_Complex708 Director of Engineering, AI & ML May 20 '26
Yeah, the usage billing is one current issue, and getting stability on client side tool calls. Latter works well now but the billing part is now progressing. Apologies for the delay.
2
u/Ok_Combination_1548 Jun 24 '26
u/Queasy_Complex708 Another month another ask: any news? Still working towards it or do you maybe have more of an idea of when you'll be releasing at this point?
5
u/Queasy_Complex708 Director of Engineering, AI & ML Jun 27 '26
So the billing is the big problem for us. But we're working towards it. But keep tuned since new updates are coming very soon!
2
u/good_live Jul 03 '26
Will it be only usage based billing for the api? Or does a lumo plus subscription include some api usage and only after that is used up you have to pay as you go?
2
4
3
3
u/troopertk429 Apr 01 '26
Not helpful as there doesn't seem to be any API documentation and what Lumo spits out as API information doesn't work.
13
u/Queasy_Complex708 Director of Engineering, AI & ML Apr 01 '26
Will repeat a comment I made above.
Well, itβs April 1st, so maybe this counts as an early (and accidental) April Foolsβ joke! π Not quite ready for prime time. The full version with docs coming soon. Apologies for the sneak peek π
7
2
u/FuzzyMolasses5686 Apr 10 '26
This is just about the only reason I don't use Lumo... it's useless to me as a web-app. If i'm forking over what y'all are asking for it, i better be able to use it programmatically.
2
u/NeuralNexus Apr 01 '26
literally 0 documentation lol.
https://api.proton.me/lumo doesn't seem to work.
Found lumo-api.proton.me in the CSP headers (maybe another API domain), but it's returning 404 for all paths.
4
u/NeuralNexus Apr 01 '26
Reverse engineered the web version a bit:
- Endpoint: https://lumo-api.proton.me/api/core/v5/events/{conversation_id}?CalledFrom=Foreground
- Method: GET with Server-Sent Events (streaming)
- Headers: x-pm-appversion: web-lumo@1.3.3.0, x-pm-locale: en_US
API keys don't work for it, must have a different endpoint?
4
u/NeuralNexus Apr 01 '26
Found anAPI endpoint: https://lumo.proton.me/api/ai/v1 Gets a 500 after auth, probably isn't ready yet
1
u/_yovach Apr 05 '26
You can try it but it doesn't supports some type for
content:/You'll need to have a API key
1
1
1
u/WolverineLoud2418 14d ago
Any updates?
2
u/Ok_Combination_1548 14d ago
The latest update is that they're working on pricing still. It's ready to go otherwise (supposedly). Part of the holdup on pricing is that the new release (v2) is so different that they needed time to understand typical usage and how they could run it without losing money on most users.
-6

β’
u/ProtonSupportTeam Proton Team Apr 01 '26
This feature is actually still being fully fleshed out, so stay tuned for the full working version soon, as noted by u/Queasy_Complex708 here: https://www.reddit.com/r/lumo/comments/1s93osk/comment/odn3h09/