# Interface: SpaceRuntime

## Properties

### errorMessage

• `Optional` **errorMessage**: `string`

#### Defined in[[errormessage.defined-in]]

[packages/hub/src/types/public.ts:80](https://github.com/huggingface/huggingface.js/blob/main/packages/hub/src/types/public.ts#L80)

___

### gcTimeout

• `Optional` **gcTimeout**: ``null`` \| `number`

in seconds

#### Defined in[[gctimeout.defined-in]]

[packages/hub/src/types/public.ts:90](https://github.com/huggingface/huggingface.js/blob/main/packages/hub/src/types/public.ts#L90)

___

### hardware

• `Optional` **hardware**: `Object`

#### Type declaration[[hardware.type-declaration]]

| Name | Type |
| :------ | :------ |
| `current` | ``null`` \| [`SpaceHardwareFlavor`](../modules#spacehardwareflavor) |
| `currentPrettyName?` | `string` |
| `requested` | ``null`` \| [`SpaceHardwareFlavor`](../modules#spacehardwareflavor) |
| `requestedPrettyName?` | `string` |

#### Defined in[[hardware.defined-in]]

[packages/hub/src/types/public.ts:81](https://github.com/huggingface/huggingface.js/blob/main/packages/hub/src/types/public.ts#L81)

___

### resources

• `Optional` **resources**: [`SpaceResourceConfig`](SpaceResourceConfig)

when calling /spaces, those props are only fetched if ?full=true

#### Defined in[[resources.defined-in]]

[packages/hub/src/types/public.ts:88](https://github.com/huggingface/huggingface.js/blob/main/packages/hub/src/types/public.ts#L88)

___

### sdk

• `Optional` **sdk**: [`SpaceSdk`](../modules#spacesdk)

#### Defined in[[sdk.defined-in]]

[packages/hub/src/types/public.ts:78](https://github.com/huggingface/huggingface.js/blob/main/packages/hub/src/types/public.ts#L78)

___

### sdkVersion

• `Optional` **sdkVersion**: `string`

#### Defined in[[sdkversion.defined-in]]

[packages/hub/src/types/public.ts:79](https://github.com/huggingface/huggingface.js/blob/main/packages/hub/src/types/public.ts#L79)

___

### stage

• **stage**: [`SpaceStage`](../modules#spacestage)

#### Defined in[[stage.defined-in]]

[packages/hub/src/types/public.ts:77](https://github.com/huggingface/huggingface.js/blob/main/packages/hub/src/types/public.ts#L77)


<EditOnGithub source="https://github.com/huggingface/huggingface.js/blob/main/docs/hub/interfaces/SpaceRuntime.md" />