Skip to content

Get the master resume

GET
/api/master
curl --request GET \
--url http://127.0.0.1:8765/api/master

The master resume: every entry and line with its id, tags and evidence strength. The master resume is the user’s one document of every role, bullet, project and skill, with a stable id on every line and no contact data; a profile shows a selection of it and a tailoring for one job picks from all of it. master is null when there is none yet (build it with POST /api/master/migration, or gigai scout resume master init). Each entry: {id, section, heading, sublines, start, end, ongoing, bullets, order, note}. Each line: {id, section, kind: summary | bullet | skills | other, text, tags, backed, entry_id, order, strength: backed | quantified | stated, mark, note, written_by, source} (a Skills line also label, skills and skill_sources). strength is derived: backed when a story or an answer is linked, quantified when the line states a number. note (null when there is none) is one line of free text that says when a line or an entry is the one to use; it guides which lines are chosen, is never printed in a resume and is not part of mark. written_by (operator | agent) and source say who wrote the line’s text through these routes or gigai scout resume master add | edit, and where its evidence came from; both are null for a line that came with a file. revision is the number a write sends back. shown_by maps a line or entry id to the profiles whose selection shows it (profiles names them); current_revision is the newest revision’s number. file is the master’s file in the resumes folder (GET /api/resumes-folder): GigAI writes the stored master there as master.md after every change, and the user may edit it. state: current (exactly what GigAI last wrote), changed (not_imported true: it holds changes that are not in the master yet) or missing. revision is the revision GigAI last wrote into it, behind whether the master moved on since, beside the file that holds the newer revision meanwhile (master-2.md), action what POST /api/master/sync would do now (import, write, or null). No route reads the file by itself: only POST /api/master/sync imports it.

revision
integer

An earlier revision’s number (a tailored resume’s sources.master.revision); omitted = the current one.

Success.

Media typeapplication/json
object
schema_version
required
Allowed value: scout-master:1
key
additional properties
any
Example
{
"current_revision": 3,
"file": {
"action": "import",
"behind": false,
"beside": null,
"folder": "~/Documents/GigAI/resumes",
"master_revision": 3,
"name": "master.md",
"not_imported": true,
"path": "~/Documents/GigAI/resumes/master.md",
"revision": 3,
"schema_version": "scout-master-file:1",
"state": "changed"
},
"master": {
"content_sha256": "sha256:...",
"counts": {
"by_kind": {
"bullet": 1,
"other": 0,
"skills": 1,
"summary": 1
},
"by_strength": {
"backed": 0,
"quantified": 1,
"stated": 2
},
"entries": 1,
"ids": 4,
"items": 3,
"skills": 3
},
"entries": [
{
"bullets": [
"b-hex-03"
],
"end": 2023,
"heading": "Hexa Cloud",
"id": "r-hex",
"note": null,
"ongoing": false,
"order": 3,
"section": "experience",
"source": null,
"start": 2019,
"sublines": [
"Staff Software Engineer | Jun 2019 - Jan 2023"
],
"written_by": null
}
],
"format": 1,
"items": [
{
"backed": [],
"entry_id": "r-hex",
"id": "b-hex-03",
"kind": "bullet",
"mark": "5d0c2a4b9e1f7a36",
"note": "agentic roles: lead with this",
"order": 4,
"section": "experience",
"source": "from the user's chat on 3 Oct",
"strength": "quantified",
"tags": [
"delivery"
],
"text": "Led the migration of 40 services to Helm charts released through ArgoCD.",
"written_by": "agent"
}
],
"parent_revision": "revision_7c1d7b9a-0d58-4f0b-8f27-91f4f6f6a2c3",
"record_id": "record_...",
"revision": 3,
"revision_id": "revision_0b6f2f0e-5a0e-4c58-9a57-2d1b6a0c1e11",
"revisions": 3,
"sections": [
"summary",
"experience",
"skills"
],
"updated_at": "2026-10-04T10:05:00.000000Z",
"written_by": "operator"
},
"profiles": [
{
"label": "Staff Engineer",
"profile_id": "prof_1",
"state": "active"
}
],
"schema_version": "scout-master:1",
"shown_by": {
"b-hex-03": [
"prof_1"
]
}
}

Forbidden / forbidden_origin: loopback peer and Host 127.0.0.1:<port> or localhost:<port> only (Origin too on writes).

Media typeapplication/json
object
error
required
object
allowed_keys
Array<string>
code
required
string
message
required
string
key
additional properties
any
Examplegenerated
{
"error": {
"allowed_keys": [
"example"
],
"code": "example",
"message": "example"
}
}

Master_revision_not_found, target_unavailable

Media typeapplication/json
object
error
required
object
allowed_keys
Array<string>
code
required
string
message
required
string
key
additional properties
any
Example
{
"error": {
"code": "master_revision_not_found",
"message": "..."
}
}

Unknown_key, invalid_value

Media typeapplication/json
object
error
required
object
allowed_keys
Array<string>
code
required
string
message
required
string
key
additional properties
any
Example
{
"error": {
"code": "unknown_key",
"message": "..."
}
}