> ## Documentation Index
> Fetch the complete documentation index at: https://docs.falkordb.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> FalkorDB is a graph database that speaks the Redis protocol. Queries are issued as OpenCypher through the GRAPH.QUERY and GRAPH.RO_QUERY commands, not over Bolt or a SQL connection.
> FalkorDB implements a subset of OpenCypher with proprietary extensions. Do not assume Neo4j-only syntax or procedures are available — check /cypher/cypher-support and /cypher/known-limitations before using a clause.
> FalkorDB is the successor to RedisGraph, but they are separate products. Do not present RedisGraph commands, versions, or limitations as current FalkorDB behavior.
> Use the official clients listed in /getting-started/clients rather than generic Redis or Neo4j drivers, and prefer the language the user is already working in.
> Configuration parameters are set with GRAPH.CONFIG SET or at startup; cite the exact parameter name from /getting-started/configuration rather than inventing one.
> This site covers four products: FalkorDB (core), FalkorDB Cloud, FalkorDB Enterprise, and the GraphRAG SDK. Name which one an answer applies to, since setup and operations differ.

# GRAPH.LIST

> Lists all graph keys in the keyspace

Lists all graph keys in the keyspace.

## Examples

<CodeGroup>
  ```python Python theme={null}
  from falkordb import FalkorDB
  db = FalkorDB(host='localhost', port=6379)
  graphs = db.list_graphs()
  print(graphs)
  ```

  ```javascript JavaScript theme={null}
  import { FalkorDB } from 'falkordb';
  const db = await FalkorDB.connect({
    socket: { host: 'localhost', port: 6379 }
  });
  const graphs = await db.list();
  console.log(graphs);
  ```

  ```java Java theme={null}
  import com.falkordb.*;

  Driver driver = FalkorDB.driver("localhost", 6379);
  List<String> graphs = driver.listGraphs();
  System.out.println(graphs);
  ```

  ```rust Rust theme={null}
  use falkordb::{FalkorClientBuilder, FalkorConnectionInfo};

  let connection_info: FalkorConnectionInfo = "falkor://127.0.0.1:6379"
      .try_into()
      .expect("Invalid connection info");
  let client = FalkorClientBuilder::new()
      .with_connection_info(connection_info)
      .build()
      .expect("Failed to build client");
  let graphs = client.list_graphs();
  println!("{:?}", graphs);
  ```

  ```bash Shell theme={null}
  GRAPH.LIST
  ```
</CodeGroup>

### Sample Output

```sh theme={null}
127.0.0.1:6379> GRAPH.LIST
2) G
3) resources
4) players
```

## Frequently Asked Questions

<AccordionGroup>
  <Accordion title="Does GRAPH.LIST require a graph name argument?">
    No. `GRAPH.LIST` takes no arguments. It scans the entire keyspace and returns all keys that contain graph data.
  </Accordion>

  <Accordion title="Does GRAPH.LIST return graphs from all databases?">
    No. `GRAPH.LIST` only returns graph keys from the currently selected Redis database (the one selected with the `SELECT` command).
  </Accordion>

  <Accordion title="What is returned if no graphs exist?">
    An empty array is returned if no graph keys exist in the current keyspace.
  </Accordion>

  <Accordion title="Are internal telemetry graphs included in the output?">
    Yes. Internal telemetry graphs (e.g., `telemetry{A}`) may appear in the list. These are automatically created by FalkorDB for internal tracking purposes.
  </Accordion>
</AccordionGroup>
