{"openapi":"3.1.0","info":{"title":"Humsana HR","version":"0.1.0"},"paths":{"/apply/{slug}":{"get":{"summary":"Apply Page","operationId":"apply_page_apply__slug__get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Apply Submit","operationId":"apply_submit_apply__slug__post","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_apply_submit_apply__slug__post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/status/{application_id}":{"get":{"summary":"Status Page","operationId":"status_page_status__application_id__get","parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","title":"Application Id"}},{"name":"repeat","in":"query","required":false,"schema":{"type":"string","default":"","title":"Repeat"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/roles/{slug}":{"get":{"summary":"Public Role","description":"What a front end built elsewhere needs to render the same form.","operationId":"public_role_api_public_roles__slug__get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/":{"get":{"summary":"Root","description":"Signed in, the desk. Signed out, a page that says what this is, which is also what Google's reviewers read.\n\nSignup and sign-in are absolute to the product's own address, because the landing page answers on more than one\nhostname and an account, a session cookie and every link in an email belong to one host: the one in HR_BASE_URL.","operationId":"root__get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/signup":{"get":{"summary":"Signup Page","operationId":"signup_page_signup_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"post":{"summary":"Signup","operationId":"signup_signup_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_signup_signup_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/login":{"get":{"summary":"Login Page","operationId":"login_page_login_get","parameters":[{"name":"next","in":"query","required":false,"schema":{"type":"string","default":"/desk","title":"Next"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Login","operationId":"login_login_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_login_login_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/logout":{"get":{"summary":"Logout","operationId":"logout_logout_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/voice/llm":{"post":{"summary":"Voice Llm","description":"The endpoint Deepgram calls to ask what to say. It answers with our next approved sentence, never a new one.","operationId":"voice_llm_voice_llm_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v/{token}":{"get":{"summary":"Voice Call Page","description":"The candidate's link: the notice, the consent button, and then the call itself.","operationId":"voice_call_page_v__token__get","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v/{token}/consent":{"post":{"summary":"Voice Call Consent","operationId":"voice_call_consent_v__token__consent_post","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v/{token}/start":{"post":{"summary":"Voice Call Start","description":"Called when the candidate presses start, after the browser has been granted the microphone.","operationId":"voice_call_start_v__token__start_post","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v/{token}/end":{"post":{"summary":"Voice Call End","description":"End the call and hand the record on. Idempotent, because a closing socket and a button can both arrive.","operationId":"voice_call_end_v__token__end_post","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"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"}}}}}}},"/api/intake/questions":{"get":{"summary":"Intake Questions","operationId":"intake_questions_api_intake_questions_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Intake Questions Api Intake Questions Get"}}}}}}},"/api/roles":{"get":{"summary":"List Roles","operationId":"list_roles_api_roles_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response List Roles Api Roles Get"}}}}}},"post":{"summary":"Create Role","operationId":"create_role_api_roles_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoleIn"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Create Role Api Roles Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/roles/{role_id}":{"get":{"summary":"Get Role","operationId":"get_role_api_roles__role_id__get","parameters":[{"name":"role_id","in":"path","required":true,"schema":{"type":"string","title":"Role Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Role Api Roles  Role Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/roles/{role_id}/post":{"post":{"summary":"Read Post Link","description":"Read a job post from the board it is already published on, and draft criteria from it.\n\nThe post is the company's own, at its public address. No applicant list, no login, no key: those need the\ncustomer's own permission, and this is the same read a person gets by opening the link.","operationId":"read_post_link_api_roles__role_id__post_post","parameters":[{"name":"role_id","in":"path","required":true,"schema":{"type":"string","title":"Role Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PostIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Read Post Link Api Roles  Role Id  Post Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/roles/{role_id}/intake/answer":{"post":{"summary":"Intake Answer","operationId":"intake_answer_api_roles__role_id__intake_answer_post","parameters":[{"name":"role_id","in":"path","required":true,"schema":{"type":"string","title":"Role Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnswerIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Intake Answer Api Roles  Role Id  Intake Answer Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/roles/{role_id}/rubric":{"get":{"summary":"Get Rubric","operationId":"get_rubric_api_roles__role_id__rubric_get","parameters":[{"name":"role_id","in":"path","required":true,"schema":{"type":"string","title":"Role Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Rubric Api Roles  Role Id  Rubric Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"summary":"Patch Criterion","operationId":"patch_criterion_api_roles__role_id__rubric_patch","parameters":[{"name":"role_id","in":"path","required":true,"schema":{"type":"string","title":"Role Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CriterionPatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Patch Criterion Api Roles  Role Id  Rubric Patch"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/roles/{role_id}/rubric/approve":{"post":{"summary":"Approve Rubric","operationId":"approve_rubric_api_roles__role_id__rubric_approve_post","parameters":[{"name":"role_id","in":"path","required":true,"schema":{"type":"string","title":"Role Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Approve Rubric Api Roles  Role Id  Rubric Approve Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/roles/{role_id}/rubric/versions":{"get":{"summary":"List Versions","operationId":"list_versions_api_roles__role_id__rubric_versions_get","parameters":[{"name":"role_id","in":"path","required":true,"schema":{"type":"string","title":"Role Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response List Versions Api Roles  Role Id  Rubric Versions Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/roles/{role_id}/screen":{"post":{"summary":"Screen Role","description":"Queue everything that has not been read. force re-reads what has, for a new rubric version.","operationId":"screen_role_api_roles__role_id__screen_post","parameters":[{"name":"role_id","in":"path","required":true,"schema":{"type":"string","title":"Role Id"}},{"name":"force","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Force"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Screen Role Api Roles  Role Id  Screen Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/roles/{role_id}/applications":{"get":{"summary":"List Applications","operationId":"list_applications_api_roles__role_id__applications_get","parameters":[{"name":"role_id","in":"path","required":true,"schema":{"type":"string","title":"Role Id"}},{"name":"verdict","in":"query","required":false,"schema":{"type":"string","default":"","title":"Verdict"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response List Applications Api Roles  Role Id  Applications Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/roles/{role_id}/digest":{"get":{"summary":"Digest","description":"The WhatsApp message, as data: how many, how many worth a look, how many need a decision.","operationId":"digest_api_roles__role_id__digest_get","parameters":[{"name":"role_id","in":"path","required":true,"schema":{"type":"string","title":"Role Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Digest Api Roles  Role Id  Digest Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/roles/{role_id}/digest.txt":{"get":{"summary":"Digest Text","description":"The message the founder actually receives. One template, plain text, no markdown.","operationId":"digest_text_api_roles__role_id__digest_txt_get","parameters":[{"name":"role_id","in":"path","required":true,"schema":{"type":"string","title":"Role Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/plain":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/applications/{application_id}/agent/{action}":{"post":{"summary":"Agent Action","description":"What the hiring agent asks to do. Allowed, held or refused, and written down either way.","operationId":"agent_action_api_applications__application_id__agent__action__post","parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","title":"Application Id"}},{"name":"action","in":"path","required":true,"schema":{"type":"string","title":"Action"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Agent Action Api Applications  Application Id  Agent  Action  Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/applications/{application_id}/agent":{"get":{"summary":"Agent History","operationId":"agent_history_api_applications__application_id__agent_get","parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","title":"Application Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Agent History Api Applications  Application Id  Agent Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/roles/{role_id}/interview/plan":{"post":{"summary":"Plan Interview","description":"Fix the interview plan before anyone is spoken to. The brief must already be approved.","operationId":"plan_interview_api_roles__role_id__interview_plan_post","parameters":[{"name":"role_id","in":"path","required":true,"schema":{"type":"string","title":"Role Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Plan Interview Api Roles  Role Id  Interview Plan Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"summary":"Read Interview Plan","operationId":"read_interview_plan_api_roles__role_id__interview_plan_get","parameters":[{"name":"role_id","in":"path","required":true,"schema":{"type":"string","title":"Role Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Read Interview Plan Api Roles  Role Id  Interview Plan Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/applications/{application_id}":{"get":{"summary":"Get Application","operationId":"get_application_api_applications__application_id__get","parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","title":"Application Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Application Api Applications  Application Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/applications/{application_id}/injection/review":{"post":{"summary":"Review Instruction Text","description":"Record that a person read the text addressed to the reviewer.\n\nThis does not advance anybody and does not change a verdict. It removes the one thing that stood in the way of\nan advance: that no person had said they read it.","operationId":"review_instruction_text_api_applications__application_id__injection_review_post","parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","title":"Application Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Review Instruction Text Api Applications  Application Id  Injection Review Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/roles/{role_id}/jd":{"post":{"summary":"Read Job Description","description":"Paste a JD, get a first draft. Every line it could not turn into something observable is named.","operationId":"read_job_description_api_roles__role_id__jd_post","parameters":[{"name":"role_id","in":"path","required":true,"schema":{"type":"string","title":"Role Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JDIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Read Job Description Api Roles  Role Id  Jd Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/roles/{role_id}/import/csv":{"post":{"summary":"Import Csv","operationId":"import_csv_api_roles__role_id__import_csv_post","parameters":[{"name":"role_id","in":"path","required":true,"schema":{"type":"string","title":"Role Id"}},{"name":"source","in":"query","required":false,"schema":{"type":"string","default":"csv","title":"Source"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_import_csv_api_roles__role_id__import_csv_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Import Csv Api Roles  Role Id  Import Csv Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/roles/{role_id}/import/preview":{"post":{"summary":"Import Preview","description":"Look before importing: the columns we understood, the ones we ignored, and what is missing.\n\nA recruiter exporting from Greenhouse, Ashby, Naukri or a Google Form should be able to paste the sheet's link and\nsee, in one screen, whether their columns were read correctly. Nobody should have to learn a mapping interface.","operationId":"import_preview_api_roles__role_id__import_preview_post","parameters":[{"name":"role_id","in":"path","required":true,"schema":{"type":"string","title":"Role Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Import Preview Api Roles  Role Id  Import Preview Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/roles/{role_id}/import/from-source":{"post":{"summary":"Import From Source","operationId":"import_from_source_api_roles__role_id__import_from_source_post","parameters":[{"name":"role_id","in":"path","required":true,"schema":{"type":"string","title":"Role Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Import From Source Api Roles  Role Id  Import From Source Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/roles/{role_id}/import/cvs":{"post":{"summary":"Import Cvs","description":"Import every file supplied, and say what happened to each one.\n\nA count of imports is not an account: ninety-four files in and ninety-three out tells a founder nothing about\nwhich one went missing or why. Every file that arrives leaves one row here, including the members of a zip, and\nthe totals are what those rows add up to.","operationId":"import_cvs_api_roles__role_id__import_cvs_post","parameters":[{"name":"role_id","in":"path","required":true,"schema":{"type":"string","title":"Role Id"}},{"name":"source","in":"query","required":false,"schema":{"type":"string","default":"upload","title":"Source"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_import_cvs_api_roles__role_id__import_cvs_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Import Cvs Api Roles  Role Id  Import Cvs Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/roles/{role_id}/sheet.csv":{"get":{"summary":"Shortlist Sheet","description":"The sheet the founder opens in Google Sheets: one row per candidate, a link to each packet.","operationId":"shortlist_sheet_api_roles__role_id__sheet_csv_get","parameters":[{"name":"role_id","in":"path","required":true,"schema":{"type":"string","title":"Role Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/plain":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/roles/{role_id}/deliver":{"post":{"summary":"Deliver Shortlist","description":"Put the shortlist in the founder's Drive and send it. Without credentials, say so and keep the files.","operationId":"deliver_shortlist_api_roles__role_id__deliver_post","parameters":[{"name":"role_id","in":"path","required":true,"schema":{"type":"string","title":"Role Id"}},{"name":"to","in":"query","required":false,"schema":{"type":"string","default":"","title":"To"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/roles/{role_id}/email.txt":{"get":{"summary":"Shortlist Email","operationId":"shortlist_email_api_roles__role_id__email_txt_get","parameters":[{"name":"role_id","in":"path","required":true,"schema":{"type":"string","title":"Role Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/plain":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/p/{token}":{"get":{"summary":"Packet Page","operationId":"packet_page_p__token__get","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}},{"name":"done","in":"query","required":false,"schema":{"type":"string","default":"","title":"Done"}},{"name":"refused","in":"query","required":false,"schema":{"type":"string","default":"","title":"Refused"}},{"name":"decision","in":"query","required":false,"schema":{"type":"string","default":"","title":"Decision"}},{"name":"told","in":"query","required":false,"schema":{"type":"string","default":"","title":"Told"}},{"name":"held","in":"query","required":false,"schema":{"type":"string","default":"","title":"Held"}},{"name":"reviewed","in":"query","required":false,"schema":{"type":"string","default":"","title":"Reviewed"}},{"name":"review_missing","in":"query","required":false,"schema":{"type":"string","default":"","title":"Review Missing"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/desk/roles/{role_id}/contact":{"post":{"summary":"Desk Contact","description":"The wish and the authority are set in one place and mean different things.","operationId":"desk_contact_desk_roles__role_id__contact_post","parameters":[{"name":"role_id","in":"path","required":true,"schema":{"type":"string","title":"Role Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_desk_contact_desk_roles__role_id__contact_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/desk/roles/{role_id}/contact/revoke":{"post":{"summary":"Desk Contact Revoke","operationId":"desk_contact_revoke_desk_roles__role_id__contact_revoke_post","parameters":[{"name":"role_id","in":"path","required":true,"schema":{"type":"string","title":"Role Id"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_desk_contact_revoke_desk_roles__role_id__contact_revoke_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/desk/applications/{application_id}/follow-up":{"post":{"summary":"Desk Follow Up","description":"Send the follow-up the person just read, once, under a grant that covers one message.\n\nThe grant names the candidate and the hash of the message that was previewed, allows one message, and expires\nafter a day. If the reading changed between the preview and the click, nothing is sent.","operationId":"desk_follow_up_desk_applications__application_id__follow_up_post","parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","title":"Application Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_desk_follow_up_desk_applications__application_id__follow_up_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/desk/applications/{application_id}/clarify":{"post":{"summary":"Desk Clarify","description":"Ask the candidate for what is missing, if asking is allowed.","operationId":"desk_clarify_desk_applications__application_id__clarify_post","parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","title":"Application Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_desk_clarify_desk_applications__application_id__clarify_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/r/{token}":{"get":{"summary":"Response Page","description":"The candidate's own page. One link, one answer, no account.","operationId":"response_page_r__token__get","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Response Submit","operationId":"response_submit_r__token__post","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_response_submit_r__token__post"}}}},"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/inbound/email":{"post":{"summary":"Inbound Email","description":"Where the Cloudflare Email Worker delivers a reply. Signed, replay-limited, idempotent by Message-ID.","operationId":"inbound_email_api_inbound_email_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/desk/applications/{application_id}/link":{"post":{"summary":"Desk Add Link","operationId":"desk_add_link_desk_applications__application_id__link_post","parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","title":"Application Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_desk_add_link_desk_applications__application_id__link_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/desk/applications/{application_id}/link/{link_id}":{"post":{"summary":"Desk Confirm Link","operationId":"desk_confirm_link_desk_applications__application_id__link__link_id__post","parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","title":"Application Id"}},{"name":"link_id","in":"path","required":true,"schema":{"type":"string","title":"Link Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_desk_confirm_link_desk_applications__application_id__link__link_id__post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/desk/operations/{operation_id}/reconcile":{"post":{"summary":"Desk Reconcile","description":"The only way an uncertain send becomes settled: one signed record, appended, by a signed-in person.","operationId":"desk_reconcile_desk_operations__operation_id__reconcile_post","parameters":[{"name":"operation_id","in":"path","required":true,"schema":{"type":"string","title":"Operation Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_desk_reconcile_desk_operations__operation_id__reconcile_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/reconciliations/{reconciliation_id}":{"get":{"summary":"Api Reconciliation","description":"Public verification says whether the record is intact. Who wrote it stays on the desk.","operationId":"api_reconciliation_api_reconciliations__reconciliation_id__get","parameters":[{"name":"reconciliation_id","in":"path","required":true,"schema":{"type":"string","title":"Reconciliation Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/desk/applications/{application_id}/answer":{"post":{"summary":"Desk Record Answer","description":"An answer that arrived by some other route, recorded and read again.","operationId":"desk_record_answer_desk_applications__application_id__answer_post","parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","title":"Application Id"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_desk_record_answer_desk_applications__application_id__answer_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/desk/research":{"get":{"summary":"Desk Research","operationId":"desk_research_desk_research_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/desk/research/run":{"post":{"summary":"Desk Research Run","operationId":"desk_research_run_desk_research_run_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/desk/research/findings/{finding_id}":{"post":{"summary":"Desk Research Finding","operationId":"desk_research_finding_desk_research_findings__finding_id__post","parameters":[{"name":"finding_id","in":"path","required":true,"schema":{"type":"string","title":"Finding Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_desk_research_finding_desk_research_findings__finding_id__post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/desk/research/apply":{"post":{"summary":"Desk Research Apply","description":"Accepted findings become a new draft version of the company standard. A person still approves it.","operationId":"desk_research_apply_desk_research_apply_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/desk/company":{"get":{"summary":"Desk Company","description":"The Company Hiring Brain: written once, approved once, used by every role after that.","operationId":"desk_company_desk_company_get","parameters":[{"name":"saved","in":"query","required":false,"schema":{"type":"string","default":"","title":"Saved"}},{"name":"approved","in":"query","required":false,"schema":{"type":"string","default":"","title":"Approved"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Desk Company Save","operationId":"desk_company_save_desk_company_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/desk/roles/{role_id}/recommend":{"get":{"summary":"Desk Recommendation","operationId":"desk_recommendation_desk_roles__role_id__recommend_get","parameters":[{"name":"role_id","in":"path","required":true,"schema":{"type":"string","title":"Role Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/desk/roles/{role_id}/discover":{"get":{"summary":"Desk Discover","operationId":"desk_discover_desk_roles__role_id__discover_get","parameters":[{"name":"role_id","in":"path","required":true,"schema":{"type":"string","title":"Role Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Desk Discover Run","operationId":"desk_discover_run_desk_roles__role_id__discover_post","parameters":[{"name":"role_id","in":"path","required":true,"schema":{"type":"string","title":"Role Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/desk/applications/{application_id}/link/{link_id}/passage/{passage_id}":{"post":{"summary":"Desk Passage Authorship","operationId":"desk_passage_authorship_desk_applications__application_id__link__link_id__passage__passage_id__post","parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","title":"Application Id"}},{"name":"link_id","in":"path","required":true,"schema":{"type":"string","title":"Link Id"}},{"name":"passage_id","in":"path","required":true,"schema":{"type":"string","title":"Passage Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_desk_passage_authorship_desk_applications__application_id__link__link_id__passage__passage_id__post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/desk/leads/{lead_id}":{"post":{"summary":"Desk Lead Mark","operationId":"desk_lead_mark_desk_leads__lead_id__post","parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","title":"Lead Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_desk_lead_mark_desk_leads__lead_id__post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/desk/leads/{lead_id}/import":{"post":{"summary":"Desk Lead Import","operationId":"desk_lead_import_desk_leads__lead_id__import_post","parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","title":"Lead Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/desk/applications/{application_id}/reread":{"post":{"summary":"Desk Reread","description":"Read the application again on the existing engine, so a newly confirmed source can be considered.","operationId":"desk_reread_desk_applications__application_id__reread_post","parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","title":"Application Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/desk/company/approve":{"post":{"summary":"Desk Company Approve","operationId":"desk_company_approve_desk_company_approve_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/p/{token}/decision":{"post":{"summary":"Packet Decision","operationId":"packet_decision_p__token__decision_post","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_packet_decision_p__token__decision_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/p/{token}/feedback":{"post":{"summary":"Packet Feedback","description":"One click from the person reading: was this criterion's verdict right? It never edits the verdict.","operationId":"packet_feedback_p__token__feedback_post","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_packet_feedback_p__token__feedback_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/p/{token}/injection":{"post":{"summary":"Packet Instruction Review","description":"A person says they read the text. Until this exists the application can be held but not advanced.","operationId":"packet_instruction_review_p__token__injection_post","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_packet_instruction_review_p__token__injection_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/desk/roles/{role_id}/plan":{"get":{"summary":"Desk Plan","description":"The interview plan as a document a person takes into the room.","operationId":"desk_plan_desk_roles__role_id__plan_get","parameters":[{"name":"role_id","in":"path","required":true,"schema":{"type":"string","title":"Role Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Desk Plan Fix","operationId":"desk_plan_fix_desk_roles__role_id__plan_post","parameters":[{"name":"role_id","in":"path","required":true,"schema":{"type":"string","title":"Role Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/desk/applications/{application_id}/voice":{"post":{"summary":"Desk Voice Offer","description":"Offer one spoken interview to one candidate.\n\nThe grant is bound to this candidate and this plan, so the link cannot be spent on anyone else and cannot survive a\nchange to the questions. A second offer replaces the link rather than adding one, because a candidate with two\nlinks is a candidate who can be asked twice.","operationId":"desk_voice_offer_desk_applications__application_id__voice_post","parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","title":"Application Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/desk/sessions/{session_id}":{"get":{"summary":"Desk Session","description":"The founder's reading of one voice session: what was asked, what was said, what may be accepted.","operationId":"desk_session_desk_sessions__session_id__get","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/desk/sessions/{session_id}/accept":{"post":{"summary":"Desk Session Accept","description":"One quotation, accepted by a person, becomes a candidate response. Nothing else in the session moves.","operationId":"desk_session_accept_desk_sessions__session_id__accept_post","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_desk_session_accept_desk_sessions__session_id__accept_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/desk/queue":{"get":{"summary":"Desk Queue","description":"Every application in the workspace, worst first, without opening each role.","operationId":"desk_queue_desk_queue_get","parameters":[{"name":"state","in":"query","required":false,"schema":{"type":"string","default":"","title":"State"}},{"name":"role","in":"query","required":false,"schema":{"type":"string","default":"","title":"Role"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/desk":{"get":{"summary":"Desk","operationId":"desk_desk_get","parameters":[{"name":"note","in":"query","required":false,"schema":{"type":"string","default":"","title":"Note"}},{"name":"failed","in":"query","required":false,"schema":{"type":"string","default":"","title":"Failed"}},{"name":"token","in":"query","required":false,"schema":{"type":"string","default":"","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/desk/roles":{"post":{"summary":"Desk Create Role","description":"Two doorways, one brief. From a job post the criteria are drafted on the way in; a new role starts empty.\n\nA founder who already has a post and a pool should not have to answer eight questions about a role they have\nalready written down, and a founder starting from nothing should not be handed a JD box and left to it.","operationId":"desk_create_role_desk_roles_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_desk_create_role_desk_roles_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/desk/roles/from-post":{"post":{"summary":"Desk Role From Post","description":"A role that is already posted on Workday, Greenhouse, Ashby, Lever or SmartRecruiters, read from its link.\n\nThe post is read before anything is created, so a bad link leaves no empty role behind.","operationId":"desk_role_from_post_desk_roles_from_post_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_desk_role_from_post_desk_roles_from_post_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/desk/roles/{role_id}/post":{"post":{"summary":"Desk Post Link","description":"Attach a published post to a role that already exists, which is how a JD gets updated.","operationId":"desk_post_link_desk_roles__role_id__post_post","parameters":[{"name":"role_id","in":"path","required":true,"schema":{"type":"string","title":"Role Id"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_desk_post_link_desk_roles__role_id__post_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/desk/roles/{role_id}":{"get":{"summary":"Desk Role","operationId":"desk_role_desk_roles__role_id__get","parameters":[{"name":"role_id","in":"path","required":true,"schema":{"type":"string","title":"Role Id"}},{"name":"note","in":"query","required":false,"schema":{"type":"string","default":"","title":"Note"}},{"name":"failed","in":"query","required":false,"schema":{"type":"string","default":"","title":"Failed"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/desk/roles/{role_id}/draft":{"post":{"summary":"Desk Draft","description":"Draft the answers from the job description. Nothing is saved until the founder accepts.","operationId":"desk_draft_desk_roles__role_id__draft_post","parameters":[{"name":"role_id","in":"path","required":true,"schema":{"type":"string","title":"Role Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/desk/roles/{role_id}/jd":{"post":{"summary":"Desk Jd","description":"A job description arrives pasted or as a file. One box, either works, a file wins when both are given.","operationId":"desk_jd_desk_roles__role_id__jd_post","parameters":[{"name":"role_id","in":"path","required":true,"schema":{"type":"string","title":"Role Id"}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_desk_jd_desk_roles__role_id__jd_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/desk/roles/{role_id}/answers":{"post":{"summary":"Desk Answers","operationId":"desk_answers_desk_roles__role_id__answers_post","parameters":[{"name":"role_id","in":"path","required":true,"schema":{"type":"string","title":"Role Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/desk/roles/{role_id}/rule":{"post":{"summary":"Desk Rule","operationId":"desk_rule_desk_roles__role_id__rule_post","parameters":[{"name":"role_id","in":"path","required":true,"schema":{"type":"string","title":"Role Id"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_desk_rule_desk_roles__role_id__rule_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/desk/roles/{role_id}/approve":{"post":{"summary":"Desk Approve","operationId":"desk_approve_desk_roles__role_id__approve_post","parameters":[{"name":"role_id","in":"path","required":true,"schema":{"type":"string","title":"Role Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/desk/roles/{role_id}/import":{"post":{"summary":"Desk Import","description":"Files in, one or many. A folder of CVs is one action, not twelve.\n\nSpreadsheet rows (.csv, .tsv) are imported one file at a time because each carries its own column mapping;\neverything else is handed to the CV importer in a single call so duplicates are judged across the whole batch\nrather than within each file. A .txt is a document, not a table: it used to be routed to the row importer here and\nfailed with \"that CSV has neither a name column nor an email column\", which is a true sentence about the wrong file.","operationId":"desk_import_desk_roles__role_id__import_post","parameters":[{"name":"role_id","in":"path","required":true,"schema":{"type":"string","title":"Role Id"}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_desk_import_desk_roles__role_id__import_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/desk/roles/{role_id}/screen":{"post":{"summary":"Desk Screen","operationId":"desk_screen_desk_roles__role_id__screen_post","parameters":[{"name":"role_id","in":"path","required":true,"schema":{"type":"string","title":"Role Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/desk/roles/{role_id}/inbox":{"post":{"summary":"Desk Inbox","description":"Read the mailbox now, for someone who has just forwarded a CV and does not want to wait 90 seconds.","operationId":"desk_inbox_desk_roles__role_id__inbox_post","parameters":[{"name":"role_id","in":"path","required":true,"schema":{"type":"string","title":"Role Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/desk/roles/{role_id}/deliver":{"post":{"summary":"Desk Deliver","operationId":"desk_deliver_desk_roles__role_id__deliver_post","parameters":[{"name":"role_id","in":"path","required":true,"schema":{"type":"string","title":"Role Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/authority/public-key":{"get":{"summary":"Authority Public Key","description":"The key that signs decisions, so a record can be checked without asking us to check it.","operationId":"authority_public_key_api_authority_public_key_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":{"type":"string"},"type":"object","title":"Response Authority Public Key Api Authority Public Key Get"}}}}}}},"/api/decisions/{decision_id}":{"get":{"summary":"Decision Record","description":"The checkable record, deliberately without the person in it. A signature is public; a hiring file is not.","operationId":"decision_record_api_decisions__decision_id__get","parameters":[{"name":"decision_id","in":"path","required":true,"schema":{"type":"string","title":"Decision Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/verify/{decision_id}":{"get":{"summary":"Verify Page","operationId":"verify_page_verify__decision_id__get","parameters":[{"name":"decision_id","in":"path","required":true,"schema":{"type":"string","title":"Decision Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/desk/google/disconnect":{"post":{"summary":"Google Disconnect","operationId":"google_disconnect_desk_google_disconnect_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/oauth/google/start":{"get":{"summary":"Google Start","operationId":"google_start_oauth_google_start_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/oauth/google/callback":{"get":{"summary":"Google Callback","operationId":"google_callback_oauth_google_callback_get","parameters":[{"name":"code","in":"query","required":false,"schema":{"type":"string","default":"","title":"Code"}},{"name":"state","in":"query","required":false,"schema":{"type":"string","default":"","title":"State"}},{"name":"error","in":"query","required":false,"schema":{"type":"string","default":"","title":"Error"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/privacy":{"get":{"summary":"Privacy","operationId":"privacy_privacy_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/terms":{"get":{"summary":"Terms","operationId":"terms_terms_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/api/inbox/pull":{"post":{"summary":"Inbox Pull","description":"Pull whatever is waiting in the mailbox now, for a cron job or an impatient founder.","operationId":"inbox_pull_api_inbox_pull_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/desk/harness":{"get":{"summary":"Desk Harness","description":"The skill file, so a founder can hand it to their own agent without copying from a README.","operationId":"desk_harness_desk_harness_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/workspace/export":{"get":{"summary":"Workspace Export","description":"Everything this company put in, as one file a person can keep. Deletion already existed; this is the other half\nof the promise on the privacy page.","operationId":"workspace_export_api_workspace_export_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Workspace Export Api Workspace Export Get"}}}}}}},"/desk/roles/{role_id}/criterion":{"post":{"summary":"Desk Criterion","description":"Changing a criterion is a version, not an edit to the scorecard decisions were made under.","operationId":"desk_criterion_desk_roles__role_id__criterion_post","parameters":[{"name":"role_id","in":"path","required":true,"schema":{"type":"string","title":"Role Id"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_desk_criterion_desk_roles__role_id__criterion_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/runs":{"post":{"summary":"Start Run","description":"Open a run: one agent, one application, one attempt that can be scored afterwards.","operationId":"start_run_api_runs_post","requestBody":{"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Payload"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Start Run Api Runs Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/runs/{run_id}/next":{"post":{"summary":"Next Task","operationId":"next_task_api_runs__run_id__next_post","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Next Task Api Runs  Run Id  Next Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/runs/{run_id}/close":{"post":{"summary":"Close Run","operationId":"close_run_api_runs__run_id__close_post","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Close Run Api Runs  Run Id  Close Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/runs/{run_id}":{"get":{"summary":"Run Report","operationId":"run_report_api_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":{"type":"object","additionalProperties":true,"title":"Response Run Report Api Runs  Run Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/desk/webhook":{"post":{"summary":"Desk Webhook","operationId":"desk_webhook_desk_webhook_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_desk_webhook_desk_webhook_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/desk/tokens":{"post":{"summary":"Desk Token","operationId":"desk_token_desk_tokens_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_desk_token_desk_tokens_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/desk/tokens/{token_id}/revoke":{"post":{"summary":"Desk Token Revoke","operationId":"desk_token_revoke_desk_tokens__token_id__revoke_post","parameters":[{"name":"token_id","in":"path","required":true,"schema":{"type":"string","title":"Token Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/s/{token}":{"get":{"summary":"Shared Shortlist","description":"The shortlist a founder opens from the email. Unguessable link, no sign in, nothing editable.","operationId":"shared_shortlist_s__token__get","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/s/{token}/export.csv":{"get":{"summary":"Shared Shortlist Csv","description":"The export, asked for by a person, through the same link rather than through an attachment.","operationId":"shared_shortlist_csv_s__token__export_csv_get","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"text/plain":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/metrics":{"get":{"summary":"Workspace Metrics","operationId":"workspace_metrics_api_metrics_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Workspace Metrics Api Metrics Get"}}}}}}},"/api/retention/purge":{"post":{"summary":"Retention Purge","description":"Deletes applications past the window. Signed decisions stay; anything that identifies a person goes.","operationId":"retention_purge_api_retention_purge_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Retention Purge Api Retention Purge Post"}}}}}}},"/api/retention/voice/purge":{"post":{"summary":"Voice Retention Purge","description":"Deletes voice sessions past the window the notice names, with their transcript, events and grant.\n\nThe same function the six-hourly sweep calls, exposed so a deletion can be demonstrated on a running host rather\nthan asserted from a unit test.","operationId":"voice_retention_purge_api_retention_voice_purge_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Voice Retention Purge Api Retention Voice Purge Post"}}}}}}},"/api/applications/{application_id}/evidence":{"post":{"summary":"Submit Evidence","description":"An outside agent (a founder's own Hermes, Claude Code or Codex) submits evidence, and the server checks it.\n\nThis is what makes the harness different from an API: the judgement can happen in the customer's agent, but a\nquote is only accepted if it is actually in the document that agent was given. The agent cannot widen its own\nauthority, cannot score a criterion that is not in the approved scorecard, and cannot assert a claim with no\nsentence behind it.","operationId":"submit_evidence_api_applications__application_id__evidence_post","parameters":[{"name":"application_id","in":"path","required":true,"schema":{"type":"string","title":"Application Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Submit Evidence Api Applications  Application Id  Evidence Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/p/{token}/ask":{"post":{"summary":"Packet Ask","description":"Ask the candidate for the thing the CV cannot show. A request, with a link they can ignore.","operationId":"packet_ask_p__token__ask_post","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_packet_ask_p__token__ask_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/a/{token}":{"get":{"summary":"Artefact Page","operationId":"artefact_page_a__token__get","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}},{"name":"done","in":"query","required":false,"schema":{"type":"string","default":"","title":"Done"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Artefact Submit","operationId":"artefact_submit_a__token__post","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_artefact_submit_a__token__post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/p/{token}/outcome":{"post":{"summary":"Packet Outcome","description":"The founder asks now rather than in six months: did this hire work out?","operationId":"packet_outcome_p__token__outcome_post","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/o/{token}":{"get":{"summary":"Outcome Page","operationId":"outcome_page_o__token__get","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}},{"name":"done","in":"query","required":false,"schema":{"type":"string","default":"","title":"Done"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Outcome Submit","operationId":"outcome_submit_o__token__post","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_outcome_submit_o__token__post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/outcomes":{"get":{"summary":"Api Outcomes","operationId":"api_outcomes_api_outcomes_get","parameters":[{"name":"role_id","in":"query","required":false,"schema":{"type":"string","default":"","title":"Role Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Api Outcomes Api Outcomes Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/mcp":{"get":{"summary":"Mcp Info","description":"A human who opens the URL in a browser should learn what it is rather than see a 405.","operationId":"mcp_info_mcp_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Mcp Info Mcp Get"}}}}}},"post":{"summary":"Mcp Endpoint","description":"One URL, one bearer token, and the hiring verbs. Stateless: every call carries its own token.","operationId":"mcp_endpoint_mcp_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}}},"components":{"schemas":{"AnswerIn":{"properties":{"question_key":{"type":"string","title":"Question Key"},"answer":{"type":"string","maxLength":4000,"minLength":1,"title":"Answer"}},"type":"object","required":["question_key","answer"],"title":"AnswerIn"},"Body_apply_submit_apply__slug__post":{"properties":{"name":{"type":"string","title":"Name","default":""},"email":{"type":"string","title":"Email","default":""},"phone":{"type":"string","title":"Phone","default":""},"city":{"type":"string","title":"City","default":""},"linkedin":{"type":"string","title":"Linkedin","default":""},"github":{"type":"string","title":"Github","default":""},"portfolio":{"type":"string","title":"Portfolio","default":""},"consent":{"type":"string","title":"Consent","default":""},"answer_built":{"type":"string","title":"Answer Built","default":""},"answer_broke":{"type":"string","title":"Answer Broke","default":""},"answer_learn":{"type":"string","title":"Answer Learn","default":""},"cv":{"type":"string","contentMediaType":"application/octet-stream","title":"Cv"}},"type":"object","title":"Body_apply_submit_apply__slug__post"},"Body_artefact_submit_a__token__post":{"properties":{"url":{"type":"string","title":"Url","default":""},"note":{"type":"string","title":"Note","default":""},"answer":{"type":"string","title":"Answer","default":""}},"type":"object","title":"Body_artefact_submit_a__token__post"},"Body_desk_add_link_desk_applications__application_id__link_post":{"properties":{"url":{"type":"string","title":"Url","default":""}},"type":"object","title":"Body_desk_add_link_desk_applications__application_id__link_post"},"Body_desk_clarify_desk_applications__application_id__clarify_post":{"properties":{"channel":{"type":"string","title":"Channel","default":"email"}},"type":"object","title":"Body_desk_clarify_desk_applications__application_id__clarify_post"},"Body_desk_confirm_link_desk_applications__application_id__link__link_id__post":{"properties":{"identity":{"type":"string","title":"Identity","default":"unconfirmed"},"basis":{"type":"string","title":"Basis","default":""},"authorship":{"type":"string","title":"Authorship","default":"unknown"}},"type":"object","title":"Body_desk_confirm_link_desk_applications__application_id__link__link_id__post"},"Body_desk_contact_desk_roles__role_id__contact_post":{"properties":{"enabled":{"type":"string","title":"Enabled","default":"0"},"purpose":{"type":"string","title":"Purpose","default":""},"max_messages":{"type":"integer","title":"Max Messages","default":20},"window_days":{"type":"integer","title":"Window Days","default":30}},"type":"object","title":"Body_desk_contact_desk_roles__role_id__contact_post"},"Body_desk_contact_revoke_desk_roles__role_id__contact_revoke_post":{"properties":{"grant_id":{"type":"string","title":"Grant Id"}},"type":"object","required":["grant_id"],"title":"Body_desk_contact_revoke_desk_roles__role_id__contact_revoke_post"},"Body_desk_create_role_desk_roles_post":{"properties":{"title":{"type":"string","title":"Title"},"location":{"type":"string","title":"Location","default":""},"comp_band":{"type":"string","title":"Comp Band","default":""},"notice":{"type":"string","title":"Notice","default":""},"hiring_manager":{"type":"string","title":"Hiring Manager","default":""},"path":{"type":"string","title":"Path","default":"new"},"jd":{"type":"string","title":"Jd","default":""}},"type":"object","required":["title"],"title":"Body_desk_create_role_desk_roles_post"},"Body_desk_criterion_desk_roles__role_id__criterion_post":{"properties":{"key":{"type":"string","title":"Key"},"importance":{"type":"string","title":"Importance","default":""},"anchor_strong":{"type":"string","title":"Anchor Strong","default":""},"anchor_partial":{"type":"string","title":"Anchor Partial","default":""},"anchor_contradicted":{"type":"string","title":"Anchor Contradicted","default":""},"required_outcome":{"type":"string","title":"Required Outcome","default":""},"observable_evidence":{"type":"string","title":"Observable Evidence","default":""},"assessment_method":{"type":"string","title":"Assessment Method","default":""}},"type":"object","required":["key"],"title":"Body_desk_criterion_desk_roles__role_id__criterion_post"},"Body_desk_follow_up_desk_applications__application_id__follow_up_post":{"properties":{"expect":{"type":"string","title":"Expect","default":""},"channel":{"type":"string","title":"Channel","default":"email"}},"type":"object","title":"Body_desk_follow_up_desk_applications__application_id__follow_up_post"},"Body_desk_import_desk_roles__role_id__import_post":{"properties":{"file":{"items":{"type":"string","contentMediaType":"application/octet-stream"},"type":"array","title":"File","default":[]}},"type":"object","title":"Body_desk_import_desk_roles__role_id__import_post"},"Body_desk_jd_desk_roles__role_id__jd_post":{"properties":{"text":{"type":"string","title":"Text","default":""},"file":{"anyOf":[{"type":"string","contentMediaType":"application/octet-stream"},{"type":"null"}],"title":"File"}},"type":"object","title":"Body_desk_jd_desk_roles__role_id__jd_post"},"Body_desk_lead_mark_desk_leads__lead_id__post":{"properties":{"state":{"type":"string","title":"State","default":"relevant"}},"type":"object","title":"Body_desk_lead_mark_desk_leads__lead_id__post"},"Body_desk_passage_authorship_desk_applications__application_id__link__link_id__passage__passage_id__post":{"properties":{"authorship":{"type":"string","title":"Authorship","default":"unknown"},"basis":{"type":"string","title":"Basis","default":""},"action":{"type":"string","title":"Action","default":"change"}},"type":"object","title":"Body_desk_passage_authorship_desk_applications__application_id__link__link_id__passage__passage_id__post"},"Body_desk_post_link_desk_roles__role_id__post_post":{"properties":{"url":{"type":"string","title":"Url"}},"type":"object","required":["url"],"title":"Body_desk_post_link_desk_roles__role_id__post_post"},"Body_desk_reconcile_desk_operations__operation_id__reconcile_post":{"properties":{"outcome":{"type":"string","title":"Outcome","default":""},"evidence":{"type":"string","title":"Evidence","default":""},"reason":{"type":"string","title":"Reason","default":""}},"type":"object","title":"Body_desk_reconcile_desk_operations__operation_id__reconcile_post"},"Body_desk_record_answer_desk_applications__application_id__answer_post":{"properties":{"text":{"type":"string","title":"Text"}},"type":"object","required":["text"],"title":"Body_desk_record_answer_desk_applications__application_id__answer_post"},"Body_desk_research_finding_desk_research_findings__finding_id__post":{"properties":{"state":{"type":"string","title":"State","default":"accepted"}},"type":"object","title":"Body_desk_research_finding_desk_research_findings__finding_id__post"},"Body_desk_role_from_post_desk_roles_from_post_post":{"properties":{"url":{"type":"string","title":"Url"},"hiring_manager":{"type":"string","title":"Hiring Manager","default":""}},"type":"object","required":["url"],"title":"Body_desk_role_from_post_desk_roles_from_post_post"},"Body_desk_rule_desk_roles__role_id__rule_post":{"properties":{"key":{"type":"string","title":"Key"},"counts_as":{"type":"string","title":"Counts As"},"label":{"type":"string","title":"Label","default":""}},"type":"object","required":["key","counts_as"],"title":"Body_desk_rule_desk_roles__role_id__rule_post"},"Body_desk_session_accept_desk_sessions__session_id__accept_post":{"properties":{"position":{"type":"integer","title":"Position"}},"type":"object","required":["position"],"title":"Body_desk_session_accept_desk_sessions__session_id__accept_post"},"Body_desk_token_desk_tokens_post":{"properties":{"label":{"type":"string","title":"Label","default":"integration"}},"type":"object","title":"Body_desk_token_desk_tokens_post"},"Body_desk_webhook_desk_webhook_post":{"properties":{"url":{"type":"string","title":"Url","default":""},"secret":{"type":"string","title":"Secret","default":""}},"type":"object","title":"Body_desk_webhook_desk_webhook_post"},"Body_import_csv_api_roles__role_id__import_csv_post":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"}},"type":"object","required":["file"],"title":"Body_import_csv_api_roles__role_id__import_csv_post"},"Body_import_cvs_api_roles__role_id__import_cvs_post":{"properties":{"files":{"items":{"type":"string","contentMediaType":"application/octet-stream"},"type":"array","title":"Files"}},"type":"object","required":["files"],"title":"Body_import_cvs_api_roles__role_id__import_cvs_post"},"Body_login_login_post":{"properties":{"email":{"type":"string","title":"Email","default":""},"password":{"type":"string","title":"Password","default":""},"next":{"type":"string","title":"Next","default":"/desk"}},"type":"object","title":"Body_login_login_post"},"Body_outcome_submit_o__token__post":{"properties":{"worked":{"type":"string","title":"Worked","default":""},"note":{"type":"string","title":"Note","default":""}},"type":"object","title":"Body_outcome_submit_o__token__post"},"Body_packet_ask_p__token__ask_post":{"properties":{"kind":{"type":"string","title":"Kind","default":"repo"},"notify":{"type":"string","title":"Notify","default":"1"}},"type":"object","title":"Body_packet_ask_p__token__ask_post"},"Body_packet_decision_p__token__decision_post":{"properties":{"action":{"type":"string","title":"Action"},"note":{"type":"string","title":"Note","default":""},"criterion":{"type":"string","title":"Criterion","default":""},"notify":{"type":"string","title":"Notify","default":""}},"type":"object","required":["action"],"title":"Body_packet_decision_p__token__decision_post"},"Body_packet_feedback_p__token__feedback_post":{"properties":{"criterion":{"type":"string","title":"Criterion"},"verdict":{"type":"string","title":"Verdict"},"note":{"type":"string","title":"Note","default":""},"reason":{"type":"string","title":"Reason","default":""}},"type":"object","required":["criterion","verdict"],"title":"Body_packet_feedback_p__token__feedback_post"},"Body_packet_instruction_review_p__token__injection_post":{"properties":{"note":{"type":"string","title":"Note","default":""}},"type":"object","title":"Body_packet_instruction_review_p__token__injection_post"},"Body_response_submit_r__token__post":{"properties":{"text":{"type":"string","title":"Text","default":""}},"type":"object","title":"Body_response_submit_r__token__post"},"Body_signup_signup_post":{"properties":{"name":{"type":"string","title":"Name","default":""},"email":{"type":"string","title":"Email","default":""},"company":{"type":"string","title":"Company","default":""},"password":{"type":"string","title":"Password","default":""},"password_again":{"type":"string","title":"Password Again","default":""}},"type":"object","title":"Body_signup_signup_post"},"CriterionPatch":{"properties":{"key":{"type":"string","title":"Key"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Label"},"kind":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Kind"},"weight":{"anyOf":[{"type":"integer","maximum":5.0,"minimum":0.0},{"type":"null"}],"title":"Weight"},"dealbreaker":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Dealbreaker"},"counts_as":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Counts As"},"does_not_count":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Does Not Count"},"anchor_strong":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Anchor Strong"},"anchor_partial":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Anchor Partial"},"anchor_contradicted":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Anchor Contradicted"},"needs_rule":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Needs Rule"}},"type":"object","required":["key"],"title":"CriterionPatch"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"JDIn":{"properties":{"text":{"type":"string","maxLength":40000,"minLength":80,"title":"Text"}},"type":"object","required":["text"],"title":"JDIn"},"PostIn":{"properties":{"url":{"type":"string","maxLength":2000,"minLength":8,"title":"Url"}},"type":"object","required":["url"],"title":"PostIn","description":"A link to a job the company has already published. The post is read at its public address."},"ReviewIn":{"properties":{"note":{"type":"string","maxLength":600,"minLength":4,"title":"Note"}},"type":"object","required":["note"],"title":"ReviewIn","description":"What a person is asked to write down when they say they read text addressed to them."},"RoleIn":{"properties":{"title":{"type":"string","maxLength":120,"minLength":2,"title":"Title"},"location":{"type":"string","title":"Location","default":""},"comp_band":{"type":"string","title":"Comp Band","default":""},"notice":{"type":"string","title":"Notice","default":""},"hiring_manager":{"type":"string","title":"Hiring Manager","default":""}},"type":"object","required":["title"],"title":"RoleIn"},"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"}}}}