Apache Livy website screenshot

Apache Livy

Apache Livy is a service that enables easy interaction with a Spark cluster over a REST interface. It allows submitting Spark jobs or snippets of Spark code, retrieving results synchronously or asynchronously, and managing Spark contexts across multiple users. Licensed under Apache 2.0.

Apache Livy publishes 3 APIs on the APIs.io network: Batches API, Sessions API, and Statements API. Tagged areas include Big Data, Interactive Computing, Open Source, REST, and Spark.

The Apache Livy catalog on APIs.io includes 1 JSON-LD context and 2 Spectral governance rulesets.

Apache Livy’s developer surface includes documentation, getting-started guide, and 9 more developer resources.

49.7/100 developing ▼ -5.0 Agent 28/100 agent aware Full breakdown ↓
scored 2026-07-28 · rubric v0.6
AccessFreemium
3 APIs 7 Features 4 Use Cases
Big DataInteractive ComputingOpen SourceRESTSpark

Kin Score

Kin Score Kin Score How this is scored →
scored 2026-07-28 · rubric v0.6
Composite quality — 49.7/100 · developing
Contract Quality 14.2 / 25
Developer Ergonomics 3.9 / 20
Commercial Clarity 10.0 / 20
Operational Transparency 6.8 / 13
Governance 8.3 / 12
Discoverability 6.5 / 10
Agent readiness — 28/100 · agent aware
Machine-Readable Contract 18 / 18
Agentic Access Contract 10 / 10
MCP Server 0 / 12
Machine-Readable Auth 0 / 10
Idempotency 0 / 9
Stable Error Semantics 0 / 8
Request/Response Examples 7 / 7
Rate-Limit Signaling 7 / 7
Typed Event Surface 0 / 6
Agent Skills 0 / 5
Well-Known Catalog 0 / 4
Consent & Bot Identity 0 / 3
A2A Agent Card 0 / 8
Dry-Run / Simulate Mode 0 / 4
Improve this rating by publishing the missing artifacts — every area above can be raised, and the full rubric is at apis.io/rating/. This rating is computed from github.com/api-evangelist/apache-livy: open an issue to ask a question, or submit a pull request to add artifacts. Want it done for you? Prioritized profiling — $2,500 →

APIs 3

Individual APIs this provider publishes, each with its own machine-readable definition.

Apache Livy Batches API

Batch Spark job submission

Apache Livy Sessions API

Interactive Spark session management

Apache Livy Statements API

Code statement execution within sessions

Pricing Plans 1

Published pricing tiers and plan structures.

Rate Limits 1

Documented rate limits and quota policies.

Apache Livy Rate Limits

5 limits

RATE LIMITS

FinOps 1

Cost, billing, and metering signals for API financial operations.

Features 7

Notable capabilities this provider offers.

Interactive Spark Sessions

Create persistent Spark contexts for interactive code execution in Python, Scala, R, and SQL.

Batch Job Submission

Submit batch Spark jobs without creating an interactive session.

Multi-Language Support

Execute code in PySpark, Spark (Scala), SparkR, and SQL.

Multi-User Impersonation

Proxy user support for multi-tenant Spark cluster access.

Asynchronous Execution

Submit jobs and poll for results asynchronously.

Log Access

Retrieve driver and executor logs for debugging.

REST Interface

Simple HTTP REST API for Spark cluster interaction without native clients.

Scroll for all 7

Semantic Vocabularies 1

JSON-LD contexts and semantic vocabularies used across these APIs.

Apache Livy Rest Api Context

12 classes · 31 properties

JSON-LD

Spectral Rules 2

Spectral governance rulesets for linting and validating these APIs.

Apache Livy API Rules

5 rules · 3 warnings 2 info

SPECTRAL

Apache Livy API Rules

18 rules · 9 errors 7 warnings 2 info

SPECTRAL

JSON Schema 12

Standalone JSON Schema definitions for this provider's data models.

BatchList

3 properties

JSON SCHEMA

Batch

5 properties

JSON SCHEMA

BatchState

2 properties

JSON SCHEMA

CreateBatchRequest

10 properties

JSON SCHEMA

CreateSessionRequest

11 properties

JSON SCHEMA

Log

4 properties

