Skip to navigation

Pull question set definition (config-as-code)

Return the canonical config-as-code definition and provenance for a question set by slug. The definition is the latest version, and the contentHash is recomputed from the live row, so it is accurate right after a dashboard edit.

Authentication

AuthorizationBearer
API key or Clerk session token

Query parameters

slugstringRequiredformat: "^[a-z0-9][a-z0-9_-]{0,63}$"

Identity, unique in the organization: lowercase letters, digits, - and _, up to 64.

Response

Canonical definition and provenance
contentHashstring
definitionobject
lastModifiedSourcestring or null
publishedVersionNumberinteger or null
questionSetIdstring
updatedAtstring or null
versionNumberinteger or null

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error