list_selections
List a person's selection records
All MCP toolsRead
Start with this to see where the person's selection records stand — most recently changed first, each with the job title (null on the agreed terms, where jobPublished is false and agreementId names the terms), the no-longer-published marker (jobPublished: false), current state, and the profile version pinned when the record opened. Every employer this person is in selection with is in the one list — a person belongs to no organization. An unknown person yields an empty list. Paginated by keyset cursor: pass the returned nextCursor as the next call's cursor to continue; null nextCursor = the final page.
Input schema
{
"type": "object",
"properties": {
"personId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "The person whose selection records to list (persons.id)."
},
"limit": {
"description": "Page size, 1..50 (default 20).",
"type": "integer",
"minimum": 1,
"maximum": 50
},
"cursor": {
"description": "Opaque continuation token — the previous page's nextCursor. Omit for the first page.",
"type": "string",
"minLength": 1
}
},
"required": [
"personId"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Output schema
{
"type": "object",
"properties": {
"selections": {
"type": "array",
"items": {
"type": "object",
"properties": {
"candidacyId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "The selection record (candidacies.id)."
},
"jobId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"description": "The job this selection record is on (jobs.id) when the seat is a job's; null on the agreed terms."
},
"agreementId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
],
"description": "The agreed terms this selection record is on (agreements.id) when the seat is the agreement's; null on a job seat — exactly one of jobId / agreementId is set (ADR-0229)."
},
"origin": {
"type": "string",
"enum": [
"external"
],
"description": "Candidacy origin: \"external\" (the selection record opened from outside the organization). The state machine never conditions on it."
},
"state": {
"type": "string",
"enum": [
"applied",
"screening_passed",
"interviewing",
"offered",
"accepted",
"converted",
"withdrawn",
"declined"
],
"description": "Candidacy state: the active pipeline \"applied\" → \"screening_passed\" → \"interviewing\" → \"offered\" → \"accepted\" → \"converted\", plus the terminal negatives \"withdrawn\" (seeker-initiated) and \"declined\" (hirer-initiated)."
},
"profileVersion": {
"anyOf": [
{
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
{
"type": "null"
}
],
"description": "The profile_versions.version pinned when the record opened (int >= 1); null when the person had no profile version yet."
},
"appliedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
"description": "When the selection record opened (applied), ISO 8601 datetime (UTC)."
},
"stateChangedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
"description": "When the current state was entered, ISO 8601 datetime (UTC)."
},
"jobTitle": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "The job's title at read time; null on the agreed terms."
},
"jobPublished": {
"type": "boolean",
"description": "Published ⇔ true (the ADR-0082 visibility fact) — false marks a no-longer-published job, and is always false on the agreed terms (no posting)."
}
},
"required": [
"candidacyId",
"jobId",
"agreementId",
"origin",
"state",
"profileVersion",
"appliedAt",
"stateChangedAt",
"jobTitle",
"jobPublished"
],
"additionalProperties": false,
"description": "One selection record on the person's own list, with the job title and published flag — both null / false on the agreed terms."
},
"description": "One page of the person's selection records, state_changed_at desc."
},
"nextCursor": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Pass as the next call's cursor to continue; null on the final page."
}
},
"required": [
"selections",
"nextCursor"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}