{"openapi":"3.1.0","info":{"title":"FastAPI","version":"0.1.0"},"paths":{"/forms/backend-api/provider-get-started-form":{"post":{"summary":"Handle Form Submission","operationId":"handle_form_submission_forms_backend_api_provider_get_started_form_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetStartedFormData"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/scritch-testing/":{"get":{"summary":"Test","operationId":"test_scritch_testing__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/scritch-testing/getToken":{"get":{"summary":"Get Livekit Token","operationId":"get_livekit_token_scritch_testing_getToken_get","parameters":[{"name":"name","in":"query","required":true,"schema":{"type":"string","title":"Name"}},{"name":"phone","in":"query","required":true,"schema":{"type":"string","title":"Phone"}},{"name":"environment","in":"query","required":true,"schema":{"$ref":"#/components/schemas/Environment"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pylon/issues/initial-count":{"get":{"tags":["pylon"],"summary":"Get Initial Count","description":"Get initial count of issues waiting on customer for a hospital\n\nArgs:\n    hospital_id: The hospital ID (account_external_id)\n\nReturns:\n    Dict with count and hospital_id","operationId":"get_initial_count_pylon_issues_initial_count_get","parameters":[{"name":"hospital_id","in":"query","required":true,"schema":{"type":"string","title":"Hospital Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pylon/issues/list":{"get":{"tags":["pylon"],"summary":"Get Issues List","description":"Get list of issues waiting on customer for a hospital\n\nArgs:\n    hospital_id: The hospital ID (account_external_id)\n\nReturns:\n    Dict with issues array","operationId":"get_issues_list_pylon_issues_list_get","parameters":[{"name":"hospital_id","in":"query","required":true,"schema":{"type":"string","title":"Hospital Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pylon/webhook":{"post":{"tags":["pylon"],"summary":"Pylon Webhook","description":"Receive webhooks from Pylon for issue events:\n- issue.created\n- issue.updated\n- issue.closed\n\nBroadcasts real-time updates to connected WebSocket clients","operationId":"pylon_webhook_pylon_webhook_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/webhooks/backend-api/clerk-webhook":{"post":{"summary":"Handle Clerk Webhook","description":"Handle webhooks from Clerk for user events.","operationId":"handle_clerk_webhook_webhooks_backend_api_clerk_webhook_post","parameters":[{"name":"svix-id","in":"header","required":false,"schema":{"type":"string","title":"Svix-Id"}},{"name":"svix-timestamp","in":"header","required":false,"schema":{"type":"string","title":"Svix-Timestamp"}},{"name":"svix-signature","in":"header","required":false,"schema":{"type":"string","title":"Svix-Signature"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/":{"get":{"summary":"Read Root","operationId":"read_root__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}}},"components":{"schemas":{"Environment":{"type":"string","enum":["localRachel","localClaire","staging","production"],"title":"Environment"},"GetStartedFormData":{"properties":{"fullName":{"type":"string","title":"Fullname"},"email":{"type":"string","title":"Email"},"practiceName":{"type":"string","title":"Practicename"},"pims":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pims"},"discoveryMethod":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Discoverymethod"}},"type":"object","required":["fullName","email","practiceName"],"title":"GetStartedFormData"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}}}}