GET
/
v1
/
graphs
cURL
curl --location --request GET https://api.writer.com/v1/graphs \
 --header "Authorization: Bearer <token>"
{
  "data": [
    {
      "id": "50daa3d0-e7d9-44a4-be42-b53e2379ebf7",
      "created_at": "2024-07-10T15:03:48.785843Z",
      "name": "Example Knowledge Graph",
      "description": "Example description",
      "file_status": {
        "in_progress": 0,
        "completed": 0,
        "failed": 0,
        "total": 11
      },
      "type": "manual",
      "urls": null
    },
    {
      "id": "e7392337-1c4e-4bc9-aaf5-b719bf1e938a",
      "created_at": "2024-07-10T15:03:39.881370Z",
      "name": "Another example Knowledge Graph",
      "description": "Another example description",
      "file_status": {
        "in_progress": 0,
        "completed": 0,
        "failed": 0,
        "total": 0
      },
      "type": "web",
      "urls": [
        {
          "url": "https://docs.example.com",
          "status": {
            "status": "success",
            "error_type": null
          },
          "type": "single_page"
        }
      ]
    }
  ],
  "first_id": "50daa3d0-e7d9-44a4-be42-b53e2379ebf7",
  "last_id": "e7392337-1c4e-4bc9-aaf5-b719bf1e938a",
  "has_more": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your Writer API key.

Query Parameters

order
enum<string>
default:desc

Specifies the order of the results. Valid values are asc for ascending and desc for descending.

Available options:
asc,
desc
before
string<uuid>

The ID of the first object in the previous page. This parameter instructs the API to return the previous page of results.

after
string<uuid>

The ID of the last object in the previous page. This parameter instructs the API to return the next page of results.

limit
integer
default:50

Specifies the maximum number of objects returned in a page. The default value is 50. The minimum value is 1, and the maximum value is 100.

Response

200 - application/json

The response is of type object.