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.

Glif REST API is one of 2 APIs that Glif publishes on the APIs.io network.

Tagged areas include AI, Artificial Intelligence, Workflows, Glifs, and Glif Runs. The published artifact set on APIs.io includes API documentation and authentication docs.

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.