{"openapi":"3.1.0","info":{"title":"applyapply","version":"0.47.0","description":"Find jobs that match a person and write tailored application kits. applyapply never submits an application: the person reviews and submits. Actions marked as costing credits spend the account balance.","contact":{"url":"https://applyapply.xyz/agents"}},"servers":[{"url":"https://applyapply.xyz"}],"security":[{"apiKey":[]}],"components":{"securitySchemes":{"apiKey":{"type":"http","scheme":"bearer","description":"A personal API key (aa_live_...) created at https://applyapply.xyz/setup"}}},"paths":{"/auth/me":{"get":{"summary":"Account email and credit balance","responses":{"200":{"description":"Account","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/profile":{"get":{"summary":"The saved profile","responses":{"200":{"description":"Profile","content":{"application/json":{"schema":{"type":"object"}}}}}},"post":{"summary":"Update profile fields; only the fields sent change","requestBody":{"description":"Profile fields","content":{"application/json":{"schema":{"type":"object","properties":{"first_name":{"type":"string"},"last_name":{"type":"string"},"phone":{"type":"string"},"linkedin":{"type":"string"},"location":{"type":"string"},"location_pref":{"type":"string","enum":["remote","hybrid","any"]},"target_roles":{"type":"string"},"salary":{"type":"string"},"work_authorization":{"type":"string","enum":["","yes","no"]},"sponsorship":{"type":"string","enum":["","yes","no"]},"bio":{"type":"string"}},"required":[]}}}},"responses":{"200":{"description":"Saved","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/source/catalog":{"get":{"summary":"Sources a run can use, with credit cost","responses":{"200":{"description":"Sources","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/source/run":{"post":{"summary":"Start a sourcing run (costs credits per source)","requestBody":{"description":"Sources to use","content":{"application/json":{"schema":{"type":"object","properties":{"sources":{"type":"array","items":{"type":"string"}}},"required":[]}}}},"responses":{"200":{"description":"Run started","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/source/status":{"get":{"summary":"Whether a run is active, and pipeline counts","responses":{"200":{"description":"Status","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/sourced":{"get":{"summary":"Jobs in the pipeline","parameters":[{"name":"status","in":"query","schema":{"type":"string","enum":["new","reviewed","applying","applied","skipped","rejected"]}}],"responses":{"200":{"description":"Jobs","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/sourced/status":{"post":{"summary":"Move a pipeline job to a status","requestBody":{"description":"Job and status","content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string"},"status":{"type":"string"}},"required":["url","status"]}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/generate":{"post":{"summary":"Write an application kit for a job URL (costs 10 credits; returns a saved kit free)","requestBody":{"description":"The job","content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string"},"force":{"type":"boolean","description":"Write a fresh kit even if one exists"},"note":{"type":"string","description":"A direction for this kit, e.g. lean on fintech work"}},"required":["url"]}}}},"responses":{"200":{"description":"The kit","content":{"application/json":{"schema":{"type":"object"}}}},"402":{"description":"Out of credits"},"422":{"description":"The posting could not be read; nothing saved or charged"}}}},"/application":{"get":{"summary":"The saved kit for a job URL","parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The kit","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/kit-link":{"post":{"summary":"A private page for a kit, with resume and cover letter PDFs","requestBody":{"description":"The job","content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string"}},"required":["url"]}}}},"responses":{"200":{"description":"Links","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/resume-tailor":{"post":{"summary":"Rewrite the tailored resume using saved answers (costs 8 credits)","requestBody":{"description":"The kit","content":{"application/json":{"schema":{"type":"object","properties":{"appId":{"type":"string"}},"required":["appId"]}}}},"responses":{"200":{"description":"The resume","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/cover-letter":{"post":{"summary":"Write a full cover letter (costs 8 credits)","requestBody":{"description":"The kit","content":{"application/json":{"schema":{"type":"object","properties":{"appId":{"type":"string"}},"required":["appId"]}}}},"responses":{"200":{"description":"The letter","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/interview":{"get":{"summary":"Everything the person has told us about their work","responses":{"200":{"description":"Saved answers","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/interview/context":{"post":{"summary":"Save the person's answer to a question","requestBody":{"description":"Question and answer","content":{"application/json":{"schema":{"type":"object","properties":{"question":{"type":"string"},"answer":{"type":"string"}},"required":["question","answer"]}}}},"responses":{"200":{"description":"Saved","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/feedback":{"post":{"summary":"Report something broken or missing in applyapply","requestBody":{"description":"The report","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"responses":{"200":{"description":"Received","content":{"application/json":{"schema":{"type":"object"}}}}}}}}}