Skip to content
Console
On this page

Download workspace diff on an agent session

Downloads the exact patch referenced by the committed handback.

Downloads the exact patch referenced by the committed handback.

  • Path GET https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/agent_sessions/agent-session:downloadWorkspaceDiff
  • Scope agents:sessions
  • Effect read — nothing is written.
  • Collection agent_sessions

Request

FieldTypeWhat it is
namestringCanonical source Session resource name. Required.

Response

FieldTypeWhat it is
patchbytesExact UTF-8 Git patch bytes, base64 on HTTP, at most 64 KiB. Never returned again.

Errors

Every error arrives in the body Errors describes.

Examples

curl "https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/agent_sessions/agent-session:downloadWorkspaceDiff" \
  -H "Authorization: Bearer $SYLPHX_API_KEY"