Retrieve 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-daily.html.

 

GET /runtime/api-stats/{org}/daily

Overview

This API retrieves the daily metrics of pipelines running on the specified date.

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 date in UTC format.

Default: The current date.

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": { "date": "...", "organization": "...", "top_tasks": [ ... ], "task_count": ..., "daily_call_used": ..., "daily_call_available": ... }, "http_status_code": 200 }

Key

Type

Description

Key

Type

Description

date

string

The date when the statistics were collected.

Format: UTC

organization

string

The name of the SnapLogic Org.

top_tasks

array

An array of objects containing metadata.

task_count

integer

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

daily_call_used

integer

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

daily_call_available

integer

The difference between the daily limit for Task runs and the number of Task runs that were already executed during the day.