API Reference
Programmatic access to your Raster libraries — query assets, upload images, and build integrations.
Raster is built API-first. Everything you do in the app — browsing libraries, uploading images, reading tags — is available programmatically, so you can wire Raster into your website, CMS, build pipeline, or internal tools.
Choose an interface
GraphQL API
Query assets, libraries, and tags, and upload or delete assets from any permitted library.
REST API
A resource-oriented HTTP API for teams that prefer REST over GraphQL.
MCP Server
Connect Claude, ChatGPT, Cursor, and other AI assistants to your libraries over the Model Context Protocol.
For AI agents
Raster is built so an AI agent can manage a user's images end to end — including for a user who has no account yet.
Install the Raster skill
Add Raster to Claude, Cursor, Copilot, and other agents with one skills-CLI command.
Using Raster from an AI agent
A runbook for LLMs: discover Raster, authenticate, and run the upload, tag, search, and hand-off loop.
Start without an account
One call creates a library and key from an email — upload right away, the user claims it later.
What you can build
- Serve perfectly-sized, CDN-cached images on a website without a traditional CMS.
- Sync a Raster library into a static site generator at build time.
- Push images into Raster from an existing upload flow or automation.
- Pull asset metadata and tags into internal dashboards and search tools.
Before you start
Every interface authenticates with an API key scoped to your organization. You create and manage keys — and grant per-library access — in your organization settings. See Authentication for the full walkthrough.
Both the GraphQL and REST APIs are in Alpha — follow the GraphQL changelog and REST changelog for breaking changes, and reach out at support@raster.app with feedback.