Python SDKTypes
Shared Types
Python SDK - Shared type definitions
Shared types used across multiple resources.
APIResponse
Base class for API responses with common fields.
Fields:
model_config:Any
ErrorDetail
Error detail information.
Fields:
-
errors:list[str] | None- List of specific validation errors. -
message:str- Error message. -
model_config:Any
PaginatedResponse
Generic paginated response wrapper.
Fields:
-
data:list[T]- List of items in the current page. -
model_config:Any -
pagination:Pagination- Pagination metadata.
Pagination
Pagination information for list responses.
Fields:
-
limit:int- Number of items per page. -
model_config:Any -
page:int- Current page number (1-indexed). -
total:int- Total number of items matching the query.