Calyptia trace_session API

The trace_session API from Calyptia — 3 operation(s) for trace_session.

Operations 6

POST /v1/pipelines/{pipelineID}/trace_sessions Create trace session #
GET /v1/pipelines/{pipelineID}/trace_sessions Trace sessions #
GET /v1/pipelines/{pipelineID}/trace_session Active trace session #
DELETE /v1/pipelines/{pipelineID}/trace_session Terminate active trace session #
GET /v1/trace_sessions/{sessionID} Trace session #
PATCH /v1/trace_sessions/{sessionID} Update trace session #

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/calyptia-trace-session-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

calyptia-trace-session-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Calyptia Cloud agent Trace Session API
  version: '1.0'
  description: HTTP API service of Calyptia Cloud
  contact:
    name: Calyptia
    email: hello@calyptia.com
    url: https://cloud.calyptia.com
  termsOfService: https://calyptia.com/terms/
servers:
- url: https://cloud-api.calyptia.com
  description: prod
- url: https://cloud-api-dev.calyptia.com
  description: dev
- url: https://cloud-api-staging.calyptia.com
  description: staging
- url: http://localhost:{port}
  description: local
  variables:
    port:
      default: '5000'
tags:
- name: trace_session
paths:
  /v1/pipelines/{pipelineID}/trace_sessions:
    parameters:
    - name: pipelineID
      in: path
      schema:
        type: string
        format: uuid
      required: true
    post:
      tags:
      - trace_session
      security:
      - user: []
      - project: []
      summary: Create trace session
      operationId: createTraceSession
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateTraceSession'
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreatedTraceSession'
    get:
      tags:
      - trace_session
      security:
      - user: []
      - project: []
      summary: Trace sessions
      operationId: traceSessions
      responses:
        '200':
          description: OK
          headers:
            Link:
              schema:
                type: string
                example: </v1/pipelines/foo/trace_sessions?before=bar>; rel="next"
              description: RFC5988 with `rel="next"`.
          links:
            NextTraceSessionsPage:
              operationId: traceSessions
              parameters:
                before: $response.header.Link#rel=next
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/TraceSession'
  /v1/pipelines/{pipelineID}/trace_session:
    parameters:
    - name: pipelineID
      in: path
      schema:
        type: string
        format: uuid
      required: true
    get:
      tags:
      - trace_session
      security:
      - user: []
      - project: []
      summary: Active trace session
      operationId: activeTraceSession
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TraceSession'
    delete:
      tags:
      - trace_session
      security:
      - user: []
      - project: []
      summary: Terminate active trace session
      operationId: terminateActiveTraceSession
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TerminatedTraceSession'
  /v1/trace_sessions/{sessionID}:
    parameters:
    - name: sessionID
      in: path
      schema:
        type: string
        format: uuid
      required: true
    get:
      tags:
      - trace_session
      security:
      - user: []
      - project: []
      summary: Trace session
      operationId: traceSession
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TraceSession'
    patch:
      tags:
      - trace_session
      security:
      - user: []
      - project: []
      summary: Update trace session
      operationId: updateTraceSession
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateTraceSession'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdatedTraceSession'
components:
  schemas:
    UpdateTraceSession:
      type: object
      description: 'Request body to update an active trace session on a pipeline.

        '
      properties:
        plugins:
          description: List of Fluent-bit plugin IDs ar aliases to trace.
          type:
          - array
          - 'null'
          items:
            type: string
            example: dummy.0
          default: null
        lifespan:
          description: For how long will this session be active and process records.
          type:
          - string
          - 'null'
          format: duration
          example: 10m
          default: null
    TraceSession:
      type: object
      description: 'Trace session model.

        There can only be one active session at a moment on a pipeline.

        Either terminate it and create a new one, or update and extend the lifespan of the current active one.

        '
      properties:
        id:
          type: string
          format: uuid
        pipelineID:
          type: string
          format: uuid
        plugins:
          description: List of Fluent-bit plugin IDs ar aliases to trace.
          type: array
          items:
            type: string
            example: dummy.0
        lifespan:
          description: For how long will this session be active and process records.
          type: string
          format: duration
          example: 10m
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
      required:
      - id
      - pipelineID
      - plugins
      - lifespan
      - createdAt
      - updatedAt
    CreateTraceSession:
      type: object
      description: 'Request body to create a new trace session on a pipeline.

        '
      properties:
        plugins:
          description: List of Fluent-bit plugin IDs ar aliases to trace.
          type: array
          items:
            type: string
            example: dummy.0
        lifespan:
          description: For how long will this session be active and process records.
          type: string
          format: duration
          example: 10m
      required:
      - plugins
      - lifespan
    CreatedTraceSession:
      type: object
      description: Response body for a newly created trace session.
      properties:
        id:
          type: string
          format: uuid
        createdAt:
          type: string
          format: date-time
      required:
      - id
      - createdAt
    UpdatedTraceSession:
      type: object
      description: Response body for an updated trace session.
      properties:
        updatedAt:
          type: string
          format: date-time
      required:
      - updatedAt
    TerminatedTraceSession:
      type: object
      description: Response body when a trace session is terminated.
      properties:
        id:
          type: string
          format: uuid
        lifespan:
          type: string
          format: duration
          example: 10m
        updatedAt:
          type: string
          format: date-time
      required:
      - id
      - lifespan
      - updatedAt
  securitySchemes:
    user:
      type: http
      scheme: bearer
    project:
      name: X-Project-Token
      type: apiKey
      in: header
    auth0:
      type: oauth2
      flows:
        clientCredentials:
          tokenUrl: https://sso.calyptia.com/oauth/token
          scopes: {}
        authorizationCode:
          authorizationUrl: https://sso.calyptia.com/authorize
          tokenUrl: https://sso.calyptia.com/oauth/token
          scopes: {}