API Reference
cURL
curl --location --request PUT https://api.writer.com/v1/graphs/{graph_id} \ --header "Authorization: Bearer <token>" \ --header "Content-Type: application/json" \ --data-raw '{"name":"string", "description":"string", "urls":[{"url":"https://example.com/docs", "type":"sub_pages", "exclude_urls":["https://example.com/docs/private"]}]}'
{ "id": "50daa3d0-e7d9-44a4-be42-b53e2379ebf7", "created_at": "2024-07-10T15:03:48.785843Z", "name": "Updated graph name", "description": "Updated graph description", "urls": [ { "url": "https://example.com/docs", "status": { "status": "success", "error_type": null }, "type": "sub_pages" } ] }
Update the name and description of a Knowledge Graph.
Bearer authentication header of the form Bearer <token>, where <token> is your Writer API key.
Bearer <token>
<token>
The unique identifier of the Knowledge Graph.
The response is of type object.
object
Was this page helpful?