API Overview
Gumnut provides a comprehensive REST API that gives you full programmatic access to all platform features. The API follows RESTful principles and supports the OpenAPI specification.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 facial recognition and grouping
- 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 EXIF metadata, detect faces, and create optimized thumbnails. You can view your assets immediately while processing happens in the background.
Query Your Assets
Faces, embeddings for search, and some metrics might not be populated immediately as they’re processed asynchronously.
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 about request formats, pagination, and rate limits
- Review authentication options including OAuth
