---
title: "Returns a list of supported data formats"
method: GET
path: "/api/v2/formats"
tags: ["data"]
---

# Returns a list of supported data formats

`GET /api/v2/formats`

## Response `200`

success

- object
  - `id` string — unique name of the format
  - `read` boolean — format is supported for loading quads
  - `write` boolean — format is supported for exporting quads
  - `nodes` boolean — format can be used to describe nodes
  - `ext` string[] — typical file extensions for this format
  - `mime` string[] — typical content types for this format
  - `binary` boolean — format uses binary encoding

## Other responses

- `default` — Unexpected error

## Changes

- **2017-12-24** `b304c7dda6b2` — 1 info
  - added the optional property `nodes` to the response with the `200` status
- **2017-09-01** `b493865d180c` — 1 warning
  - removed the optional property `nodes` from the response with the `200` status

[Change history](https://skmtc.dev/cayleygraph/apis/cayley-api/changes/api/v2/formats/get.md)

---

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