Trillo Workbench APIs

This document gives an overview of Trillo Workbench restful APIs and how a client uses them. Trillo Workbench API Playground provides a much greater details, documentation and examples.

How to use Trillo Workbench APIs

Like any other APIs, using Trillo Workbench APIs is a two step process.

  1. Obtain an access token.

  2. Invoke APIs by passing access token.

Here, a summary is repeated for a quick reference.

Obtain Access Token

There are two options to obtain an access token.

  1. During login - Login can happen using Trillo Workbench as an authentication provider. Or, it may happen using an external identity provider.

  2. Using API Credentials - API credentials are issued by Trillo Workbench. A client uses them to obtain access token.

Invoke APIs by Passing Access Token

Once the client obtains the access token, it can invoke any Workbench API by passing access token in the header as Authorization header. See Trillo Workbench Guide for more details.


Categories of Trillo Workbench APIs

This section provides an overview of Trillo Workbench APIs by listing their categories with descriptions.

Data Source (DSApi)

Data source APIs are defined on the tables. They can be accessed after selecting a table under data source as shown below. You can also view document of the API by clicking on 'Documentation' link.

Function (FuncApi)

Function APIs, to invoke a method, are defined on individual function. They are accessible by selecting Functions > function name and API tab as shown below. There are a few function APIs such as running a function as a task. They are accessible under API Playground (see below).

APIs Playground

The API Playground, conveniently located within the Trillo Workbench UI, serves as your interactive hub for exploring and testing various APIs. Here's how it works:

  1. Browse and Select: Navigate through the categorized list of APIs to find the one you need.

  2. View Comprehensive Documentation: Access detailed information about each API, including:

    • Endpoint URL

    • Description

    • Parameters

    • Response structure

  3. Exercise It: Interact with the API directly within the Playground to test its functionality and observe its behavior.

Please see below for the layout.

An example documentation of the API is shown below.

Last updated