# Diagnostics

## Traceroutes

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/diagnostics">diagnostics</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/diagnostics#Traceroute">Traceroute</a>

Methods:

- <code title="post /accounts/{account_id}/diagnostics/traceroute">client.Diagnostics.Traceroutes.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/diagnostics#TracerouteService.New">New</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/diagnostics">diagnostics</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/diagnostics#TracerouteNewParams">TracerouteNewParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination">pagination</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination#SinglePage">SinglePage</a>[<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/diagnostics">diagnostics</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/diagnostics#Traceroute">Traceroute</a>], <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

## EndpointHealthchecks

Params Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/diagnostics">diagnostics</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/diagnostics#EndpointHealthcheckParam">EndpointHealthcheckParam</a>

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/diagnostics">diagnostics</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/diagnostics#EndpointHealthcheckNewResponse">EndpointHealthcheckNewResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/diagnostics">diagnostics</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/diagnostics#EndpointHealthcheckUpdateResponse">EndpointHealthcheckUpdateResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/diagnostics">diagnostics</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/diagnostics#EndpointHealthcheckListResponse">EndpointHealthcheckListResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/diagnostics">diagnostics</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/diagnostics#EndpointHealthcheckDeleteResponse">EndpointHealthcheckDeleteResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/diagnostics">diagnostics</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/diagnostics#EndpointHealthcheckGetResponse">EndpointHealthcheckGetResponse</a>

Methods:

- <code title="post /accounts/{account_id}/diagnostics/endpoint-healthchecks">client.Diagnostics.EndpointHealthchecks.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/diagnostics#EndpointHealthcheckService.New">New</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/diagnostics">diagnostics</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/diagnostics#EndpointHealthcheckNewParams">EndpointHealthcheckNewParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/diagnostics">diagnostics</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/diagnostics#EndpointHealthcheckNewResponse">EndpointHealthcheckNewResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="put /accounts/{account_id}/diagnostics/endpoint-healthchecks/{id}">client.Diagnostics.EndpointHealthchecks.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/diagnostics#EndpointHealthcheckService.Update">Update</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, id <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/diagnostics">diagnostics</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/diagnostics#EndpointHealthcheckUpdateParams">EndpointHealthcheckUpdateParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/diagnostics">diagnostics</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/diagnostics#EndpointHealthcheckUpdateResponse">EndpointHealthcheckUpdateResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/diagnostics/endpoint-healthchecks">client.Diagnostics.EndpointHealthchecks.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/diagnostics#EndpointHealthcheckService.List">List</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/diagnostics">diagnostics</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/diagnostics#EndpointHealthcheckListParams">EndpointHealthcheckListParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/diagnostics">diagnostics</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/diagnostics#EndpointHealthcheckListResponse">EndpointHealthcheckListResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="delete /accounts/{account_id}/diagnostics/endpoint-healthchecks/{id}">client.Diagnostics.EndpointHealthchecks.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/diagnostics#EndpointHealthcheckService.Delete">Delete</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, id <a href="https://pkg.go.dev/builtin#string">string</a>, body <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/diagnostics">diagnostics</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/diagnostics#EndpointHealthcheckDeleteParams">EndpointHealthcheckDeleteParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/diagnostics">diagnostics</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/diagnostics#EndpointHealthcheckDeleteResponse">EndpointHealthcheckDeleteResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/diagnostics/endpoint-healthchecks/{id}">client.Diagnostics.EndpointHealthchecks.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/diagnostics#EndpointHealthcheckService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, id <a href="https://pkg.go.dev/builtin#string">string</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/diagnostics">diagnostics</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/diagnostics#EndpointHealthcheckGetParams">EndpointHealthcheckGetParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/diagnostics">diagnostics</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/diagnostics#EndpointHealthcheckGetResponse">EndpointHealthcheckGetResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
