LoopGantt Schedule API

The Schedule API from LoopGantt — 1 operation(s) for schedule.

GitHub OpenAPI

Operations 1

POST /schedule Compute a schedule without storing anything #

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/loopgantt-com:loopgantt-com-schedule-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

loopgantt-com-schedule-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: LoopGantt Schedule API
  description: Create and manage Gantt chart projects programmatically. Perfect for AI-generated project plans.
  version: 1.0.0
  contact:
    name: LoopGantt Support
    url: https://loopgantt.com
servers:
- url: https://loopgantt.com/api/v1
  description: Production API
security:
- bearerAuth: []
tags:
- name: Schedule
paths:
  /schedule:
    post:
      operationId: scheduleProject
      summary: Compute a schedule without storing anything
      description: 'Critical-path scheduling for a task list: dates, critical path, float and project end. Nothing is stored; no account, no key. Same validation and limits as /gantt. Rate limited: 60 per hour per network.'
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ScheduleRequest'
      responses:
        '200':
          description: Schedule
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ScheduleResponse'
        '400':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '413':
          description: Body larger than 2 MB
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: The plan could not be scheduled
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limit exceeded (see Retry-After)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      x-openai-isConsequential: false
      tags:
      - Schedule
components:
  schemas:
    GanttTaskInput:
      type: object
      required:
      - name
      properties:
        name:
          type: string
          maxLength: 200
          description: Task name
        duration:
          type: integer
          minimum: 0
          maximum: 3650
          default: 1
          description: Duration in working days. 0 makes the task a milestone.
        isMilestone:
          type: boolean
          default: false
          description: Milestone (zero duration, drawn as a diamond)
        description:
          type: string
          maxLength: 2000
        dependencies:
          type: array
          maxItems: 20
          description: 'Predecessors: plain task indices (0-based, earlier tasks only) or objects with type/lag'
          items:
            oneOf:
            - type: integer
              minimum: 0
            - $ref: '#/components/schemas/DependencyInput'
        isPhase:
          type: boolean
          default: false
          description: Top-level phase (a group). Tasks join it via parent = this task's position. Phases take no dependencies and no parent; their dates are the envelope of their tasks.
        parent:
          type: integer
          minimum: 0
          description: Position (0-based) of an EARLIER task with isPhase=true that this task belongs to.
        deadline:
          type: string
          format: date
          description: 'Finish-by date (YYYY-MM-DD). A marker, not a constraint: the task is scheduled normally and the response reports its fit (buffer or days late).'
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              description: Error code
            message:
              type: string
              description: Human-readable error message
    DependencyInput:
      type: object
      required:
      - task
      properties:
        task:
          type: integer
          minimum: 0
          description: Index (0-based) of an EARLIER task this task depends on
        type:
          type: string
          enum:
          - FS
          - SS
          - FF
          - SF
          default: FS
          description: 'Dependency type: finish-to-start (default), start-to-start, finish-to-finish, start-to-finish'
        lag:
          type: integer
          minimum: -365
          maximum: 365
          default: 0
          description: Lag (positive) or lead (negative) in working days
    ScheduleResponse:
      type: object
      properties:
        data:
          type: object
          properties:
            projectStartDate:
              type: string
              format: date
            projectEndDate:
              type: string
              format: date
            projectDurationDays:
              type: integer
            criticalPath:
              type: array
              items:
                type: integer
              description: Task indices on the critical path, in order
            tasks:
              type: array
              items:
                type: object
                properties:
                  index:
                    type: integer
                  name:
                    type: string
                  start:
                    type: string
                    format: date
                  end:
                    description: 'Last working day of the task (inclusive). Milestones: start = end.'
                    type: string
                    format: date
                  durationDays:
                    type: integer
                  isMilestone:
                    type: boolean
                  isCritical:
                    type: boolean
                  totalFloat:
                    type: integer
        meta:
          type: object
          properties:
            rateLimit:
              type: object
              properties:
                limit:
                  type: integer
                remaining:
                  type: integer
    ScheduleRequest:
      type: object
      required:
      - tasks
      description: Same shape as CreateGanttRequest; `name` is optional because nothing is stored.
      properties:
        name:
          type: string
          maxLength: 200
          description: Project name
        description:
          type: string
          maxLength: 2000
        startDate:
          type: string
          format: date
          description: Project start (YYYY-MM-DD). Defaults to today.
        workDays:
          type: array
          items:
            type: integer
            minimum: 1
            maximum: 7
          description: Working weekdays as ISO numbers (1 = Monday … 7 = Sunday). Defaults to Mon–Fri.
        holidays:
          type: array
          maxItems: 200
          items:
            type: string
            format: date
          description: Non-working dates (YYYY-MM-DD)
        tasks:
          type: array
          minItems: 1
          maxItems: 300
          items:
            $ref: '#/components/schemas/GanttTaskInput'
          description: Tasks in execution order. Durations + lags may add up to at most 5000 days.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'API key from https://loopgantt.com/settings/api-keys, sent as `Authorization: Bearer sk_live_…`. Keys carry scopes (projects:read, projects:write, tasks:read, tasks:write) and are limited to 120 requests per minute per key (429 RATE_LIMITED with Retry-After).'