Graph prototype documentation includes clear description of parameter "discover":
discover integer Graph prototype discovery status.
0 - (default) new graphs will be discovered;
1 - new graphs will not be discovered and existing graphs will be marked as lost.
The parameter is also returned when graph.get method is used, but it's not documented for the graph object:
The same seems to be true with items and item prototypes and triggers and hosts.
This can confuse users, all parameters coming from api should be clearly documented, even if it's just stated that this parameter is not used for this object.