OpenAPI Connection
This page provides a step-by-step guide on establishing an OpenAPI connection between Timbr and Retool. It details how to gather the required credentials (including the Timbr user token and the knowledge graph specification URL), configure the integration in Retool, and resolve common issues that may arise during the setup process.
Gather Connection Details
To configure the OpenAPI connection in Retool, first gather these details:
- Your Timbr user token.
- The specification URL of the knowledge graph you want to query.
Copy the Timbr User Token
From the main welcome page (accessible by clicking the Timbr logo), locate the top-left container.
Click the Copy user token button.

Copy the Specification URL
In the OpenAPI Swagger UI, copy the URL beneath the main Timbr API - OpenAPI 3.0 title.

There are two ways to access the OpenAPI Swagger UI from Timbr:
Click the Help menu icon in the top-right corner of the Timbr platform to open the main Swagger UI component.
Then, select the desired knowledge graph from the dropdown in the top-right corner.

From the Ontology Explorer page, choose the knowledge graph you want to query.
Then click the Swagger icon in the top-right menu bar to open the Swagger UI for that specific knowledge graph.
Creating Timbr OpenAPI as a Retool Resource
- In Retool, go to Resources, click Create new, and select Resource.
- Under the APIs category, select OpenAPI.
- In the configuration window, specify:
General
- Name: A recognizable name for your knowledge graph or resource in Retool.
Credentials
- Specification URL: The URL you copied earlier.
- Check the Forward headers when fetching OpenAPI spec. option.
- Headers:
- Key:
x-api-key - Value: Your copied Timbr user token

- Key:
Click Create resource.
dangerIf you encounter issues, consult the Retool error messages and confirm the correct values.
Connecting Timbr OpenAPI to Retool App
Open your Retool app. Drag in the desired component, and in the right panel, use the Data Source dropdown.
Select Connect Data.

On the left panel, under Resources, locate the resource you just created and click on it.

Under Operation, choose the concept you want to query. Click Save & Run.


Now that Retool is linked to your Timbr knowledge graph, you can generate interactive dashboards, explore relationships across entities, and run real-time queries. Combine multiple data sources for richer insights, design forms to create or update resources, and leverage Timbr’s semantic layer to quickly validate and interpret data within any Retool application.