Required. The resource name of the API Proxy revision deployment for which to create the DebugSession. Must be of the form organizations/{organization}/environments/{environment}/apis/{api}/revisions/{revision}.
If the API proxy resource has the space attribute set, IAM permissions are checked differently . To learn more, read the Apigee Spaces Overview.
Authorization requires the following IAM permission on the specified resource parent:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-12 UTC."],[[["This page details how to create a debug session for a deployed API Proxy revision using a `POST` request."],["The required `parent` path parameter specifies the API Proxy revision resource, following the format `organizations/{organization}/environments/{environment}/apis/{api}/revisions/{revision}`, and requires `apigee.tracesessions.create` IAM permission."],["An optional `timeout` query parameter allows setting a duration for the debug session's lifespan, in seconds."],["The request body and response body both involve instances of the `DebugSession` resource."],["Creating a debug session requires the `https://www.googleapis.com/auth/cloud-platform` OAuth scope for authorization."]]],[]]