Cloudjet Logo

Lyra

A Cloudjet Product

Your Database,an API in Seconds.

Lyra is the Autonomous API Platform. Connect any database and instantly get a secure, fast, and fully-featured REST API with a powerful custom logic engine.

From Data to API in 3 Simple Steps

Stop writing boilerplate CRUD. Lyra handles the heavy lifting so you can focus on your application's logic.

1

Connect Your Database

Securely provide your database credentials. Lyra introspects your schema, tables, and relationships in seconds.

2

Explore Your Live API

Your REST API is instantly generated with OpenAPI (Swagger) docs. Explore endpoints, filtering, sorting, and pagination.

3

Add Custom Logic

Enrich your data, validate inputs, or call external services using our visual editor or simple DSL, all running in a secure sandbox.

The Custom Logic Engine

Go beyond basic CRUD. Attach powerful, custom logic to any API endpoint with the safety and performance of Rust.

Enrich user data with an external API call before it's returned. Our simple DSL is transpiled into native Rust for unparalleled speed and security.

// function triggered after a GET request to /users
function afterGetUsers(data) {
  // Loop through each user returned from the database
  for (user in data) {
    // Make an external HTTP call
    let weatherResponse = http.get(`https://api.weather.com?city=${user.city}`);
    
    if (weatherResponse.status == 200) {
      user.current_weather = weatherResponse.body.temperature;
    }
  }
  return data;
}