---
title: "StageEvent"
sidebar_label: "StageEvent"
description: "The clika_runtime.modelverse StageEvent class."
---

<!-- Generated by tools/api_reference/generate_api_docs.py. Do not edit. -->

One stage event of a model call: the stage's name, its own span on the steady clock in nanoseconds, and the payload its kind carries. The observer that receives it runs on the stage's thread and must return at once.

## `is_final` (property)

(self) -> bool

## `kind` (property)

(self) -> clika_runtime.modelverse._modelverse.StageEventKind

## `language` (property)

(self) -> str

## `media_count` (property)

(self) -> int

## `sample_rate` (property)

(self) -> int

## `samples` (property)

An Audio event's samples, a Float32 [S] tensor.

## `slot` (property)

The decoder's session slot on a pipeline stage; -1 on a handle's own.

## `stage` (property)

The stage: tokenize, prefill, decode, detokenize, vision; features, encode, decode; text, talker, codec.

## `t_end_ns` (property)

(self) -> int

## `t_start_ns` (property)

(self) -> int

## `text` (property)

(self) -> str

## `__init__`

```python
__init__(self, /, *args, **kwargs)
```

Initialize self.  See help(type(self)) for accurate signature.
