Trajectory Sandboxes API

The sandboxes API from Trajectory — 1 operation(s) for sandboxes.

Operations 1

GET /api/v1/sandbox-usage Get Sandbox Usage #

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-sandboxes-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-sandboxes-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Trajectory Sandboxes 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: Sandboxes
paths:
  /api/v1/sandbox-usage:
    get:
      tags:
      - Sandboxes
      summary: Get Sandbox Usage
      operationId: getSandboxUsage
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SandboxUsageResponse'
      x-trajectory-visibility: browser
components:
  schemas:
    JobSandboxUsage:
      properties:
        xid:
          anyOf:
          - type: string
          - type: 'null'
          title: Xid
        job_name:
          anyOf:
          - type: string
          - type: 'null'
          title: Job Name
        job_status:
          anyOf:
          - type: string
          - type: 'null'
          title: Job Status
        job_active:
          type: boolean
          title: Job Active
        live_count:
          type: integer
          title: Live Count
        stale_count:
          type: integer
          title: Stale Count
        sandbox_hours:
          type: number
          title: Sandbox Hours
        providers:
          additionalProperties:
            type: integer
          propertyNames:
            enum:
            - runloop
            - daytona
            - modal
          type: object
          title: Providers
        statuses:
          additionalProperties:
            type: integer
          type: object
          title: Statuses
      type: object
      required:
      - xid
      - job_name
      - job_status
      - job_active
      - live_count
      - stale_count
      - sandbox_hours
      - providers
      - statuses
      title: JobSandboxUsage
    SandboxDashboardSummary:
      properties:
        live_count:
          type: integer
          title: Live Count
        orphan_count:
          type: integer
          title: Orphan Count
        stale_count:
          type: integer
          title: Stale Count
        sandbox_hours:
          type: number
          title: Sandbox Hours
        provider_totals:
          additionalProperties:
            type: integer
          propertyNames:
            enum:
            - runloop
            - daytona
            - modal
          type: object
          title: Provider Totals
      type: object
      required:
      - live_count
      - orphan_count
      - stale_count
      - sandbox_hours
      - provider_totals
      title: SandboxDashboardSummary
    SandboxUsageResponse:
      properties:
        collected_at:
          type: string
          title: Collected At
        stale_after_hours:
          type: integer
          title: Stale After Hours
        summary:
          $ref: '#/components/schemas/SandboxDashboardSummary'
        jobs:
          items:
            $ref: '#/components/schemas/JobSandboxUsage'
          type: array
          title: Jobs
        provider_errors:
          additionalProperties:
            type: string
          propertyNames:
            enum:
            - runloop
            - daytona
            - modal
          type: object
          title: Provider Errors
      type: object
      required:
      - collected_at
      - stale_after_hours
      - summary
      - jobs
      - provider_errors
      title: SandboxUsageResponse
  securitySchemes:
    TrajectoryAccessToken:
      type: http
      description: Short-lived token scoped to one rollout trajectory
      scheme: bearer
    InferenceAuthorization:
      type: http
      scheme: bearer