JSON SCHEMA

SessionList

3 properties

JSON SCHEMA

Session

8 properties

JSON SCHEMA

SessionState

2 properties

JSON SCHEMA

StatementList

2 properties

JSON SCHEMA

StatementRequest

2 properties

JSON SCHEMA

Statement

4 properties

JSON SCHEMA

Scroll for all 12

JSON Structure 12

JSON Structure definitions describing this provider's data shapes.

Rest Api Batch List Structure

3 properties

JSON STRUCTURE

Rest Api Batch State Structure

2 properties

JSON STRUCTURE

Rest Api Batch Structure

5 properties

JSON STRUCTURE

Rest Api Create Batch Request Structure

10 properties

JSON STRUCTURE

Rest Api Create Session Request Structure

11 properties

JSON STRUCTURE

Rest Api Log Structure

4 properties

JSON STRUCTURE

Rest Api Session List Structure

3 properties

JSON STRUCTURE

Rest Api Session State Structure

2 properties

JSON STRUCTURE

Rest Api Session Structure

8 properties

JSON STRUCTURE

Rest Api Statement List Structure

2 properties

JSON STRUCTURE

Rest Api Statement Request Structure

2 properties

JSON STRUCTURE

Rest Api Statement Structure

4 properties

JSON STRUCTURE

Scroll for all 12

Examples 12

Example request and response payloads for these APIs.

Rest Api Batch Example

5 fields

EXAMPLE

Rest Api Log Example

4 fields

EXAMPLE

Rest Api Session Example

8 fields

EXAMPLE

Scroll for all 12

Security Posture 2

Authentication, domain security, vulnerability disclosure, and trust-center signals.

Apache Livy Domain Security

TLSv1.3 · HSTS · DMARC

SECURITY

Apache Livy Vulnerability Disclosure

security.txt · contact published

SECURITY

Agentic Access 1

Recommended x-agentic-access execution contracts for AI agents.

Apache Livy Agentic Access

15 operations · 5 acting

15 operations · 5 acting

AGENTIC

Use Cases 4

What developers build with this provider.

Notebook Integration

Power Jupyter, Zeppelin, and other notebooks with Spark backends via Livy.

Data Engineering Pipelines

Submit Spark batch jobs from orchestration tools like Airflow and Oozie.

Interactive Data Exploration

Execute ad-hoc Spark code for exploratory data analysis.

Multi-Tenant Spark Access

Enable multiple users to share a Spark cluster with isolation via Livy sessions.

Integrations 5

Pre-built integrations with other platforms and tools.

Apache Spark

Livy requires a Spark cluster and acts as the REST gateway to Spark.

Apache Zeppelin

Zeppelin notebook backend using Livy for distributed Spark execution.

Jupyter Notebook

Jupyter sparkmagic extension uses Livy for remote Spark kernel access.

Apache Airflow

Airflow LivyOperator for submitting Spark batch jobs from DAGs.

Amazon EMR

Livy is available as an EMR application for REST-based Spark access.

Resources

Get Started 1

Portal, sign-up, and the first successful call

Documentation 1

Reference material describing how the API behaves

Agent Surfaces 1

MCP servers, agent skills, and machine-readable catalogs

Design & Contract 3

Pagination, idempotency, versioning, errors, and events

Build 2

SDKs, sample code, and the tooling you integrate with

Access & Security 2

Authentication, authorization, and security posture

Commercial 1

Pricing, plans, and the legal terms of use

Source (apis.yml)

apis.yml Raw ↑
aid: apache-livy
name: Apache Livy
description: Apache Livy is a service that enables easy interaction with a Spark cluster over a REST interface. It allows
  submitting Spark jobs or snippets of Spark code, retrieving results synchronously or asynchronously, and managing Spark
  contexts across multiple users. Licensed under Apache 2.0.
type: Index
accessModel:
  pricing: freemium
  onboarding: unknown
  trial: false
  try_now: false
  public: false
  label: Freemium
  confidence: medium
  source:
  - plans
  generated: '2026-07-22'
  method: derived
