Trajectory Pipelines API

The pipelines API from Trajectory — 2 operation(s) for pipelines.

Operations 2

GET /api/v1/pipelines/runs List Pipeline Runs Route #
GET /api/v1/pipelines/runs/{run_id} Get Pipeline Run 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-pipelines-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-pipelines-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Trajectory Pipelines 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: Pipelines
paths:
  /api/v1/pipelines/runs:
    get:
      tags:
      - Pipelines
      summary: List Pipeline Runs Route
      operationId: listPipelineRuns
      parameters:
      - name: cursor
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Cursor
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 200
          minimum: 1
          default: 25
          title: Limit
      - name: sort
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Sort
      - name: order
        in: query
        required: false
        schema:
          enum:
          - asc
          - desc
          type: string
          default: desc
          title: Order
      - name: search
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Search
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedResponse_PipelineRunSummary_'
      x-trajectory-visibility: browser
  /api/v1/pipelines/runs/{run_id}:
    get:
      tags:
      - Pipelines
      summary: Get Pipeline Run Route
      operationId: getPipelineRun
      parameters:
      - name: run_id
        in: path
        required: true
        schema:
          type: string
          title: Run Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PipelineRunDetail'
      x-trajectory-visibility: browser
components:
  schemas:
    StageStatus:
      type: string
      enum:
      - pending
      - running
      - cached
      - succeeded
      - failed
      - cancelled
      - retrying
      title: StageStatus
    PipelineRunSummary:
      properties:
        run_id:
          type: string
          title: Run Id
        pipeline_config_id:
          type: string
          title: Pipeline Config Id
        pipeline_name:
          type: string
          title: Pipeline Name
        kind:
          $ref: '#/components/schemas/PipelineKind'
        status:
          $ref: '#/components/schemas/PipelineRunStatus'
        code_version:
          type: string
          title: Code Version
        execution_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Execution Id
        node_count:
          anyOf:
          - type: integer
          - type: 'null'
          title: Node Count
        stages_done:
          type: integer
          title: Stages Done
          default: 0
        stages_failed:
          type: integer
          title: Stages Failed
          default: 0
        created_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Created At
        updated_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Updated At
      type: object
      required:
      - run_id
      - pipeline_config_id
      - pipeline_name
      - kind
      - status
      - code_version
      title: PipelineRunSummary
    PipelineRunStatus:
      type: string
      enum:
      - pending
      - running
      - finalizing
      - cancelling
      - cancelled
      - succeeded
      - failed
      title: PipelineRunStatus
    PaginatedResponse_PipelineRunSummary_:
      properties:
        items:
          items:
            $ref: '#/components/schemas/PipelineRunSummary'
          type: array
          title: Items
        next_cursor:
          anyOf:
          - type: string
          - type: 'null'
          title: Next Cursor
        has_more:
          type: boolean
          title: Has More
      type: object
      required:
      - items
      - has_more
      title: PaginatedResponse[PipelineRunSummary]
    PipelineRunDetail:
      properties:
        run:
          $ref: '#/components/schemas/PipelineRunSummary'
        config:
          $ref: '#/components/schemas/PipelineConfigDetail'
        stages:
          items:
            $ref: '#/components/schemas/PipelineStageState'
          type: array
          title: Stages
      type: object
      required:
      - run
      - config
      - stages
      title: PipelineRunDetail
    PipelineStageState:
      properties:
        node_id:
          type: string
          title: Node Id
        status:
          $ref: '#/components/schemas/StageStatus'
        xid:
          anyOf:
          - type: string
          - type: 'null'
          title: Xid
        attempt:
          type: integer
          title: Attempt
        cache_key:
          anyOf:
          - type: string
          - type: 'null'
          title: Cache Key
        cache_hit:
          type: boolean
          title: Cache Hit
        error:
          anyOf:
          - type: string
          - type: 'null'
          title: Error
        created_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Created At
        updated_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Updated At
      type: object
      required:
      - node_id
      - status
      - attempt
      - cache_hit
      title: PipelineStageState
    PipelineKind:
      type: string
      enum:
      - generic
      - eval
      - train
      - env_eval
      title: PipelineKind
    PipelineConfigDetail:
      properties:
        pipeline_name:
          type: string
          title: Pipeline Name
        version_int:
          type: integer
          title: Version Int
        pipeline_config_id:
          type: string
          title: Pipeline Config Id
        status:
          type: string
          title: Status
        created_by:
          type: string
          title: Created By
        config:
          additionalProperties: true
          type: object
          title: Config
      type: object
      required:
      - pipeline_name
      - version_int
      - pipeline_config_id
      - status
      - created_by
      - config
      title: PipelineConfigDetail
  securitySchemes:
    TrajectoryAccessToken:
      type: http
      description: Short-lived token scoped to one rollout trajectory
      scheme: bearer
    InferenceAuthorization:
      type: http
      scheme: bearer