Skip to main content
GET
/
v1
/
regions
/
{region}
/
projects
/
{project}
/
infrastructure
/
servers
/
{id}
/
logs
Get server provisioning logs
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch('https://api.k0rdent.ai/v1/regions/{region}/projects/{project}/infrastructure/servers/{id}/logs', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "logs": [
    {
      "timestamp": "2023-11-07T05:31:56Z",
      "severity": "debug",
      "message": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer token authentication using OAuth2/OIDC tokens

Path Parameters

region
string
required

Region identifier

project
string
required

Project identifier

id
string<uuid>
required

Unique server identifier (UUID)

Query Parameters

startTime
string<date-time>

Filter logs from this timestamp (RFC3339)

endTime
string<date-time>

Filter logs until this timestamp (RFC3339)

Response

Server provisioning logs

logs
object[]