Trajectory Model Endpoints API

The model-endpoints API from Trajectory — 2 operation(s) for model-endpoints.

Operations 2

GET /api/v1/model-endpoints/{production_model_slug} Get Model Endpoint Route #
POST /api/v1/model-endpoints Create Model Endpoint Route #

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-endpoints-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-endpoints-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Trajectory Model Endpoints 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-endpoints
paths:
  /api/v1/model-endpoints/{production_model_slug}:
    get:
      tags:
      - model-endpoints
      summary: Get Model Endpoint Route
      operationId: getModelEndpoint
      parameters:
      - name: production_model_slug
        in: path
        required: true
        schema:
          type: string
          minLength: 1
          maxLength: 256
          title: Production Model Slug
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelEndpointResponse'
      x-trajectory-visibility: public
  /api/v1/model-endpoints:
    post:
      tags:
      - model-endpoints
      summary: Create Model Endpoint Route
      operationId: createModelEndpoint
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateModelEndpointRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelEndpointResponse'
      x-trajectory-visibility: public
components:
  schemas:
    CreateModelEndpointRequest:
      properties:
        production_model_slug:
          type: string
          maxLength: 256
          minLength: 1
          title: Production Model Slug
      type: object
      required:
      - production_model_slug
      title: CreateModelEndpointRequest
    ModelEndpointResponse:
      properties:
        model_endpoint_id:
          type: string
          title: Model Endpoint Id
        endpoint_url:
          type: string
          title: Endpoint Url
        status:
          $ref: '#/components/schemas/ModelEndpointLifecycleStatus'
      type: object
      required:
      - model_endpoint_id
      - endpoint_url
      - status
      title: ModelEndpointResponse
    ModelEndpointLifecycleStatus:
      type: string
      enum:
      - unspecified
      - creating
      - ready
      - updating
      - deleting
      - deleted
      - failed
      title: ModelEndpointLifecycleStatus
  securitySchemes:
    TrajectoryAccessToken:
      type: http
      description: Short-lived token scoped to one rollout trajectory
      scheme: bearer
    InferenceAuthorization:
      type: http
      scheme: bearer