GET
/
v1
/
graphs
/
{graph_id}
curl --location --request GET https://api.writer.com/v1/graphs/{graph_id} \
 --header "Authorization: Bearer <token>"
{
  "id": "50daa3d0-e7d9-44a4-be42-b53e2379ebf7",
  "created_at": "2024-07-10T15:03:48.785843Z",
  "name": "Example graph",
  "description": "Example description",
  "file_status": {
    "in_progress": 0,
    "completed": 0,
    "failed": 0,
    "total": 11
  },
  "type": "manual"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

graph_id
string
required

The unique identifier of the graph.

Response

200 - application/json
id
string
required

A unique identifier of the graph.

created_at
string
required

The timestamp when the graph was created.

name
string
required

The name of the graph.

file_status
object
required
type
enum<string>
required

The type of graph, either manual (files are uploaded via UI or API) or connector (files are uploaded via a connector).

Available options:
manual,
connector
description
string

A description of the graph.

Was this page helpful?