API reference Assets
Get an asset
Returns one creative with its AI analysis, OCR and transcript excerpts, linked products, linked Meta ads, collections and all-time performance.
GET
/api/v1/public/assets/{asset_id}Scope: read. The key's creator needs access to the Library. Money fields in performance_all_time need read:money.
Path parameters
asset_idstringpathrequiredThe asset's UUID.
Response
idstringAsset UUID.
namestringAsset name.
urlstringThe asset in the Pipory app.
media_typestringimage, video or audio.tagsarrayTags on the asset.
hookstring | nullThe hook from AI analysis.
anglestring | nullThe angle.
stylestring | nullThe style.
descriptionstring | nullThe AI description.
capturestring | nullThe capture type from AI analysis.
creatorstring | nullThe creator named on the asset.
ocr_textstring | nullOn-screen text, first 600 characters.
transcriptstring | nullSpoken transcript, first 1,200 characters.
analysis_statusstringuploading, pending, analyzing, retrying, completed, failed or skipped.created_atstringISO 8601 timestamp.
productsarrayLinked products, in the order they were linked.
products[].idstringProduct UUID.
products[].titlestringProduct title.
products[].urlstring | nullApp path of the product, such as
/products/classic-steel.linked_adsarrayMeta ads linked to this creative.
linked_ads[].idstringThe ad's Pipory UUID (use it with Meta ads summary).
linked_ads[].namestringAd name.
linked_ads[].statusstring | nullMeta's effective status, such as
ACTIVE or PAUSED.linked_ads[].campaignstring | nullCampaign name.
linked_ads[].urlstringApp path of the ad.
collectionsarrayCollections that contain the asset:
id, name, url (app path).performance_all_timeobject | nullSums over every linked ad's daily results, or
null with no linked ads that delivered.performance_all_time.impressionsintegerImpressions.
performance_all_time.clicksintegerClicks.
performance_all_time.ctrnumber | nullClicks divided by impressions.
performance_all_time.spendnumberMoney scope only.
performance_all_time.purchasesintegerMoney scope only.
performance_all_time.revenuenumberMoney scope only.
performance_all_time.roasnumber | nullRevenue divided by spend. Money scope only.
revenue_visiblebooleanWhether money fields are included.
Example request
curl https://api.pipory.com/api/v1/public/assets/8f2c4a1e-6b3d-4c9f-a2e1-7d5b3c1a9e8f \
-H "Authorization: Bearer pip_your_key"
Example response
{
"id": "8f2c4a1e-6b3d-4c9f-a2e1-7d5b3c1a9e8f",
"name": "UGC hook v3",
"url": "https://pipory.com/library/8f2c4a1e-6b3d-4c9f-a2e1-7d5b3c1a9e8f",
"media_type": "video",
"tags": ["ugc", "summer"],
"hook": "I stopped hitting snooze",
"angle": "Problem solution",
"style": "UGC",
"description": "A creator unboxes the watch at her desk and shows the strap clasp.",
"capture": "Selfie",
"creator": "Maya R.",
"ocr_text": "Free shipping this week",
"transcript": "I stopped hitting snooze the day this arrived...",
"analysis_status": "completed",
"created_at": "2026-10-21T13:58:40",
"products": [
{ "id": "3d9a7b1c-2e4f-4a6b-8c0d-1e2f3a4b5c6d", "title": "Classic Steel", "url": "/products/classic-steel" }
],
"linked_ads": [
{
"id": "c1b2a3d4-e5f6-4a7b-8c9d-0e1f2a3b4c5d",
"name": "UGC hook v3 - 9x16",
"status": "ACTIVE",
"campaign": "Prospecting Q4",
"url": "/ads?ad=c1b2a3d4-e5f6-4a7b-8c9d-0e1f2a3b4c5d"
}
],
"collections": [
{ "id": "5e6f7a8b-9c0d-4e1f-a2b3-c4d5e6f7a8b9", "name": "Q4 winners", "url": "/collections/5e6f7a8b-9c0d-4e1f-a2b3-c4d5e6f7a8b9" }
],
"performance_all_time": {
"impressions": 48210,
"clicks": 1290,
"ctr": 0.0268,
"spend": 1840.5,
"purchases": 61,
"revenue": 7302.0,
"roas": 3.9674
},
"revenue_visible": true
}
Without the Money scope, performance_all_time holds only impressions, clicks and ctr, and revenue_visible is false.
Errors
| Status | Code | Meaning |
|---|---|---|
401 | invalid_api_key | Missing, unknown, revoked or expired key |
403 | insufficient_scope | The key or its creator's role cannot read the Library |
403 | upgrade_required | The workspace is not on a paid plan |
404 | none | No asset with that id in this workspace |
422 | none | asset_id is not a UUID |
429 | rate_limited | Over the key's rate limit |