agentforceSyncProgress
Get the current progress of an Agentforce sync operation. Use this to poll for progress updates while a sync is running.
agentforceSyncProgress(
input: AgentforceSyncProgressInput!
): TriggerAgentforceSyncPayload!
Example
- Query
- Variables
- Response
query ($input: AgentforceSyncProgressInput!) {
agentforceSyncProgress(input: $input) {
completedAt
deleted
error
failed
lastPostId
message
output
percentage
postTypes
processed
skipped
startedAt
status
success
synced
total
updatedAt
}
}
{
"input": {
"applicationId": 42,
"environmentId": 42,
"networkSiteId": 42,
"url": "https://example.com"
}
}
{
"data": {
"agentforceSyncProgress": {
"completedAt": "completedAt",
"deleted": 42,
"error": "error",
"failed": 42,
"lastPostId": 42,
"message": "message",
"output": "output",
"percentage": 30.7,
"postTypes": [
"postTypes"
],
"processed": 42,
"skipped": 42,
"startedAt": "startedAt",
"status": "status",
"success": true,
"synced": 42,
"total": 42,
"updatedAt": "updatedAt"
}
}
}
Arguments
agentforceSyncProgress.input ● AgentforceSyncProgressInput! non-null input common
The application, environment, and optional network site to check.
Type
TriggerAgentforceSyncPayload object common
Response payload for triggering an Agentforce sync