Create a new span
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The definition of the span to create
The name of the span, something descriptive about the span that will be used to identify it when querying
The start time of the span in UTC
"2024-03-20T10:00:00+00:00"
The id of the span
"123e4567-e89b-12d3-a456-426614174000"
The id of the trace
"123e4567-e89b-12d3-a456-426614174000"
The id of the parent span
"123e4567-e89b-12d3-a456-426614174000"
The type of the span
"email_tool"
The end time of the span in UTC
"2024-03-20T10:00:10+00:00"
The input of the span
"Hello, world!"
The output of the span
"Hello, world!"
In case of an error, the error message
"Exception: This is an error message"
The metadata of the span
{ "key": "value" }The score of the span
10
Successful Response
The name of the span, something descriptive about the span that will be used to identify it when querying
The start time of the span in UTC
"2024-03-20T10:00:00+00:00"
The id of the trace
"123e4567-e89b-12d3-a456-426614174000"
The id of the parent span
"123e4567-e89b-12d3-a456-426614174000"
The type of the span
"email_tool"
The end time of the span in UTC
"2024-03-20T10:00:10+00:00"
The input of the span
"Hello, world!"
The output of the span
"Hello, world!"
In case of an error, the error message
"Exception: This is an error message"
The metadata of the span
{ "key": "value" }The score of the span
10