Legba API Documentation

Welcome to the Legba API documentation. Build secure, isolated browsing experiences with our powerful REST API.

Introduction

The Legba API enables you to programmatically create and manage isolated browser instances for your organization. Each instance provides a secure, ephemeral environment that protects your infrastructure from web-based threats.

This documentation covers all available endpoints, authentication methods, and integration patterns to help you get started quickly.

Base URL

All API requests should be made to your organization-specific endpoint:

https://api.example.com/orgs/{org_uuid}/api

Replace org_uuid with your organization's unique identifier.

API Version

Current version: v1.0.0

Getting Started

To get started with the Legba API, follow these steps:

1. Obtain Your API Key

Contact your Legba administrator or visit your organization's dashboard to generate an API key.

2. Authenticate Your Requests

Include your API key in the Authorization header of every request. See the Authentication guide for details.

3. Make Your First Request

Try listing available images or creating your first instance. Check out the Quickstart Guide for examples.

API Capabilities

The Legba API provides the following capabilities:

Instances Management

Create, list, and destroy isolated browser instances programmatically.

Image Selection

Choose from available operating system and browser configurations.

API Key Management

View details about your API keys and rotate them for enhanced security.

Audit Logging

Retrieve comprehensive audit logs for compliance and monitoring.

Support & Resources

Need help? Here are some resources to get you started: