List lifecycle-managed resources for a session.
GET /v1/sessions/{session_id}/resources
Responses
Section titled “ Responses ”Session leased resources
A lifecycle-managed external resource owned by a session-capable workflow.
object
Number of cleanup attempts so far.
Cleanup completion time for released resources.
Cleanup attempt start time when the resource is currently claimed.
Optional user-facing label.
Stable provider identifier for cleanup calls.
Unique identifier (format: resource_{32-hex}).
Example
resource_01933b5a00007000800000000000001Last cleanup error message, if any.
Last successful touch from tool activity.
Lease duration used when refreshing the lease.
Absolute deadline after which cleanup becomes due.
Provider-specific non-secret metadata for UI/debugging. THREAT[TM-API-015]: This field is returned by the session resources API and rendered in the UI, so providers must never persist bearer tokens or other secrets here.
User connection owner used for provider cleanup, if known.
External provider responsible for the resource (e.g. “daytona”).
Provider-specific resource type (e.g. “sandbox”, “browser_session”).
Session that currently owns the resource, if still attached.
Example
session_01933b5a00007000800000000000001Current lifecycle status.
Session not found