API keys
Create, use and revoke API keys for streaming links, scripts and AI assistants.
An API key lets a tool act as you in LumiDB. You need one to stream data into ArcGIS, QGIS or a 3D tiles viewer, to call the REST API from a script, and to connect an AI assistant. The key has the same access to projects as you do.
Create an API key
In the sidebar of the home view, under Admin, click API keys. You can also click Create API key in the dialog of a streaming link, for example ArcGIS I3S link.
Click Create API key.
Enter a Name that tells you what the key is for, for example
ArcGIS ProorQGIS rasters.Under Project access, leave All projects, or pick one project to limit the key to it.
Choose when the key Expires: Never, 1 day, 7 days, 30 days or Custom.
Click Create API key and copy the key.

A key starts with lumi_, followed by random characters. In this documentation, lumi_your_key_here stands for your own key.
What a key can access
A key can reach the same projects and data as the person who created it, in the organization where it was created.
If your role in the organization or a project changes, the key follows. If you are removed from the organization, the key stops working.
A key can be limited to one project. A project-scoped key reaches only that project and has no organization-level rights. A key can't be read-only. Give a key only to tools you trust.
Use an API key
LumiDB accepts the key in four ways. Use the first whenever your tool allows it.
HTTP header
Authorization: apikey lumi_your_key_here
Scripts, QGIS authentication configurations, the REST API
Other HTTP headers
The key as the value of an apikey, api-key, x-apikey or x-api-key header.
Clients that don't let you change the Authorization header
Username and password
Any username, and the key as the password. ArcGIS Pro asks for these in its Server Login window, where you enter apikey as the username.
ArcGIS Pro
Query parameter
Add apikey=lumi_your_key_here to the link. This works only when no header is sent.
ArcGIS Online custom parameter
See Integrations for step-by-step instructions, and Connecting AI assistants (MCP) for assistants.
Manage your keys
The API keys page lists your keys in the organization. For each key it shows the name, the project it can reach, when it was created, when it expires, when it was last used and its status.

To revoke a key, click the trash icon at the end of its row. The status changes to Revoked, and tools that use the key lose access. A revoked key can't be restored.
Limits
Keys are personal. You can limit a key to one project, but you can't set other permissions per key.
Short-lived tokens for showing selected datasets in your own web application are available through the API. Only organization admins can create them, and each token works for a few minutes. Contact help@lumidb.com if you need this.
Questions? Write to help@lumidb.com.

