GET
/
fastedge
/
v1
/
apps
/
{id}
/
logs
curl --request GET \
  --url https://api.gcore.com/fastedge/v1/apps/{id}/logs \
  --header 'Authorization: <api-key>'
{
  "logs": [
    {
      "id": "<string>",
      "app_name": "<string>",
      "timestamp": "2023-11-07T05:31:56Z",
      "log": "<string>",
      "edge": "<string>",
      "client_ip": "<string>"
    }
  ],
  "offset": 123,
  "total_count": 123
}

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef

Path Parameters

id
integer
required

ID of the app

Query Parameters

from
string

Reporting period start time, RFC3339 format. Default 1 hour ago.

Example:

"2023-12-31 23:59:59+00:00"

to
string

Reporting period end time, RFC3339 format. Default current time in UTC.

Example:

"2024-01-31 23:59:59+00:00"

edge
string

Edge name

sort
enum<string>

Sort order (default desc)

Available options:
desc,
asc
limit
integer

Limit for pagination

offset
integer

Offset for pagination

Search string

client_ip
string

Search by client IP

Response

200
application/json

A paged array of logs

The response is of type object.