v1

latestOpenAPI 3.1.02026-08-06213193627.0 KB
logs

Get Labels For App

Fetch labels' keys or values from the logs.

  1. If 'key' is provided, it searches for values associated with the specified label key(s).
  2. If 'key' is NOT provided, it fetches the label keys for the given app keys.

Parameters:

  • key (str, optional): Optional parameter to search for specific label keys.
  • keys (List[str]): List of app keys to fetch labels for.

Returns:

  • List[str]: A list of label keys or values, depending on the use case.
post/v1/logs/labels

Query parameters

keystring nullable

Request body

date_fromstring date-time required

The earliest date we are searching for.

date_tostring date-time nullable

The latest date we are searching for.

app_idsstring[]

The list of API Keys we want to filter for. Leave the list empty to disable filtering (and return data for all apps) instead.

Response

Successful Response

string[] required