Workspace
API keys and ingest tokens
The credentials ZevSight uses (ingest tokens, API keys with reach and permission, heartbeat URLs) and how to create, scope, rotate and revoke them.
| Credential | Prefix | Used for | Where |
|---|---|---|---|
| Ingest token | zsi_ | Sending events to one project | Services → Connect |
| API key | zsr_ | Reading data and, with respond, acting on alerts | Keys |
| Heartbeat ping URL | /h/<token> | Pinging one heartbeat monitor | Heartbeats |
Keys are a prefix plus 40 characters. ZevSight stores only a hash, so the secret is shown once, when you create it. A lost key cannot be recovered; rotate it. Lists show the key’s start (zsr_XXXXXXXX…), who created it, when it was last used, and its expiry.
All keys are sent the same way:
Authorization: Bearer <KEY>
Ingest tokens
An ingest token writes events for exactly one project. It cannot read anything.
- Scope. Limit it to some service environments, such as
api · production. Events for other services or environments are refused, and events without a service or environment get the token’s own. - Expiry. Never by default; or 30, 90 or 365 days.
- Manage from a service’s Connect panel: create, choose, rotate and revoke.
API keys
An API key has a reach and a permission.
Reach
| Reach | Sees |
|---|---|
workspace | Every project, including ones created later. Owners and admins only. |
projects | The projects you list |
targets | Only the service environments you list (up to 200 services) |
A key limited to targets sees only events, checks and alerts about those service environments. An alert about a whole project is visible to any target in that project.
Permission
| Permission | Can |
|---|---|
read | Search logs, live tail, read check data, list alerts |
respond | Everything read can, plus acknowledge, resolve and snooze alerts, declare alerts, and add notes to incidents and alerts |
Members, admins and owners can create keys, with read or respond. Viewers cannot.
Expiry
Never by default; or 7, 30 or 90 days in the dashboard (any value from 1 to 3,650 days). Keys marked as used by an AI agent default to 30 days. See Use ZevSight with AI agents.
Where keys work
| Host | Endpoints |
|---|---|
https://eu.zevsight.com | /v1/query/*, /v1/tail, /v1/checks/*, /v1/alerts* |
https://api.zevsight.com | /v1/incidents/<id>/notes, /v1/alerts/<id>/notes (respond only) |
An ingest token sent to a read endpoint is refused with 401. A read key sent to an action gets 403 with “Create a key with the respond permission”.
Rotate
Rotate issues a new secret and lets the old one keep working for an overlap you choose, up to 24 hours, so you can roll it out without downtime. Rotating from the Connect panel always uses 24 hours. Heartbeat URLs are different: rotating stops the old URL at once.
Revoke
Revoke stops a key within about a second, including open live tails.
When the creator leaves
If the person who created a key leaves the workspace, or loses the role the key needs, the key is flagged needs review. It keeps working for 7 days so nothing breaks unexpectedly, until an admin keeps it or revokes it.
Built 29 November 2026 · View as Markdown