Skip to main content

topUpAssistantMissionBudget

Add credits to a Mission stopped at its budget (NEEDS_INPUT, statusReason budget_exhausted) and continue it. A template Mission can be topped up too: its template's budget is the starting budget. The amount is above zero and must fit the organization's missions spending cap and leave its bot reserve untouched. MISSION_NOT_AT_BUDGET when the Mission is not stopped at its budget (any more). Send an idempotency key to make a retry safe.

topUpAssistantMissionBudget(
id: ID!
credits: Float!
): AssistantMission!

Arguments​

topUpAssistantMissionBudget.id ● ID! non-null scalar​

topUpAssistantMissionBudget.credits ● Float! non-null scalar​

Type​

AssistantMission object​

A Mission the signed-in person owns, in the organization they are acting in.