OptionalcalculatedOptionalcalculated(Deprecated. Use usageDetails and costDetails instead.) The calculated cost of the output in USD
Optionalcalculated(Deprecated. Use usageDetails and costDetails instead.) The calculated total cost in USD
OptionalcompletionThe completion start time of the observation
OptionalcostThe 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.
OptionalendThe end time of the observation.
OptionalenvironmentThe environment from which this observation originated. Can be any lowercase alphanumeric string with hyphens and underscores that does not start with 'langfuse'.
The unique identifier of the observation
OptionalinputThe input data of the observation
OptionalinputThe price of the input in USD
OptionallatencyThe latency in seconds.
The level of the observation
OptionalmetadataAdditional metadata of the observation
OptionalmodelThe model used for the observation
OptionalmodelThe unique identifier of the model
OptionalmodelThe parameters of the model used for the observation
OptionalnameThe name of the observation
OptionaloutputThe output data of the observation
OptionaloutputThe price of the output in USD.
OptionalparentThe parent observation ID
OptionalpromptThe prompt ID associated with the observation
OptionalpromptThe name of the prompt associated with the observation
OptionalpromptThe version of the prompt associated with the observation
The start time of the observation
OptionalstatusThe status message of the observation
OptionaltimeThe time to the first token in seconds
OptionaltotalThe total price in USD.
OptionaltraceThe trace ID associated with the observation
The type of the observation
Optionalusage(Deprecated. Use usageDetails and costDetails instead.) The usage data of the observation
OptionalusageThe 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.
OptionalversionThe version of the observation
(Deprecated. Use usageDetails and costDetails instead.) The calculated cost of the input in USD