pub struct GetResource200Response {Show 26 fields
pub workspace_id: Option<String>,
pub path: String,
pub description: Option<String>,
pub resource_type: String,
pub value: Option<Option<Value>>,
pub is_oauth: bool,
pub extra_perms: Option<HashMap<String, bool>>,
pub is_expired: Option<bool>,
pub refresh_error: Option<String>,
pub is_linked: bool,
pub is_refreshed: bool,
pub account: Option<f64>,
pub created_by: Option<String>,
pub edited_at: Option<String>,
pub labels: Option<Vec<String>>,
pub inherited_labels: Option<Vec<String>>,
pub ws_specific: Option<bool>,
pub draft_only: Option<bool>,
pub is_draft: bool,
pub agent_memory: Option<Option<Value>>,
pub draft_path: Option<String>,
pub draft_saved_at: Option<String>,
pub draft_base: Option<String>,
pub no_deployed: Option<bool>,
pub draft: Option<HashMap<String, Value>>,
pub other_drafts_users: Option<Vec<UserDraftOverlayOtherDraftsUsersInner>>,
}Fields§
§workspace_id: Option<String>§path: String§description: Option<String>§resource_type: String§value: Option<Option<Value>>§is_oauth: bool§extra_perms: Option<HashMap<String, bool>>§is_expired: Option<bool>§refresh_error: Option<String>§is_linked: bool§is_refreshed: bool§account: Option<f64>§created_by: Option<String>§edited_at: Option<String>§labels: Option<Vec<String>>§inherited_labels: Option<Vec<String>>Labels inherited from the parent folder, computed at read time. Read-only — edit them on the folder.
ws_specific: Option<bool>§draft_only: Option<bool>True when this row is a per-user draft with no deployed resource at the same path. Frontend renders a "Draft" badge.
is_draft: bool§agent_memory: Option<Option<Value>>For an ai_agent resource only, its memory setting: the one part of the value a listing returns, since it decides whether the agent keeps a conversation.
draft_path: Option<String>On a draft-only row, the path its editor has staged when it differs from the storage path (e.g. a never-deployed item parked at u/{user}/draft_{uuid}).
draft_saved_at: Option<String>§draft_base: Option<String>The deployed version the draft forked from, as text whatever the kind (script hash, flow version id, app version id). Compare to the deployed head to tell a draft that is behind. Absent when there is no draft or it was never forked from a deploy.
no_deployed: Option<bool>§draft: Option<HashMap<String, Value>>§other_drafts_users: Option<Vec<UserDraftOverlayOtherDraftsUsersInner>>Other workspace users (and the legacy NULL-email row, if any) with a saved draft at the same path. Populated only on the authed user’s "get by path" responses for kinds the editor surfaces a fork banner for (script, flow, app, raw_app). Empty / omitted for kinds without that UI.