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›Batch inference

Get batch inference job

Get the current state of a batch inference job. Poll until status is completed, failed, or cancelled.

GET/v1/batch-decisions/{batchDecisionId}

Authorization

Authorizationstringrequired

Send a Modaic bearer token in the Authorization header.

Path Parameters

batchDecisionIdUUIDrequired

Batch inference job ID.

Response

idUUIDrequired
repositoryIdUUIDrequired
statusqueued | running | completed | failed | cancelledrequired
phasequeued | deciding | done | failed | cancelledrequired
branchstringrequired
sourceCommitShastringrequired
progressobjectrequired

Integer total, completed, and failed counts.

resultobject | nullrequired
errorobject | nullrequired
createdAtISO 8601 datetimerequired
updatedAtISO 8601 datetimerequired
startedAtISO 8601 datetime | nullrequired
finishedAtISO 8601 datetime | nullrequired

Retrieve the decisions produced by the batch through each example's decision history.

Was this page helpful?