Create a new Knowledge entry with its first version. The externalId + provider pair must be unique for the tenant (409 if a duplicate exists).
GovWorx generates a stable referenceId for every item in every content list and echoes them back in the response. Store all referenceId values — they are required to update existing items in place on future append calls.
Section ownership is declared via a single top-level apiControl object. Each flag defaults to false (GovWorx-owned) when absent or when apiControl is omitted entirely. Flags are immutable after creation — delete and recreate to change them.
If publish is true (default), the created version is immediately published and available to GovWorx runtime consumers.
Create a new Knowledge entry along with its first version. Provide at least one of interview or actions.
Human-readable name for the Knowledge entry (e.g., the guide card title).
"Cardiac Arrest - Adult"
Identifier of the organization authoring this Knowledge entry. Common values include APCO, PowerPhone, IAED, or a tenant-internal name for in-house authoring.
255"APCO"
Partner-supplied identifier. Stored verbatim and unique per provider/tenant. Used to look up the GovWorx internal id and for idempotency on retries.
255"apco-card-cardiac-arrest-adult"
Partner-supplied version label for this submission. Free-form short string; stored alongside the version for traceability.
64"v1.0"
Optional description shown in the GovWorx UI.
"APCO standard protocol for adult cardiac arrest."
Classification of the Knowledge entry. Defaults to GUIDE_CARD. Only GUIDE_CARD and INSTRUCTION_CARD are supported; any other value is rejected. GUIDE_CARD carries interview + action content; INSTRUCTION_CARD carries action content only.
GUIDE_CARD, INSTRUCTION_CARD "GUIDE_CARD"
If true (default), publishes the created version immediately so it becomes available to runtime consumers.
Declares which sections of this Knowledge entry are owned by the external API. All flags default to false (GovWorx-controlled) when absent. Flags are immutable after creation — to change ownership, delete and recreate the entry. See KnowledgeApiControl for per-flag details.
If true, marks this entry as the tenant's all-callers guide card (single per tenant). Default false.
Interview (question list) content. Required for GUIDE_CARD; not supported on INSTRUCTION_CARD. At least one of interview or actions must be present. GovWorx generates a stable referenceId (q-{8 hex}) for every question — the response echoes these back. Store them; echo them on future appends to update existing questions in place. Ownership of the question list is declared via the top-level apiControl.questions flag.
Action set content for the guide card or instruction card. At least one of interview or actions must be present. GovWorx generates stable referenceIds for every item (si-, ca-, sms-, dt- prefixes) — the response echoes these back. Store them; echo them on future appends to update existing items. Per-sub-section ownership is declared via the top-level apiControl flags.
Knowledge entry created. The first version is always version 1, with description 'Created via external API'. If publish=true (default) the version is immediately active. Response includes all GovWorx-generated referenceIds — store them for future appends.
Detail view of a Knowledge entry, including its version list.
GovWorx internal Knowledge id. Use this in subsequent API calls.
12345
Human-readable name of the Knowledge entry.
"Cardiac Arrest - Adult"
Optional description shown in the GovWorx UI.
Source of the entry. API_IMPORT indicates it was loaded via this API.
"API_IMPORT"
Identifier of the organization that authored this Knowledge entry. Common values include APCO, PowerPhone, IAED, or a tenant-internal name for in-house authoring.
"APCO"
Classification of the Knowledge entry.
GUIDE_CARD, INSTRUCTION_CARD, POLICY, MEMO_BRIEFING, TRAINING, GENERAL_KNOWLEDGE, NON_EMERGENCY_LINE_ABILITY "GUIDE_CARD"
Partner-supplied identifier if one was provided on create.
"apco-card-cardiac-arrest-adult"
Version number of the currently published version, or null if none is published.
3
UTC timestamp when this entry was created (i.e., when GovWorx received and stored the first version).
UTC timestamp when this entry was last modified — a new version was added, the published version changed, or metadata was updated.
All versions for this Knowledge entry, including their interview and action content.