AsyncAPI channel · Braintrust
· Braintrust Streaming (SSE) API
/v1/function/{function_id}/invoke
Server-side function invocation. When the request sets stream=true, the function result is delivered as an SSE stream of progress and result events.
Channel address
/v1/function/{function_id}/invoke
Parameters
function_id— The unique identifier of the function being invoked.
Operations
subscribe
streamFunctionInvoke
Receive streamed function invocation events over SSE.
Messages
functionInvokeEvent
One SSE `data:` event carrying a chunk of the function invocation result.
Content-Type:
text/event-streamAbout AsyncAPI
The AsyncAPI specification describes event-driven APIs the way OpenAPI describes request/response APIs. A channel is the named pipe — a webhook URL, a Kafka topic, a WebSocket route, an MQTT subject — that producers and consumers publish or subscribe to. Each channel carries one or more messages with structured payloads, and an operation declares whether a given party sends or receives on that channel.
Browse every event-driven channel on the APIs.io network or compare with the broader Naftiko capability, Agent Skill, and MCP server surfaces of the same providers.