Retrieve Concurrent and Daily Execution Metrics

This page is no longer maintained (Mar 29, 2023). For the most current information, go to https://docs.snaplogic.com/public-apis/get-runtime-apistats-org.html.

 

GET /runtime/api-stats/{org}

Overview

This API retrieves the concurrent and daily metrics of pipelines running at the specified time.

Prerequisites

  • Org Admin permissions

Request

Path Parameters

Key

Description

Key

Description

pod_path

Required. The path to your SnapLogic pod.

Example: elastic.snaplogic.com

org

Required. The name of the SnapLogic Org.

Query Parameters

Key

Type

Description

Key

Type

Description

date_time

string

The time in UTC format.

Default: The current time.

Example: date_time=2021-12-31T01:01:01

Request Header

Specify Basic for authorization and application/json for content type.

Request Body

None.

Response

Response Body

The results include only the Task runs that you have permissions to view. Org Admins can view all Task runs.

{ "response_map": { "organization": "...", "daily_limit": ..., "daily_call_used": ..., "concurrent_limit": ..., "concurrent_call_in_progress": ... }, "http_status_code": 200 }

Key

Type

Description

Key

Type

Description

organization

string

The name of the SnapLogic Org.

daily_limit

integer

The maximum number of Task runs that the Org is allowed in a day.

daily_call_used

integer

The number of Task runs that were executed in the current day.

concurrent_limit

integer

The maximum number of concurrent Task runs that the Org is allowed.

concurrent_call_in_progress

integer

The number of Task runs that are concurrently in progress.