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-08-21T06:47:57.147Z",
  "lathe_version": "lathe v0.5.2 (none, unknown)",
  "gate": {
    "verdict": "GO",
    "generated_at": "2026-08-21T06:47:57.147Z",
    "lathe_version": "lathe v0.5.2 (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": 3705707,
        "sha256": "sha256:5d5d721bad7212f024adadbde6e6fc681606204a1252b7248231b7096ce295ff"
      },
      {
        "os": "darwin",
        "arch": "amd64",
        "format": "tar.gz",
        "binary": "tyk",
        "path": "downloads/tyk-darwin-amd64.tar.gz",
        "size": 4013530,
        "sha256": "sha256:6715079b78a24fcbe7884121f2b32222d1f761d2db10a80ae232d1de1cbaa176"
      },
      {
        "os": "linux",
        "arch": "amd64",
        "format": "tar.gz",
        "binary": "tyk",
        "path": "downloads/tyk-linux-amd64.tar.gz",
        "size": 3951709,
        "sha256": "sha256:563354e217a0105d66eeca63feadcf7d82ab9e2071b0494cd0d7a4d285f72aba"
      },
      {
        "os": "linux",
        "arch": "arm64",
        "format": "tar.gz",
        "binary": "tyk",
        "path": "downloads/tyk-linux-arm64.tar.gz",
        "size": 3571044,
        "sha256": "sha256:230580212009e12ff793a363d94e62cc2df6dc46ff5c08367b9e1c4827e603c2"
      },
      {
        "os": "windows",
        "arch": "amd64",
        "format": "tar.gz",
        "binary": "tyk.exe",
        "path": "downloads/tyk-windows-amd64.tar.gz",
        "size": 4069091,
        "sha256": "sha256:fe789f4bc0dcb618d450c8e9b997d3a446e041a3122344f03e4ed2034c164036"
      },
      {
        "os": "windows",
        "arch": "arm64",
        "format": "tar.gz",
        "binary": "tyk.exe",
        "path": "downloads/tyk-windows-arm64.tar.gz",
        "size": 3632383,
        "sha256": "sha256:3b96c6d674cf759e1f7706820dfbf748457fc9f88a92c56e1d2f755affd8f654"
      }
    ]
  }
}

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.