Infraon API Guide
Product DocsSchemaAuthentication
  • Welcome
    • Base URL
    • Authorization
    • Responses
  • Modules
    • Schema
    • Authentication
    • Announcement
    • API Registration
    • Async Tasks
    • BusinessRule
    • BusinessServiceConfiguration
    • Service Catalogue
    • CMDBBlacklistWhitelist
    • CMDBCategory
    • CMDBConsumables
    • Ux
    • CMDBSoftwareLicense
    • Cmdb
    • CMDBRelation
    • CMDBSoftware
    • ContractManagement
    • Department
    • Events
    • Field Configuration
    • IMACD
    • Knowledge Base
    • Leaves
    • Chat
    • Marketplace
    • APIViewSet
    • BeepViewSet
    • SMSviewset
    • Suppressedviewset
    • Organization Location
    • Partner
    • Predicted Events
    • Requester
    • Service Feasibility Requests
    • Role Profile
    • Tag
    • Service_outage
    • Teams
    • Telecom Settings
    • Trap Configurations
    • User Profile
    • Vendor Managemment
    • Association Events
    • Device Template
    • Discovery Configuration
    • Jobs
    • MIB Explorer
    • Seasonal Events
    • IPAM
    • Log Grok Pattern Configuration
    • Log Pipeline Configuration
    • Log Integraion
    • Log Search
    • CLI Download Jobs
    • Configuration Profiles
    • Configuration Policies
    • Configuration Rules
    • Configuration Search
    • Configuration Template
    • Configuration Trigger
    • Jobs Account Audit
    • Manage Vulnerabilities
    • OS Image Download
    • Rule Group
    • Configuration Upload Jobs
    • Work Flow Jobs
    • Change
    • Checklist
    • Incident
    • Problem
    • Release
    • Request Process
    • Task
    • Models
Powered by GitBook
On this page
  1. Modules

CLI Download Jobs

PreviousLog SearchNextConfiguration Profiles
get

API endpoint that allows users to be viewed or edited.

Authorizations
Path parameters
idstringRequired
Responses
200Success
application/json
get
GET /ux/nccm/cli_jobs/{id}/ HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Accept: */*
200Success
{
  "id": "text",
  "created_time": "text",
  "client_type_": "text",
  "session_status": "text",
  "session_recording_status": "text",
  "user_name": "text",
  "first_access_time": "text",
  "last_access_time": "text",
  "duration": "text",
  "session_end_time": "text",
  "hide_tail": "text",
  "cli_job_id": "text",
  "organization": "-1",
  "ci_id": "-1",
  "status": -1,
  "userId": -1,
  "session_id": "text",
  "comments": "text",
  "start_time": "2025-06-07T14:09:51.635Z",
  "client_type": "text",
  "ssh_user": "text",
  "creation_time": "2025-06-07T14:09:51.635Z",
  "distributed_ip": "text",
  "poll_addr": "text",
  "port": 1,
  "audits": "text",
  "approval_type": "text",
  "approved_by": "text",
  "approved_time": "2025-06-07T14:09:51.635Z",
  "firstaccess_time": "2025-06-07T14:09:51.635Z",
  "lastaccess_time": "2025-06-07T14:09:51.635Z",
  "accessclose_time": "2025-06-07T14:09:51.635Z",
  "how_long": 1,
  "how_many_times": 1,
  "how_many_times_tried": 1,
  "last_update_time": "2025-06-07T14:09:51.635Z",
  "file_size": "text",
  "django_process_no": 1,
  "session_recording": 1,
  "distributed_file_copy": 1,
  "incident_id": "text",
  "updated_sm_incident": 1,
  "agent_access_user": "text",
  "ha_inserted": 1,
  "is_deleted": true,
  "access_reason": "text",
  "client_ip": "text",
  "session_end_reason": "text"
}
delete

API endpoint that allows users to be viewed or edited.

Authorizations
Path parameters
idstringRequired
Responses
204
No response body
delete
DELETE /ux/nccm/cli_jobs/{id}/ HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Accept: */*
204

