Skip to main content
Telara

How-To Guides / Admin

Choose a Key Scope

Every Telara API key is created at a scope — tenant, team, project, or user. The scope sets who the key is for and, when you send agent telemetry, how each run is attributed to a person. Pick the scope that matches how the key will be used.

Admin
API Keys
Attribution

The Four Scopes

What each scope means

Tenant

Available to your entire organization.

Use when

A shared backend or service that serves many people. One key for the whole org.

Attribution

Runs are attributed to whoever you name in the SDK (workflow(user=...)). If you name no one, the run is recorded for the org but left unattributed.

Who can create

Admins only.

Team

Available to a specific team.

Use when

A team’s shared agent or automation. Everyone on the team uses the same key.

Attribution

Same as tenant — attributed to the user you name in the SDK, within that team.

Who can create

Team maintainers (or admins).

Project

Available to a specific project.

Use when

An agent tied to one project that several collaborators share.

Attribution

Attributed to the user you name in the SDK, within that project.

Who can create

Project maintainers (or admins).

User

Available to one individual.

Use when

A single developer, a personal CLI, or a per-person key. The strongest attribution.

Attribution

Every run is automatically attributed to that user — you do not need to name anyone, and any user you name in the SDK is ignored.

Who can create

The user themselves, or an admin.

At a Glance

Which scope should I pick?

How the key is used
Scope
How runs are attributed
One developer / personal CLI
User
Automatic — pinned to that user
A team’s shared agent
Team
Name the user in the SDK
A project’s shared agent
Project
Name the user in the SDK
A backend serving many people
Tenant
Name the user per request in the SDK

How To

Create a key at a scope

1
Deploy a configuration at that scope first
A key can only be created where a configuration is deployed. In Capabilities → Deployments, deploy your configuration to the tenant, team, project, or user you want. See Deploy a Configuration.
2
Open Capabilities → API Keys
Go to Capabilities and open the API Keys tab, then click Generate Key.
3
Name the key and pick the configuration
Give the key a recognizable name (e.g. "CI/CD" or "alice-laptop") and select the configuration it belongs to.
4
Choose the Scope Type and Scope
Pick Tenant, Team, Project, or User, then select the specific team, project, or user where required. The available scope types are limited by where the configuration is deployed (see the note below).
5
Set an expiry and generate
Choose an expiry (30 / 90 / 180 / 365 days) and click Generate Key. Copy the key now — it is shown once and starts with telara_mcp_.
A key's scope can't exceed where the configuration is deployed

If a configuration is deployed at the tenant level, you can create keys at any scope. If it is deployed only to a team, you can create team or user keys — not tenant or project. Deploy at a broader scope first if you need broader keys.

Attribution

How scope changes who a run belongs to

When you send agent telemetry with the telara-observability package, the key scope decides how each run is attributed:

User-scoped key — strongest

Every run is attributed to that one user automatically. Anyone you name in the SDK is ignored, so the attribution can't be set to someone else. Best for per-developer keys.

Tenant / team / project key — you name the user

Runs are attributed to whoever you pass to workflow(user=...) (or with_user(...)). This is what a shared backend uses to attribute each request to the right person. Because the SDK asserts the user, use a user-scoped key when you need attribution to be tamper-proof.

Use an email that matches your directory so runs map to the right person in reports; unmatched users are still recorded, just flagged as unmapped.