API referenceSelf-hosted app server SDKMain entry pointtype-aliasesServerChatRequestCopy pageServerChatRequest type ServerChatRequest = object; A relayed chat: the customer’s session, and the request to send on its behalf. Properties projectId projectId: string; request request: ChatRequest; session session: CustomerSession;Last updated on November 18, 2026SelfHostedAppServerConfigvercel-ai-sdk