Skip to main content
POST
Install Plugin Endpoint

Authorizations

X-Session-API-Key
string
header
required

Body

application/json

Request body for installing a plugin.

source
string
required

Plugin source - git URL, GitHub shorthand, or local path. Examples: 'github:OpenHands/extensions/plugins/city-weather', '/path/to/plugin'

Minimum string length: 1
force
boolean
default:false

If true, overwrite existing installation

ref
string | null

Optional branch, tag, or commit to install

repo_path
string | null

Subdirectory path within the repository (for monorepos)

Response

Successful Response

Response containing installed plugin information.

install_path
string
required

Path where the plugin is installed

installed_at
string
required

ISO 8601 timestamp of installation

name
string
required

Plugin name

source
string
required

Original source (e.g., 'github:owner/repo')

description
string
default:""

Plugin description

enabled
boolean
default:true

Whether the plugin is enabled

files
string[] | null

Plugin files, relative to install_path (None if load failed)

repo_path
string | null

Subdirectory path within the repository

resolved_ref
string | null

Resolved git commit SHA

skills
PluginSkillSummary · object[] | null

Skills bundled in the plugin (None if it failed to load)

version
string
default:""

Plugin version