{ "openapi": "3.0.3", "components": { "schemas": { "1c4bf13b-ae82-4085-9b3e-e87c2c62fb92": { "title": "CreateInterviewRequest", "description": "Request to create an interview", "type": "object", "required": [ "interview_name" ], "properties": { "interview_name": { "type": "string", "description": "Name of the interview", "example": "Full Stack Engineer Interview" }, "skills": { "type": "array", "items": { "type": "object", "required": [ "name" ], "properties": { "name": { "type": "string", "description": "Name of the skill", "example": "React" }, "description": { "type": "string", "description": "More information about the skill", "example": "Must be proficient in React Context API" } } }, "description": "Required skills for the interview (max 10)", "example": [ { "name": "React", "description": "Must be proficient in React Context API" } ] }, "custom_question_list": { "type": "array", "items": { "type": "object", "properties": { "question": { "type": "string", "description": "The question to ask the candidate", "example": "What are your strengths and weaknesses?" }, "time": { "type": "number", "description": "The time limit for the question in minutes (min 1, max 4)", "example": 2 }, "type": { "type": "string", "description": "The type of question", "example": "audio", "enum": [ "audio", "text" ] } } }, "description": "Custom questions for the interview (max 20)", "example": [ { "question": "What are your strengths and weaknesses?", "time": 2, "type": "audio" } ] }, "interview_language": { "type": "string", "description": "The language in which the AI interview will be conducted", "default": "en", "example": "en", "enum": [ "en", "fr", "de", "he", "hi", "pt", "es", "es-la", "tr", "ja", "sv", "ar", "pl", "dk", "kr", "it", "nl", "cz", "ua", "ur", "id", "en-GB", "es-MX", "cn", "zh-CN", "zh-TW", "zh-HK", "ru", "bn", "ms", "pt-BR", "vi", "tl", "th", "afb", "pt-PT" ] }, "can_change_interview_language": { "type": "boolean", "description": "Whether the candidate can change the language", "default": false }, "only_coding_round": { "type": "boolean", "description": "Whether the interview is a coding round only", "default": false }, "is_coding_round_required": { "type": "boolean", "description": "Whether the coding round is required", "default": false }, "selected_coding_language": { "type": "string", "description": "The coding language for the coding round", "example": "python", "default": "user_choice", "enum": [ "user_choice", "javascript", "cpp", "c", "csharp", "go", "java", "kotlin", "php", "python", "ruby", "rust", "swift", "typescript" ] }, "coding_exercise_details": { "type": "string", "description": "Add more details to tailor the coding exercise (optional) - Note: The candidate won't be able to use outside libraries.", "example": "Make the DSA problem extremely difficult and focus on a problem that will require recursion to solve efficiently." }, "is_proctoring_required": { "type": "boolean", "description": "Whether the proctoring is required", "default": true } } }, "90a13fb4-c47a-4041-91de-075985b6d787": { "title": "CreateInterviewResponse", "description": "Response for creating an interview", "type": "object", "properties": { "status": { "type": "boolean", "description": "Whether the request was successful", "example": true }, "message": { "type": "string", "description": "The message for the response", "example": "Interview created successfully" }, "data": { "type": "object", "description": "Interview details", "properties": { "interview_id": { "type": "string", "description": "Unique identifier for the interview", "example": "123e4567-e89b-12d3-a456-426614174000" }, "invite_url": { "type": "string", "description": "The URL to invite the candidates to the interview", "example": "https://interview.micro1.ai/intro/micro1?uid=123e4567-e89b-12d3-a456-426614174000" } } } } }, "Access-Control-Allow-Origin": { "type": "string", "default": "*", "example": "https://developer.mozilla.org" }, "Access-Control-Allow-Credentials": { "type": "boolean", "default": true }, "b94b355b-60c8-4422-8bad-e5c028d564c2": { "title": "BadRequestResponse", "description": "Response for bad requests", "type": "object", "properties": { "status": { "type": "boolean", "description": "Whether the request was successful", "example": false }, "message": { "type": "string", "description": "The error message", "example": "Invalid request" } } }, "890496ef-5475-45d1-a79c-090267478eb3": { "title": "InternalServerErrorResponse", "description": "Response for internal server error", "type": "object", "properties": { "status": { "type": "boolean", "description": "Whether the request was successful", "example": false } } }, "5bf9749c-a439-449a-bbed-fc2c74dd9b39": { "title": "CreateCustomQuestionInterviewRequest", "description": "Request to create an interview with only custom questions", "type": "object", "required": [ "interview_name", "custom_question_list" ], "properties": { "interview_name": { "type": "string", "description": "Name of the interview", "example": "Candidate Screening Interview" }, "custom_question_list": { "type": "array", "items": { "type": "object", "properties": { "question": { "type": "string", "description": "The question to ask the candidate", "example": "What are your strengths and weaknesses?" }, "time": { "type": "number", "description": "The time limit for the question in minutes (min 1, max 4)", "example": 2 }, "type": { "type": "string", "description": "The type of question", "example": "audio", "enum": [ "audio", "text" ] } } }, "description": "Custom questions for the interview (max 20)", "example": [ { "question": "What are your strengths and weaknesses?", "time": 2, "type": "audio" } ] }, "interview_language": { "type": "string", "description": "The language in which the AI interview will be conducted", "default": "en", "example": "en", "enum": [ "en", "fr", "de", "he", "hi", "pt", "es", "es-la", "tr", "ja", "sv", "ar", "pl", "dk", "kr", "it", "nl", "cz", "ua", "ur", "id", "en-GB", "es-MX", "cn", "zh-CN", "zh-TW", "zh-HK", "ru", "bn", "ms", "pt-BR", "vi", "tl", "th", "afb", "pt-PT" ] }, "can_change_interview_language": { "type": "boolean", "description": "Whether the candidate can change the language", "default": false }, "is_proctoring_required": { "type": "boolean", "description": "Whether the proctoring is required", "default": true } } }, "fe74cb1a-f0be-4b3f-97c1-7c97f143f926": { "title": "CreateInterviewResponse", "description": "Response for creating an interview", "type": "object", "properties": { "status": { "type": "boolean", "description": "Whether the request was successful", "example": true }, "message": { "type": "string", "description": "The message for the response", "example": "Interview created successfully" }, "data": { "type": "object", "description": "Interview details", "properties": { "interview_id": { "type": "string", "description": "Unique identifier for the interview", "example": "123e4567-e89b-12d3-a456-426614174000" }, "invite_url": { "type": "string", "description": "The URL to invite the candidates to the interview", "example": "https://interview.micro1.ai/intro/micro1?uid=123e4567-e89b-12d3-a456-426614174000" } } } } }, "5333077b-0b49-46f7-bc97-51cb80bca346": { "title": "BadRequestResponse", "description": "Response for bad requests", "type": "object", "properties": { "status": { "type": "boolean", "description": "Whether the request was successful", "example": false }, "message": { "type": "string", "description": "The error message", "example": "Invalid request" } } }, "0e874cf3-8175-4bc0-be8e-58d4bfc07a79": { "title": "InternalServerErrorResponse", "description": "Response for internal server error", "type": "object", "properties": { "status": { "type": "boolean", "description": "Whether the request was successful", "example": false } } }, "page": { "type": "integer" }, "limit": { "type": "integer" }, "keyword": { "type": "string" }, "8b24a4dd-e959-4345-8e0e-7551d63da6e8": { "title": "GetAllInterviewsResponse", "description": "Response for getting all interviews", "type": "object", "properties": { "status": { "type": "boolean", "description": "Status of the response", "example": "true" }, "message": { "type": "string", "description": "Message of the response", "example": "Interviews fetched successfully" }, "data": { "type": "array", "description": "List of interviews", "items": { "title": "Interview", "description": "Interview object", "type": "object", "properties": { "interview_id": { "type": "string", "description": "ID of the interview", "example": "123e4567-e89b-12d3-a456-426614174000" }, "interview_name": { "type": "string", "description": "Name of the interview", "example": "Full Stack Engineer Interview" }, "invite_url": { "type": "string", "description": "The URL to invite the candidates to the interview", "example": "https://interview.micro1.ai/intro/micro1?uid=123e4567-e89b-12d3-a456-426614174000" }, "skills": { "type": "array", "description": "Required skills for the interview", "items": { "type": "object", "properties": { "name": { "type": "string", "description": "Name of the skill", "example": "React" }, "description": { "type": "string", "description": "Description of the skill", "example": "Must be proficient in React Context API" } } }, "example": [ { "name": "React", "description": "Must be proficient in React Context API" } ] }, "custom_questions": { "type": "array", "description": "Custom questions for the interview", "items": { "type": "object", "description": "Custom question for the interview", "properties": { "question": { "type": "string", "description": "The question for the interview", "example": "Where do you see yourself in 5 years?" }, "time": { "type": "number", "description": "The time for the question in seconds", "example": 120 }, "type": { "type": "string", "description": "The type of the question", "example": "audio", "enum": [ "audio", "text" ] } } }, "example": [ { "question": "Where do you see yourself in 5 years?", "time": 120, "type": "audio" } ] }, "interview_language": { "type": "string", "description": "Language of the interview", "example": "English" }, "can_change_interview_language": { "type": "boolean", "description": "Whether the candidate can change the interview language", "example": false }, "only_coding_round": { "type": "boolean", "description": "Whether the interview is a coding round only", "example": true }, "is_coding_round_required": { "type": "boolean", "description": "Whether the coding round is required", "example": true }, "selected_coding_language": { "type": "string", "description": "The coding language for the coding round", "example": "Python" }, "is_proctoring_required": { "type": "boolean", "description": "Whether the proctoring is required", "example": true }, "date_created": { "type": "string", "description": "Date created of the interview", "example": "2021-01-01 00:00:00" }, "date_modified": { "type": "string", "description": "Date modified of the interview", "example": "2021-01-01 00:00:00" }, "status": { "type": "string", "description": "Status of the interview", "example": "active" } } } } } }, "3e6955c6-1b91-4818-a780-401b36e276c0": { "title": "BadRequestResponse", "description": "Response for bad requests", "type": "object", "properties": { "status": { "type": "boolean", "description": "Whether the request was successful", "example": false }, "message": { "type": "string", "description": "The error message", "example": "Invalid request" } } }, "338a7eb8-2dcc-424c-a88b-59a6b4122b66": { "title": "InternalServerErrorResponse", "description": "Response for internal server error", "type": "object", "properties": { "status": { "type": "boolean", "description": "Whether the request was successful", "example": false } } }, "interviewId": { "type": "string" }, "9126af2f-e06b-4a71-8b76-b9c8f66f552e": { "title": "UpdateInterviewRequest", "description": "Request to update an interview", "type": "object", "properties": { "interview_name": { "type": "string", "description": "Name of the interview", "example": "Full Stack Engineer Interview" }, "skills": { "type": "array", "items": { "type": "object", "required": [ "name" ], "properties": { "name": { "type": "string", "description": "Name of the skill", "example": "React" }, "description": { "type": "string", "description": "More information about the skill", "example": "Must be proficient in React Context API" } } }, "description": "Required skills for the interview (max 10)", "example": [ { "name": "React", "description": "Must be proficient in React Context API" } ] }, "custom_question_list": { "type": "array", "items": { "type": "object", "properties": { "question": { "type": "string", "description": "The question to ask the candidate", "example": "What are your strengths and weaknesses?" }, "time": { "type": "number", "description": "The time limit for the question in minutes (min 1, max 4)", "example": 2 }, "type": { "type": "string", "description": "The type of question", "example": "audio", "enum": [ "audio", "text" ] } } }, "description": "Custom questions for the interview (max 20)", "example": [ { "question": "What are your strengths and weaknesses?", "time": 2, "type": "audio" } ] }, "interview_language": { "type": "string", "description": "The language in which the AI interview will be conducted", "default": "en", "example": "en", "enum": [ "en", "fr", "de", "he", "hi", "pt", "es", "es-la", "tr", "ja", "sv", "ar", "pl", "dk", "kr", "it", "nl", "cz", "ua", "ur", "id", "en-GB", "es-MX", "cn", "zh-CN", "zh-TW", "zh-HK", "ru", "bn", "ms", "pt-BR", "vi", "tl", "th", "afb", "pt-PT" ] }, "can_change_interview_language": { "type": "boolean", "description": "Whether the candidate can change the language", "default": false }, "only_coding_round": { "type": "boolean", "description": "Whether the interview is a coding round only", "default": false }, "is_coding_round_required": { "type": "boolean", "description": "Whether the coding round is required", "default": false }, "selected_coding_language": { "type": "string", "description": "The coding language for the coding round", "example": "python" }, "coding_exercise_details": { "type": "string", "description": "Add more details to tailor the coding exercise (optional) - Note: The candidate won't be able to use outside libraries.", "example": "Make the DSA problem extremely difficult and focus on a problem that will require recursion to solve efficiently." }, "is_proctoring_required": { "type": "boolean", "description": "Whether the proctoring is required", "default": true } } }, "b2697d86-2b45-482c-9957-83a3cc227365": { "title": "UpdateInterviewResponse", "description": "Response for updating an interview", "type": "object", "properties": { "status": { "type": "boolean", "description": "Whether the request was successful", "example": true }, "message": { "type": "string", "description": "The message for the response", "example": "Interview updated successfully" } } }, "0acae7b7-5e11-4fc4-a1ff-06aaa8115fbf": { "title": "BadRequestResponse", "description": "Response for bad requests", "type": "object", "properties": { "status": { "type": "boolean", "description": "Whether the request was successful", "example": false }, "message": { "type": "string", "description": "The error message", "example": "Invalid request" } } }, "28d74bab-c21a-49e7-9499-82d841b8c11b": { "title": "InternalServerErrorResponse", "description": "Response for internal server error", "type": "object", "properties": { "status": { "type": "boolean", "description": "Whether the request was successful", "example": false } } }, "1488b560-7b17-47ee-862e-2c138a397929": { "title": "DeleteInterviewResponse", "description": "Response for deleting an interview", "type": "object", "properties": { "status": { "type": "boolean", "description": "Whether the request was successful", "example": true }, "message": { "type": "string", "description": "The message for the response", "example": "Interview deleted successfully" } } }, "61381ad1-48b5-4910-b2b2-dfc5d60bb5bf": { "title": "BadRequestResponse", "description": "Response for bad requests", "type": "object", "properties": { "status": { "type": "boolean", "description": "Whether the request was successful", "example": false }, "message": { "type": "string", "description": "The error message", "example": "Invalid request" } } }, "4651c8bc-45a2-444b-93d7-bcd5fb9b8c82": { "title": "InternalServerErrorResponse", "description": "Response for internal server error", "type": "object", "properties": { "status": { "type": "boolean", "description": "Whether the request was successful", "example": false } } }, "c93fc8b1-3071-4de0-8f00-c22c8ac342e8": { "title": "InviteCandidateRequest", "type": "object", "required": [ "interview_id" ], "properties": { "interview_id": { "type": "string", "description": "The ID of the interview to invite candidates to", "example": "123e4567-e89b-12d3-a456-426614174000" }, "candidates": { "type": "array", "items": { "type": "object", "required": [ "name", "email" ], "properties": { "name": { "type": "string", "description": "The name of the candidate to invite", "example": "John Doe" }, "email": { "type": "string", "description": "The email of the candidate to invite", "example": "candidate@example.com" } } }, "description": "The list of candidates to invite", "example": [ { "name": "John Doe", "email": "candidate@example.com" } ] }, "job_application_id": { "type": "string", "description": "The ID of the job application to invite candidates (Optional)", "example": "123e4567-e89b-12d3-a456-426614174000" }, "candidate_id": { "type": "string", "description": "The ID of the candidate to re-send the invitation (Optional)", "example": "123e4567-e89b-12d3-a456-426614174000" }, "disable_email_notification": { "type": "boolean", "description": "Whether to disable the email notification sent to the candidate for the interview invitation", "example": false, "default": false } } }, "082583f8-9260-4b46-b8bc-04c7a44fded2": { "title": "InviteCandidateResponse", "type": "object", "properties": { "status": { "type": "boolean", "description": "The status of the invitation", "example": true }, "message": { "type": "string", "description": "The message of the invitation", "example": "Invitations sent successfully" }, "data": { "type": "object", "description": "The data of the invitation", "properties": { "invitations": { "type": "array", "description": "Invitation details of the candidates", "items": { "type": "object", "description": "Invitation details of the candidate", "properties": { "candidate_id": { "type": "string", "description": "The ID of the candidate", "example": "123e4567-e89b-12d3-a456-426614174000" }, "candidate_email": { "type": "string", "description": "The email of the candidate", "example": "candidate@example.com" }, "invite_url": { "type": "string", "description": "The URL of the invitation", "example": "https://interview.micro1.ai/intro/micro1?cid=123e4567-e89b-12d3-a456-426614174000" } } } } } } } }, "d24a9b8f-c64f-4661-9bfb-6b0874f15289": { "title": "BadRequestResponse", "description": "Response for bad requests", "type": "object", "properties": { "status": { "type": "boolean", "description": "Whether the request was successful", "example": false }, "message": { "type": "string", "description": "The error message", "example": "Invalid request" } } }, "22038d2e-01bd-4d14-8751-a35ace89f2f0": { "title": "InternalServerErrorResponse", "description": "Response for internal server error", "type": "object", "properties": { "status": { "type": "boolean", "description": "Whether the request was successful", "example": false } } }, "interview_id": { "type": "string" }, "candidate_id": { "type": "string" }, "ed1324fa-97e3-4327-989a-1365796365ff": { "title": "GetInvitesResponse", "description": "Response for getting all candidate invites", "type": "object", "properties": { "status": { "type": "boolean", "description": "Status of the response", "example": "true" }, "message": { "type": "string", "description": "Message of the response", "example": "Candidate invites fetched successfully" }, "data": { "type": "array", "description": "List of candidate invites", "items": { "title": "Report", "type": "object", "properties": { "candidate_id": { "type": "string", "description": "ID of the candidate", "example": "h0gqkAcaDJ" }, "interview_id": { "type": "string", "description": "ID of the interview", "example": "123e4567-e89b-12d3-a456-426614174000" }, "interview_name": { "type": "string", "description": "Name of the interview", "example": "Full Stack Engineer Interview" }, "candidate_name": { "type": "string", "description": "Name of the candidate", "example": "John Doe" }, "candidate_email_id": { "type": "string", "description": "Email of the candidate", "example": "john.doe@micro1.ai" }, "date_created": { "type": "string", "description": "Date created of the report", "example": "2021-01-01 00:00:00" }, "date_modified": { "type": "string", "description": "Date modified of the report", "example": "2021-01-01 00:00:00" }, "status": { "type": "string", "description": "Status of the report", "example": "active" } } } } } }, "19f58cbb-0a5c-4362-9543-e11ecc14b188": { "title": "BadRequestResponse", "description": "Response for bad requests", "type": "object", "properties": { "status": { "type": "boolean", "description": "Whether the request was successful", "example": false }, "message": { "type": "string", "description": "The error message", "example": "Invalid request" } } }, "48ed7e9b-d5c0-4cac-a7f7-554cf2d38a61": { "title": "InternalServerErrorResponse", "description": "Response for internal server error", "type": "object", "properties": { "status": { "type": "boolean", "description": "Whether the request was successful", "example": false } } }, "3d3a53a2-49bc-4b72-af60-d6a25ef000db": { "title": "GetInterviewReportsResponse", "type": "object", "properties": { "status": { "type": "boolean", "description": "Status of the response" }, "message": { "type": "string", "description": "Message of the response" }, "data": { "type": "array", "description": "Data of the response", "items": { "title": "Report", "type": "object", "properties": { "report_id": { "type": "string", "description": "ID of the report", "example": "h0gqkAcaDJ" }, "session_id": { "type": "string", "description": "ID of the interview session", "example": "123e4567-e89b-12d3-a456-426614174000" }, "interview_id": { "type": "string", "description": "ID of the interview", "example": "123e4567-e89b-12d3-a456-426614174000" }, "interview_name": { "type": "string", "description": "Name of the interview", "example": "Full Stack Engineer Interview" }, "candidate_id": { "type": "string", "description": "ID of the candidate", "example": "123e4567-e89b-12d3-a456-426614174000" }, "job_applicant_id": { "type": "string", "description": "Optional ID of the job applicant, present only if linked to a job applicant", "example": "123e4567-e89b-12d3-a456-426614174000" }, "ats_job_application_id": { "type": "string", "description": "ID of the job application in external connected ATS", "example": "123e4567-e89b-12d3-a456-426614174000", "nullable": true }, "ats_job_id": { "type": "string", "description": "ID of the job in external connected ATS", "example": "123e4567-e89b-12d3-a456-426614174000", "nullable": true }, "candidate_name": { "type": "string", "description": "Name of the candidate", "example": "John Doe" }, "candidate_email_id": { "type": "string", "description": "Email of the candidate", "example": "john.doe@micro1.ai" }, "report_date": { "type": "string", "description": "Date of the interview", "example": "2024-01-01" }, "report_url": { "type": "string", "description": "URL of the report", "example": "https://micro1.ai/report/h0gqkAcaDJ.pdf" }, "interview_recording_url": { "type": "string", "description": "Direct URL of the interview recording. Use HLS (HTTP Live Streaming) library to play the interview video", "example": "https://micro1.ai/interview/h0gqkAcaDJ.m3u8" }, "interview_recording_player_url": { "type": "string", "description": "URL to view the interview recording in micro1's web player interface", "example": "https://zara.micro1.ai/ai-interview-videos/abcxyz?id=123e4567-e89b-12d3-a456-426614174000" }, "proctoring_score": { "type": "number", "description": "Proctoring score of the candidate", "example": 85 }, "ai_match_score": { "type": "number", "description": "AI match score of the candidate", "example": 85 }, "proctoring_violations": { "type": "array", "description": "List of proctoring violations", "items": { "type": "object", "properties": { "type": { "type": "string", "description": "Type of the violation", "example": "tab_switch", "enum": [ "tab_switch", "eye_movement", "ai_classifier" ] }, "value": { "type": "string", "description": "Value of the violation (number / percentage)", "example": "3" }, "description": { "type": "string", "description": "Description of the violation", "example": "3 tab switches detected, indicating multitasking or external searches." } } } }, "interview_transcript": { "type": "array", "description": "Transcript of the interview", "items": { "type": "object", "properties": { "timestamp": { "type": "number", "description": "Timestamp of the transcript in seconds", "example": 100, "nullable": true }, "role": { "type": "string", "description": "Role of the transcript", "example": "interviewer", "enum": [ "interviewer", "user" ] }, "content": { "type": "string", "description": "Text of the transcript", "example": "Can you tell me about yourself?" } } } }, "technical_skills_evaluation": { "type": "array", "description": "Evaluation of the technical/non-technical skills", "items": { "type": "object", "properties": { "skill": { "type": "string", "description": "Name of the skill", "example": "React.js" }, "ai_evaluation": { "type": "object", "description": "Evaluation of the skill by AI", "properties": { "feedback": { "type": "string", "description": "Feedback of the skill", "example": "Candidate has demonstrated a solid understanding of optimizing FastAPI performance." }, "rating": { "type": "string", "description": "Evaluation of the skill", "example": "Senior", "enum": [ "Not experienced", "Junior", "Mid-level", "Senior" ] } } }, "timestamp": { "type": "number", "description": "Timestamp in seconds when this specific skill evaluation started in the interview", "example": 100, "nullable": true } } } }, "soft_skills_evaluation": { "type": "array", "description": "Evaluation of the soft skills", "items": { "type": "object", "properties": { "skill": { "type": "string", "description": "Name of the soft skill", "example": "Overall" }, "ai_evaluation": { "type": "object", "description": "Evaluation of the soft skill by AI", "properties": { "feedback": { "type": "string", "description": "Feedback of the soft skill", "example": "Candidate demonstrated clear and organized thoughts throughout the interview, effectively addressing each question with relevant examples and explanations." }, "rating": { "type": "string", "description": "Rating of the soft skill. For English language interviews, rating follows CEFR levels (A1 to C2). For other languages, rating ranges from Not Experienced to Excellent", "example": "B1", "enum": [ "A1", "A2", "B1", "B2", "C1", "C2", "Not Experienced", "Below Average", "Average", "Good", "Excellent" ] }, "sub_score": { "type": "object", "description": "Sub score of the soft skill", "properties": { "vocabulary": { "type": "string", "description": "Vocabulary of the soft skill" }, "grammar": { "type": "string", "description": "Grammar of the soft skill" }, "critical_thinking": { "type": "string", "description": "Critical thinking of the soft skill" } } } } } } } }, "coding_skills_evaluation": { "type": "object", "description": "Evaluation of the coding skills", "properties": { "feedback": { "type": "string", "description": "Feedback of the coding skills", "example": "The candidate has demonstrated a good understanding of the problem" }, "rating": { "type": "string", "description": "Rating of the coding skills", "example": "Senior", "enum": [ "Not experienced", "Junior", "Mid-level", "Senior" ] } } }, "custom_exercise_evaluation": { "type": "object", "description": "Evaluation of the custom exercise", "properties": { "feedback": { "type": "string", "description": "Feedback of the custom exercise", "example": "The candidate displayed a strong grasp of the custom exercise requirements and solved the problem effectively." }, "rating": { "type": "string", "description": "Rating of the custom exercise", "example": "Senior", "enum": [ "Not experienced", "Junior", "Mid-level", "Senior" ] } }, "nullable": true }, "custom_question_evaluation": { "type": "array", "description": "Evaluation of the custom questions", "items": { "type": "object", "properties": { "question_text": { "type": "string", "description": "Question of the custom question", "example": "Are you willing to relocate?" }, "answer_text": { "type": "string", "description": "Answer of the custom question", "example": "Yes, I am willing to relocate" }, "ai_evaluation": { "type": "object", "description": "Evaluation of the custom question by AI", "properties": { "feedback": { "type": "string", "description": "Feedback of the custom question", "example": "Candidate is willing to relocate with a 20% chance" }, "rating": { "type": "string", "description": "Rating of the custom question", "example": "Great answer", "enum": [ "Not an impressive answer", "Average answer", "Good answer", "Great answer" ] } } } } } }, "date_created": { "type": "string", "description": "Date created of the report", "example": "2021-01-01 00:00:00" }, "date_modified": { "type": "string", "description": "Date modified of the report", "example": "2021-01-01 00:00:00" }, "status": { "type": "string", "description": "Status of the report", "example": "active" } } } } } }, "0e0ac28a-dd51-4df8-a8cb-235cf6e1d8f6": { "title": "BadRequestResponse", "description": "Response for bad requests", "type": "object", "properties": { "status": { "type": "boolean", "description": "Whether the request was successful", "example": false }, "message": { "type": "string", "description": "The error message", "example": "Invalid request" } } }, "9bf07ce6-fab6-4547-9474-b5e0cde16180": { "title": "InternalServerErrorResponse", "description": "Response for internal server error", "type": "object", "properties": { "status": { "type": "boolean", "description": "Whether the request was successful", "example": false } } }, "report_id": { "type": "string" }, "session_id": { "type": "string" }, "258338a2-d768-43db-8a33-88a7c9d40e4d": { "type": "object", "description": "Interview recording URL when available", "properties": { "status": { "type": "boolean", "description": "True when video_url is present" }, "video_url": { "type": "string", "format": "uri", "description": "HLS playlist or video URL for the interview screenshare recording" } }, "required": [ "status", "video_url" ] }, "4a557586-683c-4f41-80cf-a81057d2d931": { "title": "BadRequestResponse", "description": "Response for bad requests", "type": "object", "properties": { "status": { "type": "boolean", "description": "Whether the request was successful", "example": false }, "message": { "type": "string", "description": "The error message", "example": "Invalid request" } } }, "baa130e1-9247-4e79-962d-d8a396991558": { "title": "BadRequestResponse", "description": "Response for bad requests", "type": "object", "properties": { "status": { "type": "boolean", "description": "Whether the request was successful", "example": false }, "message": { "type": "string", "description": "The error message", "example": "Invalid request" } } }, "165205bd-8e2b-4793-8b45-536f6152047f": { "title": "InternalServerErrorResponse", "description": "Response for internal server error", "type": "object", "properties": { "status": { "type": "boolean", "description": "Whether the request was successful", "example": false } } }, "35476b4b-b1f2-49b7-8bb2-d0dc33fdf869": { "title": "GetSampleInterviewQuestionsRequest", "description": "Request to get a sample interview question", "type": "object", "required": [ "skills" ], "properties": { "skills": { "type": "array", "items": { "type": "object", "required": [ "name" ], "properties": { "name": { "type": "string", "description": "Name of the skill", "example": "React" }, "description": { "type": "string", "description": "More information about the skill", "example": "Must be proficient in React Context API" } } }, "description": "Required skills for the sample interview questions (max 10)", "example": [ { "name": "React", "description": "Must be proficient in React Context API" } ] } } }, "7db5fe92-97a7-429a-804c-e2f3942fc072": { "title": "GetSampleInterviewQuestionsResponse", "description": "Response for getting a sample interview question", "type": "object", "properties": { "status": { "type": "boolean", "description": "Status of the response", "example": "true" }, "message": { "type": "string", "description": "Message of the response", "example": "Sample interview question fetched successfully" }, "data": { "type": "array", "description": "List of sample interview questions", "items": { "title": "SampleInterviewQuestion", "description": "Sample interview question object", "type": "object", "properties": { "skill": { "type": "string", "description": "Name of the skill", "example": "React" }, "questions": { "type": "array", "description": "List of sample interview questions", "items": { "type": "string", "description": "Sample interview question", "example": "What is React?" } } } } } } }, "48fd3e4c-81c8-463d-a6ca-f0d3b9b1b048": { "title": "BadRequestResponse", "description": "Response for bad requests", "type": "object", "properties": { "status": { "type": "boolean", "description": "Whether the request was successful", "example": false }, "message": { "type": "string", "description": "The error message", "example": "Invalid request" } } }, "6989178e-6fd2-4b1d-938d-68284bed155e": { "title": "InternalServerErrorResponse", "description": "Response for internal server error", "type": "object", "properties": { "status": { "type": "boolean", "description": "Whether the request was successful", "example": false } } }, "1a1987e4-458f-4016-8b74-999b29e4b181": { "title": "GetJobsResponse", "description": "Response for getting all jobs", "type": "object", "properties": { "status": { "type": "boolean", "description": "Status of the response", "example": true }, "message": { "type": "string", "description": "Message of the response", "example": "Jobs fetched successfully" }, "data": { "type": "array", "description": "List of jobs", "items": { "title": "Job", "description": "Job object", "type": "object", "properties": { "job_id": { "type": "string", "description": "ID of the job", "example": "123e4567-e89b-12d3-a456-426614174000" }, "job_title": { "type": "string", "description": "Title of the job", "example": "Full Stack Engineer" }, "job_description": { "type": "string", "description": "Description of the job", "example": "We are looking for a Full Stack Engineer to join our team" }, "job_code": { "type": "string", "description": "Code of the job", "example": "M0000001" }, "ats_job_id": { "type": "string", "description": "ID of the job in the ATS", "example": "JOB123TEST", "nullable": true }, "interview_id": { "type": "string", "description": "ID of the micro1 AI interview associated with the job", "example": "123e4567-e89b-12d3-a456-426614174000", "nullable": true }, "job_apply_url": { "type": "string", "description": "URL to apply for the job", "example": "https://jobs.micro1.ai/post/123e4567-e89b-12d3-a456-426614174000" }, "job_status": { "type": "string", "description": "Status of the job", "enum": [ "open", "closed" ], "example": "open" }, "date_created": { "type": "string", "description": "Date created of the job", "example": "2021-01-01 00:00:00" }, "date_modified": { "type": "string", "description": "Date modified of the job", "example": "2021-01-01 00:00:00", "nullable": true } } } } } }, "4233ee8a-be19-4eec-bd42-4bf4394b776a": { "title": "BadRequestResponse", "description": "Response for bad requests", "type": "object", "properties": { "status": { "type": "boolean", "description": "Whether the request was successful", "example": false }, "message": { "type": "string", "description": "The error message", "example": "Invalid request" } } }, "66f85992-b0d6-4a29-ae40-7e9e284b8e3e": { "title": "InternalServerErrorResponse", "description": "Response for internal server error", "type": "object", "properties": { "status": { "type": "boolean", "description": "Whether the request was successful", "example": false } } }, "jobId": { "type": "string" }, "e486e318-d331-48d4-91f8-e6df3799e17f": { "title": "CreateJobApplicantRequest", "type": "object", "required": [ "first_name", "last_name", "email_id" ], "properties": { "first_name": { "type": "string", "description": "First name of the candidate", "example": "John" }, "last_name": { "type": "string", "description": "Last name of the candidate", "example": "Doe" }, "email_id": { "type": "string", "description": "Email of the candidate", "example": "john.doe@micro1.ai" }, "phone_number": { "type": "string", "description": "Phone number of the candidate", "example": "+1234567890" }, "resume_url": { "type": "string", "description": "URL of the resume (PDF or DOCX file)", "example": "https://micro1.ai/resume/h0gqkAcaDJ.pdf" } } }, "5ce136f1-27c7-4a91-8e56-6b91df2ba637": { "title": "CreateJobApplicantResponse", "description": "Response for creating a job applicant", "type": "object", "properties": { "status": { "type": "boolean", "description": "Status of the response", "example": true }, "message": { "type": "string", "description": "Message of the response", "example": "Job applicant created successfully" }, "data": { "type": "object", "description": "Data of the response", "properties": { "job_application_id": { "type": "string", "description": "Job application ID", "example": "123e4567-e89b-12d3-a456-426614174000" } } } } }, "365af817-7df6-4481-882f-076637a891f4": { "title": "BadRequestResponse", "description": "Response for bad requests", "type": "object", "properties": { "status": { "type": "boolean", "description": "Whether the request was successful", "example": false }, "message": { "type": "string", "description": "The error message", "example": "Invalid request" } } }, "96c81713-d1a0-41f9-bb10-ae3954fe2fcc": { "title": "InternalServerErrorResponse", "description": "Response for internal server error", "type": "object", "properties": { "status": { "type": "boolean", "description": "Whether the request was successful", "example": false } } }, "f4b606ec-833f-484c-9e92-ec71fa6d0227": { "title": "GetJobApplicantsResponse", "description": "Response for getting all job applicants", "type": "object", "properties": { "status": { "type": "boolean", "description": "Status of the response", "example": true }, "message": { "type": "string", "description": "Message of the response", "example": "Job applicants fetched successfully" }, "data": { "type": "array", "description": "List of job applicants", "items": { "title": "Job Applicant", "type": "object", "properties": { "job_applicant_id": { "type": "string", "description": "ID of the job applicant", "example": "123e4567-e89b-12d3-a456-426614174000" }, "job_id": { "type": "string", "description": "ID of the job", "example": "123e4567-e89b-12d3-a456-426614174000" }, "job_title": { "type": "string", "description": "Title of the job", "example": "Full Stack Engineer" }, "first_name": { "type": "string", "description": "First name of the candidate", "example": "John" }, "last_name": { "type": "string", "description": "Last name of the candidate", "example": "Doe" }, "email_id": { "type": "string", "description": "Email of the candidate", "example": "john.doe@micro1.ai" }, "phone_number": { "type": "string", "description": "Phone number of the candidate", "example": "+1234567890" }, "phone_country_iso_code": { "type": "string", "description": "Phone country code of the candidate", "example": "US" }, "resume_url": { "type": "string", "description": "URL of the resume", "example": "https://micro1.ai/resume/h0gqkAcaDJ.pdf" }, "linkedin_url": { "type": "string", "description": "URL of the linkedin profile", "example": "https://www.linkedin.com/in/john-doe-1234567890" }, "source_name": { "type": "string", "description": "Source of the candidate", "example": "Linkedin" }, "resume_score": { "type": "number", "description": "Score of the resume", "example": 85 }, "parsed_resume_data": { "type": "object", "description": "Parsed resume data", "nullable": true, "properties": { "education": { "type": "array", "description": "Education of the candidate", "items": { "type": "object", "properties": { "degree": { "type": "string", "description": "Degree of the education", "example": "Bachelor of Science" }, "major": { "type": "string", "description": "Major/field of study", "example": "Computer Science" }, "university_name": { "type": "string", "description": "University or institution name", "example": "University of California, Los Angeles" }, "start_date": { "type": "string", "description": "Start date of the education", "example": "2021-10-01" }, "end_date": { "type": "string", "description": "End date of the education", "example": "2022-06-30" }, "is_present": { "type": "boolean", "description": "Whether the candidate is currently studying", "example": false } } }, "example": [ { "major": "Computer Science", "degree": "Bachelor of Science", "end_date": "2022-06-30", "is_present": false, "start_date": "2021-10-01", "university_name": "University of California, Los Angeles" }, { "major": "Computer Science", "degree": "Master of Science", "end_date": null, "is_present": true, "start_date": "2022-09-01", "university_name": "University of California, Los Angeles" } ] }, "experience": { "type": "array", "description": "Experience of the candidate", "items": { "type": "object", "properties": { "company_name": { "type": "string", "description": "Company name of the experience", "example": "micro1" }, "role": { "type": "string", "description": "Role/position of the candidate", "example": "Software Engineer" }, "start_date": { "type": "string", "description": "Start date of the experience", "example": "2022-01-01" }, "end_date": { "type": "string", "description": "End date of the experience", "example": null, "nullable": true }, "is_present": { "type": "boolean", "description": "Whether the candidate is currently working at this position", "example": true }, "tech_stack": { "type": "array", "description": "Technologies used in this role", "items": { "type": "string" }, "example": [ "Selenium", "Cypress", "Playwright", "TestCafe", "JUnit", "TestNG", "BDD (Cucumber)", "Appium", "RestAssured" ] }, "responsibilities": { "type": "string", "description": "Job responsibilities and duties", "example": "