identity.user.exists-by-email ​
Report whether a platform account exists for an email address
Report whether a platform account exists for an email address.
Internal-only (enumeration-sensitive): started in-process by api-core within a validated invitation-token context, not exposed for direct invocation.
Inputs:
- email: Email address to check (required)
Outputs (terminal state_data):
- account_exists: bool
- email: normalized email that was checked
Overview ​
| Property | Value |
|---|---|
| Workflow type | Atomic |
| Library | App-identity |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
email | Yes | — | Email address to check |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
account_exists | boolean | Yes | — | — |
email | No | — | — | |
failure_reason | string | No | — | — |
failure_type | string | No | — | — |
failed_action | string | No | — | — |
failed_at_state | string | No | — | — |
error | string | No | — | — |
error_type | string | No | — | — |
States ​
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
pending | Yes | No | — | execute | — |
completed | No | Yes | Yes | — | — |
failed | No | Yes | No | — | — |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
pending | execute | completed | — |
* (any state) | fail | failed | — |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "identity.user.exists-by-email",
"initial_data": {
"email": "value"
}
}