--- title: "Graphiant CLI" slug: "graphiant-cli" updated: 2026-09-01T06:15:40Z published: 2026-09-01T06:15:40Z canonical: "docs.graphiant.com/graphiant-cli" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.graphiant.com/llms.txt > Use this file to discover all available pages before exploring further. # Graphiant CLI The Graphiant CLI ships with [Graphiant SDK](https://docs.graphiant.com/docs/graphiant-sdk-python). Use it to log in via the [Graphiant Portal](https://portal.graphiant.com/), store a bearer token, and run quick API checks without writing a full Python script. **Graphiant Python SDK is accessed via:** [https://github.com/Graphiant-Inc/graphiant-sdk-python#graphiant-cli](https://github.com/Graphiant-Inc/graphiant-sdk-python#graphiant-cli) ## Getting Started ### **PyPI Package:** [https://pypi.org/project/graphiant-sdk/](https://pypi.org/project/graphiant-sdk/) ### **Documentation:** [https://github.com/Graphiant-Inc/graphiant-sdk-python#graphiant-cli](https://github.com/Graphiant-Inc/graphiant-sdk-python#graphiant-cli) ### **Source Code:** [https://github.com/Graphiant-Inc/graphiant-sdk-python](https://github.com/Graphiant-Inc/graphiant-sdk-python) ## Example Usage ```plaintext # 1) Log in (browser opens; paste token if prompted) graphiant login # 2) Load the token into *this* shell (required — see below) source ~/.graphiant/env.sh # 3) Sanity-check session graphiant whoami # 4) Call an API (token from env or saved profile) graphiant invoke v1_edges_summary_get graphiant rest GET /v1/edges-summary ``` ## Topology ![Diagram illustrating Graphiant Portal integration with SDKs and Terraform for automation.](https://cdn.document360.io/d86ecd1c-49f6-4fac-83cc-5e344f28f84f/Images/Documentation/Graphiant SDKs & Playbooks(2).png)