---
title: "Create toolkit"
method: POST
path: "/toolkits"
tags: ["Toolkits"]
---

# Create toolkit

`POST /toolkits`

Create a toolkit and issue its first API key.

The plaintext key (`jntc_live_…`) is returned **once** in `api_key` and is
never retrievable again. Optional `credential_ids` bind existing credentials
at creation time; each inline bind emits a ``no_permission_rules`` warning
because the broker denies by default until rules are added.

## Request body

- ToolkitCreateRequest — Create a new toolkit.
  - `active` boolean
  - `credential_ids` string[], nullable
  - `description` string, nullable
  - `name` string, required

## Response `201`

Successful Response

- ToolkitCreateResponse — Create response: toolkit + api_key shown once.
  - `api_key` string, required
  - `toolkit` ToolkitResponse, required — Toolkit response.
    - `active` boolean, required
    - `apis` ServedApiRef[] — Distinct APIs served by this toolkit's credential bindings that are visible to the caller, sorted by vendor/name/version. NULL api_name/api_version mean the credential covers all names/versions for the vendor. Empty when no visible credentials are bound.
      - `api_name` string, nullable
      - `api_vendor` string, required
      - `api_version` string, nullable
    - `created_at` string, date-time, required
    - `created_by` string, nullable
    - `credential_count` integer, required
    - `description` string, nullable
    - `key_count` integer, required
    - `name` string, required
    - `toolkit_id` string, required
    - `updated_at` string, date-time, nullable
  - `warnings` BindingWarningSchema[] — Non-fatal signals about the create — e.g. inline-bound credentials that landed with zero permission rules (broker denies by default).
    - `code` string, required — Stable machine-readable warning code.
    - `credential_id` string, nullable — Credential the warning applies to; null when the whole binding is meant.
    - `message` string, required — Human-readable explanation with a recovery pointer.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `422` — Unprocessable Entity
- `500` — Internal Server Error
- `503` — Service Unavailable

## Changes

- **2026-07-31** `ce439b16916a` — 1 info
  - added the optional property `toolkit/apis` to the response with the `201` status
- **2026-07-24** `6b93e5cc002c` — 1 breaking, 1 warning, 1 info
  - removed the required property `toolkit/permissions` from the response with the `201` status
  - removed the request property `permissions`
  - added the optional property `warnings` to the response with the `201` status
- **2026-07-23** `e7b87904bdbb` — 1 info
  - added the optional property `toolkit/created_by` to the response with the `201` status
- **2026-07-01** `d65fcba0d25a` — 3 breaking, 12 warning, 23 info
  - the `detail` response's property type/format changed from `array`/`` to `string`/`` for status `422`
  - removed the required property `id` from the response with the `201` status
  - removed the required property `name` from the response with the `201` status
  - the `name` request property's maxLength was set to `255`
  - …34 more
- **2026-04-13** `76e8f6063728` — 6 breaking, 9 warning, 23 info
  - media type `application/problem+json` was changed to a more general media type `application/json` for the response status `422`
  - the response property `detail` became optional for the status `422`
  - the `detail` response property's maxLength was unset from `4096` for the response status `422`
  - the `detail` response's property type/format changed from `string`/`` to `array`/`` for status `422`
  - …34 more

[Change history](https://skmtc.dev/jentic/apis/jentic-control-plane-api/changes/toolkits/post.md)

---

[API](https://skmtc.dev/jentic/apis/jentic-control-plane-api.md) · [All operations](https://skmtc.dev/jentic/apis/jentic-control-plane-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/jentic/jentic-control-plane-api/revisions/f4594f50f4d3/schema)
