> ## Documentation Index
> Fetch the complete documentation index at: https://x-preview-mintlify-f9d5aa0e.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Namespace: Spaces

> Reference for the Spaces module in the X API TypeScript SDK. Re-exported clients, types, and utilities provided by this SDK module for the X API v2.

## Type Aliases

### GetByIdsResponse

Ƭ **GetByIdsResponse**: [`Get2SpacesResponse`](/xdks/typescript/reference/interfaces/Schemas.Get2SpacesResponse)

Response for getByIds

#### Defined in

[spaces/models.ts:18](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/spaces/models.ts#L18)

***

### GetPostsResponse

Ƭ **GetPostsResponse**: [`Get2SpacesIdTweetsResponse`](/xdks/typescript/reference/interfaces/Schemas.Get2SpacesIdTweetsResponse)

Response for getPosts

#### Defined in

[spaces/models.ts:24](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/spaces/models.ts#L24)

***

### SearchResponse

Ƭ **SearchResponse**: [`Get2SpacesSearchResponse`](/xdks/typescript/reference/interfaces/Schemas.Get2SpacesSearchResponse)

Response for search

#### Defined in

[spaces/models.ts:30](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/spaces/models.ts#L30)

***

### GetBuyersResponse

Ƭ **GetBuyersResponse**: [`Get2SpacesIdBuyersResponse`](/xdks/typescript/reference/interfaces/Schemas.Get2SpacesIdBuyersResponse)

Response for getBuyers

#### Defined in

[spaces/models.ts:36](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/spaces/models.ts#L36)

***

### GetByIdResponse

Ƭ **GetByIdResponse**: [`Get2SpacesIdResponse`](/xdks/typescript/reference/interfaces/Schemas.Get2SpacesIdResponse)

Response for getById

#### Defined in

[spaces/models.ts:42](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/spaces/models.ts#L42)

***

### GetByCreatorIdsResponse

Ƭ **GetByCreatorIdsResponse**: [`Get2SpacesByCreatorIdsResponse`](/xdks/typescript/reference/interfaces/Schemas.Get2SpacesByCreatorIdsResponse)

Response for getByCreatorIds

#### Defined in

[spaces/models.ts:48](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/spaces/models.ts#L48)
