LiveGraph Templates API

The templates API from LiveGraph — 4 operation(s) for templates.

GitHub OpenAPI

Operations 5

POST /templates Save a graph as a reusable template #
GET /templates List the caller's saved templates #
GET /templates/shared List templates shared into the caller's workspaces #
PATCH /templates/{id} Share or unshare a template with its workspace #
POST /templates/{id}/instantiate Create a new live graph from a template #

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/livegraph-ai:livegraph-ai-templates-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

livegraph-ai-templates-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: LiveGraph Templates API
  version: 1.0.0
  description: LiveGraph — the live, editable agent canvas. Authenticate with the livegraph_session cookie or an x-api-key header. Errors share the {error, code?} envelope; validation failures return 400.
security:
- sessionCookie: []
- apiKey: []
tags:
- name: Templates
paths:
  /templates:
    post:
      summary: Save a graph as a reusable template
      tags:
      - Templates
      responses:
        '200':
          description: Success — see summary for the response shape.
        4XX:
          description: Client error — body is the shared {error, code?} envelope.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                required:
                - error
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                graphId:
                  type: string
                  format: uuid
                name:
                  type: string
                  minLength: 1
                description:
                  type: string
              required:
              - graphId
              - name
              additionalProperties: false
              $schema: http://json-schema.org/draft-07/schema#
      operationId: postTemplates
      x-operation-id-source: derived
    get:
      summary: List the caller's saved templates
      tags:
      - Templates
      responses:
        '200':
          description: Success — see summary for the response shape.
        4XX:
          description: Client error — body is the shared {error, code?} envelope.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                required:
                - error
      operationId: getTemplates
      x-operation-id-source: derived
  /templates/shared:
    get:
      summary: List templates shared into the caller's workspaces
      tags:
      - Templates
      responses:
        '200':
          description: Success — see summary for the response shape.
        4XX:
          description: Client error — body is the shared {error, code?} envelope.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                required:
                - error
      operationId: getTemplatesShared
      x-operation-id-source: derived
  /templates/{id}:
    patch:
      summary: Share or unshare a template with its workspace
      tags:
      - Templates
      responses:
        '200':
          description: Success — see summary for the response shape.
        4XX:
          description: Client error — body is the shared {error, code?} envelope.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                required:
                - error
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                shared:
                  type: boolean
              required:
              - shared
              additionalProperties: false
              $schema: http://json-schema.org/draft-07/schema#
      operationId: patchTemplatesById
      x-operation-id-source: derived
  /templates/{id}/instantiate:
    post:
      summary: Create a new live graph from a template
      tags:
      - Templates
      responses:
        '200':
          description: Success — see summary for the response shape.
        4XX:
          description: Client error — body is the shared {error, code?} envelope.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                required:
                - error
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      operationId: postTemplatesByIdInstantiate
      x-operation-id-source: derived
components:
  securitySchemes:
    sessionCookie:
      type: apiKey
      in: cookie
      name: livegraph_session
    apiKey:
      type: apiKey
      in: header
      name: x-api-key