[SDK reference](../../index.md) / [Models](../index.md) / [Observability](index.md)

# TraceSearchRequest

**Kind:** class  
**Namespace:** `Egulu.Sdk.Models.Observability`  

Searches a project's traces (ADR-0803): every field narrows; the time range is bounded by the project's trust tier.

## Properties

| Name | Type | JSON name | Description |
|---|---|---|---|
| `EndTime` | `DateTimeOffset?` | `endTime` | Inclusive upper bound (default: now). |
| `Limit` | `int?` | `limit` | Maximum traces to return (1..50, default 20). |
| `MinDurationMs` | `int?` | `minDurationMs` | Only traces with a span at least this long, in milliseconds. |
| `PageToken` | `string?` | `pageToken` | The `nextPageToken` of the previous answer: the next, older page of the same search. |
| `Service` | `string?` | `service` | An exact service name. |
| `SpanName` | `string?` | `spanName` | A case-insensitive part of a span name. |
| `StartTime` | `DateTimeOffset?` | `startTime` | Inclusive lower bound of the spans' start (default: `endTime` minus one hour). |
| `Status` | `string?` | `status` | `ERROR` for traces with a failed span, `OK` for traces without one; absent for both. |
