# StatusPages

## Overview

### Available Operations

* [List](#list) - List Status Pages
* [Create](#create) - Create Status Page
* [DeleteByID](#deletebyid) - Delete Status Page By ID
* [GetByID](#getbyid) - Get Status Page By ID
* [UpdateByID](#updatebyid) - Update Status Page By ID
* [CreateIssue](#createissue) - Create Issue
* [UpdateIssue](#updateissue) - Update Issue
* [ListMaintenances](#listmaintenances) - List Maintenances
* [GetMaintenanceByID](#getmaintenancebyid) - Get Maintenance By ID
* [GetStatuses](#getstatuses) - List Status Page Statuses

## List

List Status Pages

### Example Usage

```go
package main

import(
	"context"
	"os"
	squadcastsdk "github.com/solarwinds/squadcast-sdk-go"
	"log"
)

func main() {
    ctx := context.Background()

    s := squadcastsdk.New(
        squadcastsdk.WithSecurity(os.Getenv("SQUADCASTSDK_REFRESH_TOKEN_AUTH")),
    )

    res, err := s.StatusPages.List(ctx, 301790, 172386, "<value>", "<id>")
    if err != nil {
        log.Fatal(err)
    }
    if res.V4StatusPagesListStatusPagesResponse != nil {
        for {
            // handle items

            res, err = res.Next()

            if err != nil {
                // handle error
            }

            if res == nil {
                break
            }
        }
    }
}
```

### Parameters

| Parameter         | Type                                                             | Required             | Description                         |
| ----------------- | ---------------------------------------------------------------- | -------------------- | ----------------------------------- |
| `ctx`             | [context.Context](https://pkg.go.dev/context#Context)            | :heavy\_check\_mark: | The context to use for the request. |
| `pageSize`        | `int64`                                                          | :heavy\_check\_mark: | N/A                                 |
| `pageNumber`      | `int64`                                                          | :heavy\_check\_mark: | N/A                                 |
| `filtersIsPublic` | `string`                                                         | :heavy\_check\_mark: | N/A                                 |
| `teamID`          | `string`                                                         | :heavy\_check\_mark: | N/A                                 |
| `opts`            | \[][operations.Option](/go-sdk/docs/models/operations/option.md) | :heavy\_minus\_sign: | The options for this request.       |

### Response

[**\*operations.StatusPagesListStatusPagesResponse**](/go-sdk/docs/models/operations/statuspagesliststatuspagesresponse.md)**, error**

### Errors

| Error Type                         | Status Code | Content Type     |
| ---------------------------------- | ----------- | ---------------- |
| apierrors.BadRequestError          | 400         | application/json |
| apierrors.UnauthorizedError        | 401         | application/json |
| apierrors.PaymentRequiredError     | 402         | application/json |
| apierrors.ForbiddenError           | 403         | application/json |
| apierrors.NotFoundError            | 404         | application/json |
| apierrors.ConflictError            | 409         | application/json |
| apierrors.UnprocessableEntityError | 422         | application/json |
| apierrors.InternalServerError      | 500         | application/json |
| apierrors.BadGatewayError          | 502         | application/json |
| apierrors.ServiceUnavailableError  | 503         | application/json |
| apierrors.GatewayTimeoutError      | 504         | application/json |
| apierrors.APIError                 | 4XX, 5XX    | \*/\*            |

## Create

Create Status Page

### Example Usage

```go
package main

import(
	"context"
	"os"
	squadcastsdk "github.com/solarwinds/squadcast-sdk-go"
	"github.com/solarwinds/squadcast-sdk-go/models/components"
	"log"
)

func main() {
    ctx := context.Background()

    s := squadcastsdk.New(
        squadcastsdk.WithSecurity(os.Getenv("SQUADCASTSDK_REFRESH_TOKEN_AUTH")),
    )

    res, err := s.StatusPages.Create(ctx, components.V4StatusPagesCreateStatusPageRequest{
        Name: "<value>",
        DomainName: "failing-convection.com",
        LogoURL: "https://snarling-season.info",
        Timezone: "Pacific/Chuuk",
        TeamID: "<id>",
        ContactEmail: "<value>",
        OwnerType: components.V4StatusPagesCreateStatusPageRequestOwnerTypeTeam,
        OwnerID: "<id>",
    })
    if err != nil {
        log.Fatal(err)
    }
    if res.Object != nil {
        // handle response
    }
}
```

### Parameters

| Parameter | Type                                                                                                                      | Required             | Description                                |
| --------- | ------------------------------------------------------------------------------------------------------------------------- | -------------------- | ------------------------------------------ |
| `ctx`     | [context.Context](https://pkg.go.dev/context#Context)                                                                     | :heavy\_check\_mark: | The context to use for the request.        |
| `request` | [components.V4StatusPagesCreateStatusPageRequest](/go-sdk/docs/models/components/v4statuspagescreatestatuspagerequest.md) | :heavy\_check\_mark: | The request object to use for the request. |
| `opts`    | \[][operations.Option](/go-sdk/docs/models/operations/option.md)                                                          | :heavy\_minus\_sign: | The options for this request.              |

### Response

[**\*operations.StatusPagesCreateStatusPageResponse**](/go-sdk/docs/models/operations/statuspagescreatestatuspageresponse.md)**, error**

### Errors

| Error Type                         | Status Code | Content Type     |
| ---------------------------------- | ----------- | ---------------- |
| apierrors.BadRequestError          | 400         | application/json |
| apierrors.UnauthorizedError        | 401         | application/json |
| apierrors.PaymentRequiredError     | 402         | application/json |
| apierrors.ForbiddenError           | 403         | application/json |
| apierrors.NotFoundError            | 404         | application/json |
| apierrors.ConflictError            | 409         | application/json |
| apierrors.UnprocessableEntityError | 422         | application/json |
| apierrors.InternalServerError      | 500         | application/json |
| apierrors.BadGatewayError          | 502         | application/json |
| apierrors.ServiceUnavailableError  | 503         | application/json |
| apierrors.GatewayTimeoutError      | 504         | application/json |
| apierrors.APIError                 | 4XX, 5XX    | \*/\*            |

## DeleteByID

Delete Status Page By ID

### Example Usage

```go
package main

import(
	"context"
	"os"
	squadcastsdk "github.com/solarwinds/squadcast-sdk-go"
	"log"
)

func main() {
    ctx := context.Background()

    s := squadcastsdk.New(
        squadcastsdk.WithSecurity(os.Getenv("SQUADCASTSDK_REFRESH_TOKEN_AUTH")),
    )

    res, err := s.StatusPages.DeleteByID(ctx, "<id>")
    if err != nil {
        log.Fatal(err)
    }
    if res.Object != nil {
        // handle response
    }
}
```

### Parameters

| Parameter      | Type                                                             | Required             | Description                         |
| -------------- | ---------------------------------------------------------------- | -------------------- | ----------------------------------- |
| `ctx`          | [context.Context](https://pkg.go.dev/context#Context)            | :heavy\_check\_mark: | The context to use for the request. |
| `statuspageID` | `string`                                                         | :heavy\_check\_mark: | N/A                                 |
| `opts`         | \[][operations.Option](/go-sdk/docs/models/operations/option.md) | :heavy\_minus\_sign: | The options for this request.       |

### Response

[**\*operations.StatusPagesDeleteStatusPageByIDResponse**](/go-sdk/docs/models/operations/statuspagesdeletestatuspagebyidresponse.md)**, error**

### Errors

| Error Type                         | Status Code | Content Type     |
| ---------------------------------- | ----------- | ---------------- |
| apierrors.BadRequestError          | 400         | application/json |
| apierrors.UnauthorizedError        | 401         | application/json |
| apierrors.PaymentRequiredError     | 402         | application/json |
| apierrors.ForbiddenError           | 403         | application/json |
| apierrors.NotFoundError            | 404         | application/json |
| apierrors.ConflictError            | 409         | application/json |
| apierrors.UnprocessableEntityError | 422         | application/json |
| apierrors.InternalServerError      | 500         | application/json |
| apierrors.BadGatewayError          | 502         | application/json |
| apierrors.ServiceUnavailableError  | 503         | application/json |
| apierrors.GatewayTimeoutError      | 504         | application/json |
| apierrors.APIError                 | 4XX, 5XX    | \*/\*            |

## GetByID

Get Status Page By ID

### Example Usage

```go
package main

import(
	"context"
	"os"
	squadcastsdk "github.com/solarwinds/squadcast-sdk-go"
	"log"
)

func main() {
    ctx := context.Background()

    s := squadcastsdk.New(
        squadcastsdk.WithSecurity(os.Getenv("SQUADCASTSDK_REFRESH_TOKEN_AUTH")),
    )

    res, err := s.StatusPages.GetByID(ctx, "<id>")
    if err != nil {
        log.Fatal(err)
    }
    if res.Object != nil {
        // handle response
    }
}
```

### Parameters

| Parameter      | Type                                                             | Required             | Description                         |
| -------------- | ---------------------------------------------------------------- | -------------------- | ----------------------------------- |
| `ctx`          | [context.Context](https://pkg.go.dev/context#Context)            | :heavy\_check\_mark: | The context to use for the request. |
| `statuspageID` | `string`                                                         | :heavy\_check\_mark: | N/A                                 |
| `opts`         | \[][operations.Option](/go-sdk/docs/models/operations/option.md) | :heavy\_minus\_sign: | The options for this request.       |

### Response

[**\*operations.StatusPagesGetStatusPageByIDResponse**](/go-sdk/docs/models/operations/statuspagesgetstatuspagebyidresponse.md)**, error**

### Errors

| Error Type                         | Status Code | Content Type     |
| ---------------------------------- | ----------- | ---------------- |
| apierrors.BadRequestError          | 400         | application/json |
| apierrors.UnauthorizedError        | 401         | application/json |
| apierrors.PaymentRequiredError     | 402         | application/json |
| apierrors.ForbiddenError           | 403         | application/json |
| apierrors.NotFoundError            | 404         | application/json |
| apierrors.ConflictError            | 409         | application/json |
| apierrors.UnprocessableEntityError | 422         | application/json |
| apierrors.InternalServerError      | 500         | application/json |
| apierrors.BadGatewayError          | 502         | application/json |
| apierrors.ServiceUnavailableError  | 503         | application/json |
| apierrors.GatewayTimeoutError      | 504         | application/json |
| apierrors.APIError                 | 4XX, 5XX    | \*/\*            |

## UpdateByID

Update Status Page By ID

### Example Usage

```go
package main

import(
	"context"
	"os"
	squadcastsdk "github.com/solarwinds/squadcast-sdk-go"
	"github.com/solarwinds/squadcast-sdk-go/models/components"
	"log"
)

func main() {
    ctx := context.Background()

    s := squadcastsdk.New(
        squadcastsdk.WithSecurity(os.Getenv("SQUADCASTSDK_REFRESH_TOKEN_AUTH")),
    )

    res, err := s.StatusPages.UpdateByID(ctx, "<id>", components.V4StatusPagesUpdateStatusPageByIDRequest{
        Name: "<value>",
        IsPublic: false,
        DomainName: "blank-brief.info",
        TeamID: "<id>",
        ThemeColor: components.V4StatusPagesUpdateStatusPageByIDRequestThemeColor{
            Primary: "<value>",
            Secondary: "<value>",
        },
        ContactEmail: "<value>",
        OwnerType: "<value>",
        OwnerID: "<id>",
    })
    if err != nil {
        log.Fatal(err)
    }
    if res.Object != nil {
        // handle response
    }
}
```

### Parameters

| Parameter                                  | Type                                                                                                                              | Required             | Description                         |
| ------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------- | -------------------- | ----------------------------------- |
| `ctx`                                      | [context.Context](https://pkg.go.dev/context#Context)                                                                             | :heavy\_check\_mark: | The context to use for the request. |
| `statuspageID`                             | `string`                                                                                                                          | :heavy\_check\_mark: | N/A                                 |
| `v4StatusPagesUpdateStatusPageByIDRequest` | [components.V4StatusPagesUpdateStatusPageByIDRequest](/go-sdk/docs/models/components/v4statuspagesupdatestatuspagebyidrequest.md) | :heavy\_check\_mark: | N/A                                 |
| `opts`                                     | \[][operations.Option](/go-sdk/docs/models/operations/option.md)                                                                  | :heavy\_minus\_sign: | The options for this request.       |

### Response

[**\*operations.StatusPagesUpdateStatusPageByIDResponse**](/go-sdk/docs/models/operations/statuspagesupdatestatuspagebyidresponse.md)**, error**

### Errors

| Error Type                         | Status Code | Content Type     |
| ---------------------------------- | ----------- | ---------------- |
| apierrors.BadRequestError          | 400         | application/json |
| apierrors.UnauthorizedError        | 401         | application/json |
| apierrors.PaymentRequiredError     | 402         | application/json |
| apierrors.ForbiddenError           | 403         | application/json |
| apierrors.NotFoundError            | 404         | application/json |
| apierrors.ConflictError            | 409         | application/json |
| apierrors.UnprocessableEntityError | 422         | application/json |
| apierrors.InternalServerError      | 500         | application/json |
| apierrors.BadGatewayError          | 502         | application/json |
| apierrors.ServiceUnavailableError  | 503         | application/json |
| apierrors.GatewayTimeoutError      | 504         | application/json |
| apierrors.APIError                 | 4XX, 5XX    | \*/\*            |

## CreateIssue

Create Issue

### Example Usage

```go
package main

import(
	"context"
	"os"
	squadcastsdk "github.com/solarwinds/squadcast-sdk-go"
	"github.com/solarwinds/squadcast-sdk-go/models/components"
	"log"
)

func main() {
    ctx := context.Background()

    s := squadcastsdk.New(
        squadcastsdk.WithSecurity(os.Getenv("SQUADCASTSDK_REFRESH_TOKEN_AUTH")),
    )

    res, err := s.StatusPages.CreateIssue(ctx, "<id>", components.V4StatusPagesIssuesCreateIssueRequest{
        Title: "<value>",
        Components: []components.V4StatusPagesIssuesCreateIssueRequestComponent{
            components.V4StatusPagesIssuesCreateIssueRequestComponent{},
        },
        Issues: []components.V4StatusPagesIssuesCreateIssueRequestIssue{
            components.V4StatusPagesIssuesCreateIssueRequestIssue{},
        },
    })
    if err != nil {
        log.Fatal(err)
    }
    if res.Object != nil {
        // handle response
    }
}
```

### Parameters

| Parameter                               | Type                                                                                                                        | Required             | Description                         |
| --------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | -------------------- | ----------------------------------- |
| `ctx`                                   | [context.Context](https://pkg.go.dev/context#Context)                                                                       | :heavy\_check\_mark: | The context to use for the request. |
| `statuspageID`                          | `string`                                                                                                                    | :heavy\_check\_mark: | N/A                                 |
| `v4StatusPagesIssuesCreateIssueRequest` | [components.V4StatusPagesIssuesCreateIssueRequest](/go-sdk/docs/models/components/v4statuspagesissuescreateissuerequest.md) | :heavy\_check\_mark: | N/A                                 |
| `opts`                                  | \[][operations.Option](/go-sdk/docs/models/operations/option.md)                                                            | :heavy\_minus\_sign: | The options for this request.       |

### Response

[**\*operations.IssuesCreateIssueResponse**](/go-sdk/docs/models/operations/issuescreateissueresponse.md)**, error**

### Errors

| Error Type                         | Status Code | Content Type     |
| ---------------------------------- | ----------- | ---------------- |
| apierrors.BadRequestError          | 400         | application/json |
| apierrors.UnauthorizedError        | 401         | application/json |
| apierrors.PaymentRequiredError     | 402         | application/json |
| apierrors.ForbiddenError           | 403         | application/json |
| apierrors.NotFoundError            | 404         | application/json |
| apierrors.ConflictError            | 409         | application/json |
| apierrors.UnprocessableEntityError | 422         | application/json |
| apierrors.InternalServerError      | 500         | application/json |
| apierrors.BadGatewayError          | 502         | application/json |
| apierrors.ServiceUnavailableError  | 503         | application/json |
| apierrors.GatewayTimeoutError      | 504         | application/json |
| apierrors.APIError                 | 4XX, 5XX    | \*/\*            |

## UpdateIssue

Update Issue

### Example Usage

```go
package main

import(
	"context"
	"os"
	squadcastsdk "github.com/solarwinds/squadcast-sdk-go"
	"github.com/solarwinds/squadcast-sdk-go/models/components"
	"log"
)

func main() {
    ctx := context.Background()

    s := squadcastsdk.New(
        squadcastsdk.WithSecurity(os.Getenv("SQUADCASTSDK_REFRESH_TOKEN_AUTH")),
    )

    res, err := s.StatusPages.UpdateIssue(ctx, "<id>", "<id>", components.V4StatusPagesIssuesUpdateIssueRequest{
        Title: "<value>",
        Components: []components.V4StatusPagesIssuesUpdateIssueRequestComponent{
            components.V4StatusPagesIssuesUpdateIssueRequestComponent{},
        },
        Issues: []components.V4StatusPagesIssuesUpdateIssueRequestIssue{
            components.V4StatusPagesIssuesUpdateIssueRequestIssue{},
        },
    })
    if err != nil {
        log.Fatal(err)
    }
    if res.Object != nil {
        // handle response
    }
}
```

### Parameters

| Parameter                               | Type                                                                                                                        | Required             | Description                         |
| --------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | -------------------- | ----------------------------------- |
| `ctx`                                   | [context.Context](https://pkg.go.dev/context#Context)                                                                       | :heavy\_check\_mark: | The context to use for the request. |
| `statuspageID`                          | `string`                                                                                                                    | :heavy\_check\_mark: | N/A                                 |
| `issueID`                               | `string`                                                                                                                    | :heavy\_check\_mark: | N/A                                 |
| `v4StatusPagesIssuesUpdateIssueRequest` | [components.V4StatusPagesIssuesUpdateIssueRequest](/go-sdk/docs/models/components/v4statuspagesissuesupdateissuerequest.md) | :heavy\_check\_mark: | N/A                                 |
| `opts`                                  | \[][operations.Option](/go-sdk/docs/models/operations/option.md)                                                            | :heavy\_minus\_sign: | The options for this request.       |

### Response

[**\*operations.IssuesUpdateIssueResponse**](/go-sdk/docs/models/operations/issuesupdateissueresponse.md)**, error**

### Errors

| Error Type                         | Status Code | Content Type     |
| ---------------------------------- | ----------- | ---------------- |
| apierrors.BadRequestError          | 400         | application/json |
| apierrors.UnauthorizedError        | 401         | application/json |
| apierrors.PaymentRequiredError     | 402         | application/json |
| apierrors.ForbiddenError           | 403         | application/json |
| apierrors.NotFoundError            | 404         | application/json |
| apierrors.ConflictError            | 409         | application/json |
| apierrors.UnprocessableEntityError | 422         | application/json |
| apierrors.InternalServerError      | 500         | application/json |
| apierrors.BadGatewayError          | 502         | application/json |
| apierrors.ServiceUnavailableError  | 503         | application/json |
| apierrors.GatewayTimeoutError      | 504         | application/json |
| apierrors.APIError                 | 4XX, 5XX    | \*/\*            |

## ListMaintenances

List Maintenances

### Example Usage

```go
package main

import(
	"context"
	"os"
	squadcastsdk "github.com/solarwinds/squadcast-sdk-go"
	"log"
)

func main() {
    ctx := context.Background()

    s := squadcastsdk.New(
        squadcastsdk.WithSecurity(os.Getenv("SQUADCASTSDK_REFRESH_TOKEN_AUTH")),
    )

    res, err := s.StatusPages.ListMaintenances(ctx, "<id>", "<value>", "<value>")
    if err != nil {
        log.Fatal(err)
    }
    if res.V4StatusPagesMaintenancesListMaintenancesResponse != nil {
        // handle response
    }
}
```

### Parameters

| Parameter      | Type                                                             | Required             | Description                         |
| -------------- | ---------------------------------------------------------------- | -------------------- | ----------------------------------- |
| `ctx`          | [context.Context](https://pkg.go.dev/context#Context)            | :heavy\_check\_mark: | The context to use for the request. |
| `statuspageID` | `string`                                                         | :heavy\_check\_mark: | N/A                                 |
| `startTime`    | `string`                                                         | :heavy\_check\_mark: | N/A                                 |
| `endTime`      | `string`                                                         | :heavy\_check\_mark: | N/A                                 |
| `opts`         | \[][operations.Option](/go-sdk/docs/models/operations/option.md) | :heavy\_minus\_sign: | The options for this request.       |

### Response

[**\*operations.MaintenancesListMaintenancesResponse**](/go-sdk/docs/models/operations/maintenanceslistmaintenancesresponse.md)**, error**

### Errors

| Error Type                         | Status Code | Content Type     |
| ---------------------------------- | ----------- | ---------------- |
| apierrors.BadRequestError          | 400         | application/json |
| apierrors.UnauthorizedError        | 401         | application/json |
| apierrors.PaymentRequiredError     | 402         | application/json |
| apierrors.ForbiddenError           | 403         | application/json |
| apierrors.NotFoundError            | 404         | application/json |
| apierrors.ConflictError            | 409         | application/json |
| apierrors.UnprocessableEntityError | 422         | application/json |
| apierrors.InternalServerError      | 500         | application/json |
| apierrors.BadGatewayError          | 502         | application/json |
| apierrors.ServiceUnavailableError  | 503         | application/json |
| apierrors.GatewayTimeoutError      | 504         | application/json |
| apierrors.APIError                 | 4XX, 5XX    | \*/\*            |

## GetMaintenanceByID

Get Maintenance By ID

### Example Usage

```go
package main

import(
	"context"
	"os"
	squadcastsdk "github.com/solarwinds/squadcast-sdk-go"
	"log"
)

func main() {
    ctx := context.Background()

    s := squadcastsdk.New(
        squadcastsdk.WithSecurity(os.Getenv("SQUADCASTSDK_REFRESH_TOKEN_AUTH")),
    )

    res, err := s.StatusPages.GetMaintenanceByID(ctx, "<id>", "<id>")
    if err != nil {
        log.Fatal(err)
    }
    if res.Object != nil {
        // handle response
    }
}
```

### Parameters

| Parameter       | Type                                                             | Required             | Description                         |
| --------------- | ---------------------------------------------------------------- | -------------------- | ----------------------------------- |
| `ctx`           | [context.Context](https://pkg.go.dev/context#Context)            | :heavy\_check\_mark: | The context to use for the request. |
| `statuspageID`  | `string`                                                         | :heavy\_check\_mark: | N/A                                 |
| `maintenanceID` | `string`                                                         | :heavy\_check\_mark: | N/A                                 |
| `opts`          | \[][operations.Option](/go-sdk/docs/models/operations/option.md) | :heavy\_minus\_sign: | The options for this request.       |

### Response

[**\*operations.MaintenancesGetMaintenanceByIDResponse**](/go-sdk/docs/models/operations/maintenancesgetmaintenancebyidresponse.md)**, error**

### Errors

| Error Type                         | Status Code | Content Type     |
| ---------------------------------- | ----------- | ---------------- |
| apierrors.BadRequestError          | 400         | application/json |
| apierrors.UnauthorizedError        | 401         | application/json |
| apierrors.PaymentRequiredError     | 402         | application/json |
| apierrors.ForbiddenError           | 403         | application/json |
| apierrors.NotFoundError            | 404         | application/json |
| apierrors.ConflictError            | 409         | application/json |
| apierrors.UnprocessableEntityError | 422         | application/json |
| apierrors.InternalServerError      | 500         | application/json |
| apierrors.BadGatewayError          | 502         | application/json |
| apierrors.ServiceUnavailableError  | 503         | application/json |
| apierrors.GatewayTimeoutError      | 504         | application/json |
| apierrors.APIError                 | 4XX, 5XX    | \*/\*            |

## GetStatuses

List Status Page Statuses

### Example Usage

```go
package main

import(
	"context"
	"os"
	squadcastsdk "github.com/solarwinds/squadcast-sdk-go"
	"log"
)

func main() {
    ctx := context.Background()

    s := squadcastsdk.New(
        squadcastsdk.WithSecurity(os.Getenv("SQUADCASTSDK_REFRESH_TOKEN_AUTH")),
    )

    res, err := s.StatusPages.GetStatuses(ctx, "<id>")
    if err != nil {
        log.Fatal(err)
    }
    if res.Object != nil {
        // handle response
    }
}
```

### Parameters

| Parameter      | Type                                                             | Required             | Description                         |
| -------------- | ---------------------------------------------------------------- | -------------------- | ----------------------------------- |
| `ctx`          | [context.Context](https://pkg.go.dev/context#Context)            | :heavy\_check\_mark: | The context to use for the request. |
| `statuspageID` | `string`                                                         | :heavy\_check\_mark: | N/A                                 |
| `opts`         | \[][operations.Option](/go-sdk/docs/models/operations/option.md) | :heavy\_minus\_sign: | The options for this request.       |

### Response

[**\*operations.StatusPagesListStatusPageStatusesResponse**](/go-sdk/docs/models/operations/statuspagesliststatuspagestatusesresponse.md)**, error**

### Errors

| Error Type                         | Status Code | Content Type     |
| ---------------------------------- | ----------- | ---------------- |
| apierrors.BadRequestError          | 400         | application/json |
| apierrors.UnauthorizedError        | 401         | application/json |
| apierrors.PaymentRequiredError     | 402         | application/json |
| apierrors.ForbiddenError           | 403         | application/json |
| apierrors.NotFoundError            | 404         | application/json |
| apierrors.ConflictError            | 409         | application/json |
| apierrors.UnprocessableEntityError | 422         | application/json |
| apierrors.InternalServerError      | 500         | application/json |
| apierrors.BadGatewayError          | 502         | application/json |
| apierrors.ServiceUnavailableError  | 503         | application/json |
| apierrors.GatewayTimeoutError      | 504         | application/json |
| apierrors.APIError                 | 4XX, 5XX    | \*/\*            |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developers.incidents.cloud.solarwinds.com/go-sdk/docs/sdks/statuspages.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
