Skip to main content
GET
/
cloud
/
v1
/
faas
/
namespaces
/
{project_id}
/
{region_id}
/
{namespace_name}
/
functions
/
{function_name}
/
logs
Get function logs
curl --request GET \
  --url https://api.gcore.com/cloud/v1/faas/namespaces/{project_id}/{region_id}/{namespace_name}/functions/{function_name}/logs \
  --header 'Authorization: <api-key>'
{
  "logs": [
    {}
  ]
}

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

project_id
integer
required

Project ID

region_id
integer
required

Region ID

namespace_name
string
required

Namespace name

function_name
string
required

Function name

Query Parameters

limit
integer
default:1000

Limit the number of logs lines

Required range: 1 <= x <= 100000

Response

200 - application/json

OK

logs
Logs · object[]
required

Function logs.