{"__meta":{"id":"01KSNCJ48V92AAZAKMM5ACJBQ4","datetime":"2026-05-27 18:53:42","utime":1779908022.559248,"method":"GET","uri":"\/api\/v1\/auth\/me","ip":"172.18.0.1"},"messages":{"count":0,"messages":[]},"time":{"count":5,"start":1779908007.820445,"end":1779908022.559308,"duration":14.738862991333008,"duration_str":"14.74s","measures":[{"label":"Booting","start":1779908007.820445,"relative_start":0,"end":1779908017.313862,"relative_end":1779908017.313862,"duration":9.493417024612427,"duration_str":"9.49s","memory":0,"memory_str":"0B","params":[],"collector":"time","group":null},{"label":"Application","start":1779908017.313906,"relative_start":9.493460893630981,"end":1779908022.559316,"relative_end":7.867813110351562e-6,"duration":5.245409965515137,"duration_str":"5.25s","memory":0,"memory_str":"0B","params":[],"collector":"time","group":null},{"label":"Routing","start":1779908017.834526,"relative_start":10.014081001281738,"end":1779908017.941052,"relative_end":1779908017.941052,"duration":0.10652589797973633,"duration_str":"107ms","memory":0,"memory_str":"0B","params":[],"collector":null,"group":null},{"label":"Preparing Response","start":1779908022.519435,"relative_start":14.698989868164062,"end":1779908022.537761,"relative_end":1779908022.537761,"duration":0.0183260440826416,"duration_str":"18.33ms","memory":0,"memory_str":"0B","params":[],"collector":null,"group":null},{"label":"Preparing Response","start":1779908022.550081,"relative_start":14.729635953903198,"end":1779908022.55016,"relative_end":1779908022.55016,"duration":7.891654968261719e-5,"duration_str":"79\u03bcs","memory":0,"memory_str":"0B","params":[],"collector":null,"group":null}]},"memory":{"peak_usage":3449584,"peak_usage_str":"3MB"},"exceptions":{"count":0,"exceptions":[]},"laravel":{"version":"12.x","tooltip":{"Laravel Version":"12.60.2","PHP Version":"8.5.6","Environment":"local","Debug Mode":"Enabled","URL":"localhost:80","Timezone":"Africa\/Accra","Locale":"en"}},"views":{"count":0,"nb_templates":0,"templates":[]},"queries":{"count":14,"nb_statements":11,"nb_visible_statements":14,"nb_excluded_statements":0,"nb_failed_statements":0,"accumulated_duration":0.11866,"accumulated_duration_str":"119ms","memory_usage":0,"memory_usage_str":null,"statements":[{"sql":"Connection Established","type":"transaction","params":[],"bindings":[],"hints":null,"show_copy":false,"backtrace":[{"index":15,"namespace":null,"name":"vendor\/laravel\/sanctum\/src\/PersonalAccessToken.php","file":"\/var\/www\/html\/vendor\/laravel\/sanctum\/src\/PersonalAccessToken.php","line":66},{"index":16,"namespace":null,"name":"vendor\/laravel\/sanctum\/src\/Guard.php","file":"\/var\/www\/html\/vendor\/laravel\/sanctum\/src\/Guard.php","line":43},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Auth\/GuardHelpers.php","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Auth\/GuardHelpers.php","line":56},{"index":20,"namespace":"middleware","name":"auth","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Auth\/Middleware\/Authenticate.php","line":82},{"index":21,"namespace":"middleware","name":"auth","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Auth\/Middleware\/Authenticate.php","line":61}],"start":1779908018.656533,"duration":0,"duration_str":"","slow":false,"memory":0,"memory_str":null,"filename":"PersonalAccessToken.php:66","source":{"index":15,"namespace":null,"name":"vendor\/laravel\/sanctum\/src\/PersonalAccessToken.php","file":"\/var\/www\/html\/vendor\/laravel\/sanctum\/src\/PersonalAccessToken.php","line":66},"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fcomplecare-wireframes%20-%20Codex%2Fbackend%2Fvendor%2Flaravel%2Fsanctum%2Fsrc%2FPersonalAccessToken.php&line=66","ajax":false,"filename":"PersonalAccessToken.php","line":"66"},"connection":"complecare","explain":null,"start_percent":0,"width_percent":0},{"sql":"select * from \"personal_access_tokens\" where \"personal_access_tokens\".\"id\" = '41' limit 1","type":"query","params":[],"bindings":["41"],"hints":null,"show_copy":true,"backtrace":[{"index":20,"namespace":null,"name":"vendor\/laravel\/sanctum\/src\/PersonalAccessToken.php","file":"\/var\/www\/html\/vendor\/laravel\/sanctum\/src\/PersonalAccessToken.php","line":66},{"index":21,"namespace":null,"name":"vendor\/laravel\/sanctum\/src\/Guard.php","file":"\/var\/www\/html\/vendor\/laravel\/sanctum\/src\/Guard.php","line":43},{"index":24,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Auth\/GuardHelpers.php","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Auth\/GuardHelpers.php","line":56},{"index":25,"namespace":"middleware","name":"auth","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Auth\/Middleware\/Authenticate.php","line":82},{"index":26,"namespace":"middleware","name":"auth","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Auth\/Middleware\/Authenticate.php","line":61}],"start":1779908019.149022,"duration":0.07723999999999999,"duration_str":"77.24ms","slow":false,"memory":0,"memory_str":null,"filename":"PersonalAccessToken.php:66","source":{"index":20,"namespace":null,"name":"vendor\/laravel\/sanctum\/src\/PersonalAccessToken.php","file":"\/var\/www\/html\/vendor\/laravel\/sanctum\/src\/PersonalAccessToken.php","line":66},"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fcomplecare-wireframes%20-%20Codex%2Fbackend%2Fvendor%2Flaravel%2Fsanctum%2Fsrc%2FPersonalAccessToken.php&line=66","ajax":false,"filename":"PersonalAccessToken.php","line":"66"},"connection":"complecare","explain":null,"start_percent":0,"width_percent":65.094},{"sql":"select * from \"users\" where \"users\".\"id\" = '01ksmjys53dhdmgzrm11bzaxhq' and \"users\".\"deleted_at\" is null limit 1","type":"query","params":[],"bindings":["01ksmjys53dhdmgzrm11bzaxhq"],"hints":null,"show_copy":true,"backtrace":[{"index":21,"namespace":null,"name":"vendor\/laravel\/sanctum\/src\/Guard.php","file":"\/var\/www\/html\/vendor\/laravel\/sanctum\/src\/Guard.php","line":130},{"index":22,"namespace":null,"name":"vendor\/laravel\/sanctum\/src\/Guard.php","file":"\/var\/www\/html\/vendor\/laravel\/sanctum\/src\/Guard.php","line":45},{"index":25,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Auth\/GuardHelpers.php","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Auth\/GuardHelpers.php","line":56},{"index":26,"namespace":"middleware","name":"auth","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Auth\/Middleware\/Authenticate.php","line":82},{"index":27,"namespace":"middleware","name":"auth","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Auth\/Middleware\/Authenticate.php","line":61}],"start":1779908019.7832751,"duration":0.00414,"duration_str":"4.14ms","slow":false,"memory":0,"memory_str":null,"filename":"Guard.php:130","source":{"index":21,"namespace":null,"name":"vendor\/laravel\/sanctum\/src\/Guard.php","file":"\/var\/www\/html\/vendor\/laravel\/sanctum\/src\/Guard.php","line":130},"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fcomplecare-wireframes%20-%20Codex%2Fbackend%2Fvendor%2Flaravel%2Fsanctum%2Fsrc%2FGuard.php&line=130","ajax":false,"filename":"Guard.php","line":"130"},"connection":"complecare","explain":null,"start_percent":65.094,"width_percent":3.489},{"sql":"update \"personal_access_tokens\" set \"last_used_at\" = '2026-05-27 18:53:39', \"updated_at\" = '2026-05-27 18:53:39' where \"id\" = 41","type":"query","params":[],"bindings":["2026-05-27 18:53:39","2026-05-27 18:53:39",41],"hints":null,"show_copy":true,"backtrace":[{"index":14,"namespace":null,"name":"vendor\/laravel\/sanctum\/src\/Guard.php","file":"\/var\/www\/html\/vendor\/laravel\/sanctum\/src\/Guard.php","line":167},{"index":15,"namespace":null,"name":"vendor\/laravel\/sanctum\/src\/Guard.php","file":"\/var\/www\/html\/vendor\/laravel\/sanctum\/src\/Guard.php","line":57},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Auth\/GuardHelpers.php","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Auth\/GuardHelpers.php","line":56},{"index":19,"namespace":"middleware","name":"auth","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Auth\/Middleware\/Authenticate.php","line":82},{"index":20,"namespace":"middleware","name":"auth","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Auth\/Middleware\/Authenticate.php","line":61}],"start":1779908019.912555,"duration":0.00505,"duration_str":"5.05ms","slow":false,"memory":0,"memory_str":null,"filename":"Guard.php:167","source":{"index":14,"namespace":null,"name":"vendor\/laravel\/sanctum\/src\/Guard.php","file":"\/var\/www\/html\/vendor\/laravel\/sanctum\/src\/Guard.php","line":167},"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fcomplecare-wireframes%20-%20Codex%2Fbackend%2Fvendor%2Flaravel%2Fsanctum%2Fsrc%2FGuard.php&line=167","ajax":false,"filename":"Guard.php","line":"167"},"connection":"complecare","explain":null,"start_percent":68.583,"width_percent":4.256},{"sql":"select * from \"tenants\" where \"tenants\".\"id\" = '01ksmjyrkvhqkr8rhxsd2jrhrg' and \"tenants\".\"deleted_at\" is null limit 1","type":"query","params":[],"bindings":["01ksmjyrkvhqkr8rhxsd2jrhrg"],"hints":null,"show_copy":true,"backtrace":[{"index":21,"namespace":"middleware","name":"tenant","file":"\/var\/www\/html\/app\/Http\/Middleware\/EnsureTenantScope.php","line":92},{"index":22,"namespace":"middleware","name":"tenant","file":"\/var\/www\/html\/app\/Http\/Middleware\/EnsureTenantScope.php","line":36},{"index":23,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php","line":219},{"index":24,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Middleware\/SubstituteBindings.php","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Middleware\/SubstituteBindings.php","line":50},{"index":25,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php","line":219}],"start":1779908020.1558182,"duration":0.0044800000000000005,"duration_str":"4.48ms","slow":false,"memory":0,"memory_str":null,"filename":"tenant:92","source":{"index":21,"namespace":"middleware","name":"tenant","file":"\/var\/www\/html\/app\/Http\/Middleware\/EnsureTenantScope.php","line":92},"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fcomplecare-wireframes%20-%20Codex%2Fbackend%2Fapp%2FHttp%2FMiddleware%2FEnsureTenantScope.php&line=92","ajax":false,"filename":"EnsureTenantScope.php","line":"92"},"connection":"complecare","explain":null,"start_percent":72.838,"width_percent":3.775},{"sql":"select \"roles\".*, \"model_has_roles\".\"model_id\" as \"pivot_model_id\", \"model_has_roles\".\"role_id\" as \"pivot_role_id\", \"model_has_roles\".\"model_type\" as \"pivot_model_type\", \"model_has_roles\".\"tenant_id\" as \"pivot_tenant_id\" from \"roles\" inner join \"model_has_roles\" on \"roles\".\"id\" = \"model_has_roles\".\"role_id\" where \"model_has_roles\".\"tenant_id\" is null and (\"roles\".\"tenant_id\" is null or \"roles\".\"tenant_id\" is null) and \"model_has_roles\".\"model_id\" in ('01ksmjys53dhdmgzrm11bzaxhq') and \"model_has_roles\".\"model_type\" = 'App\\Domain\\Auth\\Models\\User'","type":"query","params":[],"bindings":["01ksmjys53dhdmgzrm11bzaxhq","App\\Domain\\Auth\\Models\\User"],"hints":null,"show_copy":true,"backtrace":[{"index":22,"namespace":null,"name":"vendor\/spatie\/laravel-permission\/src\/Traits\/HasRoles.php","file":"\/var\/www\/html\/vendor\/spatie\/laravel-permission\/src\/Traits\/HasRoles.php","line":249},{"index":23,"namespace":"middleware","name":"tenant","file":"\/var\/www\/html\/app\/Http\/Middleware\/EnsureTenantScope.php","line":101},{"index":24,"namespace":"middleware","name":"tenant","file":"\/var\/www\/html\/app\/Http\/Middleware\/EnsureTenantScope.php","line":39},{"index":25,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php","line":219},{"index":26,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Middleware\/SubstituteBindings.php","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Middleware\/SubstituteBindings.php","line":50}],"start":1779908020.35212,"duration":0.006730000000000001,"duration_str":"6.73ms","slow":false,"memory":0,"memory_str":null,"filename":"HasRoles.php:249","source":{"index":22,"namespace":null,"name":"vendor\/spatie\/laravel-permission\/src\/Traits\/HasRoles.php","file":"\/var\/www\/html\/vendor\/spatie\/laravel-permission\/src\/Traits\/HasRoles.php","line":249},"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fcomplecare-wireframes%20-%20Codex%2Fbackend%2Fvendor%2Fspatie%2Flaravel-permission%2Fsrc%2FTraits%2FHasRoles.php&line=249","ajax":false,"filename":"HasRoles.php","line":"249"},"connection":"complecare","explain":null,"start_percent":76.614,"width_percent":5.672},{"sql":"select exists(select * from \"tenants\" inner join \"tenant_user\" on \"tenants\".\"id\" = \"tenant_user\".\"tenant_id\" where \"tenant_user\".\"user_id\" = '01ksmjys53dhdmgzrm11bzaxhq' and \"tenants\".\"id\" = '01ksmjyrkvhqkr8rhxsd2jrhrg' and \"tenant_user\".\"status\" = 'active' and \"tenants\".\"deleted_at\" is null) as \"exists\"","type":"query","params":[],"bindings":["01ksmjys53dhdmgzrm11bzaxhq","01ksmjyrkvhqkr8rhxsd2jrhrg","active"],"hints":null,"show_copy":true,"backtrace":[{"index":14,"namespace":"middleware","name":"tenant","file":"\/var\/www\/html\/app\/Http\/Middleware\/EnsureTenantScope.php","line":107},{"index":15,"namespace":"middleware","name":"tenant","file":"\/var\/www\/html\/app\/Http\/Middleware\/EnsureTenantScope.php","line":39},{"index":16,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php","line":219},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Middleware\/SubstituteBindings.php","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Middleware\/SubstituteBindings.php","line":50},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php","line":219}],"start":1779908020.5206301,"duration":0.0035,"duration_str":"3.5ms","slow":false,"memory":0,"memory_str":null,"filename":"tenant:107","source":{"index":14,"namespace":"middleware","name":"tenant","file":"\/var\/www\/html\/app\/Http\/Middleware\/EnsureTenantScope.php","line":107},"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fcomplecare-wireframes%20-%20Codex%2Fbackend%2Fapp%2FHttp%2FMiddleware%2FEnsureTenantScope.php&line=107","ajax":false,"filename":"EnsureTenantScope.php","line":"107"},"connection":"complecare","explain":null,"start_percent":82.286,"width_percent":2.95},{"sql":"SELECT set_config('app.current_tenant_id', '01ksmjyrkvhqkr8rhxsd2jrhrg', false)","type":"query","params":[],"bindings":["01ksmjyrkvhqkr8rhxsd2jrhrg"],"hints":null,"show_copy":true,"backtrace":[{"index":11,"namespace":"middleware","name":"tenant","file":"\/var\/www\/html\/app\/Http\/Middleware\/EnsureTenantScope.php","line":51},{"index":12,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php","line":219},{"index":13,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Middleware\/SubstituteBindings.php","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Middleware\/SubstituteBindings.php","line":50},{"index":14,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php","line":219},{"index":15,"namespace":"middleware","name":"throttle","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Middleware\/ThrottleRequests.php","line":166}],"start":1779908020.860311,"duration":0.00196,"duration_str":"1.96ms","slow":false,"memory":0,"memory_str":null,"filename":"tenant:51","source":{"index":11,"namespace":"middleware","name":"tenant","file":"\/var\/www\/html\/app\/Http\/Middleware\/EnsureTenantScope.php","line":51},"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fcomplecare-wireframes%20-%20Codex%2Fbackend%2Fapp%2FHttp%2FMiddleware%2FEnsureTenantScope.php&line=51","ajax":false,"filename":"EnsureTenantScope.php","line":"51"},"connection":"complecare","explain":null,"start_percent":85.235,"width_percent":1.652},{"sql":"Begin Transaction","type":"transaction","params":[],"bindings":[],"hints":null,"show_copy":false,"backtrace":[{"index":10,"namespace":null,"name":"app\/Domain\/Audit\/Services\/AuditLogger.php","file":"\/var\/www\/html\/app\/Domain\/Audit\/Services\/AuditLogger.php","line":47},{"index":11,"namespace":null,"name":"app\/Http\/Controllers\/Api\/V1\/AuthController.php","file":"\/var\/www\/html\/app\/Http\/Controllers\/Api\/V1\/AuthController.php","line":182},{"index":12,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":13,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43},{"index":14,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":265}],"start":1779908021.236493,"duration":0,"duration_str":"","slow":false,"memory":0,"memory_str":null,"filename":"AuditLogger.php:47","source":{"index":10,"namespace":null,"name":"app\/Domain\/Audit\/Services\/AuditLogger.php","file":"\/var\/www\/html\/app\/Domain\/Audit\/Services\/AuditLogger.php","line":47},"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fcomplecare-wireframes%20-%20Codex%2Fbackend%2Fapp%2FDomain%2FAudit%2FServices%2FAuditLogger.php&line=47","ajax":false,"filename":"AuditLogger.php","line":"47"},"connection":"complecare","explain":null,"start_percent":86.887,"width_percent":0},{"sql":"select * from \"audit_log\" order by \"occurred_at\" desc limit 1 for update","type":"query","params":[],"bindings":[],"hints":null,"show_copy":true,"backtrace":[{"index":16,"namespace":null,"name":"app\/Domain\/Audit\/Services\/AuditLogger.php","file":"\/var\/www\/html\/app\/Domain\/Audit\/Services\/AuditLogger.php","line":51},{"index":20,"namespace":null,"name":"app\/Domain\/Audit\/Services\/AuditLogger.php","file":"\/var\/www\/html\/app\/Domain\/Audit\/Services\/AuditLogger.php","line":47},{"index":21,"namespace":null,"name":"app\/Http\/Controllers\/Api\/V1\/AuthController.php","file":"\/var\/www\/html\/app\/Http\/Controllers\/Api\/V1\/AuthController.php","line":182},{"index":22,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":23,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43}],"start":1779908021.24261,"duration":0.00598,"duration_str":"5.98ms","slow":false,"memory":0,"memory_str":null,"filename":"AuditLogger.php:51","source":{"index":16,"namespace":null,"name":"app\/Domain\/Audit\/Services\/AuditLogger.php","file":"\/var\/www\/html\/app\/Domain\/Audit\/Services\/AuditLogger.php","line":51},"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fcomplecare-wireframes%20-%20Codex%2Fbackend%2Fapp%2FDomain%2FAudit%2FServices%2FAuditLogger.php&line=51","ajax":false,"filename":"AuditLogger.php","line":"51"},"connection":"complecare","explain":null,"start_percent":86.887,"width_percent":5.04},{"sql":"insert into \"audit_log\" (\"actor_user_id\", \"actor_role\", \"actor_tenant_id\", \"actor_ip\", \"actor_user_agent\", \"event_type\", \"event_category\", \"severity\", \"subject_type\", \"subject_id\", \"subject_tenant_id\", \"context\", \"prev_chain_hash\", \"occurred_at\", \"created_at\", \"chain_hash\", \"id\") values ('01ksmjys53dhdmgzrm11bzaxhq', null, '01ksmjyrkvhqkr8rhxsd2jrhrg', '172.18.0.1', null, 'patient.record.viewed', 'phi', 'info', 'App\\Domain\\Auth\\Models\\User', '01ksmjys53dhdmgzrm11bzaxhq', '01ksmjyrkvhqkr8rhxsd2jrhrg', '{\"scope\":\"self_profile\"}', '2a36415ef90db6a99e32181bdf79864c489fc3d226e43e41d229fbfc243034ac', '2026-05-27 18:53:41', '2026-05-27 18:53:41', '1f83f14f2cb88ec31bc12dc1020cf544a95c0acd9642c9c6dc0cb8ee6f2de9d9', '01ksncj34209k77gzyfftanm0z')","type":"query","params":[],"bindings":["01ksmjys53dhdmgzrm11bzaxhq",null,"01ksmjyrkvhqkr8rhxsd2jrhrg","172.18.0.1",null,"patient.record.viewed","phi","info","App\\Domain\\Auth\\Models\\User","01ksmjys53dhdmgzrm11bzaxhq","01ksmjyrkvhqkr8rhxsd2jrhrg","{\"scope\":\"self_profile\"}","2a36415ef90db6a99e32181bdf79864c489fc3d226e43e41d229fbfc243034ac","2026-05-27 18:53:41","2026-05-27 18:53:41","1f83f14f2cb88ec31bc12dc1020cf544a95c0acd9642c9c6dc0cb8ee6f2de9d9","01ksncj34209k77gzyfftanm0z"],"hints":null,"show_copy":true,"backtrace":[{"index":20,"namespace":null,"name":"app\/Domain\/Audit\/Services\/AuditLogger.php","file":"\/var\/www\/html\/app\/Domain\/Audit\/Services\/AuditLogger.php","line":73},{"index":24,"namespace":null,"name":"app\/Domain\/Audit\/Services\/AuditLogger.php","file":"\/var\/www\/html\/app\/Domain\/Audit\/Services\/AuditLogger.php","line":47},{"index":25,"namespace":null,"name":"app\/Http\/Controllers\/Api\/V1\/AuthController.php","file":"\/var\/www\/html\/app\/Http\/Controllers\/Api\/V1\/AuthController.php","line":182},{"index":26,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":27,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43}],"start":1779908021.380007,"duration":0.00285,"duration_str":"2.85ms","slow":false,"memory":0,"memory_str":null,"filename":"AuditLogger.php:73","source":{"index":20,"namespace":null,"name":"app\/Domain\/Audit\/Services\/AuditLogger.php","file":"\/var\/www\/html\/app\/Domain\/Audit\/Services\/AuditLogger.php","line":73},"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fcomplecare-wireframes%20-%20Codex%2Fbackend%2Fapp%2FDomain%2FAudit%2FServices%2FAuditLogger.php&line=73","ajax":false,"filename":"AuditLogger.php","line":"73"},"connection":"complecare","explain":null,"start_percent":91.927,"width_percent":2.402},{"sql":"Commit Transaction","type":"transaction","params":[],"bindings":[],"hints":null,"show_copy":false,"backtrace":[{"index":9,"namespace":null,"name":"app\/Domain\/Audit\/Services\/AuditLogger.php","file":"\/var\/www\/html\/app\/Domain\/Audit\/Services\/AuditLogger.php","line":47},{"index":10,"namespace":null,"name":"app\/Http\/Controllers\/Api\/V1\/AuthController.php","file":"\/var\/www\/html\/app\/Http\/Controllers\/Api\/V1\/AuthController.php","line":182},{"index":11,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":12,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43},{"index":13,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":265}],"start":1779908021.587114,"duration":0,"duration_str":"","slow":false,"memory":0,"memory_str":null,"filename":"AuditLogger.php:47","source":{"index":9,"namespace":null,"name":"app\/Domain\/Audit\/Services\/AuditLogger.php","file":"\/var\/www\/html\/app\/Domain\/Audit\/Services\/AuditLogger.php","line":47},"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fcomplecare-wireframes%20-%20Codex%2Fbackend%2Fapp%2FDomain%2FAudit%2FServices%2FAuditLogger.php&line=47","ajax":false,"filename":"AuditLogger.php","line":"47"},"connection":"complecare","explain":null,"start_percent":94.328,"width_percent":0},{"sql":"select \"tenants\".*, \"tenant_user\".\"user_id\" as \"pivot_user_id\", \"tenant_user\".\"tenant_id\" as \"pivot_tenant_id\", \"tenant_user\".\"is_primary\" as \"pivot_is_primary\", \"tenant_user\".\"status\" as \"pivot_status\", \"tenant_user\".\"joined_at\" as \"pivot_joined_at\", \"tenant_user\".\"left_at\" as \"pivot_left_at\", \"tenant_user\".\"metadata\" as \"pivot_metadata\", \"tenant_user\".\"created_at\" as \"pivot_created_at\", \"tenant_user\".\"updated_at\" as \"pivot_updated_at\" from \"tenants\" inner join \"tenant_user\" on \"tenants\".\"id\" = \"tenant_user\".\"tenant_id\" where \"tenant_user\".\"user_id\" in ('01ksmjys53dhdmgzrm11bzaxhq') and \"tenants\".\"deleted_at\" is null","type":"query","params":[],"bindings":["01ksmjys53dhdmgzrm11bzaxhq"],"hints":null,"show_copy":true,"backtrace":[{"index":22,"namespace":null,"name":"app\/Domain\/Auth\/Data\/UserData.php","file":"\/var\/www\/html\/app\/Domain\/Auth\/Data\/UserData.php","line":57},{"index":23,"namespace":null,"name":"app\/Http\/Controllers\/Api\/V1\/AuthController.php","file":"\/var\/www\/html\/app\/Http\/Controllers\/Api\/V1\/AuthController.php","line":185},{"index":24,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":25,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43},{"index":26,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":265}],"start":1779908021.702677,"duration":0.00271,"duration_str":"2.71ms","slow":false,"memory":0,"memory_str":null,"filename":"UserData.php:57","source":{"index":22,"namespace":null,"name":"app\/Domain\/Auth\/Data\/UserData.php","file":"\/var\/www\/html\/app\/Domain\/Auth\/Data\/UserData.php","line":57},"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fcomplecare-wireframes%20-%20Codex%2Fbackend%2Fapp%2FDomain%2FAuth%2FData%2FUserData.php&line=57","ajax":false,"filename":"UserData.php","line":"57"},"connection":"complecare","explain":null,"start_percent":94.328,"width_percent":2.284},{"sql":"select \"permissions\".*, \"model_has_permissions\".\"model_id\" as \"pivot_model_id\", \"model_has_permissions\".\"permission_id\" as \"pivot_permission_id\", \"model_has_permissions\".\"model_type\" as \"pivot_model_type\", \"model_has_permissions\".\"tenant_id\" as \"pivot_tenant_id\" from \"permissions\" inner join \"model_has_permissions\" on \"permissions\".\"id\" = \"model_has_permissions\".\"permission_id\" where \"model_has_permissions\".\"model_id\" = '01ksmjys53dhdmgzrm11bzaxhq' and \"model_has_permissions\".\"model_type\" = 'App\\Domain\\Auth\\Models\\User' and \"model_has_permissions\".\"tenant_id\" = '01ksmjyrkvhqkr8rhxsd2jrhrg'","type":"query","params":[],"bindings":["01ksmjys53dhdmgzrm11bzaxhq","App\\Domain\\Auth\\Models\\User","01ksmjyrkvhqkr8rhxsd2jrhrg"],"hints":null,"show_copy":true,"backtrace":[{"index":20,"namespace":null,"name":"vendor\/spatie\/laravel-permission\/src\/Traits\/HasPermissions.php","file":"\/var\/www\/html\/vendor\/spatie\/laravel-permission\/src\/Traits\/HasPermissions.php","line":352},{"index":21,"namespace":null,"name":"app\/Domain\/Auth\/Data\/UserData.php","file":"\/var\/www\/html\/app\/Domain\/Auth\/Data\/UserData.php","line":75},{"index":22,"namespace":null,"name":"app\/Http\/Controllers\/Api\/V1\/AuthController.php","file":"\/var\/www\/html\/app\/Http\/Controllers\/Api\/V1\/AuthController.php","line":185},{"index":23,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":24,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/var\/www\/html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43}],"start":1779908022.182842,"duration":0.004019999999999999,"duration_str":"4.02ms","slow":false,"memory":0,"memory_str":null,"filename":"HasPermissions.php:352","source":{"index":20,"namespace":null,"name":"vendor\/spatie\/laravel-permission\/src\/Traits\/HasPermissions.php","file":"\/var\/www\/html\/vendor\/spatie\/laravel-permission\/src\/Traits\/HasPermissions.php","line":352},"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fcomplecare-wireframes%20-%20Codex%2Fbackend%2Fvendor%2Fspatie%2Flaravel-permission%2Fsrc%2FTraits%2FHasPermissions.php&line=352","ajax":false,"filename":"HasPermissions.php","line":"352"},"connection":"complecare","explain":null,"start_percent":96.612,"width_percent":3.388}]},"models":{"data":{"App\\Domain\\Auth\\Models\\PersonalAccessToken":{"retrieved":1,"updated":1,"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fcomplecare-wireframes%20-%20Codex%2Fbackend%2Fapp%2FDomain%2FAuth%2FModels%2FPersonalAccessToken.php&line=1","ajax":false,"filename":"PersonalAccessToken.php","line":"?"}},"App\\Domain\\Tenant\\Models\\Tenant":{"retrieved":2,"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fcomplecare-wireframes%20-%20Codex%2Fbackend%2Fapp%2FDomain%2FTenant%2FModels%2FTenant.php&line=1","ajax":false,"filename":"Tenant.php","line":"?"}},"App\\Domain\\Audit\\Models\\AuditLog":{"retrieved":1,"created":1,"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fcomplecare-wireframes%20-%20Codex%2Fbackend%2Fapp%2FDomain%2FAudit%2FModels%2FAuditLog.php&line=1","ajax":false,"filename":"AuditLog.php","line":"?"}},"App\\Domain\\Auth\\Models\\User":{"retrieved":1,"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fcomplecare-wireframes%20-%20Codex%2Fbackend%2Fapp%2FDomain%2FAuth%2FModels%2FUser.php&line=1","ajax":false,"filename":"User.php","line":"?"}}},"count":7,"key_map":{"retrieved":"Retrieved","created":"Created","updated":"Updated","deleted":"Deleted"},"is_counter":true,"badges":{"retrieved":5,"updated":1,"created":1}},"livewire":{"data":[],"count":0},"symfonymailer_mails":{"count":0,"mails":[]},"gate":{"count":0,"messages":[]},"request":{"data":{"status":"200 OK","full_url":"http:\/\/localhost\/api\/v1\/auth\/me","action_name":"auth.me","controller_action":"App\\Http\\Controllers\\Api\\V1\\AuthController@me","uri":"GET api\/v1\/auth\/me","controller":{"value":"App\\Http\\Controllers\\Api\\V1\\AuthController@me","xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fcomplecare-wireframes%20-%20Codex%2Fbackend%2Fapp%2FHttp%2FControllers%2FApi%2FV1%2FAuthController.php&line=179","ajax":false,"filename":"AuthController.php","line":"179"}},"prefix":"api\/v1\/auth","file":{"value":"app\/Http\/Controllers\/Api\/V1\/AuthController.php:179-187","xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fcomplecare-wireframes%20-%20Codex%2Fbackend%2Fapp%2FHttp%2FControllers%2FApi%2FV1%2FAuthController.php&line=179","ajax":false,"filename":"AuthController.php","line":"179"}},"middleware":"api, auth:sanctum, App\\Http\\Middleware\\EnsureTenantScope","telescope":"<a href=\"http:\/\/localhost\/_debugbar\/telescope\/a1e1b68a-e86d-4454-bcf9-aaa034f8017a\" target=\"_blank\">View in Telescope<\/a>","duration":"14.81s","peak_memory":"4MB","response":"application\/json","request_format":"html","request_query":"<pre class=sf-dump id=sf-dump-1807476707 data-indent-pad=\"  \">[]\n<\/pre><script>Sfdump(\"sf-dump-1807476707\", {\"maxDepth\":0})<\/script>\n","request_request":"<pre class=sf-dump id=sf-dump-1514045969 data-indent-pad=\"  \">[]\n<\/pre><script>Sfdump(\"sf-dump-1514045969\", {\"maxDepth\":0})<\/script>\n","request_headers":"<pre class=sf-dump id=sf-dump-1026732437 data-indent-pad=\"  \"><span class=sf-dump-note>array:5<\/span> [<samp data-depth=1 class=sf-dump-expanded>\n  \"<span class=sf-dump-key>host<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"9 characters\">localhost<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>accept<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"16 characters\">application\/json<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>content-type<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"16 characters\">application\/json<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>authorization<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"18 characters\">Bearer 41|cc******<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>content-length<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str>0<\/span>\"\n  <\/samp>]\n<\/samp>]\n<\/pre><script>Sfdump(\"sf-dump-1026732437\", {\"maxDepth\":0})<\/script>\n","request_cookies":"<pre class=sf-dump id=sf-dump-1707370634 data-indent-pad=\"  \">[]\n<\/pre><script>Sfdump(\"sf-dump-1707370634\", {\"maxDepth\":0})<\/script>\n","response_headers":"<pre class=sf-dump id=sf-dump-1537882644 data-indent-pad=\"  \"><span class=sf-dump-note>array:5<\/span> [<samp data-depth=1 class=sf-dump-expanded>\n  \"<span class=sf-dump-key>cache-control<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"17 characters\">no-cache, private<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>date<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"29 characters\">Wed, 27 May 2026 18:53:42 GMT<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>content-type<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"16 characters\">application\/json<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>x-ratelimit-limit<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"3 characters\">120<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>x-ratelimit-remaining<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"3 characters\">119<\/span>\"\n  <\/samp>]\n<\/samp>]\n<\/pre><script>Sfdump(\"sf-dump-1537882644\", {\"maxDepth\":0})<\/script>\n","session_attributes":"<pre class=sf-dump id=sf-dump-1948619096 data-indent-pad=\"  \">[]\n<\/pre><script>Sfdump(\"sf-dump-1948619096\", {\"maxDepth\":0})<\/script>\n"},"tooltip":{"status":"200 OK","full_url":"http:\/\/localhost\/api\/v1\/auth\/me","action_name":"auth.me","controller_action":"App\\Http\\Controllers\\Api\\V1\\AuthController@me"},"badge":null}}