get_sync_status
Monitor sync operations for a Jama project, including current and recent init, reinit, and sync jobs, project status, and process metrics.
Instructions
Monitor a project's sync operations: current run + last run of each kind.
Use this to check on init_jama_project / reinit_jama_project / scheduled
sync for one project. It returns the in-flight job (if any), the most recent
init / reinit / sync job (terminal or running), the project's current state,
and lightweight process metrics. After starting an init or reinit, you may
poll this roughly every 2 minutes (reporting each sample to the user) until
active_job is null and the relevant recent.* entry is DONE/ERROR.
Args:
project_id: Jama project id (numeric string, e.g. "20571").
Returns:
{"project_id","project_status","last_sync_time","item_count",
"chunk_count","active_job": {...}|null,
"recent": {"init": {...}|null, "reinit": {...}|null,
"sync": {...}|null},
"process": {"rss_mb","threads","db_mb","chunks"}|null}
Returns {"error": ...} if the project_id is not numeric or the server
is not ready.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes |