Skip to content

OpenBindings Binding Executor

Interface for executing bindings in specific formats. A binding executor interprets a binding format (e.g., OpenAPI, AsyncAPI, gRPC, MCP) and knows how to execute operations through it. executeBinding always returns a stream of events — unary calls produce one event, streaming calls produce many.

OBI 0.1.0 v0.1.0 2 operations

Operations

Schemas

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.

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

Source