Faceup connects to a Nagent workspace with an API key. Once it is connected, agents can call 1 Faceup action: "FaceUp GraphQL Statistics Query". Nothing is enabled on connect: each action is allowed one at a time, and an action with side effects runs or waits for a person according to the agent's level.
Every operation an agent can call against Faceup, with input parameters and output schema.
FACEUP_GRAPHQL_STATISTICS_QUERYExecute GraphQL queries against the FaceUp statistics endpoint. Retrieves whistleblowing statistics with filtering by report criteria. Requires filter (ReportFilterInput), isPartnerAdministration, onlyAccessibleReports, and motherIds parameters. Returns both data and errors from the GraphQL API for flexible error handling.
Input parameters
The GraphQL query string to execute against the FaceUp statistics endpoint. The statistics query requires these arguments: filter (ReportFilterInput!), isPartnerAdministration (Boolean!), onlyAccessibleReports (Boolean!), and motherIds (\[UUID!\]!). Use __typename to discover available fields. Note: Introspection queries (__schema, __type) are disabled.
Variables for the GraphQL query. For statistics queries, provide: filter (ReportFilterInput object, can be empty {}), isPartnerAdministration (boolean), onlyAccessibleReports (boolean), and motherIds (array of valid UUIDs). Example: {'filter': {}, 'isPartnerAdministration': false, 'onlyAccessibleReports': true, 'motherIds': \[\]}
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
Agents can call 1 Faceup action on Nagent: "FaceUp GraphQL Statistics Query". FaceUp GraphQL Statistics Query: Execute GraphQL queries against the FaceUp statistics endpoint. Each action is listed on this page with its input parameters and its output.
Faceup connects with an API key, under your workspace's own connection. Nothing is enabled on connect: each action is allowed one at a time and can be scoped to the agents that need it.
FaceUp GraphQL Statistics Query takes 1 required input: query. It also takes 1 optional input: variables. It returns data, error and successful.