Outcome
Score up to 25 contacts 0-100 against an ideal-customer brief through the Nexus AI gateway as the signed-in person (spends organization AI budget). Give exactly one of contactIds or listId (the first 25 active members not yet qualified against this brief, or qualified over 30 days ago). The model sees only name, title, company, domain, country and custom fields, is told to invent nothing, and returns fit strong|possible|poor with reasons and missing information. Each contact's latest result is stored (see contacts.qualifications.get); a contact whose reply is unusable is marked failed while the rest continue. Never enrolls a contact or changes contactability. Errors: 422 invalid_target, 404 list not_found, 401 unauthenticated, 409 ai_unavailable, 403 ai_access_denied, 409 ai_not_enabled.
Before you start
- Verify the intended environment, signed-in credential, authorized organization and the action permission workspace:write.
- Discover and select an authorized canonical Engage workspace. Pass resourceType=workspace and resourceId separately from action input.
- Review the exact effects and obtain approval before CLI --confirm or MCP confirm:true. A local capture does not authorize a live mutation.
Discover the target
topolo whoami --json
topolo actions get app_topolo_engage.contacts.qualify --json
topolo workspaces list topolo-engage --json
Set ENGAGE_WORKSPACE_ID to the identifier of the selected authorized workspace.
Input contract
| Field | Required | Declared constraints |
|---|---|---|
brief | Yes | {"type":"string","minLength":1,"maxLength":2000} |
contactIds | No | {"minItems":1,"maxItems":25,"type":"array","items":{"type":"string","minLength":1,"maxLength":128}} |
listId | No | {"type":"string","minLength":1,"maxLength":128} |
criteria | No | {"maxItems":10,"type":"array","items":{"type":"string","minLength":1,"maxLength":300}} |
Validate, plan and execute
Build payload.json from the current schema and discovered identifiers. The action description above defines its behavior, limits, side effects and declared errors.
: "${ENGAGE_WORKSPACE_ID:?Set ENGAGE_WORKSPACE_ID to your selected workspace identifier}"
topolo actions validate app_topolo_engage.contacts.qualify --data @payload.json --json
topolo actions plan app_topolo_engage.contacts.qualify --resource-type workspace --resource-id "$ENGAGE_WORKSPACE_ID" --data @payload.json --confirm --json
Review the plan and approve its exact effects before executing the unchanged request.
: "${ENGAGE_WORKSPACE_ID:?Set ENGAGE_WORKSPACE_ID to your selected workspace identifier}"
topolo actions call app_topolo_engage.contacts.qualify --resource-type workspace --resource-id "$ENGAGE_WORKSPACE_ID" --data @payload.json --confirm --json
For MCP, use topolo_get_action, topolo_validate_action, topolo_plan_action and topolo_call_action. Pass resource context separately where required; confirm:true is required for mutations.
Captured successful requests and responses
Captured HTTP 200 · contacts.qualify > scores the given contacts as the person, stores the latest result and audits counts and the brief hash only
Action input
{
"brief": "UK fintech CTOs",
"contactIds": [
"contact_1",
"contact_1"
],
"criteria": [
"Technical buyer"
]
}
Actual local response
{
"results": [
{
"contactId": "contact_1",
"status": "qualified",
"qualification": {
"contactId": "contact_1",
"score": 82,
"fit": "strong",
"reasons": [
"CTO at Acme"
],
"missingInfo": [
"Headcount"
],
"briefHash": "65ed5d8cb4b7b8e161c081d2a1da47e7013095e7f1bab5c5f5716b0b6252500d",
"model": "@cf/reported/model",
"qualifiedAt": "2026-10-01T00:00:00.000Z",
"qualifiedBy": "user_1"
},
"error": null
}
],
"qualified": 1,
"failed": 0,
"skipped": 0,
"briefHash": "65ed5d8cb4b7b8e161c081d2a1da47e7013095e7f1bab5c5f5716b0b6252500d"
}
Source test: qualification-routes.test.ts. Actual route handlers with SQLite repositories; synthetic identity/workspace grants and provider ports.
Captured HTTP 200 · contacts.qualify > isolates per-contact failures: unusable replies and upstream errors fail only that contact; unknown and archived ones are skipped
Action input
{
"brief": "UK fintech CTOs",
"contactIds": [
"contact_1",
"contact_2",
"contact_3",
"contact_4",
"eng_ct_missing"
]
}
Actual local response
{
"results": [
{
"contactId": "contact_1",
"status": "qualified",
"qualification": {
"contactId": "contact_1",
"score": 82,
"fit": "strong",
"reasons": [
"CTO at Acme"
],
"missingInfo": [
"Headcount"
],
"briefHash": "237910936fe01ef9f6ef7a0aea977aef110786bf912acfc8136f33f6ea9606b6",
"model": "@cf/reported/model",
"qualifiedAt": "2026-10-01T00:00:00.000Z",
"qualifiedBy": "user_1"
},
"error": null
},
{
"contactId": "contact_2",
"status": "failed",
"qualification": null,
"error": "unparsable"
},
{
"contactId": "contact_3",
"status": "failed",
"qualification": null,
"error": "empty_completion"
},
{
"contactId": "contact_4",
"status": "skipped",
"qualification": null,
"error": "archived"
},
{
"contactId": "eng_ct_missing",
"status": "skipped",
"qualification": null,
"error": "not_found"
}
],
"qualified": 1,
"failed": 2,
"skipped": 2,
"briefHash": "237910936fe01ef9f6ef7a0aea977aef110786bf912acfc8136f33f6ea9606b6"
}
Source test: qualification-routes.test.ts. Actual route handlers with SQLite repositories; synthetic identity/workspace grants and provider ports.
Captured HTTP 200 · contacts.qualify > qualifies a list's first unqualified or stale active members, bounded to 25
Action input
{
"brief": "UK fintech CTOs",
"listId": "list_1"
}
Actual local response
{
"results": [
{
"contactId": "contact_1",
"status": "qualified",
"qualification": {
"contactId": "contact_1",
"score": 82,
"fit": "strong",
"reasons": [
"CTO at Acme"
],
"missingInfo": [
"Headcount"
],
"briefHash": "237910936fe01ef9f6ef7a0aea977aef110786bf912acfc8136f33f6ea9606b6",
"model": "@cf/reported/model",
"qualifiedAt": "2026-10-01T00:00:00.000Z",
"qualifiedBy": "user_1"
},
"error": null
},
{
"contactId": "contact_10",
"status": "qualified",
"qualification": {
"contactId": "contact_10",
"score": 82,
"fit": "strong",
"reasons": [
"CTO at Acme"
],
"missingInfo": [
"Headcount"
],
"briefHash": "237910936fe01ef9f6ef7a0aea977aef110786bf912acfc8136f33f6ea9606b6",
"model": "@cf/reported/model",
"qualifiedAt": "2026-10-01T00:00:00.000Z",
"qualifiedBy": "user_1"
},
"error": null
},
{
"contactId": "contact_11",
"status": "qualified",
"qualification": {
"contactId": "contact_11",
"score": 82,
"fit": "strong",
"reasons": [
"CTO at Acme"
],
"missingInfo": [
"Headcount"
],
"briefHash": "237910936fe01ef9f6ef7a0aea977aef110786bf912acfc8136f33f6ea9606b6",
"model": "@cf/reported/model",
"qualifiedAt": "2026-10-01T00:00:00.000Z",
"qualifiedBy": "user_1"
},
"error": null
},
{
"contactId": "contact_12",
"status": "qualified",
"qualification": {
"contactId": "contact_12",
"score": 82,
"fit": "strong",
"reasons": [
"CTO at Acme"
],
"missingInfo": [
"Headcount"
],
"briefHash": "237910936fe01ef9f6ef7a0aea977aef110786bf912acfc8136f33f6ea9606b6",
"model": "@cf/reported/model",
"qualifiedAt": "2026-10-01T00:00:00.000Z",
"qualifiedBy": "user_1"
},
"error": null
},
{
"contactId": "contact_13",
"status": "qualified",
"qualification": {
"contactId": "contact_13",
"score": 82,
"fit": "strong",
"reasons": [
"CTO at Acme"
],
"missingInfo": [
"Headcount"
],
"briefHash": "237910936fe01ef9f6ef7a0aea977aef110786bf912acfc8136f33f6ea9606b6",
"model": "@cf/reported/model",
"qualifiedAt": "2026-10-01T00:00:00.000Z",
"qualifiedBy": "user_1"
},
"error": null
},
{
"contactId": "contact_14",
"status": "qualified",
"qualification": {
"contactId": "contact_14",
"score": 82,
"fit": "strong",
"reasons": [
"CTO at Acme"
],
"missingInfo": [
"Headcount"
],
"briefHash": "237910936fe01ef9f6ef7a0aea977aef110786bf912acfc8136f33f6ea9606b6",
"model": "@cf/reported/model",
"qualifiedAt": "2026-10-01T00:00:00.000Z",
"qualifiedBy": "user_1"
},
"error": null
},
{
"contactId": "contact_15",
"status": "qualified",
"qualification": {
"contactId": "contact_15",
"score": 82,
"fit": "strong",
"reasons": [
"CTO at Acme"
],
"missingInfo": [
"Headcount"
],
"briefHash": "237910936fe01ef9f6ef7a0aea977aef110786bf912acfc8136f33f6ea9606b6",
"model": "@cf/reported/model",
"qualifiedAt": "2026-10-01T00:00:00.000Z",
"qualifiedBy": "user_1"
},
"error": null
},
{
"contactId": "contact_16",
"status": "qualified",
"qualification": {
"contactId": "contact_16",
"score": 82,
"fit": "strong",
"reasons": [
"CTO at Acme"
],
"missingInfo": [
"Headcount"
],
"briefHash": "237910936fe01ef9f6ef7a0aea977aef110786bf912acfc8136f33f6ea9606b6",
"model": "@cf/reported/model",
"qualifiedAt": "2026-10-01T00:00:00.000Z",
"qualifiedBy": "user_1"
},
"error": null
},
{
"contactId": "contact_17",
"status": "qualified",
"qualification": {
"contactId": "contact_17",
"score": 82,
"fit": "strong",
"reasons": [
"CTO at Acme"
],
"missingInfo": [
"Headcount"
],
"briefHash": "237910936fe01ef9f6ef7a0aea977aef110786bf912acfc8136f33f6ea9606b6",
"model": "@cf/reported/model",
"qualifiedAt": "2026-10-01T00:00:00.000Z",
"qualifiedBy": "user_1"
},
"error": null
},
{
"contactId": "contact_18",
"status": "qualified",
"qualification": {
"contactId": "contact_18",
"score": 82,
"fit": "strong",
"reasons": [
"CTO at Acme"
],
"missingInfo": [
"Headcount"
],
"briefHash": "237910936fe01ef9f6ef7a0aea977aef110786bf912acfc8136f33f6ea9606b6",
"model": "@cf/reported/model",
"qualifiedAt": "2026-10-01T00:00:00.000Z",
"qualifiedBy": "user_1"
},
"error": null
},
{
"contactId": "contact_19",
"status": "qualified",
"qualification": {
"contactId": "contact_19",
"score": 82,
"fit": "strong",
"reasons": [
"CTO at Acme"
],
"missingInfo": [
"Headcount"
],
"briefHash": "237910936fe01ef9f6ef7a0aea977aef110786bf912acfc8136f33f6ea9606b6",
"model": "@cf/reported/model",
"qualifiedAt": "2026-10-01T00:00:00.000Z",
"qualifiedBy": "user_1"
},
"error": null
},
{
"contactId": "contact_2",
"status": "qualified",
"qualification": {
"contactId": "contact_2",
"score": 82,
"fit": "strong",
"reasons": [
"CTO at Acme"
],
"missingInfo": [
"Headcount"
],
"briefHash": "237910936fe01ef9f6ef7a0aea977aef110786bf912acfc8136f33f6ea9606b6",
"model": "@cf/reported/model",
"qualifiedAt": "2026-10-01T00:00:00.000Z",
"qualifiedBy": "user_1"
},
"error": null
},
{
"contactId": "contact_20",
"status": "qualified",
"qualification": {
"contactId": "contact_20",
"score": 82,
"fit": "strong",
"reasons": [
"CTO at Acme"
],
"missingInfo": [
"Headcount"
],
"briefHash": "237910936fe01ef9f6ef7a0aea977aef110786bf912acfc8136f33f6ea9606b6",
"model": "@cf/reported/model",
"qualifiedAt": "2026-10-01T00:00:00.000Z",
"qualifiedBy": "user_1"
},
"error": null
},
{
"contactId": "contact_21",
"status": "qualified",
"qualification": {
"contactId": "contact_21",
"score": 82,
"fit": "strong",
"reasons": [
"CTO at Acme"
],
"missingInfo": [
"Headcount"
],
"briefHash": "237910936fe01ef9f6ef7a0aea977aef110786bf912acfc8136f33f6ea9606b6",
"model": "@cf/reported/model",
"qualifiedAt": "2026-10-01T00:00:00.000Z",
"qualifiedBy": "user_1"
},
"error": null
},
{
"contactId": "contact_22",
"status": "qualified",
"qualification": {
"contactId": "contact_22",
"score": 82,
"fit": "strong",
"reasons": [
"CTO at Acme"
],
"missingInfo": [
"Headcount"
],
"briefHash": "237910936fe01ef9f6ef7a0aea977aef110786bf912acfc8136f33f6ea9606b6",
"model": "@cf/reported/model",
"qualifiedAt": "2026-10-01T00:00:00.000Z",
"qualifiedBy": "user_1"
},
"error": null
},
{
"contactId": "contact_23",
"status": "qualified",
"qualification": {
"contactId": "contact_23",
"score": 82,
"fit": "strong",
"reasons": [
"CTO at Acme"
],
"missingInfo": [
"Headcount"
],
"briefHash": "237910936fe01ef9f6ef7a0aea977aef110786bf912acfc8136f33f6ea9606b6",
"model": "@cf/reported/model",
"qualifiedAt": "2026-10-01T00:00:00.000Z",
"qualifiedBy": "user_1"
},
"error": null
},
{
"contactId": "contact_24",
"status": "qualified",
"qualification": {
"contactId": "contact_24",
"score": 82,
"fit": "strong",
"reasons": [
"CTO at Acme"
],
"missingInfo": [
"Headcount"
],
"briefHash": "237910936fe01ef9f6ef7a0aea977aef110786bf912acfc8136f33f6ea9606b6",
"model": "@cf/reported/model",
"qualifiedAt": "2026-10-01T00:00:00.000Z",
"qualifiedBy": "user_1"
},
"error": null
},
{
"contactId": "contact_25",
"status": "qualified",
"qualification": {
"contactId": "contact_25",
"score": 82,
"fit": "strong",
"reasons": [
"CTO at Acme"
],
"missingInfo": [
"Headcount"
],
"briefHash": "237910936fe01ef9f6ef7a0aea977aef110786bf912acfc8136f33f6ea9606b6",
"model": "@cf/reported/model",
"qualifiedAt": "2026-10-01T00:00:00.000Z",
"qualifiedBy": "user_1"
},
"error": null
},
{
"contactId": "contact_26",
"status": "qualified",
"qualification": {
"contactId": "contact_26",
"score": 82,
"fit": "strong",
"reasons": [
"CTO at Acme"
],
"missingInfo": [
"Headcount"
],
"briefHash": "237910936fe01ef9f6ef7a0aea977aef110786bf912acfc8136f33f6ea9606b6",
"model": "@cf/reported/model",
"qualifiedAt": "2026-10-01T00:00:00.000Z",
"qualifiedBy": "user_1"
},
"error": null
},
{
"contactId": "contact_27",
"status": "qualified",
"qualification": {
"contactId": "contact_27",
"score": 82,
"fit": "strong",
"reasons": [
"CTO at Acme"
],
"missingInfo": [
"Headcount"
],
"briefHash": "237910936fe01ef9f6ef7a0aea977aef110786bf912acfc8136f33f6ea9606b6",
"model": "@cf/reported/model",
"qualifiedAt": "2026-10-01T00:00:00.000Z",
"qualifiedBy": "user_1"
},
"error": null
},
{
"contactId": "contact_28",
"status": "qualified",
"qualification": {
"contactId": "contact_28",
"score": 82,
"fit": "strong",
"reasons": [
"CTO at Acme"
],
"missingInfo": [
"Headcount"
],
"briefHash": "237910936fe01ef9f6ef7a0aea977aef110786bf912acfc8136f33f6ea9606b6",
"model": "@cf/reported/model",
"qualifiedAt": "2026-10-01T00:00:00.000Z",
"qualifiedBy": "user_1"
},
"error": null
},
{
"contactId": "contact_3",
"status": "qualified",
"qualification": {
"contactId": "contact_3",
"score": 82,
"fit": "strong",
"reasons": [
"CTO at Acme"
],
"missingInfo": [
"Headcount"
],
"briefHash": "237910936fe01ef9f6ef7a0aea977aef110786bf912acfc8136f33f6ea9606b6",
"model": "@cf/reported/model",
"qualifiedAt": "2026-10-01T00:00:00.000Z",
"qualifiedBy": "user_1"
},
"error": null
},
{
"contactId": "contact_4",
"status": "qualified",
"qualification": {
"contactId": "contact_4",
"score": 82,
"fit": "strong",
"reasons": [
"CTO at Acme"
],
"missingInfo": [
"Headcount"
],
"briefHash": "237910936fe01ef9f6ef7a0aea977aef110786bf912acfc8136f33f6ea9606b6",
"model": "@cf/reported/model",
"qualifiedAt": "2026-10-01T00:00:00.000Z",
"qualifiedBy": "user_1"
},
"error": null
},
{
"contactId": "contact_5",
"status": "qualified",
"qualification": {
"contactId": "contact_5",
"score": 82,
"fit": "strong",
"reasons": [
"CTO at Acme"
],
"missingInfo": [
"Headcount"
],
"briefHash": "237910936fe01ef9f6ef7a0aea977aef110786bf912acfc8136f33f6ea9606b6",
"model": "@cf/reported/model",
"qualifiedAt": "2026-10-01T00:00:00.000Z",
"qualifiedBy": "user_1"
},
"error": null
},
{
"contactId": "contact_6",
"status": "qualified",
"qualification": {
"contactId": "contact_6",
"score": 82,
"fit": "strong",
"reasons": [
"CTO at Acme"
],
"missingInfo": [
"Headcount"
],
"briefHash": "237910936fe01ef9f6ef7a0aea977aef110786bf912acfc8136f33f6ea9606b6",
"model": "@cf/reported/model",
"qualifiedAt": "2026-10-01T00:00:00.000Z",
"qualifiedBy": "user_1"
},
"error": null
}
],
"qualified": 25,
"failed": 0,
"skipped": 0,
"briefHash": "237910936fe01ef9f6ef7a0aea977aef110786bf912acfc8136f33f6ea9606b6"
}
Source test: qualification-routes.test.ts. Actual route handlers with SQLite repositories; synthetic identity/workspace grants and provider ports.
Captured HTTP 200 · contacts.qualifications.get > never changes contactability or enrolls: qualifying writes only the qualification table
Action input
{
"brief": "UK fintech CTOs",
"contactIds": [
"contact_1"
]
}
Actual local response
{
"results": [
{
"contactId": "contact_1",
"status": "qualified",
"qualification": {
"contactId": "contact_1",
"score": 82,
"fit": "strong",
"reasons": [
"CTO at Acme"
],
"missingInfo": [
"Headcount"
],
"briefHash": "237910936fe01ef9f6ef7a0aea977aef110786bf912acfc8136f33f6ea9606b6",
"model": "@cf/reported/model",
"qualifiedAt": "2026-10-01T00:00:00.000Z",
"qualifiedBy": "user_1"
},
"error": null
}
],
"qualified": 1,
"failed": 0,
"skipped": 0,
"briefHash": "237910936fe01ef9f6ef7a0aea977aef110786bf912acfc8136f33f6ea9606b6"
}
Source test: qualification-routes.test.ts. Actual route handlers with SQLite repositories; synthetic identity/workspace grants and provider ports.
Captured HTTP 200 · contacts.qualify > scores the given contacts as the person, stores the latest result and audits counts and the brief hash only
Action input
{
"brief": "UK fintech CTOs",
"contactIds": [
"contact_1"
]
}
Actual local response
{
"results": [
{
"contactId": "contact_1",
"status": "qualified",
"qualification": {
"contactId": "contact_1",
"score": 20,
"fit": "poor",
"reasons": [],
"missingInfo": [],
"briefHash": "237910936fe01ef9f6ef7a0aea977aef110786bf912acfc8136f33f6ea9606b6",
"model": "@cf/reported/model",
"qualifiedAt": "2026-10-01T00:00:00.000Z",
"qualifiedBy": "user_1"
},
"error": null
}
],
"qualified": 1,
"failed": 0,
"skipped": 0,
"briefHash": "237910936fe01ef9f6ef7a0aea977aef110786bf912acfc8136f33f6ea9606b6"
}
Source test: qualification-routes.test.ts. Actual route handlers with SQLite repositories; synthetic identity/workspace grants and provider ports.
Captured HTTP 200 · contacts.qualify > isolates per-contact failures: unusable replies and upstream errors fail only that contact; unknown and archived ones are skipped
Action input
{
"brief": "UK fintech CTOs",
"contactIds": [
"contact_1"
]
}
Actual local response
{
"results": [
{
"contactId": "contact_1",
"status": "failed",
"qualification": null,
"error": "http_500"
}
],
"qualified": 0,
"failed": 1,
"skipped": 0,
"briefHash": "237910936fe01ef9f6ef7a0aea977aef110786bf912acfc8136f33f6ea9606b6"
}
Source test: qualification-routes.test.ts. Actual route handlers with SQLite repositories; synthetic identity/workspace grants and provider ports.
Captured HTTP 200 · contacts.qualify > qualifies a list's first unqualified or stale active members, bounded to 25
Action input
{
"brief": "UK fintech CTOs",
"listId": "list_1"
}
Actual local response
{
"results": [
{
"contactId": "contact_7",
"status": "qualified",
"qualification": {
"contactId": "contact_7",
"score": 82,
"fit": "strong",
"reasons": [
"CTO at Acme"
],
"missingInfo": [
"Headcount"
],
"briefHash": "237910936fe01ef9f6ef7a0aea977aef110786bf912acfc8136f33f6ea9606b6",
"model": "@cf/reported/model",
"qualifiedAt": "2026-10-01T00:00:00.000Z",
"qualifiedBy": "user_1"
},
"error": null
},
{
"contactId": "contact_8",
"status": "qualified",
"qualification": {
"contactId": "contact_8",
"score": 82,
"fit": "strong",
"reasons": [
"CTO at Acme"
],
"missingInfo": [
"Headcount"
],
"briefHash": "237910936fe01ef9f6ef7a0aea977aef110786bf912acfc8136f33f6ea9606b6",
"model": "@cf/reported/model",
"qualifiedAt": "2026-10-01T00:00:00.000Z",
"qualifiedBy": "user_1"
},
"error": null
},
{
"contactId": "contact_9",
"status": "qualified",
"qualification": {
"contactId": "contact_9",
"score": 82,
"fit": "strong",
"reasons": [
"CTO at Acme"
],
"missingInfo": [
"Headcount"
],
"briefHash": "237910936fe01ef9f6ef7a0aea977aef110786bf912acfc8136f33f6ea9606b6",
"model": "@cf/reported/model",
"qualifiedAt": "2026-10-01T00:00:00.000Z",
"qualifiedBy": "user_1"
},
"error": null
}
],
"qualified": 3,
"failed": 0,
"skipped": 0,
"briefHash": "237910936fe01ef9f6ef7a0aea977aef110786bf912acfc8136f33f6ea9606b6"
}
Source test: qualification-routes.test.ts. Actual route handlers with SQLite repositories; synthetic identity/workspace grants and provider ports.
Captured HTTP 200 · contacts.qualify > qualifies a list's first unqualified or stale active members, bounded to 25
Action input
{
"brief": "UK fintech CTOs",
"listId": "list_1"
}
Actual local response
{
"results": [],
"qualified": 0,
"failed": 0,
"skipped": 0,
"briefHash": "237910936fe01ef9f6ef7a0aea977aef110786bf912acfc8136f33f6ea9606b6"
}
Source test: qualification-routes.test.ts. Actual route handlers with SQLite repositories; synthetic identity/workspace grants and provider ports.
Captured HTTP 200 · contacts.qualify > qualifies a list's first unqualified or stale active members, bounded to 25
Action input
{
"brief": "Another brief",
"listId": "list_1"
}
Actual local response
{
"results": [
{
"contactId": "contact_1",
"status": "qualified",
"qualification": {
"contactId": "contact_1",
"score": 82,
"fit": "strong",
"reasons": [
"CTO at Acme"
],
"missingInfo": [
"Headcount"
],
"briefHash": "4989c88f7002300f4598d4af7b7e23fdfd33348d994829422be2e5bd49b741e5",
"model": "@cf/reported/model",
"qualifiedAt": "2026-10-01T00:00:00.000Z",
"qualifiedBy": "user_1"
},
"error": null
},
{
"contactId": "contact_10",
"status": "qualified",
"qualification": {
"contactId": "contact_10",
"score": 82,
"fit": "strong",
"reasons": [
"CTO at Acme"
],
"missingInfo": [
"Headcount"
],
"briefHash": "4989c88f7002300f4598d4af7b7e23fdfd33348d994829422be2e5bd49b741e5",
"model": "@cf/reported/model",
"qualifiedAt": "2026-10-01T00:00:00.000Z",
"qualifiedBy": "user_1"
},
"error": null
},
{
"contactId": "contact_11",
"status": "qualified",
"qualification": {
"contactId": "contact_11",
"score": 82,
"fit": "strong",
"reasons": [
"CTO at Acme"
],
"missingInfo": [
"Headcount"
],
"briefHash": "4989c88f7002300f4598d4af7b7e23fdfd33348d994829422be2e5bd49b741e5",
"model": "@cf/reported/model",
"qualifiedAt": "2026-10-01T00:00:00.000Z",
"qualifiedBy": "user_1"
},
"error": null
},
{
"contactId": "contact_12",
"status": "qualified",
"qualification": {
"contactId": "contact_12",
"score": 82,
"fit": "strong",
"reasons": [
"CTO at Acme"
],
"missingInfo": [
"Headcount"
],
"briefHash": "4989c88f7002300f4598d4af7b7e23fdfd33348d994829422be2e5bd49b741e5",
"model": "@cf/reported/model",
"qualifiedAt": "2026-10-01T00:00:00.000Z",
"qualifiedBy": "user_1"
},
"error": null
},
{
"contactId": "contact_13",
"status": "qualified",
"qualification": {
"contactId": "contact_13",
"score": 82,
"fit": "strong",
"reasons": [
"CTO at Acme"
],
"missingInfo": [
"Headcount"
],
"briefHash": "4989c88f7002300f4598d4af7b7e23fdfd33348d994829422be2e5bd49b741e5",
"model": "@cf/reported/model",
"qualifiedAt": "2026-10-01T00:00:00.000Z",
"qualifiedBy": "user_1"
},
"error": null
},
{
"contactId": "contact_14",
"status": "qualified",
"qualification": {
"contactId": "contact_14",
"score": 82,
"fit": "strong",
"reasons": [
"CTO at Acme"
],
"missingInfo": [
"Headcount"
],
"briefHash": "4989c88f7002300f4598d4af7b7e23fdfd33348d994829422be2e5bd49b741e5",
"model": "@cf/reported/model",
"qualifiedAt": "2026-10-01T00:00:00.000Z",
"qualifiedBy": "user_1"
},
"error": null
},
{
"contactId": "contact_15",
"status": "qualified",
"qualification": {
"contactId": "contact_15",
"score": 82,
"fit": "strong",
"reasons": [
"CTO at Acme"
],
"missingInfo": [
"Headcount"
],
"briefHash": "4989c88f7002300f4598d4af7b7e23fdfd33348d994829422be2e5bd49b741e5",
"model": "@cf/reported/model",
"qualifiedAt": "2026-10-01T00:00:00.000Z",
"qualifiedBy": "user_1"
},
"error": null
},
{
"contactId": "contact_16",
"status": "qualified",
"qualification": {
"contactId": "contact_16",
"score": 82,
"fit": "strong",
"reasons": [
"CTO at Acme"
],
"missingInfo": [
"Headcount"
],
"briefHash": "4989c88f7002300f4598d4af7b7e23fdfd33348d994829422be2e5bd49b741e5",
"model": "@cf/reported/model",
"qualifiedAt": "2026-10-01T00:00:00.000Z",
"qualifiedBy": "user_1"
},
"error": null
},
{
"contactId": "contact_17",
"status": "qualified",
"qualification": {
"contactId": "contact_17",
"score": 82,
"fit": "strong",
"reasons": [
"CTO at Acme"
],
"missingInfo": [
"Headcount"
],
"briefHash": "4989c88f7002300f4598d4af7b7e23fdfd33348d994829422be2e5bd49b741e5",
"model": "@cf/reported/model",
"qualifiedAt": "2026-10-01T00:00:00.000Z",
"qualifiedBy": "user_1"
},
"error": null
},
{
"contactId": "contact_18",
"status": "qualified",
"qualification": {
"contactId": "contact_18",
"score": 82,
"fit": "strong",
"reasons": [
"CTO at Acme"
],
"missingInfo": [
"Headcount"
],
"briefHash": "4989c88f7002300f4598d4af7b7e23fdfd33348d994829422be2e5bd49b741e5",
"model": "@cf/reported/model",
"qualifiedAt": "2026-10-01T00:00:00.000Z",
"qualifiedBy": "user_1"
},
"error": null
},
{
"contactId": "contact_19",
"status": "qualified",
"qualification": {
"contactId": "contact_19",
"score": 82,
"fit": "strong",
"reasons": [
"CTO at Acme"
],
"missingInfo": [
"Headcount"
],
"briefHash": "4989c88f7002300f4598d4af7b7e23fdfd33348d994829422be2e5bd49b741e5",
"model": "@cf/reported/model",
"qualifiedAt": "2026-10-01T00:00:00.000Z",
"qualifiedBy": "user_1"
},
"error": null
},
{
"contactId": "contact_2",
"status": "qualified",
"qualification": {
"contactId": "contact_2",
"score": 82,
"fit": "strong",
"reasons": [
"CTO at Acme"
],
"missingInfo": [
"Headcount"
],
"briefHash": "4989c88f7002300f4598d4af7b7e23fdfd33348d994829422be2e5bd49b741e5",
"model": "@cf/reported/model",
"qualifiedAt": "2026-10-01T00:00:00.000Z",
"qualifiedBy": "user_1"
},
"error": null
},
{
"contactId": "contact_20",
"status": "qualified",
"qualification": {
"contactId": "contact_20",
"score": 82,
"fit": "strong",
"reasons": [
"CTO at Acme"
],
"missingInfo": [
"Headcount"
],
"briefHash": "4989c88f7002300f4598d4af7b7e23fdfd33348d994829422be2e5bd49b741e5",
"model": "@cf/reported/model",
"qualifiedAt": "2026-10-01T00:00:00.000Z",
"qualifiedBy": "user_1"
},
"error": null
},
{
"contactId": "contact_21",
"status": "qualified",
"qualification": {
"contactId": "contact_21",
"score": 82,
"fit": "strong",
"reasons": [
"CTO at Acme"
],
"missingInfo": [
"Headcount"
],
"briefHash": "4989c88f7002300f4598d4af7b7e23fdfd33348d994829422be2e5bd49b741e5",
"model": "@cf/reported/model",
"qualifiedAt": "2026-10-01T00:00:00.000Z",
"qualifiedBy": "user_1"
},
"error": null
},
{
"contactId": "contact_22",
"status": "qualified",
"qualification": {
"contactId": "contact_22",
"score": 82,
"fit": "strong",
"reasons": [
"CTO at Acme"
],
"missingInfo": [
"Headcount"
],
"briefHash": "4989c88f7002300f4598d4af7b7e23fdfd33348d994829422be2e5bd49b741e5",
"model": "@cf/reported/model",
"qualifiedAt": "2026-10-01T00:00:00.000Z",
"qualifiedBy": "user_1"
},
"error": null
},
{
"contactId": "contact_23",
"status": "qualified",
"qualification": {
"contactId": "contact_23",
"score": 82,
"fit": "strong",
"reasons": [
"CTO at Acme"
],
"missingInfo": [
"Headcount"
],
"briefHash": "4989c88f7002300f4598d4af7b7e23fdfd33348d994829422be2e5bd49b741e5",
"model": "@cf/reported/model",
"qualifiedAt": "2026-10-01T00:00:00.000Z",
"qualifiedBy": "user_1"
},
"error": null
},
{
"contactId": "contact_24",
"status": "qualified",
"qualification": {
"contactId": "contact_24",
"score": 82,
"fit": "strong",
"reasons": [
"CTO at Acme"
],
"missingInfo": [
"Headcount"
],
"briefHash": "4989c88f7002300f4598d4af7b7e23fdfd33348d994829422be2e5bd49b741e5",
"model": "@cf/reported/model",
"qualifiedAt": "2026-10-01T00:00:00.000Z",
"qualifiedBy": "user_1"
},
"error": null
},
{
"contactId": "contact_25",
"status": "qualified",
"qualification": {
"contactId": "contact_25",
"score": 82,
"fit": "strong",
"reasons": [
"CTO at Acme"
],
"missingInfo": [
"Headcount"
],
"briefHash": "4989c88f7002300f4598d4af7b7e23fdfd33348d994829422be2e5bd49b741e5",
"model": "@cf/reported/model",
"qualifiedAt": "2026-10-01T00:00:00.000Z",
"qualifiedBy": "user_1"
},
"error": null
},
{
"contactId": "contact_26",
"status": "qualified",
"qualification": {
"contactId": "contact_26",
"score": 82,
"fit": "strong",
"reasons": [
"CTO at Acme"
],
"missingInfo": [
"Headcount"
],
"briefHash": "4989c88f7002300f4598d4af7b7e23fdfd33348d994829422be2e5bd49b741e5",
"model": "@cf/reported/model",
"qualifiedAt": "2026-10-01T00:00:00.000Z",
"qualifiedBy": "user_1"
},
"error": null
},
{
"contactId": "contact_27",
"status": "qualified",
"qualification": {
"contactId": "contact_27",
"score": 82,
"fit": "strong",
"reasons": [
"CTO at Acme"
],
"missingInfo": [
"Headcount"
],
"briefHash": "4989c88f7002300f4598d4af7b7e23fdfd33348d994829422be2e5bd49b741e5",
"model": "@cf/reported/model",
"qualifiedAt": "2026-10-01T00:00:00.000Z",
"qualifiedBy": "user_1"
},
"error": null
},
{
"contactId": "contact_28",
"status": "qualified",
"qualification": {
"contactId": "contact_28",
"score": 82,
"fit": "strong",
"reasons": [
"CTO at Acme"
],
"missingInfo": [
"Headcount"
],
"briefHash": "4989c88f7002300f4598d4af7b7e23fdfd33348d994829422be2e5bd49b741e5",
"model": "@cf/reported/model",
"qualifiedAt": "2026-10-01T00:00:00.000Z",
"qualifiedBy": "user_1"
},
"error": null
},
{
"contactId": "contact_3",
"status": "qualified",
"qualification": {
"contactId": "contact_3",
"score": 82,
"fit": "strong",
"reasons": [
"CTO at Acme"
],
"missingInfo": [
"Headcount"
],
"briefHash": "4989c88f7002300f4598d4af7b7e23fdfd33348d994829422be2e5bd49b741e5",
"model": "@cf/reported/model",
"qualifiedAt": "2026-10-01T00:00:00.000Z",
"qualifiedBy": "user_1"
},
"error": null
},
{
"contactId": "contact_4",
"status": "qualified",
"qualification": {
"contactId": "contact_4",
"score": 82,
"fit": "strong",
"reasons": [
"CTO at Acme"
],
"missingInfo": [
"Headcount"
],
"briefHash": "4989c88f7002300f4598d4af7b7e23fdfd33348d994829422be2e5bd49b741e5",
"model": "@cf/reported/model",
"qualifiedAt": "2026-10-01T00:00:00.000Z",
"qualifiedBy": "user_1"
},
"error": null
},
{
"contactId": "contact_5",
"status": "qualified",
"qualification": {
"contactId": "contact_5",
"score": 82,
"fit": "strong",
"reasons": [
"CTO at Acme"
],
"missingInfo": [
"Headcount"
],
"briefHash": "4989c88f7002300f4598d4af7b7e23fdfd33348d994829422be2e5bd49b741e5",
"model": "@cf/reported/model",
"qualifiedAt": "2026-10-01T00:00:00.000Z",
"qualifiedBy": "user_1"
},
"error": null
},
{
"contactId": "contact_6",
"status": "qualified",
"qualification": {
"contactId": "contact_6",
"score": 82,
"fit": "strong",
"reasons": [
"CTO at Acme"
],
"missingInfo": [
"Headcount"
],
"briefHash": "4989c88f7002300f4598d4af7b7e23fdfd33348d994829422be2e5bd49b741e5",
"model": "@cf/reported/model",
"qualifiedAt": "2026-10-01T00:00:00.000Z",
"qualifiedBy": "user_1"
},
"error": null
}
],
"qualified": 25,
"failed": 0,
"skipped": 0,
"briefHash": "4989c88f7002300f4598d4af7b7e23fdfd33348d994829422be2e5bd49b741e5"
}
Source test: qualification-routes.test.ts. Actual route handlers with SQLite repositories; synthetic identity/workspace grants and provider ports.
Captured HTTP 200 · contacts.qualify > qualifies a list's first unqualified or stale active members, bounded to 25
Action input
{
"brief": "Another brief",
"listId": "list_1"
}
Actual local response
{
"results": [
{
"contactId": "contact_28",
"status": "qualified",
"qualification": {
"contactId": "contact_28",
"score": 82,
"fit": "strong",
"reasons": [
"CTO at Acme"
],
"missingInfo": [
"Headcount"
],
"briefHash": "4989c88f7002300f4598d4af7b7e23fdfd33348d994829422be2e5bd49b741e5",
"model": "@cf/reported/model",
"qualifiedAt": "2026-10-01T00:00:00.000Z",
"qualifiedBy": "user_1"
},
"error": null
}
],
"qualified": 1,
"failed": 0,
"skipped": 0,
"briefHash": "4989c88f7002300f4598d4af7b7e23fdfd33348d994829422be2e5bd49b741e5"
}
Source test: qualification-routes.test.ts. Actual route handlers with SQLite repositories; synthetic identity/workspace grants and provider ports.
Effects and response meaning
- Score up to 25 contacts 0-100 against an ideal-customer brief through the Nexus AI gateway as the signed-in person (spends organization AI budget). Give exactly one of contactIds or listId (the first 25 active members not yet qualified against this brief, or qualified over 30 days ago). The model sees only name, title, company, domain, country and custom fields, is told to invent nothing, and returns fit strong|possible|poor with reasons and missing information. Each contact's latest result is stored (see contacts.qualifications.get); a contact whose reply is unusable is marked failed while the rest continue. Never enrolls a contact or changes contactability. Errors: 422 invalid_target, 404 list not_found, 401 unauthenticated, 409 ai_unavailable, 403 ai_access_denied, 409 ai_not_enabled.
Verify the outcome
- Check the response against the declared output schema and the requested operation. For mutations, use the action-specific read described in the action description before any dependent operation.
Recover
For an uncertain result, inspect current retained state with a read action before retrying. Do not replay a mutation unless its contract explicitly guarantees idempotency.
Refused requests
Captured HTTP 422 · contacts.qualify > validates the target and the bounds
Action input
{
"brief": "UK fintech CTOs"
}
Actual local response
{
"error": {
"code": "invalid_target",
"message": "Give exactly one of contactIds or listId."
}
}
Source test: qualification-routes.test.ts. Actual route handlers with SQLite repositories; synthetic identity/workspace grants and provider ports.
Captured HTTP 404 · contacts.qualify > validates the target and the bounds
Action input
{
"brief": "UK fintech CTOs",
"listId": "eng_lst_missing"
}
Actual local response
{
"error": {
"code": "not_found",
"message": "List was not found in this workspace."
}
}
Source test: qualification-routes.test.ts. Actual route handlers with SQLite repositories; synthetic identity/workspace grants and provider ports.
Captured HTTP 422 · contacts.qualify > validates the target and the bounds
Refused input; do not execute
{
"brief": "UK fintech CTOs",
"contactIds": [
"c0",
"c1",
"c2",
"c3",
"c4",
"c5",
"c6",
"c7",
"c8",
"c9",
"c10",
"c11",
"c12",
"c13",
"c14",
"c15",
"c16",
"c17",
"c18",
"c19",
"c20",
"c21",
"c22",
"c23",
"c24",
"c25"
]
}
Actual local response
{
"error": {
"code": "invalid_action_input",
"message": "Input for contacts.qualify is invalid.",
"details": [
{
"origin": "array",
"code": "too_big",
"maximum": 25,
"inclusive": true,
"path": [
"contactIds"
],
"message": "Too big: expected array to have <=25 items"
}
]
}
}
Source test: qualification-routes.test.ts. Actual route handlers with SQLite repositories; synthetic identity/workspace grants and provider ports.
Captured HTTP 403 · contacts.qualify > needs write permission, the person's bearer and a configured gateway
Action input
{
"brief": "UK fintech CTOs",
"contactIds": [
"contact_1"
]
}
Actual local response
{
"error": {
"code": "permission_denied",
"message": "The credential lacks workspace:write.",
"details": {
"requiredPermission": "workspace:write"
}
}
}
Source test: qualification-routes.test.ts. Actual route handlers with SQLite repositories; synthetic identity/workspace grants and provider ports.
Captured HTTP 401 · contacts.qualify > needs write permission, the person's bearer and a configured gateway
Action input
{
"brief": "UK fintech CTOs",
"contactIds": [
"contact_1"
]
}
Actual local response
{
"error": {
"code": "unauthenticated",
"message": "Qualification runs as the signed-in person; sign in again."
}
}
Source test: qualification-routes.test.ts. Actual route handlers with SQLite repositories; synthetic identity/workspace grants and provider ports.
Captured HTTP 409 · contacts.qualify > needs write permission, the person's bearer and a configured gateway
Action input
{
"brief": "UK fintech CTOs",
"contactIds": [
"contact_1"
]
}
Actual local response
{
"error": {
"code": "ai_unavailable",
"message": "AI qualification is not available in this environment."
}
}
Source test: qualification-routes.test.ts. Actual route handlers with SQLite repositories; synthetic identity/workspace grants and provider ports.
Captured HTTP 403 · contacts.qualify > stops the run when Nexus refuses the person or the organization, auditing nothing
Action input
{
"brief": "UK fintech CTOs",
"contactIds": [
"contact_1",
"contact_2",
"contact_3",
"contact_4"
]
}
Actual local response
{
"error": {
"code": "ai_access_denied",
"message": "Your organization has not allowed you to use AI qualification."
}
}
Source test: qualification-routes.test.ts. Actual route handlers with SQLite repositories; synthetic identity/workspace grants and provider ports.
Captured HTTP 409 · contacts.qualify > stops the run when Nexus refuses the person or the organization, auditing nothing
Action input
{
"brief": "UK fintech CTOs",
"contactIds": [
"contact_1",
"contact_2",
"contact_3",
"contact_4"
]
}
Actual local response
{
"error": {
"code": "ai_not_enabled",
"message": "AI qualification is not enabled for Engage in this organization yet."
}
}
Source test: qualification-routes.test.ts. Actual route handlers with SQLite repositories; synthetic identity/workspace grants and provider ports.
Captured HTTP 422 · contacts.qualify > validates the target and the bounds
Action input
{
"brief": "UK fintech CTOs",
"contactIds": [
"contact_1"
],
"listId": "eng_lst_1"
}
Actual local response
{
"error": {
"code": "invalid_target",
"message": "Give exactly one of contactIds or listId."
}
}
Source test: qualification-routes.test.ts. Actual route handlers with SQLite repositories; synthetic identity/workspace grants and provider ports.
Captured HTTP 422 · contacts.qualify > validates the target and the bounds
Refused input; do not execute
{
"brief": "UK fintech CTOs",
"contactIds": [
"contact_1"
],
"criteria": [
"x",
"x",
"x",
"x",
"x",
"x",
"x",
"x",
"x",
"x",
"x"
]
}
Actual local response
{
"error": {
"code": "invalid_action_input",
"message": "Input for contacts.qualify is invalid.",
"details": [
{
"origin": "array",
"code": "too_big",
"maximum": 10,
"inclusive": true,
"path": [
"criteria"
],
"message": "Too big: expected array to have <=10 items"
}
]
}
}
Source test: qualification-routes.test.ts. Actual route handlers with SQLite repositories; synthetic identity/workspace grants and provider ports.
Captured HTTP 422 · contacts.qualify > validates the target and the bounds
Refused input; do not execute
{
"brief": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"contactIds": [
"contact_1"
]
}
Actual local response
{
"error": {
"code": "invalid_action_input",
"message": "Input for contacts.qualify is invalid.",
"details": [
{
"origin": "string",
"code": "too_big",
"maximum": 2000,
"inclusive": true,
"path": [
"brief"
],
"message": "Too big: expected string to have <=2000 characters"
}
]
}
}
Source test: qualification-routes.test.ts. Actual route handlers with SQLite repositories; synthetic identity/workspace grants and provider ports.
Captured HTTP 422 · contacts.qualify > validates the target and the bounds
Refused input; do not execute
{
"brief": " ",
"contactIds": [
"contact_1"
]
}
Actual local response
{
"error": {
"code": "invalid_action_input",
"message": "Input for contacts.qualify is invalid.",
"details": [
{
"origin": "string",
"code": "too_small",
"minimum": 1,
"inclusive": true,
"path": [
"brief"
],
"message": "Too small: expected string to have >=1 characters"
}
]
}
}
Source test: qualification-routes.test.ts. Actual route handlers with SQLite repositories; synthetic identity/workspace grants and provider ports.
Error recovery
- HTTP 422
invalid_target: Read the refusal details and current action contract, correct the stated cause, then validate and plan again. Do not retry unchanged or infer success. - HTTP 404
not_found: Rediscover the identifier using the related list or get action in the same authorized resource. Do not guess identifiers or change organization context. - HTTP 422
invalid_action_input: Correct the request against the current action input schema, then validate it again before planning. - HTTP 403
permission_denied: Stop and inspect the current credential and selected resource. It needs workspace:write; do not broaden access or switch organization automatically. - HTTP 401
unauthenticated: Read the refusal details and current action contract, correct the stated cause, then validate and plan again. Do not retry unchanged or infer success. - HTTP 409
ai_unavailable: Preserve the request and inspect the declared dependency state. Retry only after the transient or configuration cause is resolved; do not infer that the operation completed. - HTTP 403
ai_access_denied: Read the refusal details and current action contract, correct the stated cause, then validate and plan again. Do not retry unchanged or infer success. - HTTP 409
ai_not_enabled: Read the refusal details and current action contract, correct the stated cause, then validate and plan again. Do not retry unchanged or infer success.
Related actions
- List prospect contacts
- Create prospect contact
- Resolve prospect contact id
- Get prospect contact
- Update prospect contact
- Archive prospect contact
- Get contact qualification
- Get contact WhatsApp state
- Set contact phone
- Record WhatsApp opt-in
- Revoke WhatsApp opt-in
- Import contacts from TopoloCRM
- Export contact data
- Erase contact data
Evidence and limits
-
/api/contacts/qualify -
qualification-routes.test.ts -
Actual route handlers with SQLite repositories; synthetic identity/workspace grants and provider ports.
-
Widget/bootstrap use actual app handler but mocked worker runtime and app identity.
-
No gateway execution, live permissions, external delivery or deployed proof.
These are local route captures with synthetic identity and simulated dependencies. They do not prove live authorization, gateway execution, production state, or external delivery.