Get Stats

Go to Product

Returns the total number of executors, projects, environments, files, schedules, runs, users, and members you currently have access to, for use e.g. on a dashboard. These counts only cover resources that still exist -- see GET /stats/runs for historical run statistics that also include runs whose schedule, environment, or project has since been deleted. Pass project to scope the counts to a single project; a count is omitted if you don't have access to that resource type at all. executor additionally scopes the run breakdown to a single executor -- it has no effect on any other count, since runs are the only resource with an executor relation.

Options

Set Project
Project
Only count resources in the project with this ID.
Set Executor
Executor
Only count resources executed by the executor with this ID.
Result Format

Specify how the response should be mapped to the table output. The following formats are available:

Structured Table: Returns a parsed table with data split into rows and columns.

  • Executors: Executor count and status breakdown.
  • Projects: A resource's total count, present only if you have access to that resource type.
  • Environments: Environment count and type breakdown.
  • Files: File count and type breakdown.
  • Schedules: Schedule count, type, and active/inactive breakdown.
  • Runs: A resource's total count plus a breakdown along one or more facets. Every facet is computed in the same aggregation, so their keys never collide.
  • Users: User count and confirmed/unconfirmed breakdown.
  • Members: Member count and role breakdown.
  • Access Tokens: Access token count and type breakdown.

Raw Response: Returns the raw response in a single row with the following columns:

  • body: Response body
  • status: HTTP status code

Input Ports

Icon
Configuration data.

Output Ports

Icon
Result of the request depending on the selected Result Format.
Icon
Configuration data (this is the same as the input port; it is provided as passthrough for sequentially chaining nodes to declutter your workflow connections).

Popular Predecessors

  • No recommendations found

Popular Successors

  • No recommendations found

Views

This node has no views

Workflows

  • No workflows found

Links

Developers

You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.