Get parameters

GET /api/synthetics/params

Get a list of all parameters. You must have read privileges for the Synthetics feature in the Observability section of the Kibana feature privileges.

Responses

  • 200 application/json

    A successful response.

GET /api/synthetics/params
curl \
 --request GET 'https://localhost:5601/api/synthetics/params' \
 --header "Authorization: $API_KEY"
Response examples (200)
A successful response for a user with read-only permissions to get a list of parameters.
[
  {
    "id": "param1-id",
    "key": "param1",
    "description": "Description for param1",
    "tags": ["tag1", "tag2"],
    "namespaces": ["namespace1"]
  },
  {
    "id": "param2-id",
    "key": "param2",
    "description": "Description for param2",
    "tags": ["tag3"],
    "namespaces": ["namespace2"]
  }
]
A successful response for a user with write permissions to get a list of parameters.
[
  {
    "id": "param1-id",
    "key": "param1",
    "description": "Description for param1",
    "tags": ["tag1", "tag2"],
    "namespaces": ["namespace1"],
    "value": "value1"
  },
  {
    "id": "param2-id",
    "key": "param2",
    "description": "Description for param2",
    "tags": ["tag3"],
    "namespaces": ["namespace2"],
    "value": "value2"
  }
]