ConfigGet the live config

Get the live config

The tags, snippets and transformers the SDK is served right now, which version that is, and in_sync: whether it matches what should be live (the latest version in draft mode, the workspace in immediate mode). in_sync: false means a rebuild failed or was skipped.

curl -X GET "https://mythic-analytics.gulp.workers.dev/client/v1/config/live?location_id=example_string" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN"
{
  "success": true,
  "data": {
    "mode": "immediate",
    "served_version": 42,
    "latest_version": 42,
    "in_sync": true,
    "cfg_updated_at": "2024-12-25T10:00:00Z",
    "tags": [
      {}
    ],
    "snippets": [
      {}
    ],
    "transformers": [
      {}
    ],
    "managed_tags": [
      {}
    ]
  }
}
GET
/client/v1/config/live
GET
Base URLstring

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

Bearer Token
Bearer Tokenstring
Required

Agency key (ak_) or location secret key (sk_). Writes require an agency key. Keys are server-side credentials — this surface serves no CORS headers on purpose. Scoped keys (mcp_) are accepted too and need the tags, snippets or transformers family the route belongs to. See Using an mcp_ key over HTTP.

Agency key (ak_) or location secret key (sk_). Writes require an agency key. Keys are server-side credentials — this surface serves no CORS headers on purpose. Scoped keys (mcp_) are accepted too and need the tags, snippets or transformers family the route belongs to. See Using an mcp_ key over HTTP.
query
location_idstring

Location to scope to. Required for ak_ keys (or send the X-Location-Id header); ignored for sk_.

Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token. Agency key (ak_) or location secret key (sk_). Writes require an agency key. Keys are server-side credentials — this surface serves no CORS headers on purpose. Scoped keys (mcp_) are accepted too and need the tags, snippets or transformers family the route belongs to. See Using an mcp_ key over HTTP.

Query Parameters

location_idstring

Location to scope to. Required for ak_ keys (or send the X-Location-Id header); ignored for sk_.

Responses

successboolean
dataobject