KosmoKrator

monitoring

Atlassian Statuspage Lua API for KosmoKrator Agents

Agent-facing Lua documentation and function reference for the Atlassian Statuspage KosmoKrator integration.

5 functions 3 read 2 write API key auth

Lua Namespace

Agents call this integration through app.integrations.statuspage.*. Use lua_read_doc("integrations.statuspage") inside KosmoKrator to discover the same reference at runtime.

Agent-Facing Lua Docs

This is the rendered version of the full Lua documentation exposed to agents when they inspect the integration namespace.

Statuspage Integration

Lua API reference for the statuspage integration package.

Functions

statuspage_list_incidents

List all incidents for your Statuspage.

local result = statuspage_list_incidents()
print(result)

statuspage_create_incident

Create a new incident on your Statuspage.

local result = statuspage_create_incident()
print(result)

statuspage_update_incident

Update an existing incident on your Statuspage.

local result = statuspage_update_incident()
print(result)

statuspage_list_components

List all components on your Statuspage.

local result = statuspage_list_components()
print(result)

statuspage_get_current_user

Get the currently authenticated Statuspage user.

local result = statuspage_get_current_user()
print(result)

Multi-Account Usage

Use namespace prefix:

local result = ns_statuspage_account1.statuspage_list_incidents()
Raw agent markdown
# Statuspage Integration

Lua API reference for the `statuspage` integration package.

## Functions

### `statuspage_list_incidents`

List all incidents for your Statuspage.

```lua
local result = statuspage_list_incidents()
print(result)
```

### `statuspage_create_incident`

Create a new incident on your Statuspage.

```lua
local result = statuspage_create_incident()
print(result)
```

### `statuspage_update_incident`

Update an existing incident on your Statuspage.

```lua
local result = statuspage_update_incident()
print(result)
```

### `statuspage_list_components`

List all components on your Statuspage.

```lua
local result = statuspage_list_components()
print(result)
```

### `statuspage_get_current_user`

Get the currently authenticated Statuspage user.

```lua
local result = statuspage_get_current_user()
print(result)
```

## Multi-Account Usage

Use namespace prefix:
```lua
local result = ns_statuspage_account1.statuspage_list_incidents()
```

Metadata-Derived Lua Example

local result = app.integrations.statuspage.statuspage_list_incidents({
  limit = 1,
  page = 1
})
print(result)

Functions

statuspage_list_incidents

List all incidents for your Atlassian Statuspage. Returns scheduled, ongoing, and resolved incidents with their current status and impact.

Operation
Read read
Full name
statuspage.statuspage_list_incidents
ParameterTypeRequiredDescription
limit integer no Maximum number of incidents to return per page.
page integer no Page number for pagination (1-based).

statuspage_create_incident

Create a new incident on your Atlassian Statuspage. Specify the incident name, status, impact level, and an optional body describing the issue.

Operation
Write write
Full name
statuspage.statuspage_create_incident
ParameterTypeRequiredDescription
name string yes A short title for the incident (e.g. "API Latency in EU Region").
status string yes Incident status. One of: "investigating", "identified", "monitoring", "resolved", "scheduled", "in_progress", "verifying", "completed".
impact string yes The impact level of the incident. One of: "none", "minor", "major", "critical".
body string no A detailed description of the incident and current status.
component_ids array no Array of component IDs affected by this incident.

statuspage_update_incident

Update an existing incident on your Atlassian Statuspage. Change the status, add updates to the body, or modify impact level.

Operation
Write write
Full name
statuspage.statuspage_update_incident
ParameterTypeRequiredDescription
id string yes The incident ID to update.
name string no Updated incident title.
status string no Updated incident status. One of: "investigating", "identified", "monitoring", "resolved", "scheduled", "in_progress", "verifying", "completed".
impact string no Updated impact level. One of: "none", "minor", "major", "critical".
body string no Updated incident body describing the latest status.
component_ids array no Updated array of component IDs affected by this incident.

statuspage_list_components

List all components on your Atlassian Statuspage. Returns component names, current status, and group information.

Operation
Read read
Full name
statuspage.statuspage_list_components
ParameterTypeRequiredDescription
page integer no Page number for pagination (1-based).
per_page integer no Number of components to return per page.

statuspage_get_current_user

Get the currently authenticated Atlassian Statuspage user. Useful for verifying API credentials and checking user permissions.

Operation
Read read
Full name
statuspage.statuspage_get_current_user
ParameterTypeRequiredDescription
No parameters.