v1

latestOpenAPI 3.1.02026-07-26189891.1 MB
Keys

Retrieve a list of all the keys

Retrieve a list of all the keys for an account. Supported key types include ingestion and service. Use the type parameter to filter which type of keys to retrieve.

get/v1/config/keys

Query parameters

type'ingestion' | 'service' | 'all'

The type of key to retrieve. Defaults to "all"

Response

A list of keys is returned on success.

idstring

The ID of the key

keystring

A secret key which can be used to authenticate requests to Mezmo.

namestring

A user friendly name for the key

type'ingestion' | 'service'

The type of the key

createdinteger

The time the key was created as a Unix timestamp in milliseconds

Example response

[
  {
    "id": "629e3f7e62295be60488fb26",
    "key": "7b273eb8adc962f2711ad760730debb0",
    "name": "servergroup_0_ingestion",
    "type": "ingestion",
    "created": 1654538253244
  }
]