---
title: "Create Model Slug"
method: POST
path: "/api/v1/models/slugs"
tags: ["supported-models"]
---

# Create Model Slug

`POST /api/v1/models/slugs`

## Request body

- CreateModelSlugRequest
  - `name` string, required — Slug name. Leading/trailing whitespace is trimmed and the stored name is lowercased. Must be a single token (no whitespace). Allowed characters: letters, numbers, '-' and '_'. Max length: 32.

## Response `200`

Successful Response

- ModelSlug
  - `model_slug_id` string, required
  - `organization_id` string, required
  - `name` string, required
  - `created_at` string, date-time, nullable

---

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