Back to registry
api-gateway custom auth 1 pinned sources 10 files

Tyk Gateway

Generated tyk CLI and agent Skill for the Tyk Gateway management API.

$ tyk search "list apis" --json
CLI binaries 6 platform builds
Skill Included in CLI
Source refs 1 pinned inputs
Smoke intent list apis
01 Schema tyk commands schema --json
02 Catalog tyk commands --json
03 Search tyk search "list apis" --json
Recipe structure

Files

10 files
builds/tyk.json json
{
  "schema_version": 1,
  "recipe": "tyk",
  "cli_name": "tyk",
  "generated_at": "2026-11-24T17:08:48.820Z",
  "lathe_version": "lathe v0.7.0-rc.1 (none, unknown)",
  "gate": {
    "verdict": "GO",
    "generated_at": "2026-11-24T17:08:48.820Z",
    "lathe_version": "lathe v0.7.0-rc.1 (none, unknown)",
    "command_count": 65,
    "group_count": 15,
    "skill_included": true,
    "warnings": [
      "W2",
      "W4"
    ]
  },
  "source_refs": [
    {
      "name": "tyk",
      "display_name": "Tyk Gateway API",
      "backend": "openapi3",
      "repo_url": "https://github.com/TykTechnologies/tyk.git",
      "pinned_tag": "3868b50fb579b51f2e751dc9e1a2c8b37329d7a9",
      "files": [
        "swagger.yml"
      ]
    }
  ],
  "outputs": {
    "catalog": null,
    "skill": "skills/tyk",
    "cli_artifacts": [
      {
        "os": "darwin",
        "arch": "arm64",
        "format": "tar.gz",
        "binary": "tyk",
        "path": "downloads/tyk-darwin-arm64.tar.gz",
        "size": 4435026,
        "sha256": "sha256:77b25dc1384a803d4c9029db096a12ed7ab53c7287cfb73530f3dafd6f490b13"
      },
      {
        "os": "darwin",
        "arch": "amd64",
        "format": "tar.gz",
        "binary": "tyk",
        "path": "downloads/tyk-darwin-amd64.tar.gz",
        "size": 4847065,
        "sha256": "sha256:c6715253bef81f1a6baa90b6f7f5959c05c67fd6629cc4da4be2370285f4a7e3"
      },
      {
        "os": "linux",
        "arch": "amd64",
        "format": "tar.gz",
        "binary": "tyk",
        "path": "downloads/tyk-linux-amd64.tar.gz",
        "size": 4779764,
        "sha256": "sha256:ecd1a836a712675b0de6cdfdd5b2947ca342c67019314a2387dd638aac8c7351"
      },
      {
        "os": "linux",
        "arch": "arm64",
        "format": "tar.gz",
        "binary": "tyk",
        "path": "downloads/tyk-linux-arm64.tar.gz",
        "size": 4281798,
        "sha256": "sha256:4a4e01e131df3c178a9482d5e79f5820d4bb81eceb4427dc0a4204a96df0bc71"
      },
      {
        "os": "windows",
        "arch": "amd64",
        "format": "tar.gz",
        "binary": "tyk.exe",
        "path": "downloads/tyk-windows-amd64.tar.gz",
        "size": 4917042,
        "sha256": "sha256:72ed3aaa5154985fe1bd49a851b32d04043774a9d5c331af9464092307f79447"
      },
      {
        "os": "windows",
        "arch": "arm64",
        "format": "tar.gz",
        "binary": "tyk.exe",
        "path": "downloads/tyk-windows-arm64.tar.gz",
        "size": 4347849,
        "sha256": "sha256:8a2746a35f538296ca6b7a9d914f2feacec9137c684f9a797f6223c436f78447"
      }
    ]
  }
}

Tyk Gateway

This recipe generates the tyk CLI and agent Skill for the Tyk Gateway management API.

It keeps only the reproducible Lathe inputs: the OpenAPI spec is pinned from the Tyk repository, and generated code is not the source of truth.

Modules

  • tyk: the Tyk Gateway management API — APIs, keys, policies, certificates, OAuth clients, org quotas, cache invalidation, hot reload, and health (65 commands across 18 groups).

Auth

The Tyk Gateway management API authenticates with a shared secret sent in the X-Tyk-Authorization header (the gateway secret). It is a gateway secret, not a per-user token.

tyk auth login --hostname <gateway-host>

auth status validates the secret against GET /hello:

tyk auth status --hostname <gateway-host>

Install the Skill

The recipe enables the bundled Agent Skill (skill.bundle in cli.yaml):

tyk skill install --scope user --agent codex --yes

Agent workflow

tyk commands schema --json
tyk commands --json
tyk search "list apis" --json
tyk commands show apis list-apis --json

Search results are discovery only. Inspect command details before execution.

Source inputs

The recipe pins the Tyk Gateway OpenAPI spec from:

https://github.com/TykTechnologies/tyk.git   swagger.yml

Bump pinned_tag in specs/sources.yaml when upgrading the Tyk version.