Skip to main content
FeatureImprovement
What's new

What’s new

Evaluate several parts of one post together

Label evaluation (POST /v1/labels/evaluate) now accepts contentParts, so you can score the parts of one post, such as its caption and its image, as a single piece of content. Each label version returns one score for the whole post.
  • Send 1 to 8 parts. Each part is text, image, or imageUrl, with at most one image per request.
  • Set contentParts or contentData, not both.
  • Posts evaluated this way appear in the content feed, with their parts shown in order.
  • Get job details and List jobs return the combined contentHash and the merged metadata for these posts, not the individual parts.
contentParts is open to every label-first account, with no separate opt-in.

JavaScript SDK 0.6.0

Version 0.6.0 of @clavata/sdk sends contentParts from beta.evaluateLabels. See the JavaScript / TypeScript SDK guide for an example.

API key updates

The API Keys page has a Last used column that shows about when each key last authenticated a request. See API Key Management.Every API key now carries a list of the permissions it holds. Moonbounce checks that list on each request, and a request outside it returns PERMISSION_DENIED. A key is revoked when its owner is removed from the account, or when the owner’s role no longer covers what the key can do.

Improvements

  • POST /v1/labels/evaluate accepts up to 25 label versions per request, up from 10.
  • A score exactly equal to a label’s threshold now counts as a match.