Skip to content

history

History-related response models for the API.

These models are used as response types for analysis history and usage tracking endpoints.

AnalysisUsage pydantic-model

Bases: BaseModel

Response model for the analysis usage endpoint.

Fields:

analyses = 0 pydantic-field

The total number of analyses run by the user.

credit_cost = 0.0 pydantic-field

The total cost of the analyses run by the user.

signal_hours = 0.0 pydantic-field

The total number of hours of signal data processed by the user.

HistoryResponse pydantic-model

Bases: PaginatedResponse

Response model for the analysis history endpoint.

Fields:

count pydantic-field

Total analyses matching the query. Deprecated duplicate of total; read total instead.