Using the Workbench REST API

The Workbench REST API can be used to automate various tasks without having to resort to opening the Workbench in a browser and doing them manually.

The REST API calls fall into six major categories:

Security management

Use the security management API to add, edit or remove users, thus integrating the Workbench security into an existing system.

Location management

Use the location management API to attach, activate, edit, or detach locations.

Repository management

Use the repository management API to add, edit or remove a repository to/from any attached location. Unlike the RDF4J API, you can work with multiple remote locations from a single access point. When combined with the location management, it can be used to automate the creation of multiple repositories across your network.

Data import

Use the data import API to import data in GraphDB. You can choose between server files and a remote URL.

Saved queries

Use the saved queries API to create, edit or remove saved queries. It is a convenient way to automate the creation of saved queries that are important to your project.

You can find more information about each REST API in Setup -> REST API Documentation, as well as execute them directly from there and see the results.