Mutation
mutation ArchiveAgentRuns($ids: [ID!]!, $archived: Boolean!) {
archiveAgentRuns(ids: $ids, archived: $archived)
}Variables
{
"ids": [
"id"
],
"archived": true
}Response
{
"data": {
"archiveAgentRuns": 1
}
}Mutations
archiveAgentRuns
Archives agent runs and returns the number of affected records.
MUTATION
archiveAgentRuns(ids: [ID!]!, archived: Boolean!): Int!Arguments
ids
[ID!]!
required
Identifiers of the resources to return or affect.
archived
Boolean!
required
Whether the affected resource should be archived.
Returns
Int!
Mutation
mutation ArchiveAgentRuns($ids: [ID!]!, $archived: Boolean!) {
archiveAgentRuns(ids: $ids, archived: $archived)
}Variables
{
"ids": [
"id"
],
"archived": true
}Response
{
"data": {
"archiveAgentRuns": 1
}
}