InvokeFunctionResponse
Response payload for a Function endpoint.
Definition
TypeScript
interface InvokeFunctionResponse {
ok: boolean;
result: unknown;
error: string | null;
durationMs: number;
}Fields
| Field | Type | Notes |
|---|---|---|
ok | boolean | required — True if the invocation completed without error. |
result | unknown | required — Function return value; serialized as JSON. Null when ok is false. |
error | string | null | required — Error message when ok is false; null otherwise. |
durationMs | number | required — Wall-clock duration of the invocation in milliseconds. |