Get Response Sample
get_response_sampleRetrieve the exact sample JSON response for any UniFi API endpoint, with placeholder values as shown in official docs. Quickly see the shape of a successful reply.
Instructions
Get the sample response body published for one endpoint.
Returns raw JSON exactly as the documentation shows it, with placeholder values. About two thirds of endpoints have one; the rest say so plainly. This is the shape of a successful reply — for the field-by-field schema including types and which fields are optional, use get_endpoint.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"slug": "<slug>"
},
"name": "get_response_sample"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Endpoint identifier (e.g. 'network/getnetworksoverviewpage'). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |