Laddro DocsLaddro Docs

Optimaliseren

Optimaliseren

AI-gestuurde cv-optimalisatie. Herschrijft cv-secties om aan te sluiten bij een specifieke vacature.

CV Optimaliseren

POST /v1/tailor

Stuurt 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

VeldTypeVerplichtBeschrijving
resumeIdstringJaID van het te optimaliseren cv
jobDescriptionstringJaVolledige 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

StatusBeschrijving
400resumeId of jobDescription ontbreekt
401Ontbrekende of ongeldige API-sleutel
402Geen tegoed meer
404CV niet gevonden
422Vacatureomschrijving te kort of ongeldig

On this page