Dialogflow Retrieving Start Page, End Session Page via API call

Hi I tried to get Start Page/End Session pages provided from Dialogflow CX as default pages.

However I was not able to get those pages in API level which leads me not being able to implement test cases along with those pages.

The image above shows one of my flows

when I trigger list_page API, it just returns the custom pages in blue box but it does not return default pages such as End Session or Start Page in API level.

# Initialize request argument(s)
request = dialogflowcx_v3.ListPagesRequest(
    parent=parent,
)

# Make the request
page_result = client.list_pages(request=request)

Could you please help?

the Start Page ID is START_PAGE for the end session one is END_SESSION

And the default start flow-id is 00000000-0000-0000-0000-000000000000

1 Like

Thanks for your answer @xavidop

However when I trigger getPageRequest, it can not retrieve those pages.

yup that is correct, these are special ones

1 Like

I resolved this issue by specifying End Session (default) page on current_page of test case

sonhj07_0-1684113696939.png

I’d like to add one more thing here

The confusing part for the current API is you need to set “start_page” configurations in its flow not its page.

But it’s configurable anyhow.

1 Like