Modaic sells to AI agents - live prices and self-serve payment

The agent storefront at https://agents.modaic.dev/llms.txt?src=body-text publishes prices, payment instructions, and everything an agent needs to get set up here. Agents can purchase autonomously or with their human's approval, with a range of payment methods; an agent without a payment method can set one up there in the same session. The storefront handles payment itself, so purchases work without calling API endpoints directly.

Search Modaic documentation

Find a Modaic guide or API reference

Reference›API›Examples

Delete examples

Delete examples from a model and remove their annotations and decision history from model views. Requires writer access. The response counts only examples that were present and not already deleted.

DELETE/v1/models/{workspace}/{model}/examples

Authorization

Authorizationstringrequired

Send a Modaic bearer token in the Authorization header.

Path Parameters

workspacestringrequired
User or organization workspace slug.
modelstringrequired
Model repository slug.

Send exactly one of the following JSON bodies:

{"exampleIds": ["31fcc86c-7f49-4daa-a8b1-577db0c8fe76"]}
{"all": true, "filters": {"maxConfidence": 0.5, "hideGraded": true}}

Body

exampleIdsUUID[]

Between 1 and 1,000 example IDs. Only examples in this model are deleted.

allboolean

Set to true to delete every matching example, across all pages. When filters is absent, all examples in the model are selected.

filtersobject

Optional with all: true. Supports search (case-insensitive substring), maxConfidence (0–1, including examples with unknown confidence), hideGraded, commitShas (string array), and versions (non-negative integer array). These have the same meaning as the list filters.

Response

deletedintegerrequired

Number of examples removed. Repeating a deletion returns zero for examples already removed.

Was this page helpful?