{"openapi":"3.1.0","info":{"title":"Gradon brain","version":"0.1.0"},"paths":{"/brain/consent":{"get":{"summary":"Consent","operationId":"consent_brain_consent_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Consent Brain Consent Get"}}}}}}},"/metrics":{"get":{"summary":"Metrics","description":"Each line's steps waiting for a worker, in Prometheus text: Porter grows the main line's step workers by it (its\nworkflow workers are fixed, so their wait is left out). Only inside the cluster: the ingress adds X-Forwarded-For\nto every request from outside, and a client can't strip it.","operationId":"metrics_metrics_get","responses":{"200":{"description":"Successful Response","content":{"text/plain":{"schema":{"type":"string"}}}}}}},"/brain/files":{"post":{"summary":"Post Files","operationId":"post_files_brain_files_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Sent"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"integer"},"title":"Response Post Files Brain Files Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"summary":"Files","operationId":"files_brain_files_get","parameters":[{"name":"kind","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Kind"}},{"name":"project","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project"}},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Q"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Files Brain Files Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/brain/files/start":{"post":{"summary":"Start Files","description":"Links for the laptop to put files in the bucket itself: each picture where it is kept (none for a file whose\npictures are up already), and POST /files's body without pictures in an inbox, which /files/done reads in.","operationId":"start_files_brain_files_start_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/brain__app__Starting"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Start Files Brain Files Start Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/brain/files/done":{"post":{"summary":"Files Done","operationId":"files_done_brain_files_done_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Inbox"}}},"required":true},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":{"type":"integer"},"type":"object","title":"Response Files Done Brain Files Done Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/brain/boxes":{"post":{"summary":"Boxes","description":"Where a sheet's title block, notes and tables are; the reader crops them at full size.","operationId":"boxes_brain_boxes_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Sheet"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Response Boxes Brain Boxes Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/brain/search":{"get":{"summary":"Search","operationId":"search_brain_search_get","parameters":[{"name":"query","in":"query","required":true,"schema":{"type":"string","title":"Query"}},{"name":"kind","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Kind"}},{"name":"project","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project"}},{"name":"agency","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Agency"}},{"name":"discipline","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Discipline"}},{"name":"since","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Since"}},{"name":"until","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Until"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","additionalProperties":true},"title":"Response Search Brain Search Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/brain/find":{"get":{"summary":"Find","operationId":"find_brain_find_get","parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string","title":"Q"}},{"name":"project","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project"}},{"name":"kind","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Kind"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","additionalProperties":true},"title":"Response Find Brain Find Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/brain/page":{"get":{"summary":"Page","operationId":"page_brain_page_get","parameters":[{"name":"path","in":"query","required":true,"schema":{"type":"string","title":"Path"}},{"name":"place","in":"query","required":true,"schema":{"type":"string","title":"Place"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Page Brain Page Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/brain/list":{"get":{"summary":"Listing","operationId":"listing_brain_list_get","parameters":[{"name":"project","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project"}},{"name":"kind","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Kind"}},{"name":"path","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","additionalProperties":true},"title":"Response Listing Brain List Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/brain/projects":{"get":{"summary":"Projects","operationId":"projects_brain_projects_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Response Projects Brain Projects Get"}}}}}}},"/brain/file":{"get":{"summary":"File","operationId":"file_brain_file_get","parameters":[{"name":"path","in":"query","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response File Brain File Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/brain/project":{"get":{"summary":"Project","operationId":"project_brain_project_get","parameters":[{"name":"name","in":"query","required":true,"schema":{"type":"string","title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Project Brain Project Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/brain/stats":{"get":{"summary":"Stats","operationId":"stats_brain_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Stats Brain Stats Get"}}}}}}},"/brain/hashes":{"get":{"summary":"Hashes","operationId":"hashes_brain_hashes_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":{"type":"string"},"type":"object","title":"Response Hashes Brain Hashes Get"}}}}}}},"/brain/admins":{"get":{"summary":"Get Admins","operationId":"get_admins_brain_admins_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Get Admins Brain Admins Get"}}}}}},"put":{"summary":"Put Admins","operationId":"put_admins_brain_admins_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Admins"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Put Admins Brain Admins Put"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/brain/folders":{"get":{"summary":"Get Folders","operationId":"get_folders_brain_folders_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Get Folders Brain Folders Get"}}}}}},"put":{"summary":"Put Folders","operationId":"put_folders_brain_folders_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Folders"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Put Folders Brain Folders Put"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/brain/discoveries":{"get":{"summary":"Get Discoveries","operationId":"get_discoveries_brain_discoveries_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Get Discoveries Brain Discoveries Get"}}}}}}},"/brain/people":{"get":{"summary":"Get People","operationId":"get_people_brain_people_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Get People Brain People Get"}}}}}}},"/brain/people/role":{"post":{"summary":"Set Role","operationId":"set_role_brain_people_role_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Role"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Set Role Brain People Role Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/brain/people/remove":{"post":{"summary":"Remove Person","operationId":"remove_person_brain_people_remove_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Person"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Remove Person Brain People Remove Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/brain/people/unblock":{"post":{"summary":"Unblock","operationId":"unblock_brain_people_unblock_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Person"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Unblock Brain People Unblock Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/brain/reset":{"get":{"summary":"Reset State","operationId":"reset_state_brain_reset_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Reset State Brain Reset Get"}}}}}},"post":{"summary":"Reset","description":"Puts the firm back to its saved `demo` copy. It takes minutes, longer than the edge holds a request, so the\nworker runs it after the answer; GET /reset says when it is done.","operationId":"reset_brain_reset_post","responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Reset Brain Reset Post"}}}}}}},"/brain/me":{"get":{"summary":"Me Get","operationId":"me_get_brain_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Me Get Brain Me Get"}}}}}}},"/brain/me/joined":{"post":{"summary":"Joined","operationId":"joined_brain_me_joined_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Joined Brain Me Joined Post"}}}}}}},"/brain/me/toured":{"post":{"summary":"Toured","operationId":"toured_brain_me_toured_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Toured Brain Me Toured Post"}}}}}}},"/brain/firm":{"get":{"summary":"Get","operationId":"get_brain_firm_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Get Brain Firm Get"}}}}}},"put":{"summary":"Put","operationId":"put_brain_firm_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FirmSettings"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Put Brain Firm Put"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/brain/firm/done":{"post":{"summary":"Setup Done","operationId":"setup_done_brain_firm_done_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Setup Done Brain Firm Done Post"}}}}}}},"/brain/chats/{id}":{"put":{"summary":"Put","operationId":"put_brain_chats__id__put","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","title":"Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Chat"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Put Brain Chats  Id  Put"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/brain/chats/staff":{"get":{"summary":"Staff List","description":"Every firm's kept chats (or one firm's) touched since then, newest first: titles only, each listing logged.","operationId":"staff_list_brain_chats_staff_get","parameters":[{"name":"firm","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Firm"}},{"name":"since","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Since"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","additionalProperties":true},"title":"Response Staff List Brain Chats Staff Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/brain/chats/staff/{firm}/{id}":{"get":{"summary":"Staff Read","operationId":"staff_read_brain_chats_staff__firm___id__get","parameters":[{"name":"firm","in":"path","required":true,"schema":{"type":"string","title":"Firm"}},{"name":"id","in":"path","required":true,"schema":{"type":"string","title":"Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Staff Read Brain Chats Staff  Firm   Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/brain/shared-calcs/{task_id}":{"put":{"summary":"Put","operationId":"put_brain_shared_calcs__task_id__put","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","title":"Task Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SharedCalc"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Put Brain Shared Calcs  Task Id  Put"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/brain/skills":{"get":{"summary":"Read","operationId":"read_brain_skills_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Response Read Brain Skills Get"}}}}}},"post":{"summary":"Add","operationId":"add_brain_skills_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/brain__skills__Made"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Add Brain Skills Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/brain/skills/{id}":{"put":{"summary":"Change","operationId":"change_brain_skills__id__put","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/brain__skills__Change"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Change Brain Skills  Id  Put"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Delete","operationId":"delete_brain_skills__id__delete","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Delete Brain Skills  Id  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/brain/skills/{id}/files/{path}":{"get":{"summary":"File","operationId":"file_brain_skills__id__files__path__get","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Id"}},{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Put File","operationId":"put_file_brain_skills__id__files__path__put","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Id"}},{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/brain/skills/{id}/picture":{"get":{"summary":"Picture","operationId":"picture_brain_skills__id__picture_get","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Set Picture","operationId":"set_picture_brain_skills__id__picture_put","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/brain/pages/mine":{"get":{"summary":"Read Mine","operationId":"read_mine_brain_pages_mine_get","parameters":[{"name":"project","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Read Mine Brain Pages Mine Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/brain/pages/list":{"get":{"summary":"Listing","operationId":"listing_brain_pages_list_get","parameters":[{"name":"layer","in":"query","required":true,"schema":{"type":"string","title":"Layer"}},{"name":"owner","in":"query","required":false,"schema":{"type":"string","default":"","title":"Owner"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","additionalProperties":true},"title":"Response Listing Brain Pages List Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/brain/pages/index":{"get":{"summary":"Index","description":"Every memory topic I read, the firm's, my groups' and my own, each with where it is kept.","operationId":"index_brain_pages_index_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Index Brain Pages Index Get"}}}}}}},"/brain/pages":{"get":{"summary":"Read","operationId":"read_brain_pages_get","parameters":[{"name":"layer","in":"query","required":true,"schema":{"type":"string","title":"Layer"}},{"name":"owner","in":"query","required":false,"schema":{"type":"string","default":"","title":"Owner"}},{"name":"name","in":"query","required":false,"schema":{"type":"string","default":"","title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Read Brain Pages Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Save","operationId":"save_brain_pages_put","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Put"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Save Brain Pages Put"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Delete","description":"base: the version the caller read; given, the topic goes only while it is still that one.","operationId":"delete_brain_pages_delete","parameters":[{"name":"layer","in":"query","required":true,"schema":{"type":"string","title":"Layer"}},{"name":"owner","in":"query","required":false,"schema":{"type":"string","default":"","title":"Owner"}},{"name":"name","in":"query","required":false,"schema":{"type":"string","default":"","title":"Name"}},{"name":"base","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Base"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Delete Brain Pages Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/brain/pages/line":{"post":{"summary":"Add Line","operationId":"add_line_brain_pages_line_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Line"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Add Line Brain Pages Line Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/brain/uploads/start":{"post":{"summary":"Start","operationId":"start_brain_uploads_start_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/brain__uploads__Starting"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Start Brain Uploads Start Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/brain/uploads/big/open":{"post":{"summary":"Big Open","operationId":"big_open_brain_uploads_big_open_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Grouped"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Big Open Brain Uploads Big Open Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/brain/uploads/big/parts":{"post":{"summary":"Big Parts","operationId":"big_parts_brain_uploads_big_parts_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Parts"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Big Parts Brain Uploads Big Parts Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/brain/uploads/big/finish":{"post":{"summary":"Big Finish","operationId":"big_finish_brain_uploads_big_finish_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Upload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Big Finish Brain Uploads Big Finish Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/brain/uploads/done":{"post":{"summary":"Done","operationId":"done_brain_uploads_done_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Files"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Done Brain Uploads Done Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/brain/uploads/status":{"put":{"summary":"Status","operationId":"status_brain_uploads_status_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Status"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Status Brain Uploads Status Put"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/brain/versions":{"get":{"summary":"Changes","operationId":"changes_brain_versions_get","parameters":[{"name":"kind","in":"query","required":true,"schema":{"type":"string","title":"Kind"}},{"name":"layer","in":"query","required":true,"schema":{"type":"string","title":"Layer"}},{"name":"owner","in":"query","required":false,"schema":{"type":"string","default":"","title":"Owner"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Changes Brain Versions Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/brain/versions/{id}/undo":{"post":{"summary":"Undo","operationId":"undo_brain_versions__id__undo_post","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","title":"Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Undo Brain Versions  Id  Undo Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/brain/projects/{id}":{"get":{"summary":"Project","operationId":"project_brain_projects__id__get","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","title":"Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Project Brain Projects  Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/brain/groups":{"get":{"summary":"Groups","operationId":"groups_brain_groups_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Response Groups Brain Groups Get"}}}}}},"post":{"summary":"Make","operationId":"make_brain_groups_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/brain__groups__Made"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Make Brain Groups Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/brain/groups/{id}":{"put":{"summary":"Change","operationId":"change_brain_groups__id__put","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","title":"Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/brain__groups__Change"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Change Brain Groups  Id  Put"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Delete","operationId":"delete_brain_groups__id__delete","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","title":"Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Delete Brain Groups  Id  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/brain/context/search":{"get":{"summary":"Find","operationId":"find_brain_context_search_get","parameters":[{"name":"kind","in":"query","required":true,"schema":{"enum":["skill","memory"],"type":"string","title":"Kind"}},{"name":"q","in":"query","required":true,"schema":{"type":"string","title":"Q"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","additionalProperties":true},"title":"Response Find Brain Context Search Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/brain/context/rebuild":{"post":{"summary":"Rebuilding","operationId":"rebuilding_brain_context_rebuild_post","responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Rebuilding Brain Context Rebuild Post"}}}}}}},"/auth/email/start":{"post":{"summary":"Email Start","operationId":"email_start_auth_email_start_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Email"}}},"required":true},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/email/verify":{"post":{"summary":"Email Verify","operationId":"email_verify_auth_email_verify_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Code"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Email Verify Auth Email Verify Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/microsoft":{"post":{"summary":"Microsoft","operationId":"microsoft_auth_microsoft_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Microsoft Auth Microsoft Post"}}}}}}},"/auth/renew":{"post":{"summary":"Renew","description":"A fresh email-code session, whatever the person's place in the firm, as /me answers: someone waiting stays\nsigned in, someone removed is still refused on every other call. A Microsoft one renews through Microsoft.","operationId":"renew_auth_renew_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Renew Auth Renew Post"}}}}}}},"/auth/me":{"get":{"summary":"Me","operationId":"me_auth_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Me Auth Me Get"}}}}}}},"/report":{"post":{"summary":"Post Report","operationId":"post_report_report_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_post_report_report_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Post Report Report Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/anthropic/v1/messages":{"post":{"summary":"Messages","operationId":"messages_anthropic_v1_messages_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Messages Anthropic V1 Messages Post"}}}}}}},"/anthropic/v1/messages/count_tokens":{"post":{"summary":"Count Tokens","operationId":"count_tokens_anthropic_v1_messages_count_tokens_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/openai/v1/audio/transcriptions":{"post":{"summary":"Transcriptions","operationId":"transcriptions_openai_v1_audio_transcriptions_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_transcriptions_openai_v1_audio_transcriptions_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Transcriptions Openai V1 Audio Transcriptions Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/openai/v1/images/edits":{"post":{"summary":"Image Edits","operationId":"image_edits_openai_v1_images_edits_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_image_edits_openai_v1_images_edits_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Image Edits Openai V1 Images Edits Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/openai/v1/images/generations":{"post":{"summary":"Image Generations","operationId":"image_generations_openai_v1_images_generations_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Image Generations Openai V1 Images Generations Post"}}}}}}},"/openai/v1/live/sessions":{"post":{"summary":"Live Session","operationId":"live_session_openai_v1_live_sessions_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/openai/v1/realtime/calls":{"post":{"summary":"Realtime Call","operationId":"realtime_call_openai_v1_realtime_calls_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/openai/v1/realtime/calls/{call_id}/hangup":{"post":{"summary":"Hangup","operationId":"hangup_openai_v1_realtime_calls__call_id__hangup_post","parameters":[{"name":"call_id","in":"path","required":true,"schema":{"type":"string","title":"Call Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/monid/discover":{"post":{"summary":"Discover","operationId":"discover_monid_discover_post","requestBody":{"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Discover Monid Discover Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/monid/inspect":{"post":{"summary":"Inspect","operationId":"inspect_monid_inspect_post","requestBody":{"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/monid/run":{"post":{"summary":"Run","operationId":"run_monid_run_post","requestBody":{"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/monid/runs/{run_id}":{"get":{"summary":"Get Run","operationId":"get_run_monid_runs__run_id__get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/monid/runs/{run_id}/stop":{"post":{"summary":"Stop Run","operationId":"stop_run_monid_runs__run_id__stop_post","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/health":{"get":{"summary":"Health","operationId":"health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Health Health Get"}}}}}}},"/health/detail":{"get":{"summary":"Detail","operationId":"detail_health_detail_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Detail Health Detail Get"}}}}}}}},"components":{"schemas":{"Admins":{"properties":{"admins":{"items":{"type":"string"},"type":"array","title":"Admins"}},"type":"object","required":["admins"],"title":"Admins"},"Body_image_edits_openai_v1_images_edits_post":{"properties":{"image":{"type":"string","contentMediaType":"application/octet-stream","title":"Image"},"prompt":{"type":"string","title":"Prompt"},"size":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Size"}},"type":"object","required":["image","prompt"],"title":"Body_image_edits_openai_v1_images_edits_post"},"Body_post_report_report_post":{"properties":{"logs":{"type":"string","contentMediaType":"application/octet-stream","title":"Logs"},"note":{"type":"string","maxLength":4000,"title":"Note"}},"type":"object","required":["logs","note"],"title":"Body_post_report_report_post"},"Body_transcriptions_openai_v1_audio_transcriptions_post":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"},"response_format":{"type":"string","title":"Response Format","default":"json"},"language":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Language"},"prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prompt"}},"type":"object","required":["file"],"title":"Body_transcriptions_openai_v1_audio_transcriptions_post"},"Chat":{"properties":{"title":{"type":"string","title":"Title","default":""},"chat":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Chat"}},"type":"object","required":["chat"],"title":"Chat"},"Code":{"properties":{"email":{"type":"string","title":"Email"},"code":{"type":"string","title":"Code"}},"type":"object","required":["email","code"],"title":"Code"},"Email":{"properties":{"email":{"type":"string","title":"Email"}},"type":"object","required":["email"],"title":"Email"},"Failure":{"properties":{"path":{"type":"string","title":"Path"},"reason":{"type":"string","title":"Reason"}},"type":"object","required":["path","reason"],"title":"Failure"},"File":{"properties":{"path":{"type":"string","title":"Path"},"size":{"type":"integer","title":"Size"},"mtime":{"type":"number","title":"Mtime"}},"type":"object","required":["path","size","mtime"],"title":"File"},"Files":{"properties":{"files":{"items":{"$ref":"#/components/schemas/File"},"type":"array","maxItems":500,"title":"Files"}},"type":"object","required":["files"],"title":"Files"},"FirmSettings":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"about":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"About"},"standards":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Standards"},"disciplines":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Disciplines"},"where":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Where"},"improve":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Improve"},"diagnostics":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Diagnostics"}},"type":"object","title":"FirmSettings"},"Folders":{"properties":{"folders":{"items":{"type":"string"},"type":"array","title":"Folders"},"reading":{"type":"boolean","title":"Reading"}},"type":"object","required":["folders","reading"],"title":"Folders"},"Grouped":{"properties":{"path":{"type":"string","title":"Path"},"size":{"type":"integer","title":"Size"},"mtime":{"type":"number","title":"Mtime"},"groups":{"items":{"type":"string"},"type":"array","title":"Groups"}},"type":"object","required":["path","size","mtime","groups"],"title":"Grouped"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"Inbox":{"properties":{"inbox":{"type":"string","pattern":"^\\w+$","title":"Inbox"}},"type":"object","required":["inbox"],"title":"Inbox"},"Line":{"properties":{"layer":{"type":"string","title":"Layer"},"owner":{"type":"string","title":"Owner","default":""},"name":{"type":"string","title":"Name","default":""},"text":{"type":"string","title":"Text"},"by":{"type":"string","title":"By","default":""},"day":{"type":"string","title":"Day","default":""}},"type":"object","required":["layer","text"],"title":"Line"},"Member":{"properties":{"email":{"type":"string","title":"Email"},"lead":{"type":"boolean","title":"Lead","default":false}},"type":"object","required":["email"],"title":"Member"},"Parts":{"properties":{"key":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Key"},"upload_id":{"type":"string","title":"Upload Id"},"size":{"type":"integer","minimum":0.0,"title":"Size"},"part_size":{"type":"integer","exclusiveMinimum":0.0,"title":"Part Size"}},"type":"object","required":["key","upload_id","size","part_size"],"title":"Parts"},"Person":{"properties":{"email":{"type":"string","title":"Email"}},"type":"object","required":["email"],"title":"Person"},"Pictured":{"properties":{"path":{"type":"string","title":"Path"},"content_hash":{"type":"string","pattern":"^\\w+$","title":"Content Hash"},"pages":{"items":{"type":"string"},"type":"array","title":"Pages"}},"type":"object","required":["path","content_hash","pages"],"title":"Pictured"},"Put":{"properties":{"layer":{"type":"string","title":"Layer"},"owner":{"type":"string","title":"Owner","default":""},"name":{"type":"string","title":"Name","default":""},"text":{"type":"string","title":"Text"},"base":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Base"}},"type":"object","required":["layer","text"],"title":"Put"},"Role":{"properties":{"email":{"type":"string","title":"Email"},"role":{"type":"string","enum":["admin","member"],"title":"Role"}},"type":"object","required":["email","role"],"title":"Role"},"Sent":{"properties":{"files":{"items":{"$ref":"#/components/schemas/SentFile"},"type":"array","title":"Files"}},"type":"object","required":["files"],"title":"Sent"},"SentFile":{"properties":{"path":{"type":"string","title":"Path"},"content_hash":{"type":"string","pattern":"^\\w+$","title":"Content Hash"},"groups":{"items":{"type":"string"},"type":"array","title":"Groups"},"hint_kind":{"type":"string","title":"Hint Kind","default":""},"pieces":{"items":{"$ref":"#/components/schemas/SentPiece"},"type":"array","title":"Pieces"}},"type":"object","required":["path","content_hash","groups","pieces"],"title":"SentFile"},"SentPiece":{"properties":{"place":{"type":"string","title":"Place"},"text":{"type":"string","title":"Text"},"image":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"null"}],"title":"Image"},"page":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"null"}],"title":"Page"}},"type":"object","required":["place","text"],"title":"SentPiece"},"SharedCalc":{"properties":{"what":{"type":"string","title":"What"},"script":{"type":"string","title":"Script"},"test":{"type":"string","title":"Test"}},"type":"object","required":["what","script","test"],"title":"SharedCalc"},"Sheet":{"properties":{"image":{"type":"string","title":"Image"}},"type":"object","required":["image"],"title":"Sheet"},"Status":{"properties":{"state":{"type":"string","enum":["uploading","offline","paused","done"],"title":"State"},"total":{"type":"integer","title":"Total"},"done":{"type":"integer","title":"Done"},"failed":{"type":"integer","title":"Failed"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"failures":{"anyOf":[{"items":{"$ref":"#/components/schemas/Failure"},"type":"array","maxItems":500},{"type":"null"}],"title":"Failures"}},"type":"object","required":["state","total","done","failed"],"title":"Status"},"Upload":{"properties":{"key":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Key"},"upload_id":{"type":"string","title":"Upload Id"}},"type":"object","required":["key","upload_id"],"title":"Upload"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"brain__app__Starting":{"properties":{"files":{"items":{"$ref":"#/components/schemas/Pictured"},"type":"array","maxItems":500,"title":"Files"}},"type":"object","required":["files"],"title":"Starting"},"brain__groups__Change":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"members":{"anyOf":[{"items":{"$ref":"#/components/schemas/Member"},"type":"array"},{"type":"null"}],"title":"Members"}},"type":"object","title":"Change"},"brain__groups__Made":{"properties":{"name":{"type":"string","title":"Name"}},"type":"object","required":["name"],"title":"Made"},"brain__skills__Change":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Text"}},"type":"object","title":"Change"},"brain__skills__Made":{"properties":{"layer":{"type":"string","title":"Layer"},"owner":{"type":"string","title":"Owner","default":""},"name":{"type":"string","title":"Name"},"text":{"type":"string","title":"Text"}},"type":"object","required":["layer","name","text"],"title":"Made"},"brain__uploads__Starting":{"properties":{"files":{"items":{"$ref":"#/components/schemas/Grouped"},"type":"array","maxItems":500,"title":"Files"}},"type":"object","required":["files"],"title":"Starting"}}}}