Optimaliseren
Optimaliseren
AI-gestuurde cv-optimalisatie. Herschrijft cv-secties om aan te sluiten bij een specifieke vacature.
CV Optimaliseren
POST /v1/tailorStuurt een cv en vacatureomschrijving naar de AI-engine, die op maat gemaakte suggesties retourneert voor elke cv-sectie. Ondersteunt SSE-streaming voor realtime antwoorden.
Verzoekbody
| Veld | Type | Verplicht | Beschrijving |
|---|---|---|---|
resumeId | string | Ja | ID van het te optimaliseren cv |
jobDescription | string | Ja | Volledige vacatureomschrijving als tekst of URL |
Standaard Verzoek
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..."
}'Standaard Antwoord
{
"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"]
}
}
}Streaming Verzoek (SSE)
Voeg Accept: text/event-stream toe om resultaten te ontvangen terwijl ze worden gegenereerd:
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 Antwoord
data: {"type":"section","section":"summary","content":"Senior frontend..."}
data: {"type":"section","section":"experience","content":"..."}
data: {"type":"done"}Zie de Streaming-handleiding voor implementatiepatronen.
Fouten
| Status | Beschrijving |
|---|---|
400 | resumeId of jobDescription ontbreekt |
401 | Ontbrekende of ongeldige API-sleutel |
402 | Geen tegoed meer |
404 | CV niet gevonden |
422 | Vacatureomschrijving te kort of ongeldig |