No response body

No content

get

API endpoint that allows users to be viewed or edited.

Authorizations
Responses
200Success
application/json
get
GET /ux/nccm/cli_jobs/cli-file-remove/ HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Accept: */*
200Success
{
  "id": "text",
  "created_time": "text",
  "client_type_": "text",
  "session_status": "text",
  "session_recording_status": "text",
  "user_name": "text",
  "first_access_time": "text",
  "last_access_time": "text",
  "duration": "text",
  "session_end_time": "text",
  "hide_tail": "text",
  "cli_job_id": "text",
  "organization": "-1",
  "ci_id": "-1",
  "status": -1,
  "userId": -1,
  "session_id": "text",
  "comments": "text",
  "start_time": "2025-06-07T14:09:51.635Z",
  "client_type": "text",
  "ssh_user": "text",
  "creation_time": "2025-06-07T14:09:51.635Z",
  "distributed_ip": "text",
  "poll_addr": "text",
  "port": 1,
  "audits": "text",
  "approval_type": "text",
  "approved_by": "text",
  "approved_time": "2025-06-07T14:09:51.635Z",
  "firstaccess_time": "2025-06-07T14:09:51.635Z",
  "lastaccess_time": "2025-06-07T14:09:51.635Z",
  "accessclose_time": "2025-06-07T14:09:51.635Z",
  "how_long": 1,
  "how_many_times": 1,
  "how_many_times_tried": 1,
  "last_update_time": "2025-06-07T14:09:51.635Z",
  "file_size": "text",
  "django_process_no": 1,
  "session_recording": 1,
  "distributed_file_copy": 1,
  "incident_id": "text",
  "updated_sm_incident": 1,
  "agent_access_user": "text",
  "ha_inserted": 1,
  "is_deleted": true,
  "access_reason": "text",
  "client_ip": "text",
  "session_end_reason": "text"
}
get

API endpoint that allows users to be viewed or edited.

Authorizations
Responses
200Success
application/json
get
GET /ux/nccm/cli_jobs/cli-session/ HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Accept: */*
200Success
{
  "id": "text",
  "created_time": "text",
  "client_type_": "text",
  "session_status": "text",
  "session_recording_status": "text",
  "user_name": "text",
  "first_access_time": "text",
  "last_access_time": "text",
  "duration": "text",
  "session_end_time": "text",
  "hide_tail": "text",
  "cli_job_id": "text",
  "organization": "-1",
  "ci_id": "-1",
  "status": -1,
  "userId": -1,
  "session_id": "text",
  "comments": "text",
  "start_time": "2025-06-07T14:09:51.635Z",
  "client_type": "text",
  "ssh_user": "text",
  "creation_time": "2025-06-07T14:09:51.635Z",
  "distributed_ip": "text",
  "poll_addr": "text",
  "port": 1,
  "audits": "text",
  "approval_type": "text",
  "approved_by": "text",
  "approved_time": "2025-06-07T14:09:51.635Z",
  "firstaccess_time": "2025-06-07T14:09:51.635Z",
  "lastaccess_time": "2025-06-07T14:09:51.635Z",
  "accessclose_time": "2025-06-07T14:09:51.635Z",
  "how_long": 1,
  "how_many_times": 1,
  "how_many_times_tried": 1,
  "last_update_time": "2025-06-07T14:09:51.635Z",
  "file_size": "text",
  "django_process_no": 1,
  "session_recording": 1,
  "distributed_file_copy": 1,
  "incident_id": "text",
  "updated_sm_incident": 1,
  "agent_access_user": "text",
  "ha_inserted": 1,
  "is_deleted": true,
  "access_reason": "text",
  "client_ip": "text",
  "session_end_reason": "text"
}
get

API endpoint that allows users to be viewed or edited.

