Raster

API Reference

Programmatic access to your Raster libraries. Query assets, upload images, and build integrations.

Raster is built API-first. Browsing libraries, uploading images, reading and applying tags, and organizing assets are available programmatically, so you can connect Raster to your website, CMS, build pipeline, or internal tools.

Choose an interface

For AI agents

An AI agent can manage a user's images end to end in Raster, including for a user who has no account yet.

What you can build

  • Serve CDN-cached images in several sizes 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

The REST API authenticates with an organization API key or an OAuth access token. Create and manage keys, and grant per-library access, in your organization settings. See Authentication for the full walkthrough.

The MCP server and the CLI also support OAuth, signing you in as yourself so a connection follows your live library access. See MCP authentication to connect over OAuth.

The REST API is in Alpha. Follow the REST changelog for breaking changes, and reach out at support@raster.app with feedback.

On this page