From what I've gathered, if my objective is to import an SVG file as a Grease Pencil layer in Blender, one viable strategy seems to be importing the SVG as curves first, then making subsequent modifications to simulate the functionality available through the user interface:
bpy.ops.import_curve.svg(filepath='', filter_glob='*.svg')
Alternatively, I could potentially create an addon that activates this corresponding C code which is available in the Blender source on GitHub:
https://github.com/blender/blender/blob/main/source/blender/editors/io/io_gpencil_import.cc
I'm curious though, are these two methods the only pathways to replicate the UI-based import operation through scripting? I'm open to any insights or alternative suggestions.