ConfigGet a version

Get a version

One version, with changes from the previous version, the full snapshot (disabled rows included) and the layer the SDK runs from it.

curl -X GET "https://mythic-analytics.gulp.workers.dev/client/v1/config/versions/42?location_id=example_string" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN"
{
  "success": true,
  "data": {
    "version": 5,
    "source": "auto",
    "name": "John Doe",
    "notes": "example_string",
    "created_by": "example_string",
    "restored_from": 42,
    "created_at": "2024-12-25T10:00:00Z",
    "counts": {
      "tags": {
        "total": 42,
        "enabled": 42
      },
      "snippets": {
        "total": 42,
        "enabled": 42
      },
      "transformers": {
        "total": 42,
        "enabled": 42
      }
    },
    "changes": [
      {
        "kind": "tag",
        "id": "example_string",
        "name": "John Doe",
        "change": "added",
        "fields": [
          "example_string"
        ]
      }
    ],
    "previous_pruned": true,
    "snapshot": {},
    "layer": {}
  }
}
GET
/client/v1/config/versions/{version}
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.
path
versioninteger
Required

Version number (1, 2, 3...).

Min: 1
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.

Path Parameters

versioninteger
Required

Version number (1, 2, 3...).

Query Parameters

location_idstring

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

Responses

successboolean
datastring