Editor sessions
The Unreal plugin sends a heartbeat from each signed-in editor. The heartbeat tells Prophouse which of your editors are online, which project each one has open, and whether it accepts imports started by AI agents. The heartbeat response also hands the editor any queued pull jobs created with delivery: "agent".
The editor sends a heartbeat every 15 seconds when Accept agent imports is on. When it is off, the editor sends one at the pull polling interval (at least 60 seconds), and only while Enable background polling is on. See Agent imports for the setting.
| Method and path | Scope | Purpose |
|---|---|---|
GET /editor-sessions |
read | List your editors seen in the last 24 hours |
DELETE /editor-sessions/{session_id} |
write | End an editor session |
POST /editor-sessions/heartbeat |
write | Report editor presence (sent by the Unreal plugin) |
GET /editor-sessions
Section titled “GET /editor-sessions”Returns your own editor sessions seen in the last 24 hours, most recent first. Admins can add ?all_users=true to list every member’s sessions from the last 24 hours. Each session then also has a user_id. A member who sends all_users=true gets 403 FORBIDDEN.
{ "sessions": [ { "session_id": "8C4F1B2A-3D5E-4F60-9A1B-2C3D4E5F6071", "project_key": "ColdStorage", "engine_version": "5.8.0", "plugin_version": "<plugin version>", "machine": "WORKSTATION-07", "default_root": "/Game/Prophouse", "accepts_agent_imports": true, "transfer_mode": "agent", "desktop_agent": "live", "busy_job_id": null, "last_error": null, "heartbeat_interval_seconds": 15, "started_at": "2026-07-25T09:00:00Z", "last_seen_at": "2026-07-25T12:00:00Z", "seconds_since_seen": 4, "online": true } ]}| Field | Description |
|---|---|
project_key |
The plugin’s Project Key (blank = .uproject name) setting, or the project name when that is blank. Agent-delivered pull jobs go to editors whose project_key equals the job’s target_project. |
default_root |
The /Game folder the editor imports into by default. |
accepts_agent_imports |
true when Accept agent imports is on in this editor. |
transfer_mode |
agent when the editor moves files through the desktop app. legacy when Use legacy direct transfers (deprecated) is on. |
desktop_agent |
State of the desktop app’s transfer service on that machine: live (running), launchable (installed, not running), unavailable (not installed, failed to start or incompatible), not_required (legacy transfers) or unknown. |
busy_job_id |
The pull job the editor is running, or null. |
last_error |
The latest agent-import failure the editor reported, up to 500 characters. |
heartbeat_interval_seconds |
The interval the editor reported in its last heartbeat. |
seconds_since_seen |
Seconds since the last heartbeat. |
online |
true when seconds_since_seen is at most three heartbeat intervals plus 15 seconds. |
DELETE /editor-sessions/{session_id}
Section titled “DELETE /editor-sessions/{session_id}”Deletes the session, so it no longer appears in GET /editor-sessions. The plugin calls this when the editor closes. If that request does not reach the server before the editor exits, the session stays listed and shows online: false once the timeout above passes. Returns 204, including when the session does not exist. Only the session’s owner or an admin can end it. Anyone else gets 403 FORBIDDEN.
POST /editor-sessions/heartbeat
Section titled “POST /editor-sessions/heartbeat”The Unreal plugin sends this request. You do not need to call it yourself.
{ "session_id": "8C4F1B2A-3D5E-4F60-9A1B-2C3D4E5F6071", "project_key": "ColdStorage", "accepts_agent_imports": true, "heartbeat_interval_seconds": 15, "engine_version": "5.8.0", "plugin_version": "<plugin version>", "machine": "WORKSTATION-07", "default_root": "/Game/Prophouse", "transfer_mode": "agent", "desktop_agent": "live", "busy_job_id": null, "last_error": null}| Field | Type | Description |
|---|---|---|
session_id |
string, required | One per editor process. 8 to 64 letters, digits and -. |
project_key |
string, required | Project key, 1 to 200 characters. |
accepts_agent_imports |
boolean, required | Whether the editor runs agent-delivered pull jobs. |
heartbeat_interval_seconds |
integer, required | 5 to 3,600. |
engine_version, plugin_version, machine |
string | Informational, up to 200 characters. |
default_root |
string | A /Game package path. |
transfer_mode |
string | agent (default) or legacy. |
desktop_agent |
string | One of the values listed above. Defaults to unknown. |
busy_job_id |
integer | The pull job the editor is running. |
last_error |
string | Trimmed and cut to 500 characters. null or an empty string clears it. |
Each heartbeat replaces the stored fields, so a field you leave out is reset to its default.
The response is {"session_id", "server_time", "agent_jobs": [job]}. agent_jobs lists up to 20 queued delivery: "agent" pull jobs, oldest first. It includes only jobs you requested whose target_project equals this project_key. It is always empty when accepts_agent_imports is false. The editor then claims and runs each job through the normal pull-job lifecycle.
A session_id that belongs to another user returns 409 CONFLICT. Prophouse deletes sessions not seen for 7 days.