Authorizations
Responses
200Success
application/json
get
GET /ux/nccm/cli_jobs/cli_kill_session/ HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Accept: */*
200Success
{
  "id": "text",
  "created_time": "text",
  "client_type_": "text",
  "session_status": "text",
  "session_recording_status": "text",
  "user_name": "text",
  "first_access_time": "text",
  "last_access_time": "text",
  "duration": "text",
  "session_end_time": "text",
  "hide_tail": "text",
  "cli_job_id": "text",
  "organization": "-1",
  "ci_id": "-1",
  "status": -1,
  "userId": -1,
  "session_id": "text",
  "comments": "text",
  "start_time": "2025-06-07T14:09:51.635Z",
  "client_type": "text",
  "ssh_user": "text",
  "creation_time": "2025-06-07T14:09:51.635Z",
  "distributed_ip": "text",
  "poll_addr": "text",
  "port": 1,
  "audits": "text",
  "approval_type": "text",
  "approved_by": "text",
  "approved_time": "2025-06-07T14:09:51.635Z",
  "firstaccess_time": "2025-06-07T14:09:51.635Z",
  "lastaccess_time": "2025-06-07T14:09:51.635Z",
  "accessclose_time": "2025-06-07T14:09:51.635Z",
  "how_long": 1,
  "how_many_times": 1,
  "how_many_times_tried": 1,
  "last_update_time": "2025-06-07T14:09:51.635Z",
  "file_size": "text",
  "django_process_no": 1,
  "session_recording": 1,
  "distributed_file_copy": 1,
  "incident_id": "text",
  "updated_sm_incident": 1,
  "agent_access_user": "text",
  "ha_inserted": 1,
  "is_deleted": true,
  "access_reason": "text",
  "client_ip": "text",
  "session_end_reason": "text"
}
get

API endpoint that allows users to be viewed or edited.

Authorizations
Responses
200Success
application/json
get
GET /ux/nccm/cli_jobs/options/ HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Accept: */*
200Success
{
  "id": "text",
  "created_time": "text",
  "client_type_": "text",
  "session_status": "text",
  "session_recording_status": "text",
  "user_name": "text",
  "first_access_time": "text",
  "last_access_time": "text",
  "duration": "text",
  "session_end_time": "text",
  "hide_tail": "text",
  "cli_job_id": "text",
  "organization": "-1",
  "ci_id": "-1",
  "status": -1,
  "userId": -1,
  "session_id": "text",
  "comments": "text",
  "start_time": "2025-06-07T14:09:51.635Z",
  "client_type": "text",
  "ssh_user": "text",
  "creation_time": "2025-06-07T14:09:51.635Z",
  "distributed_ip": "text",
  "poll_addr": "text",
  "port": 1,
  "audits": "text",
  "approval_type": "text",
  "approved_by": "text",
  "approved_time": "2025-06-07T14:09:51.635Z",
  "firstaccess_time": "2025-06-07T14:09:51.635Z",
  "lastaccess_time": "2025-06-07T14:09:51.635Z",
  "accessclose_time": "2025-06-07T14:09:51.635Z",
  "how_long": 1,
  "how_many_times": 1,
  "how_many_times_tried": 1,
  "last_update_time": "2025-06-07T14:09:51.635Z",
  "file_size": "text",
  "django_process_no": 1,
  "session_recording": 1,
  "distributed_file_copy": 1,
  "incident_id": "text",
  "updated_sm_incident": 1,
  "agent_access_user": "text",
  "ha_inserted": 1,
  "is_deleted": true,
  "access_reason": "text",
  "client_ip": "text",
  "session_end_reason": "text"
}
get

API endpoint that allows users to be viewed or edited.

