---
title: "W3C Graph Store Protocol Endpoint"
method: GET
path: "/{storeName}/graphs"
tags: ["graph store protocol"]
---

# W3C Graph Store Protocol Endpoint

`GET /{storeName}/graphs`

This endpoint implements the [SPARQL 1.1 Graph Store HTTP Protocol](http://www.w3.org/TR/sparql11-http-rdf-update/).

Using this API, you can retrieve the RDF content of a named graph or the default graph of the store;
or retrieve a list of the graphs contained in the store.

**NOTE** When using this API to retrieve a list of the graphs in the store,
only application/json and application/xml are supported as response formats.
When requesting the content of a graph using either the `default` or `graph`
query parameter; the full range of RDF serialization formats (including 
both application/json and application/xml are supported).

## Path parameters

- `storeName` string, required

## Query parameters

- `default` boolean
- `graph` string, url

## Response `200`

Successful response

- object — This schema describes the JSON format returned when the `graph` and `default` query parameters are **NOT** provided. If either of these query parameters are provided, the response will be RDF serialized in the format specified by the Accept header of the request. If a SPARQL query results format is requested in the Accept header, the result will be a SPARQL result set with a single column that lists each of the graph IRIs in the store on a separate row.
  - `graphs` string[]

## Changes

- **2015-05-26** `694b44600c48` — 1 info
  - api tag `graph store protocol` added
- **2015-05-26** `37652d797bdc` — 1 info
  - endpoint added
- **2015-05-19** `404ee72d2da6` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/brightstardb/apis/brightstardb-rest-api/changes/:storeName/graphs/get.md)

---

[API](https://skmtc.dev/brightstardb/apis/brightstardb-rest-api.md) · [All operations](https://skmtc.dev/brightstardb/apis/brightstardb-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/brightstardb/brightstardb-rest-api/revisions/e94ef9356aa7/schema)
