DocumentationLocal APIReferenceShape reference Responses
Generated successful Local API response result shapes.
| Property | Type | Required | Description |
|---|
capabilities | ServerCapabilities | null | no | |
protocol | integer | yes | |
type | "pong" | yes | |
version | string | yes | |
| Property | Type | Required | Description |
|---|
snapshot | SessionSnapshot | yes | |
type | "session_snapshot" | yes | |
| Property | Type | Required | Description |
|---|
type | "workspace_info" | yes | |
workspace | WorkspaceInfo | yes | |
| Property | Type | Required | Description |
|---|
root_pane | PaneInfo | yes | |
tab | TabInfo | yes | |
type | "workspace_created" | yes | |
workspace | WorkspaceInfo | yes | |
| Property | Type | Required | Description |
|---|
type | "workspace_list" | yes | |
workspaces | WorkspaceInfo[] | yes | |
| Property | Type | Required | Description |
|---|
profile | ConnectionProfileInfo | yes | |
type | "connection_profile" | yes | |
| Property | Type | Required | Description |
|---|
profiles | ConnectionProfileInfo[] | yes | |
type | "connection_list" | yes | |
| Property | Type | Required | Description |
|---|
profile_id | string | yes | |
removed | boolean | yes | |
type | "connection_deleted" | yes | |
| Property | Type | Required | Description |
|---|
action | ConnectionAction | yes | |
profile | ConnectionProfileInfo | yes | |
type | "connection_action_queued" | yes | |
| Property | Type | Required | Description |
|---|
accepted | boolean | yes | |
execution_host_id | string | yes | |
pending_terminations | integer | yes | |
profile_id | string | yes | |
remaining_panes | integer | yes | |
remaining_terminals | integer | yes | |
type | "connection_retire_start" | yes | |
| Property | Type | Required | Description |
|---|
execution_host_id | string | yes | |
pending_terminations | integer | yes | |
profile_id | string | yes | |
ready | boolean | yes | |
remaining_panes | integer | yes | |
remaining_terminals | integer | yes | |
type | "connection_retire_status" | yes | |
| Property | Type | Required | Description |
|---|
group | GroupInfo | yes | |
type | "group_info" | yes | |
| Property | Type | Required | Description |
|---|
groups | GroupInfo[] | yes | |
type | "group_list" | yes | |
| Property | Type | Required | Description |
|---|
tab | TabInfo | yes | |
type | "tab_info" | yes | |
| Property | Type | Required | Description |
|---|
root_pane | PaneInfo | yes | |
tab | TabInfo | yes | |
type | "tab_created" | yes | |
| Property | Type | Required | Description |
|---|
tabs | TabInfo[] | yes | |
type | "tab_list" | yes | |
| Property | Type | Required | Description |
|---|
agent | AgentInfo | yes | |
type | "agent_info" | yes | |
| Property | Type | Required | Description |
|---|
agent | AgentInfo | yes | |
argv | string[] | yes | |
type | "agent_started" | yes | |
| Property | Type | Required | Description |
|---|
agent | AgentInfo | yes | |
type | "agent_prompted" | yes | |
| Property | Type | Required | Description |
|---|
agents | AgentInfo[] | yes | |
type | "agent_list" | yes | |
| Property | Type | Required | Description |
|---|
active | boolean | yes | |
label | string | null | no | |
source | string | null | no | |
type | "agent_view" | yes | |
| Property | Type | Required | Description |
|---|
pane | PaneInfo | yes | |
type | "pane_info" | yes | |
| Property | Type | Required | Description |
|---|
panes | PaneInfo[] | yes | |
type | "pane_list" | yes | |
| Property | Type | Required | Description |
|---|
pane | PaneInfo | yes | |
type | "pane_current" | yes | |
| Property | Type | Required | Description |
|---|
swap | PaneSwapResult | yes | |
type | "pane_swap" | yes | |
| Property | Type | Required | Description |
|---|
type | "pane_zoom" | yes | |
zoom | PaneZoomResult | yes | |
| Property | Type | Required | Description |
|---|
layout | PaneLayoutSnapshot | yes | |
type | "pane_layout" | yes | |
| Property | Type | Required | Description |
|---|
process_info | PaneProcessInfo | yes | |
type | "pane_process_info" | yes | |
| Property | Type | Required | Description |
|---|
layout | LayoutDescription | yes | |
type | "layout_export" | yes | |
| Property | Type | Required | Description |
|---|
layout | LayoutDescription | yes | |
type | "layout_apply" | yes | |
| Property | Type | Required | Description |
|---|
neighbor | PaneNeighborResult | yes | |
type | "pane_neighbor" | yes | |
| Property | Type | Required | Description |
|---|
edges | PaneEdgesResult | yes | |
type | "pane_edges" | yes | |
| Property | Type | Required | Description |
|---|
focus | PaneFocusDirectionResult | yes | |
type | "pane_focus_direction" | yes | |
| Property | Type | Required | Description |
|---|
resize | PaneResizeResult | yes | |
type | "pane_resize" | yes | |
| Property | Type | Required | Description |
|---|
move_result | PaneMoveResult | yes | |
type | "pane_move" | yes | |
| Property | Type | Required | Description |
|---|
read | PaneReadResult | yes | |
type | "pane_read" | yes | |
| Property | Type | Required | Description |
|---|
cell_height_px | integer | yes | |
cell_width_px | integer | yes | |
file_frame_damage | boolean | yes | |
file_frame_directory | string | null | no | |
file_frame_formats | string[] | no | |
file_frame_max_bytes | integer | null | no | |
file_frame_transport | string | null | no | |
max_layers_per_pane | integer | yes | |
pane_visible | boolean | yes | |
pixel_mouse | boolean | yes | |
type | "pane_graphics_info" | yes | |
| Property | Type | Required | Description |
|---|
revision | integer | yes | |
sequence | integer | yes | |
type | "pane_graphics_frame_ack" | yes | |
| Property | Type | Required | Description |
|---|
explain | unknown | yes | |
type | "agent_explain" | yes | |
| Property | Type | Required | Description |
|---|
type | "subscription_started" | yes | |
| Property | Type | Required | Description |
|---|
event | EventEnvelope | yes | |
type | "wait_matched" | yes | |
| Property | Type | Required | Description |
|---|
matched_line | string | null | no | |
pane_id | string | yes | |
read | PaneReadResult | yes | |
revision | integer | yes | |
type | "output_matched" | yes | |
| Property | Type | Required | Description |
|---|
reason | NotificationShowReason | yes | |
shown | boolean | yes | |
type | "notification_show" | yes | |
| Property | Type | Required | Description |
|---|
changed | boolean | yes | |
reason | ClientWindowTitleReason | yes | |
type | "client_window_title" | yes | |
| Property | Type | Required | Description |
|---|
details | IntegrationInstallResult | yes | |
target | IntegrationTarget | yes | |
type | "integration_install" | yes | |
| Property | Type | Required | Description |
|---|
details | IntegrationUninstallResult | yes | |
target | IntegrationTarget | yes | |
type | "integration_uninstall" | yes | |
| Property | Type | Required | Description |
|---|
manifests | AgentManifestInfo[] | yes | |
type | "agent_manifest_reload" | yes | |
| Property | Type | Required | Description |
|---|
last_check_unix | integer | null | no | |
last_result | string | null | no | |
manifests | AgentManifestInfo[] | yes | |
type | "agent_manifest_status" | yes | |
| Property | Type | Required | Description |
|---|
plugin | InstalledPluginInfo | yes | |
type | "plugin_linked" | yes | |
| Property | Type | Required | Description |
|---|
plugins | InstalledPluginInfo[] | yes | |
type | "plugin_list" | yes | |
| Property | Type | Required | Description |
|---|
plugin_id | string | yes | |
removed | boolean | yes | |
type | "plugin_unlinked" | yes | |
| Property | Type | Required | Description |
|---|
plugin | InstalledPluginInfo | yes | |
type | "plugin_enabled" | yes | |
| Property | Type | Required | Description |
|---|
plugin | InstalledPluginInfo | yes | |
type | "plugin_disabled" | yes | |
| Property | Type | Required | Description |
|---|
actions | PluginActionInfo[] | yes | |
type | "plugin_action_list" | yes | |
| Property | Type | Required | Description |
|---|
action | PluginActionInfo | yes | |
context | PluginInvocationContext | yes | |
log | PluginCommandLogInfo | yes | |
type | "plugin_action_invoked" | yes | |
| Property | Type | Required | Description |
|---|
logs | PluginCommandLogInfo[] | yes | |
type | "plugin_log_list" | yes | |
| Property | Type | Required | Description |
|---|
plugin_pane | PluginPaneInfo | yes | |
type | "plugin_pane_opened" | yes | |
| Property | Type | Required | Description |
|---|
plugin_pane | PluginPaneInfo | yes | |
type | "plugin_pane_focused" | yes | |
| Property | Type | Required | Description |
|---|
pane_id | string | yes | |
type | "plugin_pane_closed" | yes | |
| Property | Type | Required | Description |
|---|
diagnostics | string[] | yes | |
status | ConfigReloadStatus | yes | |
type | "config_reload" | yes | |
| Property | Type | Required | Description |
|---|
type | "ok" | yes | |
| Property | Type | Required | Description |
|---|
agent | string | null | no | |
agent_session | AgentSessionInfo | null | no | |
agent_status | AgentStatus | yes | |
custom_status | string | null | no | |
cwd | string | null | no | |
display_agent | string | null | no | |
focused | boolean | yes | |
foreground_cwd | string | null | no | |
location | ResourceLocationParams | yes | |
name | string | null | no | |
pane_id | string | yes | |
revision | integer | yes | |
screen_detection_skipped | boolean | no | |
state_labels | object | no | |
tab_id | string | yes | |
terminal_id | string | yes | |
title | string | null | no | |
tokens | object | no | |
workspace_id | string | yes | |
| Property | Type | Required | Description |
|---|
active_version | string | null | no | |
agent | string | yes | |
cached_remote_version | string | null | no | |
local_override_shadowing_remote | boolean | yes | |
remote_last_checked_unix | integer | null | no | |
remote_update_error | string | null | no | |
remote_update_result | string | null | no | |
source | string | yes | |
source_kind | string | yes | |
warning | string | null | no | |
| Property | Type | Required | Description |
|---|
agent | string | yes | |
kind | AgentSessionRefKind | yes | |
source | string | yes | |
value | string | yes | |
| Property | Type | Required | Description |
|---|
error | string | null | no | |
execution_host_id | string | yes | |
name | string | yes | |
profile_id | string | yes | |
status | ConnectionStatusKind | yes | |
suggested_directory | string | null | no | |
target | string | yes | |
Variants:
workspace_created
workspace_updated
workspace_closed
workspace_renamed
workspace_focused
tab_created
tab_closed
tab_renamed
tab_focused
pane_created
pane_closed
pane_focused
pane_moved
pane_output_changed
pane_exited
pane_agent_detected
pane_agent_status_changed
connection_status_changed
layout_updated
| Property | Type | Required | Description |
|---|
data | EventData | yes | |
event | EventKind | yes | |
| Property | Type | Required | Description |
|---|
default_location | ResourceLocationParams | null | no | |
focused | boolean | yes | |
group_id | string | yes | |
icon | string | yes | |
name | string | yes | |
number | integer | yes | |
workspace_count | integer | yes | |
| Property | Type | Required | Description |
|---|
actions | PluginManifestAction[] | no | |
build | PluginManifestBuild[] | no | |
description | string | null | no | |
enabled | boolean | yes | |
events | PluginManifestEventHook[] | no | |
link_handlers | PluginManifestLinkHandler[] | no | |
manifest_path | string | yes | |
min_gardn_version | string | yes | |
name | string | yes | |
panes | PluginManifestPane[] | no | |
platforms | array | null | no | |
plugin_id | string | yes | |
plugin_root | string | yes | |
source | PluginSourceInfo | no | |
startup | PluginManifestStartup[] | no | |
version | string | yes | |
warnings | string[] | no | |
| Property | Type | Required | Description |
|---|
messages | string[] | yes | |
| Property | Type | Required | Description |
|---|
messages | string[] | yes | |
| Property | Type | Required | Description |
|---|
focused_pane_id | string | yes | |
root | LayoutNode | yes | |
tab_id | string | yes | |
workspace_id | string | yes | |
zoomed | boolean | yes | |
Variants:
| Property | Type | Required | Description |
|---|
down | boolean | yes | |
layout | PaneLayoutSnapshot | yes | |
left | boolean | yes | |
pane_id | string | yes | |
right | boolean | yes | |
up | boolean | yes | |
| Property | Type | Required | Description |
|---|
changed | boolean | yes | |
focused_pane_id | string | null | no | |
layout | PaneLayoutSnapshot | yes | |
reason | PaneFocusDirectionReason | null | no | |
source_pane_id | string | yes | |
| Property | Type | Required | Description |
|---|
agent | string | null | no | |
agent_session | AgentSessionInfo | null | no | |
agent_status | AgentStatus | yes | |
custom_status | string | null | no | |
cwd | string | null | no | |
display_agent | string | null | no | |
focused | boolean | yes | |
foreground_cwd | string | null | no | |
label | string | null | no | |
location | ResourceLocationParams | yes | |
pane_id | string | yes | |
revision | integer | yes | |
scroll | PaneScrollInfo | null | no | |
state_labels | object | no | |
tab_id | string | yes | |
terminal_id | string | yes | |
title | string | null | no | |
tokens | object | no | |
workspace_id | string | yes | |
| Property | Type | Required | Description |
|---|
focused | boolean | yes | |
pane_id | string | yes | |
rect | PaneLayoutRect | yes | |
| Property | Type | Required | Description |
|---|
height | integer | yes | |
width | integer | yes | |
x | integer | yes | |
y | integer | yes | |
| Property | Type | Required | Description |
|---|
area | PaneLayoutRect | yes | |
focused_pane_id | string | yes | |
panes | PaneLayoutPane[] | yes | |
splits | PaneLayoutSplit[] | yes | |
tab_id | string | yes | |
workspace_id | string | yes | |
zoomed | boolean | yes | |
| Property | Type | Required | Description |
|---|
direction | SplitDirection | yes | |
id | string | yes | |
ratio | number | yes | |
rect | PaneLayoutRect | yes | |
| Property | Type | Required | Description |
|---|
changed | boolean | yes | |
closed_tab_id | string | null | no | |
closed_workspace_id | string | null | no | |
created_tab | TabInfo | null | no | |
created_workspace | WorkspaceInfo | null | no | |
focused_pane_id | string | yes | |
pane | PaneInfo | yes | |
previous_pane_id | string | yes | |
previous_tab_id | string | yes | |
previous_workspace_id | string | yes | |
reason | PaneMoveReason | null | no | |
source_layout | PaneLayoutSnapshot | null | no | |
target_layout | PaneLayoutSnapshot | yes | |
| Property | Type | Required | Description |
|---|
direction | PaneDirection | yes | |
layout | PaneLayoutSnapshot | yes | |
neighbor_pane_id | string | null | no | |
pane_id | string | yes | |
| Property | Type | Required | Description |
|---|
foreground_process_group_id | integer | null | no | |
foreground_processes | PaneProcessInfoProcess[] | no | |
pane_id | string | yes | |
shell_pid | integer | null | no | |
tty | string | null | no | |
| Property | Type | Required | Description |
|---|
argv | array | null | no | |
argv0 | string | null | no | |
cmdline | string | null | no | |
cwd | string | null | no | |
name | string | yes | |
pid | integer | yes | |
| Property | Type | Required | Description |
|---|
format | ReadFormat | yes | |
pane_id | string | yes | |
revision | integer | yes | |
source | ReadSource | yes | |
tab_id | string | yes | |
text | string | yes | |
truncated | boolean | yes | |
workspace_id | string | yes | |
| Property | Type | Required | Description |
|---|
changed | boolean | yes | |
focused_pane_id | string | yes | |
layout | PaneLayoutSnapshot | yes | |
pane_id | string | yes | |
reason | PaneResizeReason | null | no | |
| Property | Type | Required | Description |
|---|
max_offset_from_bottom | integer | yes | |
offset_from_bottom | integer | yes | |
viewport_rows | integer | yes | |
| Property | Type | Required | Description |
|---|
changed | boolean | yes | |
focused_pane_id | string | yes | |
layout | PaneLayoutSnapshot | yes | |
reason | PaneSwapReason | null | no | |
source_pane_id | string | yes | |
target_pane_id | string | null | no | |
| Property | Type | Required | Description |
|---|
changed | boolean | yes | |
focus_changed | boolean | yes | |
focused_pane_id | string | yes | |
layout | PaneLayoutSnapshot | yes | |
pane_id | string | yes | |
reason | PaneZoomReason | null | no | |
zoom_changed | boolean | yes | |
zoomed | boolean | yes | |
| Property | Type | Required | Description |
|---|
action_id | string | yes | |
command | string[] | yes | |
contexts | PluginActionContext[] | no | |
description | string | null | no | |
platforms | array | null | no | |
plugin_id | string | yes | |
title | string | yes | |
| Property | Type | Required | Description |
|---|
action_id | string | null | no | |
command | string[] | yes | |
error | string | null | no | |
event | string | null | no | |
exit_code | integer | null | no | |
finished_unix_ms | integer | null | no | |
log_id | string | yes | |
plugin_id | string | yes | |
started_unix_ms | integer | yes | |
status | PluginCommandStatus | yes | |
stderr | string | null | no | |
stdout | string | null | no | |
| Property | Type | Required | Description |
|---|
clicked_url | string | null | no | |
correlation_id | string | null | no | |
focused_pane_agent | string | null | no | |
focused_pane_cwd | string | null | no | |
focused_pane_id | string | null | no | |
focused_pane_status | AgentStatus | null | no | |
invocation_source | string | null | no | |
link_handler_id | string | null | no | |
selected_text | string | null | no | |
tab_id | string | null | no | |
tab_label | string | null | no | |
workspace_cwd | string | null | no | |
workspace_id | string | null | no | |
workspace_label | string | null | no | |
| Property | Type | Required | Description |
|---|
command | string[] | yes | |
contexts | PluginActionContext[] | no | |
description | string | null | no | |
id | string | yes | |
platforms | array | null | no | |
title | string | yes | |
| Property | Type | Required | Description |
|---|
command | string[] | yes | |
platforms | array | null | no | |
| Property | Type | Required | Description |
|---|
command | string[] | yes | |
on | string | yes | |
platforms | array | null | no | |
| Property | Type | Required | Description |
|---|
action | string | yes | |
id | string | yes | |
pattern | string | yes | |
platforms | array | null | no | |
title | string | yes | |
| Property | Type | Required | Description |
|---|
command | string[] | yes | |
description | string | null | no | |
id | string | yes | |
placement | PluginPanePlacement | no | |
platforms | array | null | no | |
title | string | yes | |
| Property | Type | Required | Description |
|---|
command | string[] | yes | |
platforms | array | null | no | |
| Property | Type | Required | Description |
|---|
entrypoint | string | yes | |
pane | PaneInfo | yes | |
plugin_id | string | yes | |
| Property | Type | Required | Description |
|---|
installed_unix_ms | integer | null | no | |
kind | PluginSourceKind | no | |
managed_path | string | null | no | |
owner | string | null | no | |
repo | string | null | no | |
requested_ref | string | null | no | |
resolved_commit | string | null | no | |
subdir | string | null | no | |
| Property | Type | Required | Description |
|---|
execution_host_id | string | yes | |
path | string | yes | |
| Property | Type | Required | Description |
|---|
live_handoff | boolean | yes | |
| Property | Type | Required | Description |
|---|
agents | AgentInfo[] | yes | |
focused_pane_id | string | null | no | |
focused_tab_id | string | null | no | |
focused_workspace_id | string | null | no | |
layouts | PaneLayoutSnapshot[] | yes | |
panes | PaneInfo[] | yes | |
protocol | integer | yes | |
tabs | TabInfo[] | yes | |
version | string | yes | |
workspaces | WorkspaceInfo[] | yes | |
| Property | Type | Required | Description |
|---|
agent_status | AgentStatus | yes | |
focused | boolean | yes | |
label | string | yes | |
number | integer | yes | |
pane_count | integer | yes | |
tab_id | string | yes | |
workspace_id | string | yes | |
| Property | Type | Required | Description |
|---|
active_tab_id | string | yes | |
agent_status | AgentStatus | yes | |
default_location | ResourceLocationParams | yes | |
focused | boolean | yes | |
group_id | string | yes | |
label | string | yes | |
number | integer | yes | |
pane_count | integer | yes | |
tab_count | integer | yes | |
workspace_id | string | yes | |
Last updated on