Authorizations
Responses
200Success
application/json
get
GET /ux/nccm/cli_jobs/tail-audits/ HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Accept: */*
200Success
{
  "id": "text",
  "created_time": "text",
  "client_type_": "text",
  "session_status": "text",
  "session_recording_status": "text",
  "user_name": "text",
  "first_access_time": "text",
  "last_access_time": "text",
  "duration": "text",
  "session_end_time": "text",
  "hide_tail": "text",
  "cli_job_id": "text",
  "organization": "-1",
  "ci_id": "-1",
  "status": -1,
  "userId": -1,
  "session_id": "text",
  "comments": "text",
  "start_time": "2025-06-07T14:09:51.635Z",
  "client_type": "text",
  "ssh_user": "text",
  "creation_time": "2025-06-07T14:09:51.635Z",
  "distributed_ip": "text",
  "poll_addr": "text",
  "port": 1,
  "audits": "text",
  "approval_type": "text",
  "approved_by": "text",
  "approved_time": "2025-06-07T14:09:51.635Z",
  "firstaccess_time": "2025-06-07T14:09:51.635Z",
  "lastaccess_time": "2025-06-07T14:09:51.635Z",
  "accessclose_time": "2025-06-07T14:09:51.635Z",
  "how_long": 1,
  "how_many_times": 1,
  "how_many_times_tried": 1,
  "last_update_time": "2025-06-07T14:09:51.635Z",
  "file_size": "text",
  "django_process_no": 1,
  "session_recording": 1,
  "distributed_file_copy": 1,
  "incident_id": "text",
  "updated_sm_incident": 1,
  "agent_access_user": "text",
  "ha_inserted": 1,
  "is_deleted": true,
  "access_reason": "text",
  "client_ip": "text",
  "session_end_reason": "text"
}
  • GETGets a list of CLI Jos/Sessions
  • POST/ux/nccm/cli_jobs/
  • GET/ux/nccm/cli_jobs/{id}/
  • PUT/ux/nccm/cli_jobs/{id}/
  • DELETE/ux/nccm/cli_jobs/{id}/
  • GET/ux/nccm/cli_jobs/cli-file-remove/
  • GET/ux/nccm/cli_jobs/cli-session/
  • GET/ux/nccm/cli_jobs/cli_kill_session/
  • GET/ux/nccm/cli_jobs/options/
  • GET/ux/nccm/cli_jobs/tail-audits/

Gets a list of CLI Jos/Sessions

get

This endpoint is used to fetch all the CLi Job/Sessions in the current organization

Authorizations
Query parameters
items_per_pageintegerRequired

Items Per Page

pageintegerRequired

Page Number

reversebooleanOptional

Sorting Order

sortstringOptional

Sorting Key

Responses
200Success
application/json
get
GET /ux/nccm/cli_jobs/?items_per_page=1&page=1 HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Accept: */*
200Success
[
  {
    "id": "text",
    "created_time": "text",
    "client_type_": "text",
    "session_status": "text",
    "session_recording_status": "text",
    "user_name": "text",
    "first_access_time": "text",
    "last_access_time": "text",
    "duration": "text",
    "session_end_time": "text",
    "hide_tail": "text",
    "cli_job_id": "text",
    "organization": "-1",
    "ci_id": "-1",
    "status": -1,
    "userId": -1,
    "session_id": "text",
    "comments": "text",
    "start_time": "2025-06-07T14:09:51.635Z",
    "client_type": "text",
    "ssh_user": "text",
    "creation_time": "2025-06-07T14:09:51.635Z",
    "distributed_ip": "text",
    "poll_addr": "text",
    "port": 1,
    "audits": "text",
    "approval_type": "text",
    "approved_by": "text",
    "approved_time": "2025-06-07T14:09:51.635Z",
    "firstaccess_time": "2025-06-07T14:09:51.635Z",
    "lastaccess_time": "2025-06-07T14:09:51.635Z",
    "accessclose_time": "2025-06-07T14:09:51.635Z",
    "how_long": 1,
    "how_many_times": 1,
    "how_many_times_tried": 1,
    "last_update_time": "2025-06-07T14:09:51.635Z",
    "file_size": "text",
    "django_process_no": 1,
    "session_recording": 1,
    "distributed_file_copy": 1,
    "incident_id": "text",
    "updated_sm_incident": 1,
    "agent_access_user": "text",
    "ha_inserted": 1,
    "is_deleted": true,
    "access_reason": "text",
    "client_ip": "text",
    "session_end_reason": "text"
  }
]
post

API endpoint that allows users to be viewed or edited.

