SettingsGet the reporting time zone

Get the reporting time zone

The location's IANA reporting time zone. Readable with an agency key (ak_, pass ?location_id=) or a viewer key (sk_).

The constraint finder uses it as the default calendar for aligning your events to Meta's account-local date_start; a call that passes its own timezone overrides it. effective says what applies when nothing is set (UTC). stored_invalid appears only when the stored value is not a zone Mythic recognises, in which case UTC applies.

curl -X GET "https://mythic-analytics.gulp.workers.dev/client/v1/settings/timezone" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN"
{
  "success": true,
  "data": {
    "timezone": "example_string",
    "effective": {
      "timezone": "example_string",
      "source": "location"
    },
    "stored_invalid": "example_string"
  }
}
GET
/timezone
GET
Base URLstring

Target server for requests. Edit to use your own host.

Bearer Token
Bearer Tokenstring
Required

Builder/client key as a bearer token. Agency key for read-write (Bearer ak_...) or viewer key for read-only (Bearer sk_...). Scoped keys (mcp_) are accepted too and need settings:read or settings:write. See Using an mcp_ key over HTTP.

Builder/client key as a bearer token. Agency key for read-write (Bearer ak_...) or viewer key for read-only (Bearer sk_...). Scoped keys (mcp_) are accepted too and need settings:read or settings:write. See Using an mcp_ key over HTTP.
Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token. Builder/client key as a bearer token. Agency key for read-write (Bearer ak_...) or viewer key for read-only (Bearer sk_...). Scoped keys (mcp_) are accepted too and need settings:read or settings:write. See Using an mcp_ key over HTTP.

Responses

successboolean
dataobject