Skip to main content
Standard API response wrapper All Grid API endpoints return responses in this standardized format, providing consistent error handling and metadata.

Type Parameters

Type ParameterDefault typeDescription
TanyThe type of the response data

Properties

PropertyTypeDescription
successbooleanWhether the API call was successful
data?TResponse data if successful
error?stringError message if unsuccessful
code?stringError code for programmatic handling
details?anyRaw details from API response
timestamp?stringError timestamp from backend
requestId?stringRequest ID for tracking and debugging
I