| Name | Type | Description | Notes |
|---|---|---|---|
| id | String | The unique identifier of the observation | |
| trace_id | Option<String> | The trace ID associated with the observation | [optional] |
| r#type | String | The type of the observation | |
| name | Option<String> | The name of the observation | [optional] |
| start_time | String | The start time of the observation | |
| end_time | Option<String> | The end time of the observation. | [optional] |
| completion_start_time | Option<String> | The completion start time of the observation | [optional] |
| model | Option<String> | The model used for the observation | [optional] |
| model_parameters | Option<std::collections::HashMap<String, models::MapValue>> | The parameters of the model used for the observation | [optional] |
| input | Option<serde_json::Value> | The input data of the observation | [optional] |
| version | Option<String> | The version of the observation | [optional] |
| metadata | Option<serde_json::Value> | Additional metadata of the observation | [optional] |
| output | Option<serde_json::Value> | The output data of the observation | [optional] |
| usage | Option<models::Usage> | [optional] | |
| level | models::ObservationLevel | ||
| status_message | Option<String> | The status message of the observation | [optional] |
| parent_observation_id | Option<String> | The parent observation ID | [optional] |
| prompt_id | Option<String> | The prompt ID associated with the observation | [optional] |
| usage_details | Option<std::collections::HashMap<String, i32>> | The usage details of the observation. Key is the name of the usage metric, value is the number of units consumed. The total key is the sum of all (non-total) usage metrics or the total value ingested. | [optional] |
| cost_details | Option<std::collections::HashMap<String, f64>> | The cost details of the observation. Key is the name of the cost metric, value is the cost in USD. The total key is the sum of all (non-total) cost metrics or the total value ingested. | [optional] |
| environment | Option<String> | The environment from which this observation originated. Can be any lowercase alphanumeric string with hyphens and underscores that does not start with 'langfuse'. | [optional] |