script

count runnables per owner (folder or user space)

Changed on
get/w/{workspace}/runnables/counts

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/w/{workspace}/runnables/counts
  • Auth: one of:
    • HTTP bearer
    • API key in cookie token

Path parameters

workspacestring required

Query parameters

kindsstring

comma-separated subset of script,flow,app,agent (default all)

include_without_mainboolean

include library scripts (no runnable main)

include_draft_onlyboolean

also count the caller's drafts at paths with no deployed row, matching the same flag on /runnables/list

Response

number of runnables per owner prefix, empty owners omitted. Excludes data-pipeline member scripts, which are listed as their folder's single pipeline entry rather than as runnables.

countsobject required

owner prefix (f/<folder> or u/<user>) to count

Changes