Table of Contents

Class AgentGrant

Namespace
LiveKit.Authentication
Assembly
LiveKit.AspNetCore.ServerSdk.Abstractions.dll

Agent grant containing permissions for LiveKit Cloud agent APIs.

In order to interact with the Cloud Agent, Agent Simulation, and Agent Database services, or to manage the agent dispatch queue, permission must be granted in the agent field of the JWT. See LiveKit Authentication Documentation for more information.

public sealed class AgentGrant
Inheritance
AgentGrant
Inherited Members

Properties

Admin

Permission to create, update, and delete Cloud Agents.

public bool? Admin { get; set; }

Property Value

bool?

DatabaseAdmin

Permission to manage a project's agent databases.

public bool? DatabaseAdmin { get; set; }

Property Value

bool?

DispatchAdmin

Permission to manage a project's agent dispatch queue. Not required by ILiveKitAgentDispatchService, which uses the room admin video grant.

public bool? DispatchAdmin { get; set; }

Property Value

bool?

SimulationAdmin

Permission to manage simulations and scenarios for evaluating agents.

public bool? SimulationAdmin { get; set; }

Property Value

bool?