Authorizations
Body

Serializer for Documents.

Recognized primitve fields:

* ``StringField``
* ``URLField``
* ``EmailField``
* ``IntField``
* ``LongField``
* ``FloatField``
* ``DecimalField``
* ``BooleanField``
* ``DateTimeField``
* ``ComplexDateTimeField``
* ``ObjectIdField``
* ``SequenceField`` (assumes it has integer counter)
* ``UUIDField``
* ``GeoPointField``
* ``GeoJsonBaseField`` (all those fields)
* ``DateField``

Compound fields: ListField and DictField are mapped to corresponding DRF fields, with respect to nested field specification.

The ReferenceField is handled like ForeignKey in DRF: there nested serializer autogenerated if serializer depth greater then 0, otherwise it's handled by it's own (results as str(id)).

For EmbeddedDocumentField also nested serializer autogenerated for non-zero depth, otherwise it is skipped. TODO: THIS IS PROBABLY WRONG AND SHOULD BE FIXED.

Generic fields GenericReferenceField and GenericEmbeddedDocumentField are handled by their own with corresponding serializer fields.

Not well supported or untested:

``FileField``
``ImageField``
``BinaryField``

All other fields are mapped to DocumentField and probably will work wrong.

idstringRead-onlyRequired
created_timestringRead-onlyRequired
client_type_stringRead-onlyRequired
session_statusstringRead-onlyRequired
session_recording_statusstringRead-onlyRequired
user_namestringRead-onlyRequired
first_access_timestringRead-onlyRequired
last_access_timestringRead-onlyRequired
durationstringRead-onlyRequired
session_end_timestringRead-onlyRequired
hide_tailstringRead-onlyRequired
cli_job_idstring · max: 25Required
organizationstringOptionalDefault: -1
ci_idstringOptionalDefault: -1
statusintegerOptionalDefault: -1
userIdintegerOptionalDefault: -1
session_idstringOptional
commentsstringOptional
start_timestring · date-timeOptional
client_typestringOptional
ssh_userstringOptional
creation_timestring · date-timeOptional
distributed_ipstringOptional
poll_addrstringOptional
portintegerOptional
auditsstringOptional
approval_typestringOptional
approved_bystringOptional
approved_timestring · date-timeOptional
firstaccess_timestring · date-timeOptional
lastaccess_timestring · date-timeOptional
accessclose_timestring · date-timeOptional
how_longintegerOptional
how_many_timesintegerOptional
how_many_times_triedintegerOptional
last_update_timestring · date-timeOptional
file_sizestringOptional
django_process_nointegerOptional
session_recordingintegerOptional
distributed_file_copyintegerOptional
incident_idstringOptional
updated_sm_incidentintegerOptional
agent_access_userstringOptional
ha_insertedintegerOptional
is_deletedbooleanOptional
access_reasonstringOptional
client_ipstringOptional
session_end_reasonstringOptional
Responses
201Success
application/json
post
POST /ux/nccm/cli_jobs/ HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 898

