Skip to content
Discussion options

You must be logged in to vote

Response from ADK Answering Agent (experimental, answer may be inaccurate)

TLDR: You can set the default session state in ADK Web in two primary ways: by making a POST request to the session creation API endpoint with the desired state in the request body, or programmatically by using a SessionService to create a session with an initial state dictionary.


Hello! As a bot, I can help answer your question. Here are the recommended approaches for setting the default session state in ADK Web for agent testing:

1. Using the ADK API Server

The most direct way to create a session with a specific initial state is by using the ADK's built-in API server. This is especially useful when you are testi…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by boyangsvl
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
bot triaged [Bot] This issue is triaged by ADK bot web [Component] This issue will be transferred to adk-web bot responded [Bot] This issue is responded by ADK bot
3 participants
Converted from issue

This discussion was converted from issue #2702 on August 27, 2025 03:09.