Skip to content

AIDK API Reference / aidk-server / RequestContext

Interface: RequestContext ​

Defined in: packages/server/src/execution-context.ts:19

Extracted context from an incoming request. Framework adapters map their request shape to this.

Extended by ​

Properties ​

PropertyTypeDescriptionDefined in
metadata?Record<string, unknown>Additional metadatapackages/server/src/execution-context.ts:29
sessionId?stringSession ID for real-time channel routingpackages/server/src/execution-context.ts:23
tenantId?stringTenant ID for multi-tenant appspackages/server/src/execution-context.ts:27
threadIdstringThread/conversation IDpackages/server/src/execution-context.ts:21
userIdstringUser ID from authpackages/server/src/execution-context.ts:25

Released under the MIT License.