Skip to main content
IPED includes a Web API that allows remote access to processed cases. You can search cases, retrieve document metadata and content, manage bookmarks, and more through HTTP REST endpoints.

Overview

The Web API provides programmatic access to:
  • Search across one or more cases
  • Retrieve document properties and metadata
  • Download document content and text
  • Get thumbnails and previews
  • Manage bookmarks and tags
  • List available data sources
The Web API accesses already processed cases. You cannot trigger processing through the API.

Starting the Web API Server

The Web API server must be started separately:

Configuration

Create a sources.json file listing your cases:
sources.json

Command-Line Options

API Endpoints

Base URL

All endpoints are relative to: http://localhost:8080/

Authentication

The current implementation does not include authentication. Deploy behind a reverse proxy with authentication for production use.

Search Documents

Search for documents across all sources or within a specific source.
Query Parameters:
  • q (required) - Lucene query string
  • sourceID (optional) - Limit search to specific source
Response:

Query Syntax

IPED uses Lucene query syntax:

Documents

Get Document Properties

Retrieve all metadata and properties for a document.
Response:

Get Document Text

Retrieve the extracted text content of a document.
Response: Plain text (UTF-8)

Get Document Content

Download the raw file content.
Response: Binary file content with appropriate Content-Type header

Get Document Thumbnail

Retrieve a thumbnail image of the document.
Response: JPEG image

Sources

List Sources

Get all available data sources.
Response:

Get Source Details

Get information about a specific source.
Response:

Add Source

Dynamically add a new data source.

Bookmarks

List Bookmarks

Get all bookmark names.
Response:

Get Bookmark Documents

Retrieve all documents with a specific bookmark.
Response:

Create Bookmark

Create a new bookmark.

Add Documents to Bookmark

Tag documents with a bookmark.

Remove Documents from Bookmark

Untag documents from a bookmark.

Delete Bookmark

Remove a bookmark entirely.

Rename Bookmark

Rename an existing bookmark.

Categories

List available file categories.
Response:

Complete Example: Search and Export

Here’s a complete example that searches for documents and exports their text:

Integration Examples

Python Client Library

Create a reusable client:
iped_client.py

Swagger Documentation

The API includes Swagger/OpenAPI documentation accessible at:
This provides an interactive interface to explore and test all endpoints.

Next Steps

Scripting

Extend IPED with custom scripts

Multicase Analysis

Analyze multiple cases together