ZevSight
Open app

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.

CredentialPrefixUsed forWhere
Ingest tokenzsi_Sending events to one projectServices → Connect
API keyzsr_Reading data and, with respond, acting on alertsKeys
Heartbeat ping URL/h/<token>Pinging one heartbeat monitorHeartbeats

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

ReachSees
workspaceEvery project, including ones created later. Owners and admins only.
projectsThe projects you list
targetsOnly 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

PermissionCan
readSearch logs, live tail, read check data, list alerts
respondEverything 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

HostEndpoints
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