curl --request POST \
--url https://ardent-sandpiper-70.convex.cloud/api/run/svc/slug/fn/sync_slug/patchState \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"args": {
"baggage": {
"trace_id": "<string>",
"traffic_type": "external"
},
"maxTs": 123,
"slug": "<string>",
"state": {
"flows_completed": 123,
"flows_started": 123,
"last_activity_at": 123,
"prs_created": 123,
"prs_merged": 123,
"steps_blocked": 123,
"steps_completed": 123,
"steps_resumed": 123,
"steps_skipped": 123,
"steps_started": 123,
"current_flow": "<string>",
"current_step": "<string>"
}
}
}
'{
"status": "success",
"errorMessage": "<string>",
"errorData": {},
"value": "<unknown>"
}curl --request POST \
--url https://ardent-sandpiper-70.convex.cloud/api/run/svc/slug/fn/sync_slug/patchState \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"args": {
"baggage": {
"trace_id": "<string>",
"traffic_type": "external"
},
"maxTs": 123,
"slug": "<string>",
"state": {
"flows_completed": 123,
"flows_started": 123,
"last_activity_at": 123,
"prs_created": 123,
"prs_merged": 123,
"steps_blocked": 123,
"steps_completed": 123,
"steps_resumed": 123,
"steps_skipped": 123,
"steps_started": 123,
"current_flow": "<string>",
"current_step": "<string>"
}
}
}
'{
"status": "success",
"errorMessage": "<string>",
"errorData": {},
"value": "<unknown>"
}Token of the format "Bearer {token}" for normal authentication and "Convex {token}" for admin tokens.
Show child attributes