Skip to content

OpenBindings Host

Interface for an OpenBindings host — a remote service that provides binding execution, interface resolution, context management, and format discovery. Clients connect to a host for infrastructure capabilities that complement browser-side or local execution. A host composes the binding-executor, interface-creator, context-store, and software-descriptor roles, and adds host-specific operations like interface resolution.

OBI 0.1.0 v0.1.0 9 operations

Roles

openbindings.software-descriptoropenbindings.context-storeopenbindings.binding-executoropenbindings.interface-creator

Operations

Schemas

SoftwareInfo object

Identity and metadata for a piece of software. Implementations may include additional fields.

name string required

Human-readable display name.

version string

Software version.

description string

Brief description of what this software does.

homepage string

URL to documentation or project page.

repository string

URL to source code repository.

maintainer string

Author or maintaining organization.

FormatInfo object

Information about a supported binding format.

token string required

Format token (e.g., openapi@3.1, asyncapi@3.0, grpc).

description string

Human-readable description of this format.

CreateInterfaceSource object

A binding source to extract operations from.

format string required

Format token (e.g., openapi@3.1).

name string

Key name for this binding source in the output.

location string

Location to fetch content from (path or URL).

content any

Content provided directly.

outputLocation string

Location to reference in the output.

embed boolean

If true, embed content inline in the output.

description string

Human-readable description for this source.

One of: anyany
CreateInterfaceInput object
openbindingsVersion string

Target OpenBindings spec version.

sources CreateInterfaceSource[]

Binding sources to extract from.

name string

Interface name override.

version string

Interface contract version override.

description string

Interface description override.

OpenBindingsInterface object

A valid OpenBindings interface document.

ExecuteSource object

Binding source for execution.

format string required

Format token.

location string

Location of the binding source (path or URL).

content any

Binding source content directly.

One of: anyany
BindingContext object

Opaque runtime context for binding execution. Well-known fields include 'bearerToken', 'apiKey', 'basic'.

ExecutionOptions object

Developer-supplied per-request execution options.

headers object
cookies object
environment object
metadata object
ExecuteBindingInput object

Input for executing a resolved binding.

source ExecuteSource required
ref string required

Reference within the binding source.

input any

Operation input data.

context BindingContext
options ExecutionOptions
Error object
code string required
message string required
details any
ExecuteBindingOutput object

Output from executing a resolved binding.

output any
status integer
durationMs number
error Error
ContextEntry object

A stored context entry.

key string required

Context store key (typically a normalized API origin, e.g., 'api.example.com').

context object

Opaque credential map. Structure is executor-managed; well-known fields include 'bearerToken', 'apiKey', 'basic'.

ResolveInterfaceInput object

Input for resolving an interface from a URL.

url string required

URL to resolve an OpenBindings interface from. The host fetches and optionally synthesizes the interface.

ResolveInterfaceOutput object

Result of resolving an interface.

interface OpenBindingsInterface

The resolved OpenBindings interface.

synthesized boolean

True if the interface was synthesized from a non-OBI source.

sourceFormat string

Detected source format when synthesized (e.g., openapi@3.1).

Source