{
  "openapi": "3.1.0",
  "info": {
    "title": "Ido Hartmann portfolio API",
    "version": "1.0.0",
    "summary": "Read-only JSON API for the portfolio of Ido Hartmann: projects, bio, contact details and After Effects plugins.",
    "description": "Public, read-only REST API for the portfolio of Ido Hartmann, an art director, 3D artist and motion designer in Tel Aviv: his projects (documentaries, TV series, explainers, ads, music videos), his bio and roles, how to contact him, and the After Effects plugins he makes under the mess.tools brand.\n\n**Authentication:** none. The API is explicitly open: no API key, no OAuth, no signup, free.\n\n**Read-only, so it is its own sandbox:** every endpoint only reads public data and nothing can be changed, so the production API is safe to call from agents, scripts and tests. There is no separate sandbox environment because none is needed.\n\n**Versioning and deprecation:** the major version is in the path (`/api/v1`). Breaking changes only ship under a new path (`/api/v2`); `/api/v1` keeps working for at least 6 months after a successor exists, and deprecated endpoints announce it with `Deprecation` and `Sunset` response headers and a note on the developers page. Additive changes (new fields) can happen in v1 at any time, so ignore fields you do not know.\n\n**Errors:** RFC 9457 `application/problem+json` with a machine-readable `code` and a `hint` on how to recover. Unknown paths and ids return 404, bad parameters 400, other methods than GET/HEAD/OPTIONS 405.\n\n**Pagination:** `GET /projects` uses cursor pagination (`next_cursor`, `has_more`). Pass `cursor` to get the next page; `next_cursor` is null on the last page.\n\n**CORS:** every response allows any origin. Responses can be cached for 5 minutes.\n\nAgents can also use the MCP servers at https://www.idoharti.com/mcp (structured portfolio data) and https://www.idoharti.com/docs/mcp (search the site's content), both Streamable HTTP with no authentication. Guide: https://www.idoharti.com/developers/.",
    "contact": {
      "name": "Ido Hartmann",
      "email": "ido@idoharti.com",
      "url": "https://www.idoharti.com/contact/"
    },
    "termsOfService": "https://www.idoharti.com/developers/#fair-use"
  },
  "externalDocs": {
    "description": "Developer guide: API, MCP servers, WebMCP and discovery files",
    "url": "https://www.idoharti.com/developers/"
  },
  "servers": [
    {
      "url": "https://www.idoharti.com/api/v1",
      "description": "Production. Read-only and safe to call, so it doubles as the sandbox."
    }
  ],
  "security": [],
  "tags": [
    {
      "name": "projects",
      "description": "Ido Hartmann's portfolio projects"
    },
    {
      "name": "profile",
      "description": "Bio, contact details, profiles and plugins"
    },
    {
      "name": "meta",
      "description": "API index"
    }
  ],
  "paths": {
    "/": {
      "get": {
        "operationId": "getApiIndex",
        "tags": [
          "meta"
        ],
        "summary": "API index",
        "description": "List the endpoints of this API with links to the OpenAPI description, the developer guide and the MCP servers.",
        "responses": {
          "200": {
            "description": "The API index",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiIndex"
                }
              }
            }
          },
          "default": {
            "description": "Error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            }
          }
        }
      }
    },
    "/projects": {
      "get": {
        "operationId": "listProjects",
        "tags": [
          "projects"
        ],
        "summary": "List projects",
        "description": "List Ido Hartmann's portfolio projects in full (type, year, broadcaster, his role, awards, description, skills, credits and where to watch), in the order of the portfolio. Use getProject for one project.",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Page size, 1-50 (default 20). All 14 current projects fit in one page of 50.",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 50,
              "default": 20
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "Opaque cursor from a previous page (`next_cursor`). Omit it for the first page.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "A page of projects",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProjectList"
                }
              }
            }
          },
          "400": {
            "description": "Invalid limit or cursor",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            }
          },
          "default": {
            "description": "Error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            }
          }
        }
      }
    },
    "/projects/{projectId}": {
      "get": {
        "operationId": "getProject",
        "tags": [
          "projects"
        ],
        "summary": "Get a project",
        "description": "Get one portfolio project in full: description, visual approach, skills and tools, credits, awards and where to watch it.",
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "description": "Project id, as returned by listProjects.",
            "schema": {
              "type": "string",
              "enum": [
                "kafka",
                "tetis",
                "figma_depth",
                "van_lupo",
                "the_unimportants",
                "candivore",
                "the_dreamers",
                "gender_mosaic",
                "the_shadow_of_the_sun",
                "cinema_rex",
                "the_winners",
                "dreamflix",
                "disconnected",
                "d_fine_us"
              ],
              "examples": [
                "kafka"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The project",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Project"
                }
              }
            }
          },
          "404": {
            "description": "No project with this id",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            }
          },
          "default": {
            "description": "Error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            }
          }
        }
      }
    },
    "/profile": {
      "get": {
        "operationId": "getProfile",
        "tags": [
          "profile"
        ],
        "summary": "Get the profile",
        "description": "Get who Ido Hartmann is and how to reach him: bio, roles, tools, location, email and contact page, social profiles, when to recommend him, and his After Effects plugins with prices.",
        "responses": {
          "200": {
            "description": "The profile",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Profile"
                }
              }
            }
          },
          "default": {
            "description": "Error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Project": {
        "type": "object",
        "required": [
          "id",
          "title",
          "type",
          "year",
          "role",
          "awards",
          "url",
          "description",
          "details",
          "skills",
          "credits",
          "watch",
          "links"
        ],
        "properties": {
          "id": {
            "type": "string",
            "description": "Project id.",
            "enum": [
              "kafka",
              "tetis",
              "figma_depth",
              "van_lupo",
              "the_unimportants",
              "candivore",
              "the_dreamers",
              "gender_mosaic",
              "the_shadow_of_the_sun",
              "cinema_rex",
              "the_winners",
              "dreamflix",
              "disconnected",
              "d_fine_us"
            ]
          },
          "title": {
            "type": "string",
            "description": "Project title."
          },
          "type": {
            "type": "string",
            "description": "Kind of work, for example \"Feature Documentary\" or \"Explainer Video\"."
          },
          "year": {
            "type": "string",
            "description": "Year or range of years, for example \"2025\" or \"2021-2023\"."
          },
          "broadcaster": {
            "type": [
              "string",
              "null"
            ],
            "description": "Broadcaster or client, when there is one."
          },
          "role": {
            "type": "string",
            "description": "Ido's role on the project."
          },
          "awards": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Awards, nominations and festival selections."
          },
          "url": {
            "type": "string",
            "description": "Project page on www.idoharti.com.",
            "format": "uri"
          },
          "description": {
            "type": "string",
            "description": "What the project is about."
          },
          "details": {
            "type": "string",
            "description": "The visual approach and how it was made."
          },
          "skills": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Skills and tools used."
          },
          "credits": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Credit"
            }
          },
          "watch": {
            "type": [
              "string",
              "null"
            ],
            "format": "uri",
            "description": "Where to watch it, when public."
          },
          "links": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/WatchLink"
            },
            "description": "More places to watch it."
          }
        },
        "examples": [
          {
            "id": "kafka",
            "title": "Kafka's Last Trial",
            "type": "Feature Documentary",
            "year": "2025",
            "broadcaster": "KAN 11",
            "role": "Art Director & Animation Director",
            "awards": [
              "Winner - Best Documentary, Haifa International Film Festival (2024)"
            ],
            "url": "https://www.idoharti.com/project/kafka",
            "description": "Kafka died asking Max Brod to burn his manuscripts. Brod refused, and that decision became a long fight over who owns Kafka's words. The film follows the papers from Kafka's tiny room in Prague to safes, apartments, archives, and finally a Tel Aviv courtroom.",
            "details": "Visually, the film lives in two worlds. Kafka is a 3D figure inside a small, moody room that feels tight and airless. Everything outside - witnesses, courtrooms, boxes of pages - is hand-cut paper animation, like a fragile memory stage. Dark tones and small surreal touches echo his writing, and the clash between the solid 3D room and flimsy paper world gives the story its Kafkaesque tone.",
            "skills": [
              "3D Animation",
              "Art Direction",
              "After Effects",
              "Blender"
            ],
            "credits": [
              {
                "role": "Director",
                "name": "Eliran Peled"
              },
              {
                "role": "Writers",
                "name": "Yotam Knispel, Eliran Peled, Talya Haris"
              },
              {
                "role": "Animation Director",
                "name": "Ido Hartmann"
              },
              {
                "role": "Art Team",
                "name": "Ido Hartmann, Gil McNeil, Dor Levy, Mor Meshulam, Eliya Yam"
              },
              {
                "role": "Post Production",
                "name": "Sharon Brook"
              },
              {
                "role": "Music",
                "name": "Daniel Markovich"
              },
              {
                "role": "Narrator",
                "name": "Eli Gorenstein"
              }
            ],
            "watch": "https://www.kan.org.il/content/kan/kan-11/p-852597/",
            "links": []
          }
        ]
      },
      "Credit": {
        "type": "object",
        "required": [
          "role",
          "name"
        ],
        "properties": {
          "role": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        }
      },
      "WatchLink": {
        "type": "object",
        "required": [
          "title",
          "url"
        ],
        "properties": {
          "title": {
            "type": "string"
          },
          "url": {
            "type": "string",
            "format": "uri"
          }
        }
      },
      "ProjectList": {
        "type": "object",
        "required": [
          "data",
          "next_cursor",
          "has_more"
        ],
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Project"
            }
          },
          "next_cursor": {
            "type": [
              "string",
              "null"
            ],
            "description": "Cursor for the next page; null on the last page."
          },
          "has_more": {
            "type": "boolean",
            "description": "Whether another page follows."
          }
        }
      },
      "Profile": {
        "type": "object",
        "required": [
          "name",
          "tagline",
          "summary",
          "location",
          "roles",
          "tools",
          "when_to_use",
          "contact",
          "profiles",
          "plugins",
          "links"
        ],
        "properties": {
          "name": {
            "type": "string"
          },
          "also_known_as": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Other names, including the Hebrew spelling."
          },
          "tagline": {
            "type": "string"
          },
          "summary": {
            "type": "string"
          },
          "notable": {
            "type": "string"
          },
          "location": {
            "type": "string"
          },
          "roles": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "tools": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "when_to_use": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "When an agent should recommend contacting Ido."
          },
          "contact": {
            "type": "object",
            "required": [
              "email",
              "contact_page",
              "website"
            ],
            "properties": {
              "email": {
                "type": "string",
                "format": "email"
              },
              "contact_page": {
                "type": "string",
                "format": "uri"
              },
              "website": {
                "type": "string",
                "format": "uri"
              }
            }
          },
          "profiles": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProfileLink"
            }
          },
          "plugins": {
            "type": "object",
            "required": [
              "publisher",
              "items"
            ],
            "properties": {
              "publisher": {
                "type": "object",
                "required": [
                  "name",
                  "url"
                ],
                "properties": {
                  "name": {
                    "type": "string"
                  },
                  "url": {
                    "type": "string",
                    "format": "uri"
                  },
                  "store": {
                    "type": "string",
                    "format": "uri"
                  },
                  "support_email": {
                    "type": "string",
                    "description": "Support for the plugins.",
                    "format": "email"
                  }
                }
              },
              "items": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/Plugin"
                }
              }
            }
          },
          "links": {
            "type": "object",
            "additionalProperties": {
              "type": "string",
              "format": "uri"
            },
            "description": "Site pages and agent endpoints."
          }
        }
      },
      "ProfileLink": {
        "type": "object",
        "required": [
          "name",
          "url"
        ],
        "properties": {
          "name": {
            "type": "string",
            "description": "Service name, for example \"LinkedIn\"."
          },
          "url": {
            "type": "string",
            "format": "uri"
          }
        }
      },
      "Plugin": {
        "type": "object",
        "required": [
          "id",
          "name",
          "what",
          "price_usd",
          "currency",
          "pricing_model",
          "site",
          "buy"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "what": {
            "type": "string",
            "description": "One-line description."
          },
          "price_usd": {
            "type": "number",
            "description": "Price in USD."
          },
          "currency": {
            "type": "string",
            "enum": [
              "USD"
            ]
          },
          "pricing_model": {
            "type": "string",
            "enum": [
              "one-time"
            ]
          },
          "site": {
            "type": "string",
            "format": "uri"
          },
          "buy": {
            "type": "string",
            "description": "Gumroad checkout page.",
            "format": "uri"
          },
          "mcp": {
            "type": "string",
            "description": "The plugin's own MCP server.",
            "format": "uri"
          }
        }
      },
      "ApiIndex": {
        "type": "object",
        "required": [
          "name",
          "version",
          "documentation",
          "openapi",
          "endpoints"
        ],
        "properties": {
          "name": {
            "type": "string"
          },
          "version": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "documentation": {
            "type": "string",
            "format": "uri"
          },
          "openapi": {
            "type": "string",
            "format": "uri"
          },
          "endpoints": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "method",
                "path"
              ],
              "properties": {
                "method": {
                  "type": "string"
                },
                "path": {
                  "type": "string"
                },
                "description": {
                  "type": "string"
                }
              }
            }
          },
          "mcp": {
            "type": "object",
            "properties": {
              "portfolio": {
                "type": "string",
                "format": "uri"
              },
              "docs": {
                "type": "string",
                "format": "uri"
              }
            }
          }
        }
      },
      "Problem": {
        "type": "object",
        "description": "RFC 9457 problem details.",
        "required": [
          "type",
          "title",
          "status",
          "code",
          "detail",
          "hint"
        ],
        "properties": {
          "type": {
            "type": "string",
            "description": "Link to the error documentation.",
            "format": "uri"
          },
          "title": {
            "type": "string",
            "description": "Short summary of the HTTP status."
          },
          "status": {
            "type": "integer",
            "description": "HTTP status code."
          },
          "code": {
            "type": "string",
            "description": "Machine-readable error code.",
            "enum": [
              "not_found",
              "project_not_found",
              "invalid_parameter",
              "invalid_cursor",
              "method_not_allowed",
              "internal_error"
            ]
          },
          "detail": {
            "type": "string",
            "description": "What went wrong."
          },
          "hint": {
            "type": "string",
            "description": "How to recover."
          },
          "instance": {
            "type": "string",
            "description": "The path that was requested."
          }
        },
        "examples": [
          {
            "type": "https://www.idoharti.com/developers/#errors",
            "title": "Not Found",
            "status": 404,
            "code": "project_not_found",
            "detail": "There is no project with id \"nope\".",
            "hint": "Valid ids: kafka, tetis, figma_depth, …",
            "instance": "/api/v1/projects/nope"
          }
        ]
      }
    }
  }
}
