> ## 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.

# WorkflowSpanOptions

***

# Interface: WorkflowSpanOptions

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

## Extends

* [`StepWithChildSpansOptions`](/sdk-api/typescript/reference/types/interfaces/StepWithChildSpansOptions)

## Properties

### createdAt?

```ts theme={null}
optional createdAt: Date;
```

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

#### Inherited from

[`StepWithChildSpansOptions`](/sdk-api/typescript/reference/types/interfaces/StepWithChildSpansOptions).[`createdAt`](/sdk-api/typescript/reference/types/interfaces/StepWithChildSpansOptions.mdx#createdat)

***

### datasetInput?

```ts theme={null}
optional datasetInput: string;
```

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

#### Inherited from

[`StepWithChildSpansOptions`](/sdk-api/typescript/reference/types/interfaces/StepWithChildSpansOptions).[`datasetInput`](/sdk-api/typescript/reference/types/interfaces/StepWithChildSpansOptions.mdx#datasetinput)

***

### datasetMetadata?

```ts theme={null}
optional datasetMetadata: Record<string, string>;
```

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

#### Inherited from

[`StepWithChildSpansOptions`](/sdk-api/typescript/reference/types/interfaces/StepWithChildSpansOptions).[`datasetMetadata`](/sdk-api/typescript/reference/types/interfaces/StepWithChildSpansOptions.mdx#datasetmetadata)

***

### datasetOutput?

```ts theme={null}
optional datasetOutput: string;
```

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

#### Inherited from

[`StepWithChildSpansOptions`](/sdk-api/typescript/reference/types/interfaces/StepWithChildSpansOptions).[`datasetOutput`](/sdk-api/typescript/reference/types/interfaces/StepWithChildSpansOptions.mdx#datasetoutput)

***

### externalId?

```ts theme={null}
optional externalId: string;
```

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

#### Inherited from

[`StepWithChildSpansOptions`](/sdk-api/typescript/reference/types/interfaces/StepWithChildSpansOptions).[`externalId`](/sdk-api/typescript/reference/types/interfaces/StepWithChildSpansOptions.mdx#externalid)

***

### input

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

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

#### Overrides

[`StepWithChildSpansOptions`](/sdk-api/typescript/reference/types/interfaces/StepWithChildSpansOptions).[`input`](/sdk-api/typescript/reference/types/interfaces/StepWithChildSpansOptions.mdx#input)

***

### metadata?

```ts theme={null}
optional metadata: Record<string, string>;
```

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

#### Inherited from

[`StepWithChildSpansOptions`](/sdk-api/typescript/reference/types/interfaces/StepWithChildSpansOptions).[`metadata`](/sdk-api/typescript/reference/types/interfaces/StepWithChildSpansOptions.mdx#metadata)

***

### metrics?

```ts theme={null}
optional metrics: Metrics;
```

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

#### Inherited from

[`StepWithChildSpansOptions`](/sdk-api/typescript/reference/types/interfaces/StepWithChildSpansOptions).[`metrics`](/sdk-api/typescript/reference/types/interfaces/StepWithChildSpansOptions.mdx#metrics)

***

### name?

```ts theme={null}
optional name: string;
```

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

#### Inherited from

[`StepWithChildSpansOptions`](/sdk-api/typescript/reference/types/interfaces/StepWithChildSpansOptions).[`name`](/sdk-api/typescript/reference/types/interfaces/StepWithChildSpansOptions.mdx#name)

***

### output?

```ts theme={null}
optional output: string;
```

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

#### Overrides

[`StepWithChildSpansOptions`](/sdk-api/typescript/reference/types/interfaces/StepWithChildSpansOptions).[`output`](/sdk-api/typescript/reference/types/interfaces/StepWithChildSpansOptions.mdx#output)

***

### redactedInput?

```ts theme={null}
optional redactedInput: string;
```

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

#### Overrides

[`StepWithChildSpansOptions`](/sdk-api/typescript/reference/types/interfaces/StepWithChildSpansOptions).[`redactedInput`](/sdk-api/typescript/reference/types/interfaces/StepWithChildSpansOptions.mdx#redactedinput)

***

### redactedOutput?

```ts theme={null}
optional redactedOutput: string;
```

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

#### Overrides

[`StepWithChildSpansOptions`](/sdk-api/typescript/reference/types/interfaces/StepWithChildSpansOptions).[`redactedOutput`](/sdk-api/typescript/reference/types/interfaces/StepWithChildSpansOptions.mdx#redactedoutput)

***

### spans?

```ts theme={null}
optional spans: Span[];
```

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

#### Inherited from

[`StepWithChildSpansOptions`](/sdk-api/typescript/reference/types/interfaces/StepWithChildSpansOptions).[`spans`](/sdk-api/typescript/reference/types/interfaces/StepWithChildSpansOptions.mdx#spans)

***

### statusCode?

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

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

#### Inherited from

[`StepWithChildSpansOptions`](/sdk-api/typescript/reference/types/interfaces/StepWithChildSpansOptions).[`statusCode`](/sdk-api/typescript/reference/types/interfaces/StepWithChildSpansOptions.mdx#statuscode)

***

### stepNumber?

```ts theme={null}
optional stepNumber: number;
```

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

#### Inherited from

[`StepWithChildSpansOptions`](/sdk-api/typescript/reference/types/interfaces/StepWithChildSpansOptions).[`stepNumber`](/sdk-api/typescript/reference/types/interfaces/StepWithChildSpansOptions.mdx#stepnumber)

***

### tags?

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

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

#### Inherited from

[`StepWithChildSpansOptions`](/sdk-api/typescript/reference/types/interfaces/StepWithChildSpansOptions).[`tags`](/sdk-api/typescript/reference/types/interfaces/StepWithChildSpansOptions.mdx#tags)
