Skip to main content

AIHistoryEntry

One change the assistant made to an entity.

type AIHistoryEntry {
id: ID!
op: String!
operation: String
via: AIHistoryVia!
actorUserId: String
actorName: String
agentRunId: ID
conversationId: ID
missionId: ID
mandateId: String
entityId: ID!
createdAt: Time!
}

Fields​

AIHistoryEntry.id ● ID! non-null scalar​

AIHistoryEntry.op ● String! non-null scalar​

create, update or delete.

AIHistoryEntry.operation ● String scalar​

The GraphQL mutation, e.g. updateStrategy.

AIHistoryEntry.via ● AIHistoryVia! non-null enum​

AIHistoryEntry.actorUserId ● String scalar​

The person the assistant acted for (JWT sub).

AIHistoryEntry.actorName ● String scalar​

That person's username or email when the change was made.

AIHistoryEntry.agentRunId ● ID scalar​

AIHistoryEntry.conversationId ● ID scalar​

AIHistoryEntry.missionId ● ID scalar​

The Mission whose step made the change (the audit actor's mission); null for a person's own turn or approval.

AIHistoryEntry.mandateId ● String scalar​

The Mandate that Mission acted under, such as research-v1; null when no Mission made it.

AIHistoryEntry.entityId ● ID! non-null scalar​

For a strategy's history: which version the change produced or touched.

AIHistoryEntry.createdAt ● Time! non-null scalar​

Member Of​

Backtest object ● Bot object ● Strategy object