Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

GET /runtime/api-stats/{org}

Overview

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

Prerequisites

  • Read access to the assets requested

Request

Appsplus panel macro confluence macro
data{"features":[

...

"

...

rounded"],"title":"

...

","titleColor":"

...

#FFFFFF","titleColorBG":"

...

#0052CC","titleSize":16,"titleBold":

...

false,"titleItalic":false,"titleUnderline":false,"link":"","linkIcon":false,"linkTab":false,"lozenge":"Hot stuff","lozengeColor":"#172B4D","lozengeColorBG":"#fff0b3","height":200,"panelPadding":12,"panelColor":"

...

#172B4D","panelColorBG":"

...

#dedede","borderColor":"#4C9AFF","borderRadius":3,"borderStyle":"solid","borderWidth":1,"icon":"editor/info","iconPrimary":"#FFFFFF","iconSecondary":"#0052CC","newMacro":false}

...

Request

...

themeAscetic

...

GET https://{pod_path}/api/1/rest/public/runtime/api-stats/{org}?{query_parameters}

Path Parameters

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

date_time

string

The time in UTC format.

Default: The current time.

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

Request Header

Specify Basic Auth for authorization.

...

appsplus-panel-macro-confluence-macro

...

themeAscetic
data{"features":["rounded"],"title":"","titleColor":"#FFFFFF","titleColorBG":"#0052CC","titleSize":16,"titleBold":false,"titleItalic":false,"titleUnderline":false,"link":"","linkIcon":false,"linkTab":false,"lozenge":"Hot stuff","lozengeColor":"#172B4D","lozengeColorBG":"#fff0b3","height":200,"panelPadding":12,"panelColor":"#172B4D","panelColorBG":"#dedede","borderColor":"#4C9AFF","borderRadius":3,"borderStyle":"solid","borderWidth":1,"icon":"editor/info","iconPrimary":"#FFFFFF","iconSecondary":"#0052CC","newMacro":false}

Authorization: Basic {your_encoded_security_credentials}

Request Body

None.

Response

Response Header

Key

Description

X-SL-StatusCode

Status code indicating the results of the request.

Learn more: HTTP Status Code Registry

Response Body

...

Code Block

...

{
  "response_map": {
    "

...

organization": "...",
    "

...

daily_limit": 

...

...

...

,
    "

...

daily_call_

...

used": ...,
    "concurrent_limit": ...,
    "

...

concurrent_call_in_

...

progress": ...
  },
  "http_status_code": 200
}

...

...

Key

Type

Description

organization

string

The name of the SnapLogic Org.

daily_limit

integer

...

organization

...

string

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.

Related Links