Skip to main content
GET
/
v1
/
agents
/
{agentId}
/
sessions
/
{id}
/
result
Get Session Result
curl --request GET \
  --url https://app.opencomputer.dev/v1/agents/{agentId}/sessions/{id}/result \
  --header 'X-API-Key: <api-key>'
{
  "data": { "pr_url": "https://github.com/acme/backend/pull/43" },
  "completed_at": "2026-04-09T10:35:00Z"
}
Get the result of a completed session. The platform reads /tmp/agent_result.json from the sandbox. Returns 409 if the session is still running.
agentId
string
required
Agent ID
id
string
required
Session ID
{
  "data": { "pr_url": "https://github.com/acme/backend/pull/43" },
  "completed_at": "2026-04-09T10:35:00Z"
}