Credit campaigns

Read claim, email and recipient usage results [admin]

Changed on

Returns grantedUsd, claimed, activeRecipients, agentUsageUsd and individual link states. Usage is agent/runtime ledger spend since first claim, excludes API gateway and is not attribution to the gifted credit pool.

get/credit-campaigns/{id}

Request

  • Base URL
    https://api.agentsky.dev/v1
  • URL
    https://api.agentsky.dev/v1/credit-campaigns/{id}
  • Auth
    HTTP bearer

Path parameters

idstring required

Response

Campaign result

campaignIdstring required
notestring required
amountUsdnumber required
maxRedemptionsinteger required
claimedinteger required
grantedUsdnumber required
activeRecipientsinteger required
agentUsageUsdnumber required
usageBasisstring required

Changes

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status