GET
/
session
/
{session_id}
curl --request GET \
  --url https://api.devin.ai/v1/session/{session_id} \
  --header 'Authorization: Bearer <token>'
{
  "session_id": "devin-xxx",
  "status": "running",
  "title": "Review PR #123",
  "created_at": "2024-01-01T00:00:00Z",
  "updated_at": "2024-01-01T00:01:00Z",
  "snapshot_id": null,
  "playbook_id": null,
  "tags": [
    "api",
    "documentation",
    "review"
  ],
  "structured_output": {
    "result": "success"
  },
  "status_enum": "blocked",
  "messages": [
    {
      "type": "user_message",
      "message": "Review the pull request at https://github.com/example/repo/pull/123",
      "timestamp": "2024-01-01T00:00:00Z",
      "username": "user@example.com",
      "origin": "web"
    },
    {
      "type": "devin_message",
      "message": "I'll review the pull request for you. Let me analyze the changes.",
      "timestamp": "2024-01-01T00:00:30Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

session_id
string
required

The session ID

Response

200
application/json
Returns session details

Detailed information about an existing session