Skip to content

List Auto Scaling Group Logs

GET
/notebooks/autoscale-groups/{group_id}/logs/
curl --request GET \
--url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/autoscale-groups/{group_id}/logs/?project_id=<PROJECT_ID>&location=<LOCATION>&apikey=<API_KEY>' \
--header 'Authorization: Bearer <API_TOKEN>'

Returns what was done to an Auto Scaling Group, newest first: create, edit, resize, start, stop, relaunch, delete, SSH key changes, VMs replaced after failing health checks, VMs that failed to launch, failed actions and schedule runs that were skipped. Send page or page_size to get the list in pages; without them every entry comes back.

group_id
required
integer

Auto Scaling Group ID

project_id
required
integer

Project ID

page
integer
default: 1 >= 1

Page number, starting at 1. Send page, page_size or both to get the list in pages; send neither to get every entry as a plain array.

page_size
integer
default: 50 >= 1 <= 200

Entries per page. At most 200; a larger number is treated as 200.

active_iam
integer

Active IAM ID (To access contact person account) Find your Active IAM ID here

location
required
string
Allowed values: Delhi Chennai

Location

The list

Media typeapplication/json
object
code
integer
message
string
data
One of:

Without page and page_size: every entry, newest first.

Array<object>
object
id
integer
action

What happened: created, edited, resized, relaunched, deleted, start_requested, stop_requested, started, stopped, action_failed, auto_replaced_unhealthy, ssh_keys_updated, replica_launch_failed or schedule_skipped.

string
Allowed values: created edited resized relaunched deleted start_requested stop_requested started stopped action_failed auto_replaced_unhealthy ssh_keys_updated replica_launch_failed schedule_skipped
message

The headline, in words a person can read.

string
description

A second line with more, such as what an edit changed. null when the headline says it all.

string
nullable
performed_by

ID of the person who did it. null when the platform did it.

integer
nullable
actor

Email of that person. null when the platform did it.

string
nullable
detail

Extra facts about the action. The keys vary by action.

object
occurred_at

When it happened.

string
nullable
timestamp

The same as occurred_at.

string
nullable
errors
object

Example

{
"code": 200,
"message": "Success",
"data": {
"count": 1,
"next": null,
"previous": null,
"page": 1,
"page_size": 50,
"results": [
{
"id": 902,
"action": "created",
"message": "Scale Group resized",
"description": null,
"performed_by": 1,
"actor": "user@example.com",
"detail": {},
"occurred_at": "2026-10-21T11:15:00+00:00",
"timestamp": "2026-10-21T11:15:00+00:00"
}
]
},
"errors": {}
}

page or page_size is not a whole number. errors is “Project ID is missing or invalid” when project_id is missing or not a number.

Media typeapplication/json
object
code
integer
message
string
data
object
errors
string

Example

{
"code": 400,
"message": "Bad Request",
"data": {},
"errors": "page and page_size must be integers."
}

No Auto Scaling Group with that ID in the project and region.

Media typeapplication/json
object
code
integer
message
string
data
object
errors
string

Example

{
"code": 404,
"message": "Bad Request",
"data": {},
"errors": "Autoscale Group not found"
}