{
  "cli_job_id": "text",
  "organization": "-1",
  "ci_id": "-1",
  "status": -1,
  "userId": -1,
  "session_id": "text",
  "comments": "text",
  "start_time": "2025-06-07T14:09:51.635Z",
  "client_type": "text",
  "ssh_user": "text",
  "creation_time": "2025-06-07T14:09:51.635Z",
  "distributed_ip": "text",
  "poll_addr": "text",
  "port": 1,
  "audits": "text",
  "approval_type": "text",
  "approved_by": "text",
  "approved_time": "2025-06-07T14:09:51.635Z",
  "firstaccess_time": "2025-06-07T14:09:51.635Z",
  "lastaccess_time": "2025-06-07T14:09:51.635Z",
  "accessclose_time": "2025-06-07T14:09:51.635Z",
  "how_long": 1,
  "how_many_times": 1,
  "how_many_times_tried": 1,
  "last_update_time": "2025-06-07T14:09:51.635Z",
  "file_size": "text",
  "django_process_no": 1,
  "session_recording": 1,
  "distributed_file_copy": 1,
  "incident_id": "text",
  "updated_sm_incident": 1,
  "agent_access_user": "text",
  "ha_inserted": 1,
  "is_deleted": true,
  "access_reason": "text",
  "client_ip": "text",
  "session_end_reason": "text"
}
201Success
{
  "id": "text",
  "created_time": "text",
  "client_type_": "text",
  "session_status": "text",
  "session_recording_status": "text",
  "user_name": "text",
  "first_access_time": "text",
  "last_access_time": "text",
  "duration": "text",
  "session_end_time": "text",
  "hide_tail": "text",
  "cli_job_id": "text",
  "organization": "-1",
  "ci_id": "-1",
  "status": -1,
  "userId": -1,
  "session_id": "text",
  "comments": "text",
  "start_time": "2025-06-07T14:09:51.635Z",
  "client_type": "text",
  "ssh_user": "text",
  "creation_time": "2025-06-07T14:09:51.635Z",
  "distributed_ip": "text",
  "poll_addr": "text",
  "port": 1,
  "audits": "text",
  "approval_type": "text",
  "approved_by": "text",
  "approved_time": "2025-06-07T14:09:51.635Z",
  "firstaccess_time": "2025-06-07T14:09:51.635Z",
  "lastaccess_time": "2025-06-07T14:09:51.635Z",
  "accessclose_time": "2025-06-07T14:09:51.635Z",
  "how_long": 1,
  "how_many_times": 1,
  "how_many_times_tried": 1,
  "last_update_time": "2025-06-07T14:09:51.635Z",
  "file_size": "text",
  "django_process_no": 1,
  "session_recording": 1,
  "distributed_file_copy": 1,
  "incident_id": "text",
  "updated_sm_incident": 1,
  "agent_access_user": "text",
  "ha_inserted": 1,
  "is_deleted": true,
  "access_reason": "text",
  "client_ip": "text",
  "session_end_reason": "text"
}
put

API endpoint that allows users to be viewed or edited.

Authorizations
Path parameters
idstringRequired
Body

Serializer for Documents.

Recognized primitve fields:

* ``StringField``
* ``URLField``
* ``EmailField``
* ``IntField``
* ``LongField``
* ``FloatField``
* ``DecimalField``
* ``BooleanField``
* ``DateTimeField``
* ``ComplexDateTimeField``
* ``ObjectIdField``
* ``SequenceField`` (assumes it has integer counter)
* ``UUIDField``
* ``GeoPointField``
* ``GeoJsonBaseField`` (all those fields)
* ``DateField``

Compound fields: ListField and DictField are mapped to corresponding DRF fields, with respect to nested field specification.

The ReferenceField is handled like ForeignKey in DRF: there nested serializer autogenerated if serializer depth greater then 0, otherwise it's handled by it's own (results as str(id)).

For EmbeddedDocumentField also nested serializer autogenerated for non-zero depth, otherwise it is skipped. TODO: THIS IS PROBABLY WRONG AND SHOULD BE FIXED.

Generic fields GenericReferenceField and GenericEmbeddedDocumentField are handled by their own with corresponding serializer fields.

Not well supported or untested:

``FileField``
``ImageField``
``BinaryField``

All other fields are mapped to DocumentField and probably will work wrong.

