{ "user_email": "user1@example.com", "wallet_balance_usd": 14.0, "transactions": [ { "id": "5a7ac9fc-e03e-445a-8ce3-8d02d9990e75", "user_id": "user1@example.com", "transaction_type": { "Purchase": { "product_id": "credits" } }, "amount": 111.0, "currency": "USD", "exchange_rate_usd": 1.0, "amount_usd": 111.0, "description": "Credits purchase via credit_card", "reference_id": "5a7ac9fc-e03e-445a-8ce3-8d02d9990e75", "metadata": null, "timestamp": "2025-08-28T03:07:49.959336504Z", "status": "Completed" }, { "id": "40e47d98-8b78-418c-ae65-34cd9a885d56", "user_id": "user1@example.com", "transaction_type": { "CreditsTransfer": { "to_user": "user0@example.com", "note": null } }, "amount": 1.0, "currency": "USD", "exchange_rate_usd": 1.0, "amount_usd": 1.0, "description": "Credits transfer to user0@example.com: No note", "reference_id": "transfer-cb531b47-b18c-4f09-ae3e-30e837fe01c1", "metadata": null, "timestamp": "2025-08-28T03:08:00.072097204Z", "status": "Completed" }, { "id": "a547ade0-d4c3-4e39-b061-cf2c211b38df", "user_id": "user1@example.com", "transaction_type": { "InstantPurchase": { "product_id": "user_user0_example_com_fa373486", "quantity": 1 } }, "amount": 12.0, "currency": "USD", "exchange_rate_usd": 1.0, "amount_usd": 12.0, "description": "Instant purchase of product user_user0_example_com_fa373486", "reference_id": "instant-89c5e8b0-99aa-41c9-9d05-7b30f28130a3", "metadata": null, "timestamp": "2025-08-28T03:08:04.974041839Z", "status": "Completed" }, { "id": "0e9648b9-066b-43fc-8c26-d9ce9a9ab61f", "user_id": "user1@example.com", "transaction_type": { "Purchase": { "product_id": "user_user0_example_com_fa373486" } }, "amount": 12.0, "currency": "USD", "exchange_rate_usd": 1.0, "amount_usd": 12.0, "description": "Order b31f28bf-a3b2-4baf-b1d7-0b1c1161474a payment", "reference_id": "b31f28bf-a3b2-4baf-b1d7-0b1c1161474a", "metadata": null, "timestamp": "2025-08-28T03:10:53.043165285Z", "status": "Completed" }, { "id": "70c77b6e-576f-4150-94b5-621aa619dc0f", "user_id": "user1@example.com", "transaction_type": { "Purchase": { "product_id": "user_user0_example_com_fa373486" } }, "amount": 12.0, "currency": "USD", "exchange_rate_usd": 1.0, "amount_usd": 12.0, "description": "Order adf8d9d7-e29d-4eca-9ff3-4e3d2a2ec073 payment", "reference_id": "adf8d9d7-e29d-4eca-9ff3-4e3d2a2ec073", "metadata": null, "timestamp": "2025-08-28T03:24:08.620579072Z", "status": "Completed" }, { "id": "04182eaf-14b2-4da6-ba6d-0232176f7a3c", "user_id": "user1@example.com", "transaction_type": { "InstantPurchase": { "product_id": "user_user0_example_com_fa373486", "quantity": 1 } }, "amount": 12.0, "currency": "USD", "exchange_rate_usd": 1.0, "amount_usd": 12.0, "description": "Instant purchase of product user_user0_example_com_fa373486", "reference_id": "instant-4d79d108-2a9f-49a8-a168-1a793071ab24", "metadata": null, "timestamp": "2025-08-28T03:24:52.228144609Z", "status": "Completed" }, { "id": "350c2cb4-914c-4b0e-8f69-1b49a014f98d", "user_id": "user1@example.com", "transaction_type": { "Purchase": { "product_id": "user_user0_example_com_8232cf32" } }, "amount": 12.0, "currency": "USD", "exchange_rate_usd": 1.0, "amount_usd": 12.0, "description": "Order 720ef602-c040-4287-abb3-d912d2dd197a payment", "reference_id": "720ef602-c040-4287-abb3-d912d2dd197a", "metadata": null, "timestamp": "2025-08-28T03:37:36.981306389Z", "status": "Completed" }, { "id": "d1316306-f0f2-44b2-9a27-8de789653c06", "user_id": "user1@example.com", "transaction_type": { "Purchase": { "product_id": "user_user0_example_com_0137df0f" } }, "amount": 12.0, "currency": "USD", "exchange_rate_usd": 1.0, "amount_usd": 12.0, "description": "Order a6761a9e-dd7a-46b6-8bf0-5f23c93b3cf6 payment", "reference_id": "a6761a9e-dd7a-46b6-8bf0-5f23c93b3cf6", "metadata": null, "timestamp": "2025-08-28T03:54:03.247871332Z", "status": "Completed" }, { "id": "d222f9d0-3dcb-40b0-bdea-70fe2da706a6", "user_id": "user1@example.com", "transaction_type": { "Purchase": { "product_id": "user_user0_example_com_8232cf32" } }, "amount": 12.0, "currency": "USD", "exchange_rate_usd": 1.0, "amount_usd": 12.0, "description": "Order 104ecd70-a33f-4ef3-80c5-97b6151a082e payment", "reference_id": "104ecd70-a33f-4ef3-80c5-97b6151a082e", "metadata": null, "timestamp": "2025-08-29T04:46:03.403426406Z", "status": "Completed" }, { "id": "e3d778f7-482b-43d8-9eb6-a59a0ae76cf9", "user_id": "user1@example.com", "transaction_type": { "InstantPurchase": { "product_id": "user_user0_example_com_0137df0f", "quantity": 1 } }, "amount": 12.0, "currency": "USD", "exchange_rate_usd": 1.0, "amount_usd": 12.0, "description": "Instant purchase of product user_user0_example_com_0137df0f", "reference_id": "instant-43fb003e-b76c-41f9-8db3-deb5215cbf4b", "metadata": null, "timestamp": "2025-08-29T17:28:40.878762385Z", "status": "Completed" } ], "staked_amount_usd": 0.0, "pool_positions": {}, "name": "JohnOne", "country": "", "timezone": "", "password_hash": "$2b$12$yCHZ1Mp2f1IWSEJYdUsw2.xNvvvXACvT2IvZbCc20XtvJBfnkZhiO", "services": [], "service_requests": [], "service_bookings": [ { "id": "req-b31f28bf-1b012ba2", "provider_email": "user0@example.com", "service_id": "svc_b31f28bf-1b012ba2", "description": "Service booking from marketplace order b31f28bf-a3b2-4baf-b1d7-0b1c1161474a", "status": "Pending", "estimated_hours": 0, "hourly_rate_usd": null, "total_cost_usd": null, "progress_percentage": null, "created_date": "2025-08-28", "completed_date": null, "customer_email": "user1@example.com", "service_name": "Service A", "budget": 12.0, "requested_date": "2025-08-28", "priority": "Medium", "progress": null, "client_phone": null, "booking_date": null }, { "id": "req-adf8d9d7-cca7fea4", "provider_email": "user0@example.com", "service_id": "svc_adf8d9d7-cca7fea4", "description": "Service booking from marketplace order adf8d9d7-e29d-4eca-9ff3-4e3d2a2ec073", "status": "Pending", "estimated_hours": 0, "hourly_rate_usd": null, "total_cost_usd": null, "progress_percentage": null, "created_date": "2025-08-28", "completed_date": null, "customer_email": "user1@example.com", "service_name": "Service A", "budget": 12.0, "requested_date": "2025-08-28", "priority": "Medium", "progress": null, "client_phone": null, "booking_date": null }, { "id": "req-720ef602-e4f4f304", "provider_email": "user0@example.com", "service_id": "svc_720ef602-e4f4f304", "description": "Service booking from marketplace order 720ef602-c040-4287-abb3-d912d2dd197a", "status": "Completed", "estimated_hours": 0, "hourly_rate_usd": null, "total_cost_usd": null, "progress_percentage": null, "created_date": "2025-08-28", "completed_date": "2025-08-28", "customer_email": "user1@example.com", "service_name": "Service 0", "budget": 12.0, "requested_date": "2025-08-28", "priority": "Medium", "progress": 100.0, "client_phone": null, "booking_date": null }, { "id": "req-a6761a9e-1db8a97c", "provider_email": "user0@example.com", "service_id": "svc_a6761a9e-1db8a97c", "description": "Service booking from marketplace order a6761a9e-dd7a-46b6-8bf0-5f23c93b3cf6", "status": "Pending", "estimated_hours": 0, "hourly_rate_usd": null, "total_cost_usd": null, "progress_percentage": null, "created_date": "2025-08-28", "completed_date": null, "customer_email": "user1@example.com", "service_name": "Service 00", "budget": 12.0, "requested_date": "2025-08-28", "priority": "Medium", "progress": null, "client_phone": null, "booking_date": null }, { "id": "req-104ecd70-1699cf5a", "provider_email": "user0@example.com", "service_id": "svc_104ecd70-1699cf5a", "description": "Service booking from marketplace order 104ecd70-a33f-4ef3-80c5-97b6151a082e", "status": "Pending", "estimated_hours": 0, "hourly_rate_usd": null, "total_cost_usd": null, "progress_percentage": null, "created_date": "2025-08-29", "completed_date": null, "customer_email": "user1@example.com", "service_name": "Service 0", "budget": 12.0, "requested_date": "2025-08-29", "priority": "Medium", "progress": null, "client_phone": null, "booking_date": null } ], "availability": null, "slas": [], "apps": [], "app_deployments": [], "deleted": null, "deleted_at": null, "deletion_reason": null, "nodes": [], "farmer_earnings": [], "farmer_settings": null, "slice_products": [], "user_activities": [ { "id": "42ab1613-5a96-4d9a-999a-6c51b143a846", "user_email": "user1@example.com", "activity_type": "WalletTransaction", "description": "Transferred $1 credits to user0@example.com", "metadata": null, "timestamp": "2025-08-28T03:08:00.072150232Z", "ip_address": null, "user_agent": null, "session_id": null, "importance": "Medium", "category": "Wallet" }, { "id": "6dd17fef-cae4-4ebd-b52b-f16c73948311", "user_email": "user1@example.com", "activity_type": "WalletTransaction", "description": "Purchased $111 credits via credit_card", "metadata": null, "timestamp": "2025-08-28T03:07:49.959810132Z", "ip_address": null, "user_agent": null, "session_id": null, "importance": "Medium", "category": "Wallet" } ], "user_preferences": { "theme": "light", "language": "en", "currency_display": "symbol", "email_notifications": true, "push_notifications": true, "marketing_emails": false, "data_sharing": false, "preferred_currency": "USD", "preferred_language": "en", "timezone": "UTC", "notification_settings": { "email_enabled": true, "push_enabled": true, "sms_enabled": false, "slack_webhook": null, "discord_webhook": null, "enabled": true, "push": true, "node_offline_alerts": true, "maintenance_reminders": true, "earnings_reports": true }, "privacy_settings": { "profile_public": false, "email_public": false, "activity_public": false, "stats_public": false, "profile_visibility": "private", "marketing_emails": false, "data_sharing": false, "activity_tracking": true }, "dashboard_layout": "default", "last_payment_method": "credit_card" }, "usage_statistics": null, "orders": [ { "id": "b87cc710-8dda-4c99-8a82-c4b275fc1f01", "user_id": "user1@example.com", "items": [ { "product_id": "user_user0_example_com_fa373486", "product_name": "Service A", "product_category": "general", "quantity": 1, "unit_price_base": 12.0, "total_price_base": 12.0, "specifications": {}, "provider_id": "marketplace", "provider_name": "Project Mycelium" } ], "subtotal_base": 12.0, "total_base": 12.0, "base_currency": "USD", "currency_used": "USD", "currency_total": 12.0, "conversion_rate": 1.0, "status": "Completed", "payment_method": "", "payment_details": { "payment_id": "a547ade0-d4c3-4e39-b061-cf2c211b38df", "payment_method": { "Token": { "token_type": "USD", "wallet_address": "internal_wallet" } }, "transaction_id": null, "payment_status": "Pending", "payment_timestamp": null, "failure_reason": null }, "billing_address": null, "shipping_address": null, "notes": null, "purchase_type": "Instant", "created_at": "2025-08-28T03:08:04.974052158Z", "updated_at": "2025-08-28T03:08:04.974061865Z" }, { "id": "b31f28bf-a3b2-4baf-b1d7-0b1c1161474a", "user_id": "user1@example.com", "items": [ { "product_id": "user_user0_example_com_fa373486", "product_name": "Service A", "product_category": "service", "quantity": 1, "unit_price_base": 12.0, "total_price_base": 12.0, "specifications": {}, "provider_id": "user0@example.com", "provider_name": "user09" } ], "subtotal_base": 12.0, "total_base": 12.0, "base_currency": "USD", "currency_used": "USD", "currency_total": 12.0, "conversion_rate": 1.0, "status": "Completed", "payment_method": "", "payment_details": { "payment_id": "0e9648b9-066b-43fc-8c26-d9ce9a9ab61f", "payment_method": { "Token": { "token_type": "USD", "wallet_address": "internal_wallet" } }, "transaction_id": "0e9648b9-066b-43fc-8c26-d9ce9a9ab61f", "payment_status": "Completed", "payment_timestamp": "2025-08-28T03:10:53.043169316Z", "failure_reason": null }, "billing_address": null, "shipping_address": null, "notes": null, "purchase_type": "Cart", "created_at": "2025-08-28T03:10:53.041589952Z", "updated_at": "2025-08-28T03:10:53.043178151Z" }, { "id": "adf8d9d7-e29d-4eca-9ff3-4e3d2a2ec073", "user_id": "user1@example.com", "items": [ { "product_id": "user_user0_example_com_fa373486", "product_name": "Service A", "product_category": "service", "quantity": 1, "unit_price_base": 12.0, "total_price_base": 12.0, "specifications": {}, "provider_id": "user0@example.com", "provider_name": "user09" } ], "subtotal_base": 12.0, "total_base": 12.0, "base_currency": "USD", "currency_used": "USD", "currency_total": 12.0, "conversion_rate": 1.0, "status": "Completed", "payment_method": "", "payment_details": { "payment_id": "70c77b6e-576f-4150-94b5-621aa619dc0f", "payment_method": { "Token": { "token_type": "USD", "wallet_address": "internal_wallet" } }, "transaction_id": "70c77b6e-576f-4150-94b5-621aa619dc0f", "payment_status": "Completed", "payment_timestamp": "2025-08-28T03:24:08.620594501Z", "failure_reason": null }, "billing_address": null, "shipping_address": null, "notes": null, "purchase_type": "Cart", "created_at": "2025-08-28T03:24:08.616628185Z", "updated_at": "2025-08-28T03:24:08.620615128Z" }, { "id": "84ab03eb-1b63-4c4d-a32f-ccaa406e72a4", "user_id": "user1@example.com", "items": [ { "product_id": "user_user0_example_com_fa373486", "product_name": "Service A", "product_category": "general", "quantity": 1, "unit_price_base": 12.0, "total_price_base": 12.0, "specifications": {}, "provider_id": "marketplace", "provider_name": "Project Mycelium" } ], "subtotal_base": 12.0, "total_base": 12.0, "base_currency": "USD", "currency_used": "USD", "currency_total": 12.0, "conversion_rate": 1.0, "status": "Completed", "payment_method": "", "payment_details": { "payment_id": "04182eaf-14b2-4da6-ba6d-0232176f7a3c", "payment_method": { "Token": { "token_type": "USD", "wallet_address": "internal_wallet" } }, "transaction_id": null, "payment_status": "Pending", "payment_timestamp": null, "failure_reason": null }, "billing_address": null, "shipping_address": null, "notes": null, "purchase_type": "Instant", "created_at": "2025-08-28T03:24:52.228152921Z", "updated_at": "2025-08-28T03:24:52.228161439Z" }, { "id": "720ef602-c040-4287-abb3-d912d2dd197a", "user_id": "user1@example.com", "items": [ { "product_id": "user_user0_example_com_8232cf32", "product_name": "Service 0", "product_category": "service", "quantity": 1, "unit_price_base": 12.0, "total_price_base": 12.0, "specifications": {}, "provider_id": "user0@example.com", "provider_name": "user09" } ], "subtotal_base": 12.0, "total_base": 12.0, "base_currency": "USD", "currency_used": "USD", "currency_total": 12.0, "conversion_rate": 1.0, "status": "Completed", "payment_method": "", "payment_details": { "payment_id": "350c2cb4-914c-4b0e-8f69-1b49a014f98d", "payment_method": { "Token": { "token_type": "USD", "wallet_address": "internal_wallet" } }, "transaction_id": "350c2cb4-914c-4b0e-8f69-1b49a014f98d", "payment_status": "Completed", "payment_timestamp": "2025-08-28T03:37:36.981308837Z", "failure_reason": null }, "billing_address": null, "shipping_address": null, "notes": null, "purchase_type": "Cart", "created_at": "2025-08-28T03:37:36.979751492Z", "updated_at": "2025-08-28T03:37:36.981314345Z" }, { "id": "a6761a9e-dd7a-46b6-8bf0-5f23c93b3cf6", "user_id": "user1@example.com", "items": [ { "product_id": "user_user0_example_com_0137df0f", "product_name": "Service 00", "product_category": "service", "quantity": 1, "unit_price_base": 12.0, "total_price_base": 12.0, "specifications": {}, "provider_id": "user0@example.com", "provider_name": "user09" } ], "subtotal_base": 12.0, "total_base": 12.0, "base_currency": "USD", "currency_used": "USD", "currency_total": 12.0, "conversion_rate": 1.0, "status": "Completed", "payment_method": "", "payment_details": { "payment_id": "d1316306-f0f2-44b2-9a27-8de789653c06", "payment_method": { "Token": { "token_type": "USD", "wallet_address": "internal_wallet" } }, "transaction_id": "d1316306-f0f2-44b2-9a27-8de789653c06", "payment_status": "Completed", "payment_timestamp": "2025-08-28T03:54:03.247877666Z", "failure_reason": null }, "billing_address": null, "shipping_address": null, "notes": null, "purchase_type": "Cart", "created_at": "2025-08-28T03:54:03.244207760Z", "updated_at": "2025-08-28T03:54:03.247891853Z" }, { "id": "104ecd70-a33f-4ef3-80c5-97b6151a082e", "user_id": "user1@example.com", "items": [ { "product_id": "user_user0_example_com_8232cf32", "product_name": "Service 0", "product_category": "service", "quantity": 1, "unit_price_base": 12.0, "total_price_base": 12.0, "specifications": {}, "provider_id": "user0@example.com", "provider_name": "user09" } ], "subtotal_base": 12.0, "total_base": 12.0, "base_currency": "USD", "currency_used": "USD", "currency_total": 12.0, "conversion_rate": 1.0, "status": "Completed", "payment_method": "", "payment_details": { "payment_id": "d222f9d0-3dcb-40b0-bdea-70fe2da706a6", "payment_method": { "Token": { "token_type": "USD", "wallet_address": "internal_wallet" } }, "transaction_id": "d222f9d0-3dcb-40b0-bdea-70fe2da706a6", "payment_status": "Completed", "payment_timestamp": "2025-08-29T04:46:03.403430920Z", "failure_reason": null }, "billing_address": null, "shipping_address": null, "notes": null, "purchase_type": "Cart", "created_at": "2025-08-29T04:46:03.400397349Z", "updated_at": "2025-08-29T04:46:03.403437484Z" }, { "id": "dd7e5ebd-b70b-41a6-b46b-bc57c51794a1", "user_id": "user1@example.com", "items": [ { "product_id": "user_user0_example_com_0137df0f", "product_name": "Service 00", "product_category": "general", "quantity": 1, "unit_price_base": 12.0, "total_price_base": 12.0, "specifications": {}, "provider_id": "marketplace", "provider_name": "Project Mycelium" } ], "subtotal_base": 12.0, "total_base": 12.0, "base_currency": "USD", "currency_used": "USD", "currency_total": 12.0, "conversion_rate": 1.0, "status": "Completed", "payment_method": "", "payment_details": { "payment_id": "e3d778f7-482b-43d8-9eb6-a59a0ae76cf9", "payment_method": { "Token": { "token_type": "USD", "wallet_address": "internal_wallet" } }, "transaction_id": null, "payment_status": "Pending", "payment_timestamp": null, "failure_reason": null }, "billing_address": null, "shipping_address": null, "notes": null, "purchase_type": "Instant", "created_at": "2025-08-29T17:28:40.878779175Z", "updated_at": "2025-08-29T17:28:40.878793006Z" } ], "active_product_rentals": [], "farmer_rental_earnings": [], "node_rentals": [], "node_groups": [ { "id": "compute", "name": "Compute", "description": "General compute workloads", "node_ids": [], "group_type": { "Default": "compute" }, "updated_at": "2025-08-28T03:23:43.820530436Z", "created_at": "2025-08-28T03:23:43.820527741Z", "group_config": { "group_name": "Compute Nodes", "max_nodes": 100, "allocation_strategy": "balanced", "auto_scaling": true, "preferred_slice_formats": [ "1x1", "2x2" ], "default_pricing": 50.0, "resource_optimization": { "cpu_optimization": 0.5, "memory_optimization": 0.5, "storage_optimization": 0.5, "network_optimization": 0.5 } } }, { "id": "storage", "name": "Storage", "description": "Storage and data workloads", "node_ids": [], "group_type": { "Default": "storage" }, "updated_at": "2025-08-28T03:23:43.820538620Z", "created_at": "2025-08-28T03:23:43.820538172Z", "group_config": { "group_name": "Storage Nodes", "max_nodes": 50, "allocation_strategy": "storage_optimized", "auto_scaling": false, "preferred_slice_formats": [ "1x1" ], "default_pricing": 30.0, "resource_optimization": { "cpu_optimization": 0.3, "memory_optimization": 0.3, "storage_optimization": 0.8, "network_optimization": 0.6 } } }, { "id": "ai-gpu", "name": "AI/GPU", "description": "AI and GPU-intensive workloads", "node_ids": [], "group_type": { "Default": "ai-gpu" }, "updated_at": "2025-08-28T03:23:43.820547178Z", "created_at": "2025-08-28T03:23:43.820546892Z", "group_config": { "group_name": "AI/GPU Nodes", "max_nodes": 20, "allocation_strategy": "gpu_optimized", "auto_scaling": true, "preferred_slice_formats": [ "4x4", "8x8" ], "default_pricing": 200.0, "resource_optimization": { "cpu_optimization": 0.8, "memory_optimization": 0.7, "storage_optimization": 0.4, "network_optimization": 0.5 } } } ], "slice_rentals": [], "slice_assignments": [], "display_currency": "USD", "quick_topup_amounts": [ 10.0, 25.0, 50.0, 100.0 ], "auto_topup_settings": null, "products": [], "owned_products": [], "owned_product_ids": [], "ssh_keys": [], "message_threads": [ { "thread_id": "fe20a2ad-f5df-4d05-b92f-e1153efa9535", "user_a_email": "user1@example.com", "user_b_email": "user0@example.com", "context_type": "service_booking", "context_id": "req-a6761a9e-1db8a97c", "subject": "Service Booking #req-a6761a9e-1db8a97c", "created_at": "2025-08-28T04:55:41.747608734Z", "updated_at": "2025-08-29T06:39:25.605344324Z", "last_message_at": "2025-08-29T06:39:25.605342371Z", "user_a_unread_count": 0, "user_b_unread_count": 0 }, { "thread_id": "9e760a9e-ddec-4233-924a-1e1d910281c2", "user_a_email": "user1@example.com", "user_b_email": "user0@example.com", "context_type": "service_booking", "context_id": "req-b31f28bf-1b012ba2", "subject": "Service Booking #req-b31f28bf-1b012ba2", "created_at": "2025-08-28T13:57:44.966825957Z", "updated_at": "2025-08-29T05:01:07.839623316Z", "last_message_at": "2025-08-29T05:01:07.839621434Z", "user_a_unread_count": 0, "user_b_unread_count": 0 }, { "thread_id": "bffed30e-6b09-4b04-97ab-81faf60cbef1", "user_a_email": "user1@example.com", "user_b_email": "user0@example.com", "context_type": "service_booking", "context_id": "req-adf8d9d7-cca7fea4", "subject": "Service Booking #req-adf8d9d7-cca7fea4", "created_at": "2025-08-28T14:05:04.325533402Z", "updated_at": "2025-08-29T17:08:27.454640313Z", "last_message_at": "2025-08-29T17:08:27.454636352Z", "user_a_unread_count": 0, "user_b_unread_count": 0 }, { "thread_id": "12e1971d-8c98-4c38-8bd9-d235575952a6", "user_a_email": "user1@example.com", "user_b_email": "user0@example.com", "context_type": "service_booking", "context_id": "req-720ef602-e4f4f304", "subject": "Service Booking #req-720ef602-e4f4f304", "created_at": "2025-08-29T05:27:06.739756827Z", "updated_at": "2025-08-29T05:27:06.739756827Z", "last_message_at": null, "user_a_unread_count": 0, "user_b_unread_count": 0 }, { "thread_id": "a1da1188-183d-4de2-b74e-12dab70ef27c", "user_a_email": "user1@example.com", "user_b_email": "user0@example.com", "context_type": "service_booking", "context_id": "req-104ecd70-1699cf5a", "subject": "Service Booking #req-104ecd70-1699cf5a", "created_at": "2025-08-29T18:07:57.619394054Z", "updated_at": "2025-08-29T18:07:57.619394054Z", "last_message_at": null, "user_a_unread_count": 0, "user_b_unread_count": 0 } ], "messages": [ { "message_id": "f206552a-5a1c-427b-a69f-85d4aba66cf0", "thread_id": "fe20a2ad-f5df-4d05-b92f-e1153efa9535", "sender_email": "user1@example.com", "recipient_email": "user0@example.com", "content": "Hi!", "message_type": "text", "timestamp": "2025-08-28T13:50:16.958377689Z", "read_at": null }, { "message_id": "1a7ff5f9-77c2-47ae-aa64-993151422647", "thread_id": "9e760a9e-ddec-4233-924a-1e1d910281c2", "sender_email": "user1@example.com", "recipient_email": "user0@example.com", "content": "hi there is an issue", "message_type": "text", "timestamp": "2025-08-28T13:57:48.724637712Z", "read_at": null }, { "message_id": "cb5f6082-cd6f-4e76-a6ab-f58e93426967", "thread_id": "9e760a9e-ddec-4233-924a-1e1d910281c2", "sender_email": "user1@example.com", "recipient_email": "user0@example.com", "content": "can you help", "message_type": "text", "timestamp": "2025-08-28T13:57:51.624551399Z", "read_at": null }, { "message_id": "77d097a1-78cc-498c-b868-e96d6faf2480", "thread_id": "9e760a9e-ddec-4233-924a-1e1d910281c2", "sender_email": "user1@example.com", "recipient_email": "user0@example.com", "content": "thank you", "message_type": "text", "timestamp": "2025-08-28T13:57:52.976961902Z", "read_at": null }, { "message_id": "3ebcb701-4a75-4cb4-85db-6bf7aeb02699", "thread_id": "9e760a9e-ddec-4233-924a-1e1d910281c2", "sender_email": "user0@example.com", "recipient_email": "user1@example.com", "content": "oh I see let me have a look", "message_type": "text", "timestamp": "2025-08-28T14:04:13.306623365Z", "read_at": null }, { "message_id": "5b296663-e8ee-49dd-bd2a-ac1600f81285", "thread_id": "fe20a2ad-f5df-4d05-b92f-e1153efa9535", "sender_email": "user0@example.com", "recipient_email": "user1@example.com", "content": "hello", "message_type": "text", "timestamp": "2025-08-28T14:04:21.999930132Z", "read_at": null }, { "message_id": "1484fe6e-8fea-4df1-83c8-80e249a2651c", "thread_id": "bffed30e-6b09-4b04-97ab-81faf60cbef1", "sender_email": "user1@example.com", "recipient_email": "user0@example.com", "content": "hello", "message_type": "text", "timestamp": "2025-08-29T04:38:53.028223499Z", "read_at": null }, { "message_id": "0cdb0a6a-6832-4161-8546-32cab86ccd22", "thread_id": "bffed30e-6b09-4b04-97ab-81faf60cbef1", "sender_email": "user0@example.com", "recipient_email": "user1@example.com", "content": "hi", "message_type": "text", "timestamp": "2025-08-29T04:52:11.129663681Z", "read_at": null }, { "message_id": "7e415a97-1592-4357-b66d-74c0a5bfec47", "thread_id": "bffed30e-6b09-4b04-97ab-81faf60cbef1", "sender_email": "user1@example.com", "recipient_email": "user0@example.com", "content": "allo", "message_type": "text", "timestamp": "2025-08-29T04:54:20.434939954Z", "read_at": null }, { "message_id": "afac82b6-7dab-4197-9eae-78e9ffaf8b34", "thread_id": "9e760a9e-ddec-4233-924a-1e1d910281c2", "sender_email": "user1@example.com", "recipient_email": "user0@example.com", "content": "allo", "message_type": "text", "timestamp": "2025-08-29T04:54:33.022227049Z", "read_at": null }, { "message_id": "a489e84f-7891-4dc9-bfba-031957d33be2", "thread_id": "9e760a9e-ddec-4233-924a-1e1d910281c2", "sender_email": "user1@example.com", "recipient_email": "user0@example.com", "content": "allo", "message_type": "text", "timestamp": "2025-08-29T04:54:35.039607100Z", "read_at": null }, { "message_id": "cfe717d3-f809-4089-b56d-5f305d6947b7", "thread_id": "bffed30e-6b09-4b04-97ab-81faf60cbef1", "sender_email": "user1@example.com", "recipient_email": "user0@example.com", "content": "salut", "message_type": "text", "timestamp": "2025-08-29T04:56:46.628354893Z", "read_at": null }, { "message_id": "40ac0bc9-c801-49fe-98c8-38ea58cc158d", "thread_id": "fe20a2ad-f5df-4d05-b92f-e1153efa9535", "sender_email": "user1@example.com", "recipient_email": "user0@example.com", "content": "ppppppppp", "message_type": "text", "timestamp": "2025-08-29T05:00:21.265091688Z", "read_at": null }, { "message_id": "dcf01f67-7ab6-4345-9831-720de3a512ec", "thread_id": "fe20a2ad-f5df-4d05-b92f-e1153efa9535", "sender_email": "user0@example.com", "recipient_email": "user1@example.com", "content": "ok", "message_type": "text", "timestamp": "2025-08-29T05:00:40.536842187Z", "read_at": null }, { "message_id": "1f63b331-88e4-423c-b82d-0d138b79b707", "thread_id": "fe20a2ad-f5df-4d05-b92f-e1153efa9535", "sender_email": "user0@example.com", "recipient_email": "user1@example.com", "content": "hello", "message_type": "text", "timestamp": "2025-08-29T05:00:45.265747266Z", "read_at": null }, { "message_id": "08bd763b-d1ef-45a4-9296-3c5670518ea0", "thread_id": "bffed30e-6b09-4b04-97ab-81faf60cbef1", "sender_email": "user0@example.com", "recipient_email": "user1@example.com", "content": "helo", "message_type": "text", "timestamp": "2025-08-29T05:00:48.362369878Z", "read_at": null }, { "message_id": "980288ac-ae86-4105-9cc3-451482d41b48", "thread_id": "9e760a9e-ddec-4233-924a-1e1d910281c2", "sender_email": "user1@example.com", "recipient_email": "user0@example.com", "content": "fgsda", "message_type": "text", "timestamp": "2025-08-29T05:01:04.187258342Z", "read_at": null }, { "message_id": "6da3f476-c516-4a01-837e-ed469f805354", "thread_id": "9e760a9e-ddec-4233-924a-1e1d910281c2", "sender_email": "user1@example.com", "recipient_email": "user0@example.com", "content": "fdsafas", "message_type": "text", "timestamp": "2025-08-29T05:01:06.311267610Z", "read_at": null }, { "message_id": "73ffaa87-40f2-452a-a238-281ae614b2cf", "thread_id": "9e760a9e-ddec-4233-924a-1e1d910281c2", "sender_email": "user1@example.com", "recipient_email": "user0@example.com", "content": "fdsafsa", "message_type": "text", "timestamp": "2025-08-29T05:01:07.806135678Z", "read_at": null }, { "message_id": "482a30ad-0f2c-40f7-bfc2-5edfc09ee13a", "thread_id": "bffed30e-6b09-4b04-97ab-81faf60cbef1", "sender_email": "user1@example.com", "recipient_email": "user0@example.com", "content": "fdsasfsa", "message_type": "text", "timestamp": "2025-08-29T05:06:08.233635046Z", "read_at": null }, { "message_id": "d29d5cc7-182b-405e-8582-f1c4a2eae8b2", "thread_id": "fe20a2ad-f5df-4d05-b92f-e1153efa9535", "sender_email": "user1@example.com", "recipient_email": "user0@example.com", "content": "gsadga", "message_type": "text", "timestamp": "2025-08-29T05:07:25.514161344Z", "read_at": null }, { "message_id": "848e1ce9-669e-4eeb-90c2-5416a7fea934", "thread_id": "bffed30e-6b09-4b04-97ab-81faf60cbef1", "sender_email": "user1@example.com", "recipient_email": "user0@example.com", "content": "fdsaf", "message_type": "text", "timestamp": "2025-08-29T05:09:29.252120Z", "read_at": null }, { "message_id": "9bd09a24-ec14-4957-83c6-2ec6255a888f", "thread_id": "bffed30e-6b09-4b04-97ab-81faf60cbef1", "sender_email": "user1@example.com", "recipient_email": "user0@example.com", "content": "fsdafas", "message_type": "text", "timestamp": "2025-08-29T05:09:30.036429892Z", "read_at": null }, { "message_id": "d2ea89c6-98a9-45fd-bfea-c4b003a3d7cc", "thread_id": "fe20a2ad-f5df-4d05-b92f-e1153efa9535", "sender_email": "user1@example.com", "recipient_email": "user0@example.com", "content": "fdsaf", "message_type": "text", "timestamp": "2025-08-29T05:12:30.772793945Z", "read_at": null }, { "message_id": "8a2230e9-9e17-4927-b9b6-07d0205dae03", "thread_id": "fe20a2ad-f5df-4d05-b92f-e1153efa9535", "sender_email": "user1@example.com", "recipient_email": "user0@example.com", "content": "test", "message_type": "text", "timestamp": "2025-08-29T05:29:27.656334651Z", "read_at": null }, { "message_id": "8f3f9dd0-3197-4ed5-bb1d-039b6ba0aab5", "thread_id": "fe20a2ad-f5df-4d05-b92f-e1153efa9535", "sender_email": "user0@example.com", "recipient_email": "user1@example.com", "content": "hi", "message_type": "text", "timestamp": "2025-08-29T05:29:47.161792171Z", "read_at": null }, { "message_id": "081b148a-a01b-43fd-83db-cfe9deb83c21", "thread_id": "bffed30e-6b09-4b04-97ab-81faf60cbef1", "sender_email": "user1@example.com", "recipient_email": "user0@example.com", "content": "hello", "message_type": "text", "timestamp": "2025-08-29T05:30:09.863451177Z", "read_at": null }, { "message_id": "a1ed9558-05d7-4c76-9e90-ce0411ce4de1", "thread_id": "bffed30e-6b09-4b04-97ab-81faf60cbef1", "sender_email": "user0@example.com", "recipient_email": "user1@example.com", "content": "hi", "message_type": "text", "timestamp": "2025-08-29T05:30:28.721571109Z", "read_at": null }, { "message_id": "3270fb1b-17ec-4ccf-af13-9959195a1d94", "thread_id": "fe20a2ad-f5df-4d05-b92f-e1153efa9535", "sender_email": "user1@example.com", "recipient_email": "user0@example.com", "content": "hello", "message_type": "text", "timestamp": "2025-08-29T05:37:45.771146864Z", "read_at": null }, { "message_id": "95242583-52d7-4c8f-b3f5-2e70c7ecd75b", "thread_id": "bffed30e-6b09-4b04-97ab-81faf60cbef1", "sender_email": "user0@example.com", "recipient_email": "user1@example.com", "content": "hello", "message_type": "text", "timestamp": "2025-08-29T05:38:01.271887984Z", "read_at": null }, { "message_id": "e55bd2e4-d585-4643-af6f-cf264494f782", "thread_id": "bffed30e-6b09-4b04-97ab-81faf60cbef1", "sender_email": "user0@example.com", "recipient_email": "user1@example.com", "content": "hi", "message_type": "text", "timestamp": "2025-08-29T05:46:53.415516762Z", "read_at": null }, { "message_id": "7d651db4-1813-4955-b2da-46de882a6bb2", "thread_id": "bffed30e-6b09-4b04-97ab-81faf60cbef1", "sender_email": "user0@example.com", "recipient_email": "user1@example.com", "content": "hey", "message_type": "text", "timestamp": "2025-08-29T05:47:18.178384804Z", "read_at": null }, { "message_id": "86a65e45-1e81-4ca7-8433-1c425f12376d", "thread_id": "bffed30e-6b09-4b04-97ab-81faf60cbef1", "sender_email": "user1@example.com", "recipient_email": "user0@example.com", "content": "jkl", "message_type": "text", "timestamp": "2025-08-29T05:47:37.310011508Z", "read_at": null }, { "message_id": "7f791ed6-9a7d-4dbf-9b54-6af5ae219876", "thread_id": "bffed30e-6b09-4b04-97ab-81faf60cbef1", "sender_email": "user1@example.com", "recipient_email": "user0@example.com", "content": "hello", "message_type": "text", "timestamp": "2025-08-29T05:58:53.067774162Z", "read_at": null }, { "message_id": "4c5b5624-4fae-4995-a4e0-385042bee486", "thread_id": "bffed30e-6b09-4b04-97ab-81faf60cbef1", "sender_email": "user1@example.com", "recipient_email": "user0@example.com", "content": "hello", "message_type": "text", "timestamp": "2025-08-29T05:58:57.848136343Z", "read_at": null }, { "message_id": "5108a5b0-d7ac-4bd1-b2e9-7940d8071268", "thread_id": "fe20a2ad-f5df-4d05-b92f-e1153efa9535", "sender_email": "user0@example.com", "recipient_email": "user1@example.com", "content": "jello", "message_type": "text", "timestamp": "2025-08-29T05:59:40.292048246Z", "read_at": null }, { "message_id": "ce0d7cb7-878b-4829-b083-fea7c1b76723", "thread_id": "bffed30e-6b09-4b04-97ab-81faf60cbef1", "sender_email": "user0@example.com", "recipient_email": "user1@example.com", "content": "fdsafs", "message_type": "text", "timestamp": "2025-08-29T06:03:02.628138445Z", "read_at": null }, { "message_id": "ad149ca5-50da-4ef2-895b-ac9265ab14d5", "thread_id": "bffed30e-6b09-4b04-97ab-81faf60cbef1", "sender_email": "user1@example.com", "recipient_email": "user0@example.com", "content": "this is new", "message_type": "text", "timestamp": "2025-08-29T06:04:24.723399533Z", "read_at": null }, { "message_id": "a9e1db7c-2f75-4c00-a58f-4474dbe57af7", "thread_id": "bffed30e-6b09-4b04-97ab-81faf60cbef1", "sender_email": "user0@example.com", "recipient_email": "user1@example.com", "content": "this this this", "message_type": "text", "timestamp": "2025-08-29T06:08:13.073396835Z", "read_at": null }, { "message_id": "41be0e65-a9ae-4eee-83c6-23d3b2980a1b", "thread_id": "fe20a2ad-f5df-4d05-b92f-e1153efa9535", "sender_email": "user0@example.com", "recipient_email": "user1@example.com", "content": "fdsa", "message_type": "text", "timestamp": "2025-08-29T06:16:57.800754241Z", "read_at": null }, { "message_id": "bc1990ac-14a5-4a48-af96-3025f0870cda", "thread_id": "bffed30e-6b09-4b04-97ab-81faf60cbef1", "sender_email": "user0@example.com", "recipient_email": "user1@example.com", "content": "fdsafasfdsa", "message_type": "text", "timestamp": "2025-08-29T06:20:45.359247064Z", "read_at": null }, { "message_id": "b584031b-e9f1-4b3f-a12c-0f2da1ff2660", "thread_id": "fe20a2ad-f5df-4d05-b92f-e1153efa9535", "sender_email": "user0@example.com", "recipient_email": "user1@example.com", "content": "jkjkh", "message_type": "text", "timestamp": "2025-08-29T06:23:53.789931419Z", "read_at": null }, { "message_id": "b54699b4-0d9d-4697-89a3-bcc772a6140e", "thread_id": "bffed30e-6b09-4b04-97ab-81faf60cbef1", "sender_email": "user0@example.com", "recipient_email": "user1@example.com", "content": "hello", "message_type": "text", "timestamp": "2025-08-29T06:27:35.991234338Z", "read_at": null }, { "message_id": "54cb76bb-4657-43aa-9acb-124b5bc74dfe", "thread_id": "bffed30e-6b09-4b04-97ab-81faf60cbef1", "sender_email": "user1@example.com", "recipient_email": "user0@example.com", "content": "thanks", "message_type": "text", "timestamp": "2025-08-29T06:27:58.216565074Z", "read_at": null }, { "message_id": "010b99dc-5d16-4579-8e0f-3e9da8e939ff", "thread_id": "bffed30e-6b09-4b04-97ab-81faf60cbef1", "sender_email": "user0@example.com", "recipient_email": "user1@example.com", "content": "fgsda", "message_type": "text", "timestamp": "2025-08-29T06:28:23.449404101Z", "read_at": null }, { "message_id": "af528903-f81e-460a-89e8-a03e4ffe30ce", "thread_id": "fe20a2ad-f5df-4d05-b92f-e1153efa9535", "sender_email": "user0@example.com", "recipient_email": "user1@example.com", "content": "jkh", "message_type": "text", "timestamp": "2025-08-29T06:31:26.207907295Z", "read_at": null }, { "message_id": "0137b7f3-4cd4-4945-9032-626d528d6e26", "thread_id": "fe20a2ad-f5df-4d05-b92f-e1153efa9535", "sender_email": "user1@example.com", "recipient_email": "user0@example.com", "content": "kh", "message_type": "text", "timestamp": "2025-08-29T06:31:47.041200559Z", "read_at": null }, { "message_id": "8c99cefe-48f4-496b-ac06-96d8ca385924", "thread_id": "fe20a2ad-f5df-4d05-b92f-e1153efa9535", "sender_email": "user0@example.com", "recipient_email": "user1@example.com", "content": "jkhk", "message_type": "text", "timestamp": "2025-08-29T06:32:57.008314776Z", "read_at": null }, { "message_id": "dd716cf8-de7c-4bcf-a5d8-fbe947d9768c", "thread_id": "fe20a2ad-f5df-4d05-b92f-e1153efa9535", "sender_email": "user1@example.com", "recipient_email": "user0@example.com", "content": "kljl", "message_type": "text", "timestamp": "2025-08-29T06:33:14.908000174Z", "read_at": null }, { "message_id": "17149abc-576e-4d47-8a86-d214c8a1e39a", "thread_id": "fe20a2ad-f5df-4d05-b92f-e1153efa9535", "sender_email": "user0@example.com", "recipient_email": "user1@example.com", "content": "fdsafsad", "message_type": "text", "timestamp": "2025-08-29T06:35:48.472929345Z", "read_at": null }, { "message_id": "8eff5230-6904-4ad2-b889-13490f633a4b", "thread_id": "12e1971d-8c98-4c38-8bd9-d235575952a6", "sender_email": "user1@example.com", "recipient_email": "user0@example.com", "content": "fdsafasdfas", "message_type": "text", "timestamp": "2025-08-29T06:36:21.015083156Z", "read_at": null }, { "message_id": "65ed47a6-d012-4b5c-9586-dfef22de8251", "thread_id": "fe20a2ad-f5df-4d05-b92f-e1153efa9535", "sender_email": "user0@example.com", "recipient_email": "user1@example.com", "content": "88888888", "message_type": "text", "timestamp": "2025-08-29T06:39:25.576788681Z", "read_at": null }, { "message_id": "eb3b9e22-417e-4203-9894-c06aedc73a3d", "thread_id": "fe20a2ad-f5df-4d05-b92f-e1153efa9535", "sender_email": "user1@example.com", "recipient_email": "user0@example.com", "content": "jhj", "message_type": "text", "timestamp": "2025-08-29T06:41:38.577915281Z", "read_at": null }, { "message_id": "e36d4feb-7906-4117-9738-ce5ec4800ab2", "thread_id": "bffed30e-6b09-4b04-97ab-81faf60cbef1", "sender_email": "user1@example.com", "recipient_email": "user0@example.com", "content": "n", "message_type": "text", "timestamp": "2025-08-29T06:41:43.622965819Z", "read_at": null }, { "message_id": "bc16c9a4-0da5-4f58-b0f1-4f6f4fd7bf4f", "thread_id": "bffed30e-6b09-4b04-97ab-81faf60cbef1", "sender_email": "user1@example.com", "recipient_email": "user0@example.com", "content": "hello", "message_type": "text", "timestamp": "2025-08-29T17:04:51.908146255Z", "read_at": null }, { "message_id": "91df6be0-8953-4a92-8e4a-840786865b64", "thread_id": "bffed30e-6b09-4b04-97ab-81faf60cbef1", "sender_email": "user1@example.com", "recipient_email": "user0@example.com", "content": "hi how are you?", "message_type": "text", "timestamp": "2025-08-29T17:04:57.817946421Z", "read_at": null }, { "message_id": "cbbc128d-58a9-4ce5-b515-867a35d0ab4d", "thread_id": "fe20a2ad-f5df-4d05-b92f-e1153efa9535", "sender_email": "user1@example.com", "recipient_email": "user0@example.com", "content": "good and you", "message_type": "text", "timestamp": "2025-08-29T17:05:13.656733278Z", "read_at": null }, { "message_id": "140f5ee1-d165-42b5-8100-4f17a60ecb07", "thread_id": "bffed30e-6b09-4b04-97ab-81faf60cbef1", "sender_email": "user1@example.com", "recipient_email": "user0@example.com", "content": "great", "message_type": "text", "timestamp": "2025-08-29T17:06:37.722499934Z", "read_at": null }, { "message_id": "2d595235-4e60-4ee1-b9eb-6e63e8f4b866", "thread_id": "bffed30e-6b09-4b04-97ab-81faf60cbef1", "sender_email": "user0@example.com", "recipient_email": "user1@example.com", "content": "ok thanks", "message_type": "text", "timestamp": "2025-08-29T17:08:27.424658637Z", "read_at": null }, { "message_id": "6f4df378-cee7-4879-8fc7-2e3c7ddcfe08", "thread_id": "fe20a2ad-f5df-4d05-b92f-e1153efa9535", "sender_email": "user1@example.com", "recipient_email": "user0@example.com", "content": "ok", "message_type": "text", "timestamp": "2025-08-29T17:20:36.512198989Z", "read_at": null }, { "message_id": "f993768c-a291-4d8c-8fd2-3bb8f68419fc", "thread_id": "9e760a9e-ddec-4233-924a-1e1d910281c2", "sender_email": "user1@example.com", "recipient_email": "user0@example.com", "content": "okok", "message_type": "text", "timestamp": "2025-08-29T17:24:10.754416878Z", "read_at": null }, { "message_id": "a82929af-eab7-4957-a07f-90dd439d424e", "thread_id": "a1da1188-183d-4de2-b74e-12dab70ef27c", "sender_email": "user1@example.com", "recipient_email": "user0@example.com", "content": "hi", "message_type": "text", "timestamp": "2025-08-29T18:10:23.527706770Z", "read_at": null } ] }