Base URL
All API requests should be made to:OpenAPI Specification
Gumnut publishes an OpenAPI 3.0 specification that you can use to generate client libraries, import into API testing tools like Postman, or create mock servers: Specification URL: https://api.gumnut.ai/openapi.jsonAPI Resources
The API provides access to the following resources:- Assets — Upload, list, query, update, and delete photos and videos
- Albums — Create and manage photo collections
- Libraries — Manage separate photo libraries
- People & Faces — AI-powered people grouping, face review, and manual face boxes for missed detections
- Search — Semantic search using natural language, plus metadata filtering
- API Keys — Manage authentication keys programmatically
Getting Started
Follow these steps to make your first API calls.Prerequisites
- A Gumnut account (sign up at www.gumnut.ai/waitlist if you don’t have one)
- Basic familiarity with REST APIs
- (Optional) Node.js or Python installed for SDK usage
Get Your API Key
Follow the steps on the API Keys page to create and configure your key.Query Your Libraries
By default, you’ll have one library created for you. Let’s query it:Upload Your First Asset
Gumnut will asynchronously process your upload to generate embeddings for semantic search, extract metadata, detect faces, and create optimized thumbnails. You can view your assets immediately while processing happens in the background.
Query Your Assets
Asset responses are lean by default. When you need richer fields such as
metadata, faces, people, file_data, or non-thumbnail asset_urls, pass the relevant include values. In particular, clients that render small, preview, fullsize, or original variants should request include=variants.Capture timestamps can be timezone-aware or offsetless depending on the source metadata. See Requests & Responses for how local_datetime, created_at, and file_data.file_created_at differ.Create an Album
Add Asset to Album
Next Steps
- Explore the full API Reference tab for interactive documentation of all endpoints
- Install our SDKs for easier integration with TypeScript or Python
- Set up the MCP server for AI tool integration
- Learn how to work with people and faces, request formats, pagination, and rate limits
- Review authentication options including OAuth