Trajectory Model Slugs API

The model-slugs API from Trajectory — 1 operation(s) for model-slugs.

Operations 3

GET /api/v1/model-slugs/production/{agent_id} Get Production Model Slug #
POST /api/v1/model-slugs/production/{agent_id} Create Production Model Slug #
PATCH /api/v1/model-slugs/production/{agent_id} Update Production Model Slug #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/trajectory:trajectory-model-slugs-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

trajectory-model-slugs-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Trajectory Model Slugs API
  version: 0.1.0
  x-trajectory-api-version: '2026-10-14'
  description: This contract is API version 2026-10-14. The optional Trajectory-API-Version header pins it, and tmp-contract is accepted as an alias. Requests without the header get this version. Version 2026-10-07 and the pre-launch legacy response formats are retired.
tags:
- name: model-slugs
paths:
  /api/v1/model-slugs/production/{agent_id}:
    get:
      tags:
      - model-slugs
      summary: Get Production Model Slug
      operationId: getProductionModelSlug
      parameters:
      - name: agent_id
        in: path
        required: true
        schema:
          type: string
          title: Agent Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductionModelSlugResponse'
      x-trajectory-visibility: public
    post:
      tags:
      - model-slugs
      summary: Create Production Model Slug
      operationId: createProductionModelSlug
      parameters:
      - name: agent_id
        in: path
        required: true
        schema:
          type: string
          title: Agent Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SetProductionModelSlugRequest'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductionModelSlugResponse'
      x-trajectory-visibility: public
    patch:
      tags:
      - model-slugs
      summary: Update Production Model Slug
      operationId: updateProductionModelSlug
      parameters:
      - name: agent_id
        in: path
        required: true
        schema:
          type: string
          title: Agent Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SetProductionModelSlugRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductionModelSlugResponse'
      x-trajectory-visibility: public
components:
  schemas:
    SetProductionModelSlugRequest:
      properties:
        production_model_slug:
          type: string
          maxLength: 32
          minLength: 1
          pattern: ^[A-Za-z0-9_-]+$
          title: Production Model Slug
          description: Exact production model slug, unique within this organization. Never normalized.
      additionalProperties: false
      type: object
      required:
      - production_model_slug
      title: SetProductionModelSlugRequest
    ProductionModelSlugResponse:
      properties:
        agent_id:
          type: string
          title: Agent Id
        production_model_slug:
          anyOf:
          - type: string
          - type: 'null'
          title: Production Model Slug
        deployment_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Deployment Id
      type: object
      required:
      - agent_id
      - production_model_slug
      - deployment_id
      title: ProductionModelSlugResponse
  securitySchemes:
    TrajectoryAccessToken:
      type: http
      description: Short-lived token scoped to one rollout trajectory
      scheme: bearer
    InferenceAuthorization:
      type: http
      scheme: bearer