# Parse a PDF into resume data

Extracts structured resume data from the rendered page images of a PDF. Pages are rendered to base64-encoded PNG images client-side and sent as an array. Runs on Hiresweep AI and uses one AI action. Returns a complete ResumeData object. Requires authentication.

```http
POST https://hiresweep.com/api/openapi/ai/parse-pdf
x-api-key: YOUR_API_KEY
```

## Request body

```json
{
  "type": "object",
  "properties": {
    "images": {
      "type": "array",
      "minItems": 1,
      "maxItems": 16,
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 8388612
      }
    }
  },
  "required": [
    "images"
  ]
}
```

## Responses

- `200`: The PDF was successfully parsed into structured resume data.
- `400`: 400
- `402`: 402
- `413`: 413
- `502`: 502
