GET
/
v2
/
usage
/
concurrency
curl --request GET \
  --url https://mango.sievedata.com/v2/usage/concurrency \
  --header 'X-API-Key: <api-key>'
[
  {
    "chunk_start": "<string>",
    "chunk_end": "<string>",
    "num_jobs": 123,
    "median_processing_time_seconds": 123,
    "average_concurrency": 123
  }
]

Authorizations

X-API-Key
string
header
required

The Sieve API key to authenticate with.

Query Parameters

function
string | null

Function in owner_name/function_name format. If not provided, returns concurrency for all functions.

start
string | null

Start date in ISO-8601 format (YYYY-MM-DDTHH:MM), UTC. Defaults to the previous day at 00:00. Must be within one week of end date.

end
string | null

End date in ISO-8601 format (YYYY-MM-DDTHH:MM), UTC. Defaults to the previous day at 23:59. Must be within one week of start date.

chunk_size
integer
default:60

Chunk size in minutes

Required range: x >= 30
status
enum<string>
default:finished

Status of the job

Available options:
,
finished,
cancelled,
error

Response

200
application/json

Successful Response

The response is of type Chunk · object[].