Skip to content
API reference Get asset
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_idstringpathrequired
The asset's UUID.

Response

idstring
Asset UUID.
namestring
Asset name.
urlstring
The asset in the Pipory app.
media_typestring
image, video or audio.
tagsarray
Tags on the asset.
hookstring | null
The hook from AI analysis.
anglestring | null
The angle.
stylestring | null
The style.
descriptionstring | null
The AI description.
capturestring | null
The capture type from AI analysis.
creatorstring | null
The creator named on the asset.
ocr_textstring | null
On-screen text, first 600 characters.
transcriptstring | null
Spoken transcript, first 1,200 characters.
analysis_statusstring
uploading, pending, analyzing, retrying, completed, failed or skipped.
created_atstring
ISO 8601 timestamp.
productsarray
Linked products, in the order they were linked.
products[].idstring
Product UUID.
products[].titlestring
Product title.
products[].urlstring | null
App path of the product, such as /products/classic-steel.
linked_adsarray
Meta ads linked to this creative.
linked_ads[].idstring
The ad's Pipory UUID (use it with Meta ads summary).
linked_ads[].namestring
Ad name.
linked_ads[].statusstring | null
Meta's effective status, such as ACTIVE or PAUSED.
linked_ads[].campaignstring | null
Campaign name.
linked_ads[].urlstring
App path of the ad.
collectionsarray
Collections that contain the asset: id, name, url (app path).
performance_all_timeobject | null
Sums over every linked ad's daily results, or null with no linked ads that delivered.
performance_all_time.impressionsinteger
Impressions.
performance_all_time.clicksinteger
Clicks.
performance_all_time.ctrnumber | null
Clicks divided by impressions.
performance_all_time.spendnumber
Money scope only.
performance_all_time.purchasesinteger
Money scope only.
performance_all_time.revenuenumber
Money scope only.
performance_all_time.roasnumber | null
Revenue divided by spend. Money scope only.
revenue_visibleboolean
Whether 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

StatusCodeMeaning
401invalid_api_keyMissing, unknown, revoked or expired key
403insufficient_scopeThe key or its creator's role cannot read the Library
403upgrade_requiredThe workspace is not on a paid plan
404noneNo asset with that id in this workspace
422noneasset_id is not a UUID
429rate_limitedOver the key's rate limit