Get Labels For App
Fetch labels’ keys or values from the logs.
- If ‘key’ is provided, it searches for values associated with the specified label key(s).
- 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
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Query Parameters
Body
application/json
The earliest date we are searching for.
The sorting parameters for the query
The latest date we are searching for.
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
200
application/json
The response is of type string[]
.
Was this page helpful?