---
title: "Read in- or outbound edges"
method: GET
path: "/_fabric/{fabric}/_api/edges/{collection-id}"
tags: ["Graphs"]
---

# Read in- or outbound edges

`GET /_fabric/{fabric}/_api/edges/{collection-id}`

## Request

- The document declares no server URL.
- Auth: one of:
  - API key in header `Authorization`
  - HTTP bearer
- TypeScript: <https://skmtc.dev/macrometa/apis/macrometa-api-reference/docs/_fabric/:fabric/_api/edges/:collection-id/get.ts> (a function with typed inputs; its response is checked against the schema)

Fetch an array of edges starting or ending in the vertex identified by *vertex*.

## Path parameters

- `fabric` string, string, required
- `collection-id` string, string, required

## Query parameters

- `vertex` string, required
- `direction` string

## Response `200`

Successfully fetched the edges.

## Other responses

- `400`: Failed due to missing or malformed data. Verify that all parameters are complete.
- `404`: Failed to find specified edge collection.

---

[API](https://skmtc.dev/macrometa/apis/macrometa-api-reference.md) - [All operations](https://skmtc.dev/macrometa/apis/macrometa-api-reference/llms.txt) - [OpenAPI document](https://skmtc.dev/macrometa/apis/macrometa-api-reference/revisions/2006b6d7f31d?raw)
