Skip to main content
GET
/
agents
/
auth
/
runs
/
{run_id}
JavaScript
import Kernel from '@onkernel/sdk';

const client = new Kernel({
  apiKey: 'My API Key',
});

const agentAuthRunResponse = await client.agents.auth.runs.retrieve('run_id');

console.log(agentAuthRunResponse.app_name);
{
  "app_name": "Acme Corp",
  "target_domain": "doordash.com",
  "status": "ACTIVE",
  "expires_at": "2025-11-05T20:00:00Z"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

run_id
string
required

Run ID

Response

Run details

Response from get run endpoint

app_name
string
required

App name (org name at time of run creation)

Example:

"Acme Corp"

target_domain
string
required

Target domain for authentication

Example:

"doordash.com"

status
enum<string>
required

Run status

Available options:
ACTIVE,
ENDED,
EXPIRED,
CANCELED
Example:

"ACTIVE"

expires_at
string<date-time>
required

When the handoff code expires

Example:

"2025-11-05T20:00:00Z"