Skip to content
SialFlow

API reference

Build on SialFlow

Assets (DAM) API

Base path /v1/collections. All requests require Authorization and X-SialFlow-Project-ID.

There is no /v1/assets aggregate yet. The DAM library composes Images (/v1/images), Objects (/v1/objects), and Collections. Search and metadata for images use GET/PATCH /v1/images. Security policies live under /v1/dam/security/policies (Policies in the portal).

MethodPathDescription
GET/List collections
GET/?resource_type=&resource_id=Reverse index: collections containing a member
POST/Create collection
GET/{id}Get collection
PATCH/{id}Update collection
DELETE/{id}Delete collection
GET/{id}/membersList members
POST/{id}/membersAdd member ({resource_type, resource_id})
DELETE/{id}/members/{type}/{rid}Remove member

Example

# List collections
curl "https://api.sialflow.com/v1/collections" \
  -H "Authorization: Bearer $SIALFLOW_API_KEY" \
  -H "X-SialFlow-Project-ID: $SIALFLOW_PROJECT_ID"

# Collections containing an image (reverse index)
curl "https://api.sialflow.com/v1/collections?resource_type=image&resource_id=img_..." \
  -H "Authorization: Bearer $SIALFLOW_API_KEY" \
  -H "X-SialFlow-Project-ID: $SIALFLOW_PROJECT_ID"

# Add an image to a collection
curl -X POST "https://api.sialflow.com/v1/collections/$COLLECTION_ID/members" \
  -H "Authorization: Bearer $SIALFLOW_API_KEY" \
  -H "X-SialFlow-Project-ID: $SIALFLOW_PROJECT_ID" \
  -H "Content-Type: application/json" \
  -d '{"resource_type":"image","resource_id":"img_..."}'

# Search images (DAM browse uses the same API)
curl "https://api.sialflow.com/v1/images?q=hero&tag=product" \
  -H "Authorization: Bearer $SIALFLOW_API_KEY" \
  -H "X-SialFlow-Project-ID: $SIALFLOW_PROJECT_ID"