List available fact keys
GET/facts/keys
Returns the list of fact keys that can be used in @fact. references. Includes built-in keys and any custom keys registered by agents.
Responses
- 200
- 401
- 403
- 500
List of available fact keys.
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
keys
object[]
required
Available fact keys for @fact. references.
key stringrequired
The fact key (e.g. "interface.primary").
description string
Human-readable description of the fact.
builtin boolean
Whether this is a built-in fact key.
{
"keys": [
{
"key": "string",
"description": "string",
"builtin": true
}
]
}
Unauthorized.
- application/json
- Schema
- Example (from schema)
Schema
error string
A description of the error that occurred.
details string
Additional details about the error.
code integer
The error code.
{
"error": "Failed to retrieve status.",
"details": "Failed due to network timeout.",
"code": 500
}
Forbidden.
- application/json
- Schema
- Example (from schema)
Schema
error string
A description of the error that occurred.
details string
Additional details about the error.
code integer
The error code.
{
"error": "Failed to retrieve status.",
"details": "Failed due to network timeout.",
"code": 500
}
Internal server error.
- application/json
- Schema
- Example (from schema)
Schema
error string
A description of the error that occurred.
details string
Additional details about the error.
code integer
The error code.
{
"error": "Failed to retrieve status.",
"details": "Failed due to network timeout.",
"code": 500
}
Loading...