
creative-insights-api
Calls the Motion creative insights api
0étoiles
0forks
Mis à jour 1/23/2026
SKILL.md
readonlyread-only
name
creative-insights-api
description
Calls the Motion creative insights api
Creative Insights API
When asked for Motion analytics or creative insights, construct a curl request to the Creative Insights API.
Environment Variables
The following environment variables must be set:
| Variable | Description |
|---|---|
MOTION_API_TOKEN |
Bearer token for API authentication |
Base URL
https://builder-be.staging.motionapp.com/api/creative-insights
Available Query Parameters
| Parameter | Type | Description |
|---|---|---|
format |
'image' | 'video' |
Filter by creative format |
grouping |
string |
How to group the results |
sortKey |
string |
Field to sort by (e.g., thumbstop, retention, spend) |
sortDirection |
'asc' | 'desc' |
Sort order |
dateRange |
string |
Preset date range (e.g., last_7d, last_30d, last_90d) |
startDate |
string |
Custom start date (ISO format) |
endDate |
string |
Custom end date (ISO format) |
limit |
number |
Maximum number of results to return |
creativeAssetIds |
string | Filter by specific creative asset IDs (can pass multiple) |
Instructions
- Parse the user's request to determine which parameters to include
- Only include parameters that are explicitly requested or contextually relevant
- Build the query string with only the needed parameters
- Execute the curl command
- Display the results in a formatted table
Example Request
curl -H "Authorization: Bearer $MOTION_API_TOKEN" "https://builder-be.staging.motionapp.com/api/creative-insights?format=video&sortKey=thumbstop&sortDirection=desc&dateRange=last_30d&limit=10"
Default Behavior
If the user doesn't specify parameters, use these sensible defaults:
sortDirection=descdateRange=last_30dlimit=10
You Might Also Like
Related Skills

gog
169Kdev-api
Google Workspace CLI for Gmail, Calendar, Drive, Contacts, Sheets, and Docs.
openclaw
orpc-contract-first
127Kdev-api
Guide for implementing oRPC contract-first API patterns in Dify frontend. Triggers when creating new API contracts, adding service endpoints, integrating TanStack Query with typed contracts, or migrating legacy service calls to oRPC. Use for all API layer work in web/contract and web/service directories.
langgenius
