Glif REST API

Read-and-write REST API for the Glif platform — list and fetch glifs (`/glifs`), look up runs (`/runs`), fetch the authenticated user (`/me`), look up users (`/user`), and browse curated collections (`/spheres`). Supports filtering by `id`, `username`, `userId`, `glifId`, `featured`, pagination with `page` and `limit` (default 20, max 100), and inclusion of full glif-graph JSON via `?includes=spells.data`. A private POST `/glifs` endpoint creates draft glifs by supplying a graph of node blocks (TextInputBlock, GPTBlock, ComfyUI blocks, etc.). Deprecated 2026-05-20 alongside the Simple API as Glif retired the workflow-builder surface in favor of the chat-based agent.

API entry from apis.yml

apis.yml Raw ↑
aid: glif-app:glif-rest-api
name: Glif REST API
tags:
- AI
- Artificial Intelligence
- Workflows
- Glifs
- Glif Runs
- Spheres
- Deprecated
humanURL: https://docs.glif.app
baseURL: https://glif.app/api
properties:
- url: https://github.com/glifxyz/api-docs/blob/main/reading-and-writing-data-via-the-api.md
  type: Documentation
- url: https://glif.app/settings/api-tokens
  type: Authentication
description: Read-and-write REST API for the Glif platform — list and fetch glifs (`/glifs`), look up
  runs (`/runs`), fetch the authenticated user (`/me`), look up users (`/user`), and browse curated collections
  (`/spheres`). Supports filtering by `id`, `username`, `userId`, `glifId`, `featured`, pagination with
  `page` and `limit` (default 20, max 100), and inclusion of full glif-graph JSON via `?includes=spells.data`.
  A private POST `/glifs` endpoint creates draft glifs by supplying a graph of node blocks (TextInputBlock,
  GPTBlock, ComfyUI blocks, etc.). Deprecated 2026-05-20 alongside the Simple API as Glif retired the
  workflow-builder surface in favor of the chat-based agent.