Skip to main content
GET
Get a observation

Response Description

Below you will see the description of the Get a observation response
string
required
Unique identifier of the observation.
string
required
Identifier of the trace associated with the observation.
string
required
Type of the observation.
string
required
Name of the observation.
date-time
required
Start time of the observation in ISO 8601 format.
date-time
required
End time of the observation in ISO 8601 format.
date-time
Time when the completion process started in ISO 8601 format.
string
required
Name of the model used in the observation.
object
Model parameters associated with the observation.
null
Input data for the observation (nullable).
string
Version of the observation.
null
Metadata associated with the observation (nullable).
null
Output data from the observation (nullable).
object
required
Usage metrics for the observation.
string
required
Log level of the observation (e.g., DEBUG).
string
Status message of the observation.
string
Parent observation ID, if applicable.
string
Identifier of the prompt used in the observation.
object
Detailed usage metrics for the observation.
object
Detailed cost metrics for the observation.
string
Name of the prompt used in the observation.
integer
Version of the prompt used in the observation.
string
Identifier of the model used in the observation.
integer
Price for input usage.
integer
Price for output usage.
integer
Total price for the observation.
integer
Calculated input cost.
integer
Calculated output cost.
integer
Calculated total cost for the observation.
integer
Latency of the observation in milliseconds.
integer
Time taken to generate the first token in milliseconds.

Code Response

Exemples of Response Code
Request Successful Response
Request Failure