{"format":"jobhunt.support.operation/v1","revision":"f77de0f4803debf8c5aaac1702865d976a380e994ea7f572d4e571c044d5495f","contract_sha256":"acfda93724db1a3f53160a30bc5891f447ad14601f26b02ff4cacd7c17d0812e","documentation_only":true,"operation":{"name":"create_interview_record","description":"Create an explicitly supplied interview in an owned writable application. Preserves native date/completion and linked-record rules. Completion history and configured webhook jobs commit atomically; no invitation or calendar action is sent. Reuse the original request after interruption.","http":"POST /api/v1/journey/create_interview_record","readOnly":false,"scopes":["write:interviews"],"availability":"connected-journey","destructive":true,"implementation_sha256":"760e8128e8613f2c6fabebb5c5134e95a1c45bda6fa341bc27d8d9526f38d9b7","input_schema_ref":"/support/contracts.json#/tools/create_interview_record/inputSchema","output_schema_ref":"/support/contracts.json#/tools/create_interview_record/outputSchema","required_fields":["request_id","application_id","fields"]},"contract":{"annotations":{"destructiveHint":true,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":false,"title":"Create interview record"},"description":"Create an explicitly supplied interview in an owned writable application. Preserves native date/completion and linked-record rules. Completion history and configured webhook jobs commit atomically; no invitation or calendar action is sent. Reuse the original request after interruption.","inputSchema":{"$defs":{"InterviewCreateFields":{"additionalProperties":false,"properties":{"completed_at":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"title":"Completed At"},"duration_minutes":{"anyOf":[{"maximum":2147483647,"minimum":-2147483648,"type":"integer"},{"type":"null"}],"default":null,"title":"Duration Minutes"},"feedback":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"default":null,"title":"Feedback"},"format":{"anyOf":[{"maxLength":30,"type":"string"},{"type":"null"}],"default":null,"title":"Format"},"interviewer_ids":{"anyOf":[{"items":{"maxLength":256,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._-]*$","type":"string"},"maxItems":1000,"type":"array"},{"type":"null"}],"default":null,"title":"Interviewer Ids"},"location":{"anyOf":[{"maxLength":100000,"type":"string"},{"type":"null"}],"default":null,"title":"Location"},"notes":{"anyOf":[{"maxLength":100000,"type":"string"},{"type":"null"}],"default":null,"title":"Notes"},"prep_checklist":{"anyOf":[{"items":{},"maxItems":1000,"type":"array"},{"type":"null"}],"default":null,"title":"Prep Checklist"},"scheduled_at":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"title":"Scheduled At"},"scheduled_end_at":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"title":"Scheduled End At"},"skipped_at":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"title":"Skipped At"},"sort_order":{"anyOf":[{"maximum":2147483647,"minimum":-2147483648,"type":"integer"},{"type":"null"}],"default":null,"title":"Sort Order"},"status_override":{"anyOf":[{"maxLength":20,"type":"string"},{"type":"null"}],"default":null,"title":"Status Override"},"step_type":{"anyOf":[{"maxLength":50,"type":"string"},{"type":"null"}],"default":null,"title":"Step Type"},"tags":{"anyOf":[{"items":{"type":"string"},"maxItems":1000,"type":"array"},{"type":"null"}],"default":null,"title":"Tags"},"task_ids":{"anyOf":[{"items":{"maxLength":256,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._-]*$","type":"string"},"maxItems":1000,"type":"array"},{"type":"null"}],"default":null,"title":"Task Ids"},"title":{"maxLength":255,"minLength":1,"title":"Title","type":"string"}},"required":["title"],"title":"InterviewCreateFields","type":"object"}},"additionalProperties":false,"properties":{"application_id":{"maxLength":256,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._-]*$","title":"Application Id","type":"string"},"expected_account_id":{"anyOf":[{"maxLength":256,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._-]*$","type":"string"},{"type":"null"}],"default":null,"description":"Use the verified get_connected_account ID for this intent. A changed connection is rejected before any action; never replace it automatically on retry.","title":"Expected Account Id"},"fields":{"$ref":"#/$defs/InterviewCreateFields"},"request_id":{"maxLength":36,"minLength":36,"title":"Request Id","type":"string"}},"required":["request_id","application_id","fields"],"title":"InterviewCreate","type":"object"},"name":"create_interview_record","outputSchema":{"$defs":{"Failure":{"additionalProperties":false,"properties":{"code":{"enum":["authentication_required","account_changed","insufficient_scope","access_unavailable","not_found","invalid_input","revision_conflict","request_id_conflict","source_unavailable","processing_failed","rate_limited","retry_expired"],"title":"Code","type":"string"},"message":{"maxLength":1000,"minLength":1,"title":"Message","type":"string"},"retry_after_seconds":{"anyOf":[{"maximum":900,"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"title":"Retry After Seconds"}},"required":["code","message"],"title":"Failure","type":"object"},"InterviewRecord":{"additionalProperties":false,"properties":{"application_id":{"maxLength":256,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._-]*$","title":"Application Id","type":"string"},"fingerprint":{"pattern":"^[a-f0-9]{64}$","title":"Fingerprint","type":"string"},"id":{"maxLength":256,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._-]*$","title":"Id","type":"string"},"interview":{"additionalProperties":true,"title":"Interview","type":"object"},"revision":{"maximum":2147483647,"minimum":1,"title":"Revision","type":"integer"},"search_id":{"anyOf":[{"maxLength":256,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._-]*$","type":"string"},{"type":"null"}],"title":"Search Id"}},"required":["id","application_id","search_id","revision","fingerprint","interview"],"title":"InterviewRecord","type":"object"},"NextAction":{"additionalProperties":false,"properties":{"kind":{"enum":["read","edit","select","retry","reconnect","consent","open_website","open_employer","support","none"],"title":"Kind","type":"string"},"label":{"maxLength":255,"title":"Label","type":"string"},"record_id":{"anyOf":[{"maxLength":256,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._-]*$","type":"string"},{"type":"null"}],"default":null,"title":"Record Id"}},"required":["kind","label"],"title":"NextAction","type":"object"},"Operation":{"additionalProperties":false,"properties":{"error":{"anyOf":[{"$ref":"#/$defs/Failure"},{"type":"null"}],"default":null},"id":{"maxLength":256,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._-]*$","title":"Id","type":"string"},"kind":{"maxLength":100,"minLength":1,"title":"Kind","type":"string"},"resource":{"anyOf":[{"$ref":"#/$defs/Summary"},{"type":"null"}],"default":null},"retry_after_seconds":{"maximum":900,"minimum":0,"title":"Retry After Seconds","type":"integer"},"retry_expires_at":{"maxLength":40,"minLength":20,"title":"Retry Expires At","type":"string"},"status":{"enum":["pending","running","succeeded","failed"],"title":"Status","type":"string"}},"required":["id","status","kind","retry_after_seconds","retry_expires_at"],"title":"Operation","type":"object"},"Summary":{"additionalProperties":false,"properties":{"id":{"maxLength":256,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._-]*$","title":"Id","type":"string"},"kind":{"enum":["application","search","document","task","interview","contact","company","note","profile","package","notification","highlight"],"title":"Kind","type":"string"},"label":{"maxLength":255,"minLength":1,"title":"Label","type":"string"},"revision":{"anyOf":[{"maximum":2147483647,"minimum":1,"type":"integer"},{"type":"null"}],"title":"Revision"},"website_url":{"anyOf":[{"maxLength":2048,"type":"string"},{"type":"null"}],"default":null,"title":"Website Url"}},"required":["id","kind","label","revision"],"title":"Summary","type":"object"}},"additionalProperties":false,"properties":{"data":{"anyOf":[{"$ref":"#/$defs/InterviewRecord"},{"type":"null"}]},"error":{"anyOf":[{"$ref":"#/$defs/Failure"},{"type":"null"}],"default":null},"next_action":{"$ref":"#/$defs/NextAction"},"operation":{"anyOf":[{"$ref":"#/$defs/Operation"},{"type":"null"}],"default":null},"outcome":{"enum":["ready","pending","needs_input","conflict","failed"],"title":"Outcome","type":"string"},"revision":{"anyOf":[{"maximum":2147483647,"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"title":"Revision"},"website_url":{"anyOf":[{"maxLength":2048,"type":"string"},{"type":"null"}],"default":null,"title":"Website Url"}},"required":["outcome","data","next_action"],"title":"Result[InterviewRecord]","type":"object"},"title":"Create interview record"}}