LoopGantt Projects API
The Projects API from LoopGantt — 1 operation(s) for projects.
The Projects API from LoopGantt — 1 operation(s) for projects.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/loopgantt-com:loopgantt-com-projects-api"
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.
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: 3.2.0
info:
title: LoopGantt Projects 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: Projects
paths:
/projects:
post:
operationId: createProject
summary: Create a project with tasks (authenticated)
description: 'Creates a new project with tasks and dependencies. Requires the projects:write scope. Pass `workflow: "agent_board"` for a board a team of agents works on. Returns a URL to view the Gantt chart.'
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/CreateProjectRequest'
example:
name: Kitchen Renovation
description: Complete kitchen renovation project
startDate: '2024-02-01'
tasks:
- name: Design planning
duration: 5
description: Create detailed design plans
- name: Order materials
duration: 3
dependencies:
- 0
description: Order cabinets, countertops, and appliances
- name: Demolition
duration: 2
dependencies:
- 0
description: Remove old cabinets and fixtures
- name: Install cabinets
duration: 4
dependencies:
- 1
- 2
description: Install new cabinetry
- name: Install countertops
duration: 2
dependencies:
- 3
description: Install granite countertops
- name: Final inspection
duration: 1
dependencies:
- 4
isMilestone: true
description: Project completion milestone
responses:
'201':
description: Project created successfully
content:
application/json:
schema:
$ref: '#/components/schemas/CreateProjectResponse'
'400':
description: Validation error
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Authentication required
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
tags:
- Projects
get:
operationId: listProjects
summary: List user's projects
description: Returns the projects owned by the key owner, each with its workflow `stages` (the ids a task `status` can take). Requires the projects:read scope.
responses:
'200':
description: List of projects
content:
application/json:
schema:
$ref: '#/components/schemas/ListProjectsResponse'
'401':
description: Authentication required
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
tags:
- Projects
components:
schemas:
Error:
type: object
properties:
error:
type: object
properties:
code:
type: string
description: Error code
message:
type: string
description: Human-readable error message
CreateProjectRequest:
type: object
required:
- name
- tasks
properties:
name:
type: string
description: Project name
maxLength: 200
description:
type: string
description: Optional project description
startDate:
type: string
format: date
description: Project start date (YYYY-MM-DD). Defaults to today if not specified.
tasks:
type: array
minItems: 1
description: List of tasks to create. Advanced PM fields (constraints, work, resources, baselines) are not part of this contract — import an MS Project XML in the app to keep them.
items:
$ref: '#/components/schemas/TaskInput'
workflow:
type: string
enum:
- agent_board
description: Optional board preset. `agent_board` gives the stages todo, in_progress, blocked, waiting_approval, done (done is the finished stage), and new tasks start in todo. Omit for the default stages (not_started, in_progress, on_hold, completed).
ProjectStage:
type: object
description: One workflow stage (board column). A task `status` must be one of these ids.
properties:
id:
type: string
description: Stage id, e.g. todo, in_progress, done
label:
type: string
description: Column name shown in the app
CreateProjectResponse:
type: object
properties:
data:
type: object
properties:
id:
type: string
format: uuid
description: Project ID
name:
type: string
description: Project name
description:
type: string
nullable: true
description: Project description
startDate:
type: string
format: date
description: Project start date
taskCount:
type: integer
description: Number of tasks created
dependencyCount:
type: integer
description: Number of dependencies created
url:
type: string
format: uri
description: URL to view the Gantt chart
imageUrl:
type: string
format: uri
description: URL to a preview image (for link previews and sharing)
stages:
type: array
items:
$ref: '#/components/schemas/ProjectStage'
description: The project's workflow stages, in board order (the last one is done)
meta:
type: object
properties:
message:
type: string
description: Success message
ListProjectsResponse:
type: object
properties:
data:
type: array
items:
type: object
properties:
id:
type: string
format: uuid
name:
type: string
description:
type: string
nullable: true
startDate:
type: string
format: date
status:
type: string
enum:
- active
- archived
createdAt:
type: string
format: date-time
url:
type: string
format: uri
stages:
type: array
items:
$ref: '#/components/schemas/ProjectStage'
description: The ids a task `status` can take in this project, in board order (last = done)
meta:
type: object
properties:
count:
type: integer
TaskInput:
type: object
required:
- name
properties:
name:
type: string
description: Task name
maxLength: 200
duration:
type: integer
minimum: 1
default: 1
description: Duration in days
dependencies:
type: array
items:
type: integer
minimum: 0
description: Array of task indices this task depends on (0-based). Dependencies must reference earlier tasks.
description:
type: string
description: Optional task description
isMilestone:
type: boolean
default: false
description: If true, task is displayed as a milestone (diamond shape)
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).'