Using API Gateway
Use API Gateway to build API-based integrations with the Tanium Core Platform. This service consolidates information from multiple Tanium modules into a unified view of information on the endpoints in the environment. API Gateway intelligently routes requests to the services and sources that provide the most recent information and the most reliable mutations.
API Gateway uses GraphQL to request data (queries) and to make changes (mutations). With GraphQL, you can compose queries in API Gateway to retrieve the exact data that you want as well as filter the results to a set of endpoints.
Use API Gateway to:
- Query endpoints through
the Tanium Server Tanium Cloud, or access data through Tanium Data Service
- Create, delete, and query actions
- Query packages
- Open a connection to an endpoint through Tanium Direct Connect and retrieve data from the endpoint
For examples of available functions, see Reference: API Gateway examples.
To access the query explorer in the Tanium Console and run a query, perform the following steps:
- From the Main menu, go to Administration > Shared Services > API Gateway.
- Enter a query in the query pane. For example, paste the following query to get the time from
the Tanium Server Tanium Cloud:Copy
If the query explorer does not appear on the API Gateway Overview page, click Customize Page and make sure the Query Explorer option is selected.
- (Optional) If a query or mutation uses variables, expand the QUERY VARIABLES pane and include the variables in the pane that expands.
- Click Execute Query .
For more information on the query explorer, see Query explorer.
Last updated: 10/3/2022 10:07 AM | Feedback