Skip to main content
Get a session

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

HTTP 200 response.

artifact_status
string
required
commit_ts
string
required
content_hash_hex
string
required
created_at
string
required
created_by
string
required
extension
string
required
id
string
required
is_latest
boolean
required
kind
string
required
name
string
required
source_type
string
required
updated_at
string
required
updated_by
string
required
version_ordinal
integer<int64>
required
workspace_id
string
required
session_status
enum<string>
required
Available options:
running,
completed,
failed
subject_id
string
required
subject_kind
enum<string>
required
Available options:
harness,
agent
display_name
string
identity
null | object
oidc_client_id
string | null
owner_id
string | null
project_id
string | null
repo_id
string | null
source_created_at
string | null
source_created_by
string | null
source_digest
string | null
source_id
string | null
source_last_modified_at
string | null
source_last_modified_by
string | null
source_metadata
any
source_synced_at
string | null
source_uri
string | null
source_version
string | null
version_label
string | null
agent_provider_id
string | null
agent_provider_type
null | enum<string>
Available options:
local,
custom
environment_id
string | null
error
string | null
external_session_id
string | null
is_subject_system
boolean
message_count
integer<int64>
model_id
string
stop_reason
string | null
title
string | null
usage
object
visitor_email
string | null
visitor_external_id
string | null
Available options:
unlinked,
linked,
no_match
visitor_name
string | null
visitor_type
null | enum<string>
Available options:
human,
agent
visitor_user_id
string | null
permissions
null | object
relationships
null | object