> ## Documentation Index
> Fetch the complete documentation index at: https://docs.galileo.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# LogSpanUpdateRequest

***

# Type Alias: LogSpanUpdateRequest

```ts theme={null}
type LogSpanUpdateRequest = object;
```

Defined in: [src/types/new-api.types.ts](https://github.com/rungalileo/galileo-js/blob/main/src/types/new-api.types.ts)

LogSpanUpdateRequest

Request model for updating a span.

## Properties

### clientVersion?

```ts theme={null}
optional clientVersion: string | null;
```

Defined in: [src/types/new-api.types.ts](https://github.com/rungalileo/galileo-js/blob/main/src/types/new-api.types.ts)

Client Version

***

### durationNs?

```ts theme={null}
optional durationNs: number | null;
```

Defined in: [src/types/new-api.types.ts](https://github.com/rungalileo/galileo-js/blob/main/src/types/new-api.types.ts)

Duration Ns

Duration in nanoseconds. Overwrites previous value if present.

***

### experimentId?

```ts theme={null}
optional experimentId: string | null;
```

Defined in: [src/types/new-api.types.ts](https://github.com/rungalileo/galileo-js/blob/main/src/types/new-api.types.ts)

Experiment Id

Experiment id associated with the traces.

***

### input?

```ts theme={null}
optional input:
  | string
  | GalileoCoreSchemasLoggingLlmMessage[]
  | (object & TextContentPart | object & FileContentPart)[]
  | null;
```

Defined in: [src/types/new-api.types.ts](https://github.com/rungalileo/galileo-js/blob/main/src/types/new-api.types.ts)

Input

Input of the span. Overwrites previous value if present.

***

### loggingMethod?

```ts theme={null}
optional loggingMethod: LoggingMethod;
```

Defined in: [src/types/new-api.types.ts](https://github.com/rungalileo/galileo-js/blob/main/src/types/new-api.types.ts)

***

### logStreamId?

```ts theme={null}
optional logStreamId: string | null;
```

Defined in: [src/types/new-api.types.ts](https://github.com/rungalileo/galileo-js/blob/main/src/types/new-api.types.ts)

Log Stream Id

Log stream id associated with the traces.

***

### metricsTestingId?

```ts theme={null}
optional metricsTestingId: string | null;
```

Defined in: [src/types/new-api.types.ts](https://github.com/rungalileo/galileo-js/blob/main/src/types/new-api.types.ts)

Metrics Testing Id

Metrics testing id associated with the traces.

***

### output?

```ts theme={null}
optional output:
  | string
  | GalileoCoreSchemasLoggingLlmMessage
  | Document[]
  | (object & TextContentPart | object & FileContentPart)[]
  | ControlResult
  | null;
```

Defined in: [src/types/new-api.types.ts](https://github.com/rungalileo/galileo-js/blob/main/src/types/new-api.types.ts)

Output

Output of the span. Overwrites previous value if present.

***

### reliable?

```ts theme={null}
optional reliable: boolean;
```

Defined in: [src/types/new-api.types.ts](https://github.com/rungalileo/galileo-js/blob/main/src/types/new-api.types.ts)

Reliable

Whether or not to use reliable logging. If set to False, the method will respond immediately before verifying that the traces have been successfully ingested, and no error message will be returned if ingestion fails. If set to True, the method will wait for the traces to be successfully ingested or return an error message if there is an ingestion failure.

***

### spanId

```ts theme={null}
spanId: string;
```

Defined in: [src/types/new-api.types.ts](https://github.com/rungalileo/galileo-js/blob/main/src/types/new-api.types.ts)

Span Id

Span id to update.

***

### statusCode?

```ts theme={null}
optional statusCode: number | null;
```

Defined in: [src/types/new-api.types.ts](https://github.com/rungalileo/galileo-js/blob/main/src/types/new-api.types.ts)

Status Code

Status code of the span. Overwrites previous value if present.

***

### tags?

```ts theme={null}
optional tags: string[] | null;
```

Defined in: [src/types/new-api.types.ts](https://github.com/rungalileo/galileo-js/blob/main/src/types/new-api.types.ts)

Tags

Tags to add to the span.
