GET
/
session
/
{session_id}
import { ComfyDeploy } from "comfydeploy";

const comfyDeploy = new ComfyDeploy({
  bearer: "<YOUR_BEARER_TOKEN_HERE>",
});

async function run() {
  const result = await comfyDeploy.session.get({
    sessionId: "<id>",
  });

  // Handle the result
  console.log(result);
}

run();
{
  "session_id": "<string>",
  "gpu_event_id": "<string>",
  "url": "<string>"
}

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

Response

200
application/json
Successful Response
session_id
string
required
gpu_event_id
string
required
url
string
required