Marketplace

Get items published by current user

GET
/api/marketplace/my-published

List every PublishedItem record whose publishedBy matches the caller, optionally filtered by itemType. Used by the publisher dashboard to manage their own listings.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Query Parameters

itemType?string

Response Body

application/json

application/json

curl -X GET "https://example.com/api/marketplace/my-published"
{  "success": true,  "data": {    "items": [      {        "_id": "7b2c4e0d9f1a3b4e5c6d7e8f9012",        "itemType": "prompt",        "itemId": "5f7b1c2e8a1d4e0012c3b4a5",        "name": "Acme Inbound Triage Prompt",        "publishedBy": "5f7b1c2e8a1d4e0012c3b4a5",        "organizationId": "5f7b1c2e8a1d4e0012c3b4a5",        "scope": "marketplace",        "shareType": "copy",        "isContentVisible": true,        "status": "active",        "usageCount": 12,        "publishedAt": "2026-05-01T09:15:00.000Z"      }    ]  }}