Get the PDF layout settings
GET
/api/resume-display
const url = 'http://127.0.0.1:8765/api/resume-display';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://127.0.0.1:8765/api/resume-displayThe saved PDF layout (per-profile title, spacing, auto fit). GigAI stores no name or contact details (they are typed in the Generate PDF form for one PDF), so this carries none. The Host header must match the bound server. spacing_scale and auto_fit read as 1.0 and true until saved.
Responses
Section titled “Responses”Success.
Media typeapplication/json
object
key
additional properties
any
Example
{ "auto_fit": true, "saved": false, "spacing_scale": 1, "title": "", "titles": {}}Forbidden_origin
Media typeapplication/json
object
error
required
object
allowed_keys
Array<string>
code
required
string
message
required
string
key
additional properties
any
Example
{ "error": { "code": "forbidden_origin", "message": "..." }}