Get prompt block
Returns the block and exactly ONE of its versions. Which one is up to version; by default it is the active (published) version that agents pin to, falling back to the draft when nothing has been activated yet. The block object always reports activeVersionNumber, latestPublishedVersionNumber and draftDirty, so a client can tell what else exists — unpublished edits, or a newer published version agents have not been rolled onto — and ask for it by number in a second call.
Authorizations
Organization API key, generated in studio.sidenet.ai. Backend only — never in a browser.
Path Parameters
"d41a8f6b-9c27-4b13-a5e8-2f60c1d7b394"
Query Parameters
Which version of the prompt block to return. Takes any of: a version number (3, or v3); 0 or draft for the unpublished draft; latest for the newest published version; active for the one serving traffic; or the version row's uuid. Defaults to active, falling back to the draft when nothing has been activated yet.
"active"
Response
The block and the version that was selected