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›Datasets

Delete dataset

Permanently delete a dataset, including its retained versions, uploaded parts, and retained preprocessing copies. Content still referenced by another dataset is retained for that dataset.

DELETE/v1/workspaces/{workspace}/datasets/{name}

Authorization

Authorizationstringrequired

Send a Modaic bearer token in the Authorization header.

Path Parameters

workspacestringrequired
User or organization workspace slug.
namestringrequired
Uploaded dataset name.

The request requires write access. A queued, running, or paused job using the dataset causes 409 dataset_in_use. Finish or cancel that job before deleting the dataset. Unfinished uploads can also block deletion.

Response

Returns 202 Accepted with a Location header pointing to the deletion status.

idstring
Deletion request ID.
namestring
Dataset name.
statusstring
queued, running, completed, or failed.
createdAtstring
Request timestamp.
completedAtstring | null
Completion timestamp; null while incomplete.

New API reads become unavailable immediately. Existing transfers must finish or expire before physical cleanup completes. Poll until completed before treating deletion as finished. If cleanup fails, repeat this DELETE request to continue it. Deletion is irreversible.

Was this page helpful?