Skip to content

Commit 0b9d72e

Browse files
committed
fix
1 parent f47f65b commit 0b9d72e

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

api-reference/warehouse/get_spans.mdx

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ Retrieve spans from the data warehouse with flexible filtering and pagination op
1919
List of environment project IDs to filter by.
2020
</ParamField>
2121

22-
<ParamField query="fromTimestampSec" type="int64" required>
22+
<ParamField query="from_timestamp_sec" type="int64" required>
2323
Start time in Unix seconds timestamp.
2424
</ParamField>
2525

26-
<ParamField query="toTimestampSec" type="int64" required>
26+
<ParamField query="to_timestamp_sec" type="int64" required>
2727
End time in Unix seconds timestamp.
2828
</ParamField>
2929

@@ -39,7 +39,7 @@ Retrieve spans from the data warehouse with flexible filtering and pagination op
3939
Filter spans by span name.
4040
</ParamField>
4141

42-
<ParamField query="sortOrder" type="string">
42+
<ParamField query="sort_order" type="string">
4343
Sort order for results. Accepted values: `asc` or `desc`.
4444
</ParamField>
4545

@@ -61,7 +61,9 @@ Retrieve spans from the data warehouse with flexible filtering and pagination op
6161
</ParamField>
6262

6363
<ParamField query="filters" type="FilterCondition[]">
64-
Array of filter conditions to apply to the query.
64+
Array of filter conditions to apply to the query. Each filter should have `id`, `value`, and `operator` fields. Filters must be URL-encoded.
65+
66+
Supported operators: `equals`, `not_equals`, `greater_than`, `less_than`, `exists`, `not_exists`, `contains`, `starts_with`
6567
</ParamField>
6668

6769
<ParamField query="logicalOperator" type="string">
@@ -101,7 +103,7 @@ Returns an array of Span objects:
101103
The trace state information.
102104
</ResponseField>
103105

104-
<ResponseField name="spanName" type="string">
106+
<ResponseField name="span_name" type="string">
105107
The name of the span.
106108
</ResponseField>
107109

0 commit comments

Comments
 (0)