idstringRead-onlyRequired
created_timestringRead-onlyRequired
client_type_stringRead-onlyRequired
session_statusstringRead-onlyRequired
session_recording_statusstringRead-onlyRequired
user_namestringRead-onlyRequired
first_access_timestringRead-onlyRequired
last_access_timestringRead-onlyRequired
durationstringRead-onlyRequired
session_end_timestringRead-onlyRequired
hide_tailstringRead-onlyRequired
cli_job_idstring · max: 25Required
organizationstringOptionalDefault: -1
ci_idstringOptionalDefault: -1
statusintegerOptionalDefault: -1
userIdintegerOptionalDefault: -1
session_idstringOptional
commentsstringOptional
start_timestring · date-timeOptional
client_typestringOptional
ssh_userstringOptional
creation_timestring · date-timeOptional
distributed_ipstringOptional
poll_addrstringOptional
portintegerOptional
auditsstringOptional
approval_typestringOptional
approved_bystringOptional
approved_timestring · date-timeOptional
firstaccess_timestring · date-timeOptional
lastaccess_timestring · date-timeOptional
accessclose_timestring · date-timeOptional
how_longintegerOptional
how_many_timesintegerOptional
how_many_times_triedintegerOptional
last_update_timestring · date-timeOptional
file_sizestringOptional
django_process_nointegerOptional
session_recordingintegerOptional
distributed_file_copyintegerOptional
incident_idstringOptional
updated_sm_incidentintegerOptional
agent_access_userstringOptional
ha_insertedintegerOptional
is_deletedbooleanOptional
access_reasonstringOptional
client_ipstringOptional
session_end_reasonstringOptional
Responses
200Success
application/json
put
PUT /ux/nccm/cli_jobs/{id}/ HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 898

{
  "cli_job_id": "text",
  "organization": "-1",
  "ci_id": "-1",
  "status": -1,
  "userId": -1,
  "session_id": "text",
  "comments": "text",
  "start_time": "2025-06-07T14:09:51.635Z",
  "client_type": "text",
  "ssh_user": "text",
  "creation_time": "2025-06-07T14:09:51.635Z",
  "distributed_ip": "text",
  "poll_addr": "text",
  "port": 1,
  "audits": "text",
  "approval_type": "text",
  "approved_by": "text",
  "approved_time": "2025-06-07T14:09:51.635Z",
  "firstaccess_time": "2025-06-07T14:09:51.635Z",
  "lastaccess_time": "2025-06-07T14:09:51.635Z",
  "accessclose_time": "2025-06-07T14:09:51.635Z",
  "how_long": 1,
  "how_many_times": 1,
  "how_many_times_tried": 1,
  "last_update_time": "2025-06-07T14:09:51.635Z",
  "file_size": "text",
  "django_process_no": 1,
  "session_recording": 1,
  "distributed_file_copy": 1,
  "incident_id": "text",
  "updated_sm_incident": 1,
  "agent_access_user": "text",
  "ha_inserted": 1,
  "is_deleted": true,
  "access_reason": "text",
  "client_ip": "text",
  "session_end_reason": "text"
}
200Success
{
  "id": "text",
  "created_time": "text",
  "client_type_": "text",
  "session_status": "text",
  "session_recording_status": "text",
  "user_name": "text",
  "first_access_time": "text",
  "last_access_time": "text",
  "duration": "text",
  "session_end_time": "text",
  "hide_tail": "text",
  "cli_job_id": "text",
  "organization": "-1",
  "ci_id": "-1",
  "status": -1,
  "userId": -1,
  "session_id": "text",
  "comments": "text",
  "start_time": "2025-06-07T14:09:51.635Z",
  "client_type": "text",
  "ssh_user": "text",
  "creation_time": "2025-06-07T14:09:51.635Z",
  "distributed_ip": "text",
  "poll_addr": "text",
  "port": 1,
  "audits": "text",
  "approval_type": "text",
  "approved_by": "text",
  "approved_time": "2025-06-07T14:09:51.635Z",
  "firstaccess_time": "2025-06-07T14:09:51.635Z",
  "lastaccess_time": "2025-06-07T14:09:51.635Z",
  "accessclose_time": "2025-06-07T14:09:51.635Z",
  "how_long": 1,
  "how_many_times": 1,
  "how_many_times_tried": 1,
  "last_update_time": "2025-06-07T14:09:51.635Z",
  "file_size": "text",
  "django_process_no": 1,
  "session_recording": 1,
  "distributed_file_copy": 1,
  "incident_id": "text",
  "updated_sm_incident": 1,
  "agent_access_user": "text",
  "ha_inserted": 1,
  "is_deleted": true,
  "access_reason": "text",
  "client_ip": "text",
  "session_end_reason": "text"
}