position: Consumer
access: 3rd-Party
image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/icons/apache-livy.png
tags:
- Big Data
- Interactive Computing
- Open Source
- REST
- Spark
created: '2026-03-16'
modified: '2026-05-19'
url: https://raw.githubusercontent.com/api-evangelist/apache-livy/refs/heads/main/apis.yml
specificationVersion: '0.19'
apis:
- aid: apache-livy:apache-livy-batches-api
  name: Apache Livy Batches API
  description: Batch Spark job submission
  humanURL: https://livy.apache.org/docs/latest/rest-api.html
  tags:
  - Batches
  properties:
  - type: OpenAPI
    url: openapi/apache-livy-batches-api-openapi.yml
  - type: Documentation
    url: https://livy.apache.org/docs/latest/rest-api.html
- aid: apache-livy:apache-livy-sessions-api
  name: Apache Livy Sessions API
  description: Interactive Spark session management
  humanURL: https://livy.apache.org/docs/latest/rest-api.html
  tags:
  - Sessions
  properties:
  - type: OpenAPI
    url: openapi/apache-livy-sessions-api-openapi.yml
  - type: Documentation
    url: https://livy.apache.org/docs/latest/rest-api.html
- aid: apache-livy:apache-livy-statements-api
  name: Apache Livy Statements API
  description: Code statement execution within sessions
  humanURL: https://livy.apache.org/docs/latest/rest-api.html
  tags:
  - Statements
  properties:
  - type: OpenAPI
    url: openapi/apache-livy-statements-api-openapi.yml
  - type: Documentation
    url: https://livy.apache.org/docs/latest/rest-api.html
common:
- type: AgenticAccess
  url: agentic-access/apache-livy-agentic-access.yml
- type: VulnerabilityDisclosure
  url: security/apache-livy-vulnerability-disclosure.yml
- type: DomainSecurity
  url: security/apache-livy-domain-security.yml
- type: GitHubOrganization
  url: https://github.com/apache
- type: GitHubRepository
  url: https://github.com/apache/incubator-livy
- type: Documentation
  url: https://livy.apache.org/docs/latest/
- type: GettingStarted
  url: https://livy.apache.org/get-started/
- type: TermsOfService
  url: https://www.apache.org/licenses/LICENSE-2.0
- type: Versioning
  url: https://livy.apache.org/download/
- type: SpectralRules
  url: rules/apache-livy-spectral-rules.yml
- type: Vocabulary
  url: vocabulary/apache-livy-vocabulary.yaml
- type: Features
  data:
  - name: Interactive Spark Sessions
    description: Create persistent Spark contexts for interactive code execution in Python, Scala, R, and SQL.
  - name: Batch Job Submission
    description: Submit batch Spark jobs without creating an interactive session.
  - name: Multi-Language Support
    description: Execute code in PySpark, Spark (Scala), SparkR, and SQL.
  - name: Multi-User Impersonation
    description: Proxy user support for multi-tenant Spark cluster access.
  - name: Asynchronous Execution
    description: Submit jobs and poll for results asynchronously.
  - name: Log Access
    description: Retrieve driver and executor logs for debugging.
  - name: REST Interface
    description: Simple HTTP REST API for Spark cluster interaction without native clients.
- type: UseCases
  data:
  - name: Notebook Integration
    description: Power Jupyter, Zeppelin, and other notebooks with Spark backends via Livy.
  - name: Data Engineering Pipelines
    description: Submit Spark batch jobs from orchestration tools like Airflow and Oozie.
  - name: Interactive Data Exploration
    description: Execute ad-hoc Spark code for exploratory data analysis.
  - name: Multi-Tenant Spark Access
    description: Enable multiple users to share a Spark cluster with isolation via Livy sessions.
- type: Integrations
  data:
  - name: Apache Spark
    description: Livy requires a Spark cluster and acts as the REST gateway to Spark.
  - name: Apache Zeppelin
    description: Zeppelin notebook backend using Livy for distributed Spark execution.
  - name: Jupyter Notebook
    description: Jupyter sparkmagic extension uses Livy for remote Spark kernel access.
  - name: Apache Airflow
    description: Airflow LivyOperator for submitting Spark batch jobs from DAGs.
  - name: Amazon EMR
    description: Livy is available as an EMR application for REST-based Spark access.
maintainers:
- FN: Kin Lane
  email: info@apievangelist.com