Skip to main content
GET
Retrieve an RPC document's structure

Authorizations

X-API-Key
string
header
required

Your API key is available in the Production and Sandbox dashboards.

Path Parameters

entityId
string<uuid>
required
documentId
string<uuid>
required

Identifier of the RPC document (UUID)

Response

The document's structure tree (the root node)

A node in a document's structure-preserving tree, mirroring the registry form. The root node carries layout; section nodes carry enabled. A node with children is a container; a node with value is a leaf field. The tree is taken on the first successful structure capture and served as-is, so its field set and nesting follow the registry form and are not guaranteed to be stable across layouts.

type
string

Widget type of the node (e.g. DocumentWidget, SectionWidget, or a field widget)

Example:

"SectionWidget"

label
string

Label of the node as it appears on the registry form

id
string | null

Stable element id from the registry form, or null when the registry assigns only a transient one

value
any

Value of a leaf node (a string, number, boolean, array, or null). Absent on container nodes.

children
array

Child nodes of a container node. Absent on leaf nodes.

layout
integer

Registry form layout number (root node only)

enabled
boolean

Whether the section is enabled on the form (section nodes only)