Kohandamine
Kohandamine
AI-põhine CV kohandamine. Kirjutab CV sektsioone ümber konkreetse töökirjelduse jaoks.
Kohanda CV-d
POST /v1/tailorSaadab CV ja töökirjelduse AI-mootorile, mis tagastab kohandatud soovitused iga CV sektsiooni jaoks. Toetab SSE-voogedastust reaalajas vastuste saamiseks.
Päringu keha
| Väli | Tüüp | Kohustuslik | Kirjeldus |
|---|---|---|---|
resumeId | string | Jah | Kohandatava CV ID |
jobDescription | string | Jah | Täielik töökirjelduse tekst või URL |
Standardpäring
curl https://api.laddro.com/v1/tailor \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"resumeId": "res_abc123",
"jobDescription": "We are looking for a Senior Frontend Engineer with 5+ years of React experience..."
}'Standardvastus
{
"data": {
"suggestions": {
"summary": "Senior frontend engineer with 6 years of React expertise...",
"experience": [
{
"index": 0,
"original": "Built web applications",
"tailored": "Architected and shipped 3 production React applications serving 50K+ users"
}
],
"skills": ["React", "TypeScript", "Next.js", "Tailwind CSS"]
}
}
}Voogedastuspäring (SSE)
Lisa Accept: text/event-stream, et saada tulemusi jooksvalt genereerimise käigus:
curl https://api.laddro.com/v1/tailor \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-H "Accept: text/event-stream" \
-d '{
"resumeId": "res_abc123",
"jobDescription": "Senior Frontend Engineer..."
}'SSE vastus
data: {"type":"section","section":"summary","content":"Senior frontend..."}
data: {"type":"section","section":"experience","content":"..."}
data: {"type":"done"}Vaata Voogedastuse juhend rakendusmustrite kohta.
Vead
| Staatus | Kirjeldus |
|---|---|
400 | Puudub resumeId või jobDescription |
401 | Puuduv või kehtetu API-võti |
402 | Krediite pole alles |
404 | CV-d ei leitud |
422 | Töökirjeldus liiga lühike või vigane |