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

# Trends.Models

> Reference for the trends.models Python module in the X API SDK. Pydantic request and response models for the trends endpoints of the X API v2.

This module provides Pydantic models for request and response data structures
for the trends endpoints of the X API. All models are generated
from the OpenAPI specification and provide type safety and validation.

## GetAiResponse

<Badge color="blue">Class</Badge>

<Badge color="gray">Bases: BaseModel</Badge>

Response model for get\_ai

## Methods

### `class xdk.trends.models.GetAiResponse`

Response model for get\_ai

### `class xdk.trends.models.GetByWoeidResponse`

Response model for get\_by\_woeid

### `class xdk.trends.models.GetPersonalizedResponse`

Response model for get\_personalized
