LiveKit Constants
LiveKit voice agent semantic convention constants and metrics.
@parlot/core / livekit
Variables
ATTR_AGENT_LABEL
constATTR_AGENT_LABEL:"lk.agent_label"
Defined in: attrs.livekit.gen.ts:7
ATTR_AGENT_NAME
constATTR_AGENT_NAME:"lk.agent_name"
Defined in: attrs.livekit.gen.ts:17
ATTR_AGENT_PARENT_TURN_ID
constATTR_AGENT_PARENT_TURN_ID:"lk.parent_generation_id"
Defined in: attrs.livekit.gen.ts:22
ATTR_AGENT_TURN_ID
constATTR_AGENT_TURN_ID:"lk.generation_id"
Defined in: attrs.livekit.gen.ts:21
ATTR_AMD_CATEGORY
constATTR_AMD_CATEGORY:"lk.amd.category"
Defined in: attrs.livekit.gen.ts:79
ATTR_AMD_DELAY
constATTR_AMD_DELAY:"lk.amd.delay"
Defined in: attrs.livekit.gen.ts:82
ATTR_AMD_REASON
constATTR_AMD_REASON:"lk.amd.reason"
Defined in: attrs.livekit.gen.ts:80
ATTR_AMD_SPEECH_DURATION
constATTR_AMD_SPEECH_DURATION:"lk.amd.speech_duration"
Defined in: attrs.livekit.gen.ts:81
ATTR_AMD_TRANSCRIPT
constATTR_AMD_TRANSCRIPT:"lk.pii.amd.transcript"
Defined in: attrs.livekit.gen.ts:83
ATTR_AMD_TRANSCRIPT_LEGACY
constATTR_AMD_TRANSCRIPT_LEGACY:"lk.amd.transcript"
Defined in: attrs.livekit.gen.ts:84
ATTR_CHAT_CTX
constATTR_CHAT_CTX:"lk.pii.chat_ctx"
Defined in: attrs.livekit.gen.ts:28
ATTR_CHAT_CTX_LEGACY
constATTR_CHAT_CTX_LEGACY:"lk.chat_ctx"
Defined in: attrs.livekit.gen.ts:29
ATTR_DIAR_SOURCE_REALTIME_INTERRUPT
constATTR_DIAR_SOURCE_REALTIME_INTERRUPT:"livekit_realtime_interrupt"
Defined in: attrs.livekit.gen.ts:94
ATTR_DIAR_SOURCE_STT_EVENT
constATTR_DIAR_SOURCE_STT_EVENT:"livekit_stt_event"
Defined in: attrs.livekit.gen.ts:93
ATTR_DIAR_SOURCE_TEXT_INPUT
constATTR_DIAR_SOURCE_TEXT_INPUT:"livekit_text_input"
Defined in: attrs.livekit.gen.ts:92
ATTR_DIAR_SOURCE_VAD
constATTR_DIAR_SOURCE_VAD:"livekit_vad"
Defined in: attrs.livekit.gen.ts:91
ATTR_E2E_LATENCY
constATTR_E2E_LATENCY:"lk.e2e_latency"
Defined in: attrs.livekit.gen.ts:62
ATTR_END_OF_TURN_DELAY
constATTR_END_OF_TURN_DELAY:"lk.end_of_turn_delay"
Defined in: attrs.livekit.gen.ts:58
ATTR_END_TIME
constATTR_END_TIME:"lk.end_time"
Defined in: attrs.livekit.gen.ts:9
ATTR_EOU_DELAY
constATTR_EOU_DELAY:"lk.eou.endpointing_delay"
Defined in: attrs.livekit.gen.ts:52
ATTR_EOU_LANGUAGE
constATTR_EOU_LANGUAGE:"lk.eou.language"
Defined in: attrs.livekit.gen.ts:53
ATTR_EOU_PROBABILITY
constATTR_EOU_PROBABILITY:"lk.eou.probability"
Defined in: attrs.livekit.gen.ts:50
ATTR_EOU_UNLIKELY_THRESHOLD
constATTR_EOU_UNLIKELY_THRESHOLD:"lk.eou.unlikely_threshold"
Defined in: attrs.livekit.gen.ts:51
ATTR_FUNCTION_TOOL_ARGS
constATTR_FUNCTION_TOOL_ARGS:"lk.pii.function_tool.arguments"
Defined in: attrs.livekit.gen.ts:40
ATTR_FUNCTION_TOOL_ARGS_LEGACY
constATTR_FUNCTION_TOOL_ARGS_LEGACY:"lk.function_tool.arguments"
Defined in: attrs.livekit.gen.ts:41
ATTR_FUNCTION_TOOL_ID
constATTR_FUNCTION_TOOL_ID:"lk.function_tool.id"
Defined in: attrs.livekit.gen.ts:38
ATTR_FUNCTION_TOOL_IS_ERROR
constATTR_FUNCTION_TOOL_IS_ERROR:"lk.function_tool.is_error"
Defined in: attrs.livekit.gen.ts:42
ATTR_FUNCTION_TOOL_NAME
constATTR_FUNCTION_TOOL_NAME:"lk.function_tool.name"
Defined in: attrs.livekit.gen.ts:39
ATTR_FUNCTION_TOOL_OUTPUT
constATTR_FUNCTION_TOOL_OUTPUT:"lk.pii.function_tool.output"
Defined in: attrs.livekit.gen.ts:43
ATTR_FUNCTION_TOOL_OUTPUT_LEGACY
constATTR_FUNCTION_TOOL_OUTPUT_LEGACY:"lk.function_tool.output"
Defined in: attrs.livekit.gen.ts:44
ATTR_FUNCTION_TOOLS
constATTR_FUNCTION_TOOLS:"lk.function_tools"
Defined in: attrs.livekit.gen.ts:30
ATTR_GEN_AI_OPERATION_NAME
constATTR_GEN_AI_OPERATION_NAME:"gen_ai.operation.name"
Defined in: attrs.livekit.gen.ts:63
ATTR_GEN_AI_PROVIDER_NAME
constATTR_GEN_AI_PROVIDER_NAME:"gen_ai.provider.name"
Defined in: attrs.livekit.gen.ts:64
ATTR_GEN_AI_REQUEST_MODEL
constATTR_GEN_AI_REQUEST_MODEL:"gen_ai.request.model"
Defined in: attrs.livekit.gen.ts:65
ATTR_GEN_AI_USAGE_INPUT_AUDIO_TOKENS
constATTR_GEN_AI_USAGE_INPUT_AUDIO_TOKENS:"gen_ai.usage.input_audio_tokens"
Defined in: attrs.livekit.gen.ts:69
ATTR_GEN_AI_USAGE_INPUT_CACHED_TOKENS
constATTR_GEN_AI_USAGE_INPUT_CACHED_TOKENS:"gen_ai.usage.input_cached_tokens"
Defined in: attrs.livekit.gen.ts:70
ATTR_GEN_AI_USAGE_INPUT_TEXT_TOKENS
constATTR_GEN_AI_USAGE_INPUT_TEXT_TOKENS:"gen_ai.usage.input_text_tokens"
Defined in: attrs.livekit.gen.ts:68
ATTR_GEN_AI_USAGE_INPUT_TOKENS
constATTR_GEN_AI_USAGE_INPUT_TOKENS:"gen_ai.usage.input_tokens"
Defined in: attrs.livekit.gen.ts:66
ATTR_GEN_AI_USAGE_OUTPUT_AUDIO_TOKENS
constATTR_GEN_AI_USAGE_OUTPUT_AUDIO_TOKENS:"gen_ai.usage.output_audio_tokens"
Defined in: attrs.livekit.gen.ts:72
ATTR_GEN_AI_USAGE_OUTPUT_TEXT_TOKENS
constATTR_GEN_AI_USAGE_OUTPUT_TEXT_TOKENS:"gen_ai.usage.output_text_tokens"
Defined in: attrs.livekit.gen.ts:71
ATTR_GEN_AI_USAGE_OUTPUT_TOKENS
constATTR_GEN_AI_USAGE_OUTPUT_TOKENS:"gen_ai.usage.output_tokens"
Defined in: attrs.livekit.gen.ts:67
ATTR_INSTRUCTIONS
constATTR_INSTRUCTIONS:"lk.pii.instructions"
Defined in: attrs.livekit.gen.ts:25
ATTR_INSTRUCTIONS_LEGACY
constATTR_INSTRUCTIONS_LEGACY:"lk.instructions"
Defined in: attrs.livekit.gen.ts:26
ATTR_INTERRUPTION_DETECTION_DELAY
constATTR_INTERRUPTION_DETECTION_DELAY:"lk.interruption.detection_delay"
Defined in: attrs.livekit.gen.ts:89
ATTR_INTERRUPTION_PREDICTION_DURATION
constATTR_INTERRUPTION_PREDICTION_DURATION:"lk.interruption.prediction_duration"
Defined in: attrs.livekit.gen.ts:88
ATTR_INTERRUPTION_PROBABILITY
constATTR_INTERRUPTION_PROBABILITY:"lk.interruption.probability"
Defined in: attrs.livekit.gen.ts:86
ATTR_INTERRUPTION_TOTAL_DURATION
constATTR_INTERRUPTION_TOTAL_DURATION:"lk.interruption.total_duration"
Defined in: attrs.livekit.gen.ts:87
ATTR_IS_INTERRUPTION
constATTR_IS_INTERRUPTION:"lk.is_interruption"
Defined in: attrs.livekit.gen.ts:85
ATTR_JOB_ID
constATTR_JOB_ID:"lk.job_id"
Defined in: attrs.livekit.gen.ts:16
ATTR_LANGFUSE_COMPLETION_START_TIME
constATTR_LANGFUSE_COMPLETION_START_TIME:"langfuse.observation.completion_start_time"
Defined in: attrs.livekit.gen.ts:78
ATTR_LK_AGENT_LABEL
constATTR_LK_AGENT_LABEL:"lk.agent_label"
Defined in: attrs.livekit.gen.ts:96
ATTR_LK_AGENT_NAME
constATTR_LK_AGENT_NAME:"lk.agent_name"
Defined in: attrs.livekit.gen.ts:98
ATTR_LK_CHAT_CTX
constATTR_LK_CHAT_CTX:"lk.pii.chat_ctx"
Defined in: attrs.livekit.gen.ts:107
ATTR_LK_E2E_LATENCY
constATTR_LK_E2E_LATENCY:"lk.e2e_latency"
Defined in: attrs.livekit.gen.ts:121
ATTR_LK_FNC_TOOL_ARGS
constATTR_LK_FNC_TOOL_ARGS:"lk.pii.function_tool.arguments"
Defined in: attrs.livekit.gen.ts:117
ATTR_LK_FNC_TOOL_ERROR
constATTR_LK_FNC_TOOL_ERROR:"lk.function_tool.is_error"
Defined in: attrs.livekit.gen.ts:119
ATTR_LK_FNC_TOOL_ID
constATTR_LK_FNC_TOOL_ID:"lk.function_tool.id"
Defined in: attrs.livekit.gen.ts:115
ATTR_LK_FNC_TOOL_NAME
constATTR_LK_FNC_TOOL_NAME:"lk.function_tool.name"
Defined in: attrs.livekit.gen.ts:116
ATTR_LK_FNC_TOOL_OUTPUT
constATTR_LK_FNC_TOOL_OUTPUT:"lk.pii.function_tool.output"
Defined in: attrs.livekit.gen.ts:118
ATTR_LK_FUNCTION_TOOLS
constATTR_LK_FUNCTION_TOOLS:"lk.function_tools"
Defined in: attrs.livekit.gen.ts:108
ATTR_LK_INSTRUCTIONS
constATTR_LK_INSTRUCTIONS:"lk.pii.instructions"
Defined in: attrs.livekit.gen.ts:104
ATTR_LK_INTERRUPTED
constATTR_LK_INTERRUPTED:"lk.interrupted"
Defined in: attrs.livekit.gen.ts:105
ATTR_LK_IS_INTERRUPTION
constATTR_LK_IS_INTERRUPTION:"lk.is_interruption"
Defined in: attrs.livekit.gen.ts:106
ATTR_LK_JOB_ID
constATTR_LK_JOB_ID:"lk.job_id"
Defined in: attrs.livekit.gen.ts:97
ATTR_LK_PARENT_TURN_ID
constATTR_LK_PARENT_TURN_ID:"lk.parent_generation_id"
Defined in: attrs.livekit.gen.ts:102
ATTR_LK_PROVIDER_TOOLS
constATTR_LK_PROVIDER_TOOLS:"lk.provider_tools"
Defined in: attrs.livekit.gen.ts:109
ATTR_LK_RESPONSE_TEXT
constATTR_LK_RESPONSE_TEXT:"lk.pii.response.text"
Defined in: attrs.livekit.gen.ts:111
ATTR_LK_RESPONSE_TTFB
constATTR_LK_RESPONSE_TTFB:"lk.response.ttfb"
Defined in: attrs.livekit.gen.ts:114
ATTR_LK_RESPONSE_TTFT
constATTR_LK_RESPONSE_TTFT:"lk.response.ttft"
Defined in: attrs.livekit.gen.ts:112
ATTR_LK_ROOM_NAME
constATTR_LK_ROOM_NAME:"lk.pii.room_name"
Defined in: attrs.livekit.gen.ts:99
ATTR_LK_ROOM_SID
constATTR_LK_ROOM_SID:"lk.room.sid"
Defined in: attrs.livekit.gen.ts:100
ATTR_LK_SPEECH_ID
constATTR_LK_SPEECH_ID:"lk.speech_id"
Defined in: attrs.livekit.gen.ts:95
ATTR_LK_TOOL_SETS
constATTR_LK_TOOL_SETS:"lk.tool_sets"
Defined in: attrs.livekit.gen.ts:110
ATTR_LK_TTS_INPUT_TEXT
constATTR_LK_TTS_INPUT_TEXT:"lk.pii.input_text"
Defined in: attrs.livekit.gen.ts:113
ATTR_LK_TURN_ID
constATTR_LK_TURN_ID:"lk.generation_id"
Defined in: attrs.livekit.gen.ts:101
ATTR_LK_USER_INPUT
constATTR_LK_USER_INPUT:"lk.pii.user_input"
Defined in: attrs.livekit.gen.ts:103
ATTR_LK_USER_TRANSCRIPT
constATTR_LK_USER_TRANSCRIPT:"lk.pii.user_transcript"
Defined in: attrs.livekit.gen.ts:120
ATTR_LLM_METRICS
constATTR_LLM_METRICS:"lk.llm_metrics"
Defined in: attrs.livekit.gen.ts:59
ATTR_PARTICIPANT_ID
constATTR_PARTICIPANT_ID:"lk.participant_id"
Defined in: attrs.livekit.gen.ts:12
ATTR_PARTICIPANT_IDENTITY
constATTR_PARTICIPANT_IDENTITY:"lk.pii.participant_identity"
Defined in: attrs.livekit.gen.ts:13
ATTR_PARTICIPANT_IDENTITY_LEGACY
constATTR_PARTICIPANT_IDENTITY_LEGACY:"lk.participant_identity"
Defined in: attrs.livekit.gen.ts:14
ATTR_PARTICIPANT_KIND
constATTR_PARTICIPANT_KIND:"lk.participant_kind"
Defined in: attrs.livekit.gen.ts:15
ATTR_PROVIDER_REQUEST_IDS
constATTR_PROVIDER_REQUEST_IDS:"lk.provider_request_ids"
Defined in: attrs.livekit.gen.ts:11
ATTR_PROVIDER_TOOLS
constATTR_PROVIDER_TOOLS:"lk.provider_tools"
Defined in: attrs.livekit.gen.ts:31
ATTR_REALTIME_MODEL_METRICS
constATTR_REALTIME_MODEL_METRICS:"lk.realtime_model_metrics"
Defined in: attrs.livekit.gen.ts:61
ATTR_RESPONSE_FUNCTION_CALLS
constATTR_RESPONSE_FUNCTION_CALLS:"lk.pii.response.function_calls"
Defined in: attrs.livekit.gen.ts:35
ATTR_RESPONSE_FUNCTION_CALLS_LEGACY
constATTR_RESPONSE_FUNCTION_CALLS_LEGACY:"lk.response.function_calls"
Defined in: attrs.livekit.gen.ts:36
ATTR_RESPONSE_TEXT
constATTR_RESPONSE_TEXT:"lk.pii.response.text"
Defined in: attrs.livekit.gen.ts:33
ATTR_RESPONSE_TEXT_LEGACY
constATTR_RESPONSE_TEXT_LEGACY:"lk.response.text"
Defined in: attrs.livekit.gen.ts:34
ATTR_RESPONSE_TTFB
constATTR_RESPONSE_TTFB:"lk.response.ttfb"
Defined in: attrs.livekit.gen.ts:49
ATTR_RESPONSE_TTFT
constATTR_RESPONSE_TTFT:"lk.response.ttft"
Defined in: attrs.livekit.gen.ts:37
ATTR_RETRY_COUNT
constATTR_RETRY_COUNT:"lk.retry_count"
Defined in: attrs.livekit.gen.ts:10
ATTR_ROOM_NAME
constATTR_ROOM_NAME:"lk.pii.room_name"
Defined in: attrs.livekit.gen.ts:18
ATTR_ROOM_NAME_LEGACY
constATTR_ROOM_NAME_LEGACY:"lk.room_name"
Defined in: attrs.livekit.gen.ts:19
ATTR_ROOM_SID
constATTR_ROOM_SID:"lk.room.sid"
Defined in: attrs.livekit.gen.ts:90
ATTR_SESSION_OPTIONS
constATTR_SESSION_OPTIONS:"lk.session_options"
Defined in: attrs.livekit.gen.ts:20
ATTR_SPEECH_ID
constATTR_SPEECH_ID:"lk.speech_id"
Defined in: attrs.livekit.gen.ts:6
AUTO-GENERATED from packages/instrumentation-livekit/src/parlot/instrumentation/livekit/attrs.py Do not edit manually. Run: uv run python scripts/generate_attrs_ts.py
ATTR_SPEECH_INTERRUPTED
constATTR_SPEECH_INTERRUPTED:"lk.interrupted"
Defined in: attrs.livekit.gen.ts:27
ATTR_START_TIME
constATTR_START_TIME:"lk.start_time"
Defined in: attrs.livekit.gen.ts:8
ATTR_TOOL_SETS
constATTR_TOOL_SETS:"lk.tool_sets"
Defined in: attrs.livekit.gen.ts:32
ATTR_TRANSCRIPT_CONFIDENCE
constATTR_TRANSCRIPT_CONFIDENCE:"lk.transcript_confidence"
Defined in: attrs.livekit.gen.ts:56
ATTR_TRANSCRIPTION_DELAY
constATTR_TRANSCRIPTION_DELAY:"lk.transcription_delay"
Defined in: attrs.livekit.gen.ts:57
ATTR_TTS_INPUT_TEXT
constATTR_TTS_INPUT_TEXT:"lk.pii.input_text"
Defined in: attrs.livekit.gen.ts:45
ATTR_TTS_INPUT_TEXT_LEGACY
constATTR_TTS_INPUT_TEXT_LEGACY:"lk.input_text"
Defined in: attrs.livekit.gen.ts:46
ATTR_TTS_LABEL
constATTR_TTS_LABEL:"lk.tts.label"
Defined in: attrs.livekit.gen.ts:48
ATTR_TTS_METRICS
constATTR_TTS_METRICS:"lk.tts_metrics"
Defined in: attrs.livekit.gen.ts:60
ATTR_TTS_STREAMING
constATTR_TTS_STREAMING:"lk.tts.streaming"
Defined in: attrs.livekit.gen.ts:47
ATTR_USER_INPUT
constATTR_USER_INPUT:"lk.pii.user_input"
Defined in: attrs.livekit.gen.ts:23
ATTR_USER_INPUT_LEGACY
constATTR_USER_INPUT_LEGACY:"lk.user_input"
Defined in: attrs.livekit.gen.ts:24
ATTR_USER_TRANSCRIPT
constATTR_USER_TRANSCRIPT:"lk.pii.user_transcript"
Defined in: attrs.livekit.gen.ts:54
ATTR_USER_TRANSCRIPT_LEGACY
constATTR_USER_TRANSCRIPT_LEGACY:"lk.user_transcript"
Defined in: attrs.livekit.gen.ts:55
EVENT_GEN_AI_ASSISTANT_MESSAGE
constEVENT_GEN_AI_ASSISTANT_MESSAGE:"gen_ai.assistant.message"
Defined in: attrs.livekit.gen.ts:75
EVENT_GEN_AI_CHOICE
constEVENT_GEN_AI_CHOICE:"gen_ai.choice"
Defined in: attrs.livekit.gen.ts:77
EVENT_GEN_AI_SYSTEM_MESSAGE
constEVENT_GEN_AI_SYSTEM_MESSAGE:"gen_ai.system.message"
Defined in: attrs.livekit.gen.ts:73
EVENT_GEN_AI_TOOL_MESSAGE
constEVENT_GEN_AI_TOOL_MESSAGE:"gen_ai.tool.message"
Defined in: attrs.livekit.gen.ts:76
EVENT_GEN_AI_USER_MESSAGE
constEVENT_GEN_AI_USER_MESSAGE:"gen_ai.user.message"
Defined in: attrs.livekit.gen.ts:74
References
ATTR_EXCEPTION_MESSAGE
Re-exports ATTR_EXCEPTION_MESSAGE
ATTR_EXCEPTION_TRACE
Re-exports ATTR_EXCEPTION_TRACE
ATTR_EXCEPTION_TYPE
Re-exports ATTR_EXCEPTION_TYPE
