AssistantMission
A Mission the signed-in person owns, in the organization they are acting in.
type AssistantMission {
legibleStatus: EntityStatus!
id: ID!
goal: String!
kind: AssistantMissionKind!
strategyId: ID
strategyVersion: Int
variants: [AssistantMissionVariant!]!
report: AssistantMissionReport
result: String
status: AssistantMissionStatus!
statusReason: String
hold: AssistantMissionHold
constraints: [String!]!
budgetCredits: Float!
spentCredits: Float!
workspaceId: String
scheduleId: ID
shadow: Boolean!
createdAt: Time!
updatedAt: Time!
finishedAt: Time
timeline: [AssistantMissionEvent!]!
plan: AssistantMissionPlan
holdout: AssistantMissionHoldout
template: AssistantMissionTemplate
mandateId: ID
canAttachBotPermission: Boolean!
}
Fields
AssistantMission.legibleStatus ● EntityStatus! non-null object
AssistantMission.id ● ID! non-null scalar
AssistantMission.goal ● String! non-null scalar
AssistantMission.kind ● AssistantMissionKind! non-null enum
AssistantMission.strategyId ● ID scalar
The strategy an IMPROVE_STRATEGY Mission improves (never changed by it).
AssistantMission.strategyVersion ● Int scalar
The version number of strategyId this run tested, for a run a schedule started on the strategy's latest version. Null for every other Mission.
AssistantMission.variants ● [AssistantMissionVariant!]! non-null object
An IMPROVE_STRATEGY Mission's variant table, baseline first.
AssistantMission.report ● AssistantMissionReport object
An IMPROVE_STRATEGY Mission's final report; null until it stops.
AssistantMission.result ● String scalar
A GENERAL Mission's final report, written by its last decision; null until it finishes, and for an IMPROVE_STRATEGY Mission (see report).
AssistantMission.status ● AssistantMissionStatus! non-null enum
AssistantMission.statusReason ● String scalar
Machine-readable reason for the current status (for example why it paused).
AssistantMission.hold ● AssistantMissionHold object
Set while a runtime switch (ai.kill, ai.missions) keeps the next step from running. The status is untouched: show the Mission as paused by the platform, not as running. Null once a step runs again.
AssistantMission.constraints ● [String!]! non-null scalar
Constraints the owner added with steerAssistantMission, oldest first.
AssistantMission.budgetCredits ● Float! non-null scalar
Approved spend cap in credits; 0 until a budget is approved.
AssistantMission.spentCredits ● Float! non-null scalar
AssistantMission.workspaceId ● String scalar
AssistantMission.scheduleId ● ID scalar
The schedule this run was started by; null for a one-off Mission.
AssistantMission.shadow ● Boolean! non-null scalar
A shadow Mission reads real data but never writes: every write it would have made is recorded on the timeline as an intended_write instead.
AssistantMission.createdAt ● Time! non-null scalar
AssistantMission.updatedAt ● Time! non-null scalar
AssistantMission.finishedAt ● Time scalar
AssistantMission.timeline ● [AssistantMissionEvent!]! non-null object
The timeline, oldest first.
AssistantMission.plan ● AssistantMissionPlan object
The planner's plan once drafted (PLANNED and after); null while drafting.
AssistantMission.holdout ● AssistantMissionHoldout object
The sealed holdout an IMPROVE_STRATEGY Mission judges candidates on: the lineage's existing one, or the window the owner is asked to reserve. Null for any other kind.
AssistantMission.template ● AssistantMissionTemplate object
The template it was instantiated from; null for a Mission written from scratch. Its budget is the only amount approveAssistantMissionBudget takes.
AssistantMission.mandateId ● ID scalar
The Mandate that bounds the Mission: null for the research class, or the id of the owner's live Mandate attached with attachAssistantMandateToMission.
AssistantMission.canAttachBotPermission ● Boolean! non-null scalar
True when a Bot permission (a live Mandate) may be attached to this Mission with attachAssistantMandateToMission. False for a Preview-only (shadow) Mission, an IMPROVE_STRATEGY Mission and a Mission from a research-class template: none of them acts on bots, so attaching is refused (MISSION_CANNOT_HOLD_BOT_PERMISSION). Status is not part of it.
Returned By
approveAssistantMissionBudget mutation ● assistantMission query ● attachAssistantMandateToMission mutation ● cancelAssistantMission mutation ● createAssistantMission mutation ● detachAssistantMandateFromMission mutation ● finishAssistantMissionEarly mutation ● instantiateAssistantMissionTemplate mutation ● myAssistantMissions query ● pauseAllAssistantMissions mutation ● pauseAssistantMission mutation ● resumeAssistantMission mutation ● steerAssistantMission mutation ● topUpAssistantMissionBudget mutation
Member Of
AssistantMissionEdge object