MergeQueueEntry
Operations
Every route this entity exposes. Each route links to its own reference on this page.
| Method | Route | SDK operation | Returns |
|---|---|---|---|
POST |
/api/v1/organizations/{org_slug}/repos/{repo_slug}/vcs/merge_queues/{target}/entries/{id}/merge |
create |
Updated queue snapshot |
POST |
/api/v1/organizations/{org_slug}/repos/{repo_slug}/vcs/merge_queues/{target}/entries/{id}/promote |
create |
Updated queue snapshot |
POST |
/api/v1/organizations/{org_slug}/repos/{repo_slug}/vcs/merge_queues/{target}/entries/{id}/retry |
create |
Updated queue snapshot |
POST |
/api/v1/organizations/{org_slug}/repos/{repo_slug}/vcs/merge_queues/{target}/entries/{id}/skip_ci |
create |
Updated queue snapshot |
POST |
/api/v1/organizations/{org_slug}/repos/{repo_slug}/vcs/merge_queues/{target}/entries/{id}/validate_full |
create |
Updated queue snapshot |
POST |
/api/v1/organizations/{org_slug}/repos/{repo_slug}/vcs/merge_queues/{target}/entries |
create |
Queue snapshot after idempotent enqueue |
DELETE |
/api/v1/organizations/{org_slug}/repos/{repo_slug}/vcs/merge_queues/{target}/entries/{id} |
remove |
Updated queue snapshot |
Examples
One example per SDK, generated from the API model. The argument names are the parameters and fields of this entity, and the values are placeholders. The examples are not compiled or executed.
Golang
Construct client as shown in the Golang setup, then call the operations:
created, err := client.MergeQueueEntry(nil).Create(map[string]any{"merge_queue_id": "example", "organization_id": "example", "repo_id": "example", "expected_version": 1, "idempotency_key": "example", "kind": "example"}, nil)
if err != nil {
panic(err)
}
fmt.Println(created)
removed, err := client.MergeQueueEntry(nil).Remove(map[string]any{"id": "example_id", "merge_queue_id": "example", "organization_id": "example", "repo_id": "example"}, nil)
if err != nil {
panic(err)
}
fmt.Println(removed)
Lua
Construct client as shown in the Lua setup, then call the operations:
local created, err = client:MergeQueueEntry():create({ merge_queue_id = "example", organization_id = "example", repo_id = "example", expected_version = 1, idempotency_key = "example", kind = "example" })
local removed, err = client:MergeQueueEntry():remove({ id = "example_id", merge_queue_id = "example", organization_id = "example", repo_id = "example" })
PHP
Construct client as shown in the PHP setup, then call the operations:
$created = $client->MergeQueueEntry()->create(["merge_queue_id" => "example", "organization_id" => "example", "repo_id" => "example", "expected_version" => 1, "idempotency_key" => "example", "kind" => "example"]);
$client->MergeQueueEntry()->remove(["id" => "example_id", "merge_queue_id" => "example", "organization_id" => "example", "repo_id" => "example"]);
Python
Construct client as shown in the Python setup, then call the operations:
created = client.MergeQueueEntry().create({ "merge_queue_id": "example", "organization_id": "example", "repo_id": "example", "expected_version": 1, "idempotency_key": "example", "kind": "example" })
client.MergeQueueEntry().remove({"id": "example_id", "merge_queue_id": "example", "organization_id": "example", "repo_id": "example"})
Ruby
Construct client as shown in the Ruby setup, then call the operations:
created = client.MergeQueueEntry.create({ "merge_queue_id" => "example", "organization_id" => "example", "repo_id" => "example", "expected_version" => 1, "idempotency_key" => "example", "kind" => "example" })
client.MergeQueueEntry.remove({ "id" => "example_id", "merge_queue_id" => "example", "organization_id" => "example", "repo_id" => "example" })
TypeScript
Construct client as shown in the TypeScript setup, then call the operations:
const created = await client.MergeQueueEntry().create({ merge_queue_id: "example", organization_id: "example", repo_id: "example", expected_version: 1, idempotency_key: "example", kind: "example" })
await client.MergeQueueEntry().remove({ id: "example_id", merge_queue_id: "example", organization_id: "example", repo_id: "example" })
Fields
| Field | Type | Required | Description |
|---|---|---|---|
analytics |
object |
No | Queue performance for the reporting window. |
change_id |
one,string,null |
No | Change Id |
expected_target_commit_id |
one,string,null |
No | Expected Target Commit Id |
expected_target_version |
one,integer,null |
No | Expected Target Version |
expected_version |
integer |
Yes | Expected Version |
github_pr_number |
one,integer,null |
No | Github Pr Number |
id |
string |
No | Id |
idempotency_key |
string |
Yes | Idempotency Key |
kind |
string |
Yes | Kind |
policy |
object |
Yes | Policy |
priority |
string |
No | Priority |
queue |
object |
Yes | Queue |
target_branches |
array |
No | Bookmark names for the target picker. |
when_ready |
one,boolean,null |
No | When Ready |
create
POST /api/v1/organizations/{org_slug}/repos/{repo_slug}/vcs/merge_queues/{target}/entries/{id}/merge
Operation ID: post_api_v1_organizations_org_slug_repos_repo_slug_vcs_merge_queues_target_entries_id_merge.
Authentication: bearer token (bearerAuth).
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
org_slug |
path |
string |
Yes | |
repo_slug |
path |
string |
Yes | |
target |
path |
string |
Yes | |
id |
path |
string |
Yes |
Request body
application/json
| Property | Type | Required | Description |
|---|---|---|---|
expected_version |
integer |
Yes |
Responses
200: Updated queue snapshot
application/json
| Property | Type | Required | Description |
|---|---|---|---|
analytics |
object |
No | Queue performance for the reporting window. Present on queue reads only, mutation responses omit it rather than pay for a full window scan. |
analytics.average_ci_time_label |
string |
Yes | |
analytics.average_ci_time_ms |
integer |
Yes | |
analytics.average_outside_ci_time_label |
string |
Yes | |
analytics.average_outside_ci_time_ms |
integer |
Yes | Queue time not accounted for by CI, waiting behind earlier entries, plus the landing itself. |
analytics.average_queue_time_label |
string |
Yes | |
analytics.average_queue_time_ms |
integer |
Yes | |
analytics.ci_time_change_percent |
integer |
Yes | |
analytics.completed_count |
integer |
Yes | |
analytics.daily |
array of object |
Yes | |
analytics.daily[].average_ci_time_label |
string |
Yes | |
analytics.daily[].average_ci_time_ms |
integer |
Yes | |
analytics.daily[].average_outside_ci_time_label |
string |
Yes | |
analytics.daily[].average_outside_ci_time_ms |
integer |
Yes | |
analytics.daily[].average_queue_time_label |
string |
Yes | |
analytics.daily[].average_queue_time_ms |
integer |
Yes | |
analytics.daily[].completed_count |
integer |
Yes | |
analytics.daily[].date |
string (date) |
Yes | |
analytics.daily[].label |
string |
Yes | |
analytics.daily[].merged_count |
integer |
Yes | |
analytics.ends_at |
string (date-time) |
Yes | |
analytics.health |
object |
No | |
analytics.health.cancelled |
integer |
Yes | |
analytics.health.conflict |
integer |
Yes | |
analytics.health.daily |
array of object |
Yes | |
analytics.health.daily[].cancelled |
integer |
Yes | |
analytics.health.daily[].conflict |
integer |
Yes | |
analytics.health.daily[].date |
string (date) |
Yes | |
analytics.health.daily[].ejected |
integer |
Yes | |
analytics.health.daily[].error |
integer |
Yes | |
analytics.health.daily[].landed |
integer |
Yes | |
analytics.health.daily[].magic_merged |
integer |
Yes | |
analytics.health.daily[].needs_attention |
integer |
Yes | |
analytics.health.daily[].rebuilt |
integer |
Yes | |
analytics.health.daily[].recoverable |
integer |
Yes | |
analytics.health.daily[].recovered |
integer |
Yes | |
analytics.health.daily[].retried |
integer |
Yes | |
analytics.health.ejected |
integer |
Yes | |
analytics.health.ends_at |
string (date-time) |
Yes | |
analytics.health.error |
integer |
Yes | |
analytics.health.failures |
array of object |
Yes | |
analytics.health.failures[].count |
integer |
Yes | |
analytics.health.failures[].key |
string |
Yes | |
analytics.health.failures[].label |
string |
Yes | |
analytics.health.landed |
integer |
Yes | |
analytics.health.magic_merged |
integer |
Yes | |
analytics.health.needs_attention |
integer |
Yes | |
analytics.health.observed_count |
integer |
Yes | |
analytics.health.rebuilt |
integer |
Yes | |
analytics.health.recoverable |
integer |
Yes | |
analytics.health.recovered |
integer |
Yes | |
analytics.health.retried |
integer |
Yes | |
analytics.health.source |
enum: tinybird, outbox |
Yes | |
analytics.health.starts_at |
string (date-time) |
Yes | |
analytics.health.success_rate |
number |
Yes | |
analytics.merged_count |
integer |
Yes | |
analytics.outcomes |
array of object |
Yes | |
analytics.outcomes[].count |
integer |
Yes | |
analytics.outcomes[].key |
enum: merged, ci_failed, conflict, cancelled, other_failure |
Yes | |
analytics.outcomes[].label |
string |
Yes | |
analytics.peak_queue_time_label |
string |
Yes | |
analytics.peak_queue_time_ms |
integer |
Yes | |
analytics.queue_time_change_percent |
integer |
Yes | |
analytics.starts_at |
string (date-time) |
Yes | |
analytics.window_days |
enum: 7, 14, 30 |
Yes | |
policy |
object |
Yes | |
policy.auto_land_enabled |
boolean |
Yes | |
policy.github_connections |
array of object |
Yes | |
policy.github_connections[].id |
string |
Yes | |
policy.github_connections[].name |
string |
Yes | |
policy.github_merge_gate |
enum: branch_protection, vex_checks |
Yes | |
policy.github_primary_eligible |
boolean |
Yes | |
policy.merge_authority |
enum: vex_primary, github_primary |
Yes | |
policy.merge_authority_version |
integer |
Yes | |
policy.merge_github_repository_connection_id |
string |
Yes | |
policy.merge_policy_version |
integer |
Yes | |
policy.queue_concurrency |
integer |
Yes | |
policy.queue_concurrency_label |
string |
No | |
policy.queue_validation_mode |
enum: top_only, per_pr |
Yes | |
policy.repository_id |
string |
Yes | |
policy.repository_queue_concurrency |
integer |
Yes | |
policy.switch_blockers |
array of string |
Yes | |
queue |
object |
Yes | |
queue.active_entry_count |
integer |
Yes | |
queue.capabilities |
object |
Yes | |
queue.capabilities.can_enqueue |
boolean |
Yes | |
queue.capabilities.can_merge |
boolean |
Yes | |
queue.capabilities.can_pause |
boolean |
Yes | |
queue.capabilities.can_promote |
boolean |
Yes | |
queue.capabilities.can_resume |
boolean |
Yes | |
queue.capabilities.can_retry |
boolean |
Yes | |
queue.concurrency |
integer |
Yes | |
queue.created_at |
string (date-time) |
No | |
queue.entries |
array of object |
Yes | |
queue.entries[].author |
object |
Yes | |
queue.entries[].author.email |
string |
Yes | |
queue.entries[].author.id |
string |
Yes | |
queue.entries[].author.name |
string |
Yes | |
queue.entries[].author.picture_url |
string |
Yes | |
queue.entries[].batch |
object |
No | Latest durable execution batch for this entry. Current identifies shared candidate validation; older released attempts remain diagnostic history. |
queue.entries[].batch.candidate_sha |
string |
Yes | |
queue.entries[].batch.current |
boolean |
Yes | |
queue.entries[].batch.id |
string |
Yes | |
queue.entries[].batch.reason |
string |
Yes | |
queue.entries[].batch.scopes |
array of object |
Yes | |
queue.entries[].batch.scopes[].changes |
array of object |
Yes | |
queue.entries[].batch.scopes[].entry_id |
string |
Yes | |
queue.entries[].batch.state |
string |
Yes | |
queue.entries[].batch.status_label |
string |
Yes | |
queue.entries[].candidate_ref |
string |
No | |
queue.entries[].candidate_sha |
string |
No | |
queue.entries[].capabilities |
object |
Yes | |
queue.entries[].capabilities.can_cancel |
boolean |
Yes | |
queue.entries[].capabilities.can_emergency_land |
boolean |
No | |
queue.entries[].capabilities.can_merge |
boolean |
Yes | |
queue.entries[].capabilities.can_promote |
boolean |
Yes | |
queue.entries[].capabilities.can_retry |
boolean |
Yes | |
queue.entries[].capabilities.can_validate_full |
boolean |
No | |
queue.entries[].change_generation |
integer |
No | |
queue.entries[].change_id |
string |
No | |
queue.entries[].change_number |
integer |
No | |
queue.entries[].change_reference |
string |
No | |
queue.entries[].checks_status |
enum: pending, passing, failing, stale, missing |
Yes | |
queue.entries[].checks_target |
object |
Yes | |
queue.entries[].checks_target.kind |
enum: commit |
Yes | |
queue.entries[].checks_target.value |
string |
Yes | |
queue.entries[].ci_impact |
object |
No | Persisted candidate CI selection, not a claim that checks passed. Null when no impact receipt exists. |
queue.entries[].ci_impact.affected_components |
array of string |
Yes | |
queue.entries[].ci_impact.base_sha |
string |
Yes | |
queue.entries[].ci_impact.candidate_sha |
string |
Yes | |
queue.entries[].ci_impact.changed_path_count |
integer |
Yes | |
queue.entries[].ci_impact.digest |
string |
Yes | |
queue.entries[].ci_impact.mode |
string |
Yes | |
queue.entries[].ci_impact.reason |
string |
Yes | |
queue.entries[].ci_impact.status |
enum: current, stale |
Yes | |
queue.entries[].ci_impact.suite_ids |
array of string |
Yes | |
queue.entries[].ci_impact.summary |
string |
Yes | |
queue.entries[].ci_impact.workflows |
array of object |
Yes | |
queue.entries[].ci_impact.workflows[].path |
string |
Yes | |
queue.entries[].ci_impact.workflows[].scheduled |
boolean |
Yes | |
queue.entries[].ci_impact.workflows[].selected |
boolean |
Yes | |
queue.entries[].ci_skipped |
boolean |
No | |
queue.entries[].ci_time_label |
string |
Yes | |
queue.entries[].ci_time_ms |
integer |
Yes | |
queue.entries[].completed_at |
string (date-time) |
Yes | |
queue.entries[].completed_at_label |
string |
No | |
queue.entries[].created_at |
string (date-time) |
No | |
queue.entries[].ejection_reason |
string |
No | |
queue.entries[].enqueued_by |
object |
Yes | |
queue.entries[].enqueued_by.email |
string |
Yes | |
queue.entries[].enqueued_by.id |
string |
Yes | |
queue.entries[].enqueued_by.name |
string |
Yes | |
queue.entries[].enqueued_by.picture_url |
string |
Yes | |
queue.entries[].error_message |
string |
No | |
queue.entries[].eta |
object |
Yes | |
queue.entries[].eta.detail |
string |
Yes | The sentence behind the headline, including the caveat that a readiness estimate is not a landing estimate. |
queue.entries[].eta.in_progress |
boolean |
Yes | The queue is acting on this entry right now, so the client shows activity rather than a countdown. |
queue.entries[].eta.label |
string |
Yes | The headline for this estimate, for example "Ready now", "~28s to ready", "Landing now". |
queue.entries[].eta.reason |
string |
Yes | |
queue.entries[].eta.remaining_label |
string |
Yes | |
queue.entries[].eta.remaining_ms |
integer |
Yes | |
queue.entries[].eta.status |
enum: available, unavailable |
Yes | |
queue.entries[].eta.target |
enum: readiness, landing |
Yes | What the estimate is about. Readiness is validation finishing; landing is the merge itself, which is observed rather than predicted. |
queue.entries[].full_ci_requested |
boolean |
No | |
queue.entries[].github_pr_number |
integer |
No | |
queue.entries[].id |
string |
Yes | |
queue.entries[].kind |
enum: change, github_pr |
Yes | |
queue.entries[].members |
array of object |
Yes | |
queue.entries[].members[].change_id |
string |
No | |
queue.entries[].members[].change_key |
string |
No | |
queue.entries[].members[].change_number |
integer |
No | |
queue.entries[].members[].change_reference |
string |
No | |
queue.entries[].members[].checks_status |
string |
No | |
queue.entries[].members[].error_message |
string |
No | |
queue.entries[].members[].github_merge_commit_sha |
string |
No | |
queue.entries[].members[].github_pr_number |
integer |
No | |
queue.entries[].members[].head_sha |
string |
No | |
queue.entries[].members[].id |
string |
Yes | |
queue.entries[].members[].position |
integer |
Yes | |
queue.entries[].members[].state |
string |
Yes | |
queue.entries[].members[].title |
string |
No | |
queue.entries[].merge_when_ready |
boolean |
Yes | |
queue.entries[].outcome |
enum: merged, ci_failed, conflict, cancelled, other_failure |
Yes | |
queue.entries[].outcome_label |
string |
Yes | The same wording the analytics breakdown gives this outcome, so one entry and the legend cannot disagree. |
queue.entries[].phase |
enum: active, terminal |
Yes | Server-owned grouping of the entry state machine. Active entries belong in the live queue view; terminal entries belong in outcome history. |
queue.entries[].position |
integer |
Yes | |
queue.entries[].priority |
enum: normal, high |
No | |
queue.entries[].processing_checkpoint |
string |
Yes | |
queue.entries[].queue_position |
integer |
Yes | |
queue.entries[].queue_time_label |
string |
Yes | |
queue.entries[].queue_time_ms |
integer |
Yes | |
queue.entries[].recovery |
object |
Yes | Present on a stopped entry. Rails owns the wording; the client renders this rather than the raw ejection_reason, and uses checks_target to open the candidate's checks. |
queue.entries[].recovery.action_kind |
enum: open_checks, open_change, open_integration, open_queue |
Yes | |
queue.entries[].recovery.action_required_by |
enum: author, repo_admin, vex |
Yes | |
queue.entries[].recovery.kind |
enum: checks_failed, landing_conflict, github_state_changed, github_access_problem, queue_policy_changed, merge_outcome_unknown, ... |
Yes | |
queue.entries[].recovery.next_step |
string |
Yes | |
queue.entries[].recovery.summary |
string |
Yes | |
queue.entries[].recovery_count |
integer |
Yes | |
queue.entries[].selected_count |
integer |
No | |
queue.entries[].selected_count_label |
string |
No | |
queue.entries[].speculation |
object |
Yes | |
queue.entries[].speculation.ahead_count |
integer |
Yes | |
queue.entries[].speculation.base_ref |
string |
Yes | |
queue.entries[].speculation.base_sha |
string |
Yes | |
queue.entries[].speculation.build_duration_ms |
integer |
Yes | |
queue.entries[].speculation.candidate_ref |
string |
Yes | |
queue.entries[].speculation.candidate_sha |
string |
Yes | |
queue.entries[].speculation.cleanup_status |
enum: pending, cleaned, failed, not_required |
Yes | |
queue.entries[].speculation.kind |
enum: exact_target, predicted_trunk |
Yes | |
queue.entries[].speculation.prefix_fingerprint |
string |
Yes | |
queue.entries[].speculation.target_sha |
string |
Yes | |
queue.entries[].stack |
object |
Yes | |
queue.entries[].stack.code |
string |
Yes | |
queue.entries[].stack.member_count |
integer |
Yes | |
queue.entries[].stack.name |
string |
Yes | |
queue.entries[].stack.reference |
string |
Yes | |
queue.entries[].started_at |
string (date-time) |
Yes | |
queue.entries[].started_at_label |
string |
No | |
queue.entries[].state |
enum: queued, validating, ready, merging, merged, ejected, ... |
Yes | |
queue.entries[].state_label |
string |
Yes | What this state is called in the product. Landing is the product word, so the client renders this rather than title-casing the machine state. |
queue.entries[].title |
string |
Yes | |
queue.entries[].updated_at |
string (date-time) |
No | |
queue.entries[].version |
integer |
Yes | |
queue.entry_count_label |
string |
Yes | |
queue.id |
string |
Yes | |
queue.last_error |
string |
No | |
queue.last_ticked_at |
string (date-time) |
No | |
queue.merge_authority |
enum: vex_primary, github_primary |
Yes | |
queue.merge_authority_version |
integer |
Yes | |
queue.merge_policy_version |
integer |
Yes | |
queue.recent_events |
array of object |
Yes | Newest-first durable queue audit events, limited to 50 records. |
queue.recent_events[].action |
string |
Yes | |
queue.recent_events[].created_at |
string (date-time) |
Yes | |
queue.recent_events[].entry_id |
string |
Yes | |
queue.recent_events[].entry_state |
string |
Yes | |
queue.recent_events[].entry_version |
integer |
Yes | |
queue.recent_events[].id |
string |
Yes | |
queue.skip_ci_enabled |
boolean |
Yes | |
queue.state |
enum: active, paused |
Yes | |
queue.state_label |
string |
Yes | |
queue.state_version |
integer |
Yes | |
queue.target_branch |
string |
Yes | |
queue.terminal_history |
object |
Yes | |
queue.terminal_history.count |
integer |
Yes | |
queue.terminal_history.count_label |
string |
Yes | |
queue.terminal_history.last |
integer |
Yes | |
queue.terminal_history.limit |
integer |
Yes | |
queue.terminal_history.next |
integer |
Yes | |
queue.terminal_history.page |
integer |
Yes | |
queue.terminal_history.previous |
integer |
Yes | |
queue.updated_at |
string (date-time) |
No | |
queue.validation_mode |
enum: top_only, per_pr |
Yes | |
target_branches |
array of string |
No | Bookmark names for the target picker. Present only on the queue-page read (GET /vcs/merge_queues); mutation snapshots omit it. Empty while jj-backend is degraded. |
401: Unauthorized
403: The actor is not allowed to perform this queue mutation
404: Not found
409: The queue entry version changed
422: The requested state transition is invalid
502: Bad gateway
503: Merge queue rollout flag is disabled
POST /api/v1/organizations/{org_slug}/repos/{repo_slug}/vcs/merge_queues/{target}/entries/{id}/promote
Operation ID: post_api_v1_organizations_org_slug_repos_repo_slug_vcs_merge_queues_target_entries_id_promote.
Authentication: bearer token (bearerAuth).
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
org_slug |
path |
string |
Yes | |
repo_slug |
path |
string |
Yes | |
target |
path |
string |
Yes | |
id |
path |
string |
Yes |
Request body
application/json
| Property | Type | Required | Description |
|---|---|---|---|
expected_version |
integer |
Yes |
Responses
200: Updated queue snapshot
application/json
| Property | Type | Required | Description |
|---|---|---|---|
analytics |
object |
No | Queue performance for the reporting window. Present on queue reads only, mutation responses omit it rather than pay for a full window scan. |
analytics.average_ci_time_label |
string |
Yes | |
analytics.average_ci_time_ms |
integer |
Yes | |
analytics.average_outside_ci_time_label |
string |
Yes | |
analytics.average_outside_ci_time_ms |
integer |
Yes | Queue time not accounted for by CI, waiting behind earlier entries, plus the landing itself. |
analytics.average_queue_time_label |
string |
Yes | |
analytics.average_queue_time_ms |
integer |
Yes | |
analytics.ci_time_change_percent |
integer |
Yes | |
analytics.completed_count |
integer |
Yes | |
analytics.daily |
array of object |
Yes | |
analytics.daily[].average_ci_time_label |
string |
Yes | |
analytics.daily[].average_ci_time_ms |
integer |
Yes | |
analytics.daily[].average_outside_ci_time_label |
string |
Yes | |
analytics.daily[].average_outside_ci_time_ms |
integer |
Yes | |
analytics.daily[].average_queue_time_label |
string |
Yes | |
analytics.daily[].average_queue_time_ms |
integer |
Yes | |
analytics.daily[].completed_count |
integer |
Yes | |
analytics.daily[].date |
string (date) |
Yes | |
analytics.daily[].label |
string |
Yes | |
analytics.daily[].merged_count |
integer |
Yes | |
analytics.ends_at |
string (date-time) |
Yes | |
analytics.health |
object |
No | |
analytics.health.cancelled |
integer |
Yes | |
analytics.health.conflict |
integer |
Yes | |
analytics.health.daily |
array of object |
Yes | |
analytics.health.daily[].cancelled |
integer |
Yes | |
analytics.health.daily[].conflict |
integer |
Yes | |
analytics.health.daily[].date |
string (date) |
Yes | |
analytics.health.daily[].ejected |
integer |
Yes | |
analytics.health.daily[].error |
integer |
Yes | |
analytics.health.daily[].landed |
integer |
Yes | |
analytics.health.daily[].magic_merged |
integer |
Yes | |
analytics.health.daily[].needs_attention |
integer |
Yes | |
analytics.health.daily[].rebuilt |
integer |
Yes | |
analytics.health.daily[].recoverable |
integer |
Yes | |
analytics.health.daily[].recovered |
integer |
Yes | |
analytics.health.daily[].retried |
integer |
Yes | |
analytics.health.ejected |
integer |
Yes | |
analytics.health.ends_at |
string (date-time) |
Yes | |
analytics.health.error |
integer |
Yes | |
analytics.health.failures |
array of object |
Yes | |
analytics.health.failures[].count |
integer |
Yes | |
analytics.health.failures[].key |
string |
Yes | |
analytics.health.failures[].label |
string |
Yes | |
analytics.health.landed |
integer |
Yes | |
analytics.health.magic_merged |
integer |
Yes | |
analytics.health.needs_attention |
integer |
Yes | |
analytics.health.observed_count |
integer |
Yes | |
analytics.health.rebuilt |
integer |
Yes | |
analytics.health.recoverable |
integer |
Yes | |
analytics.health.recovered |
integer |
Yes | |
analytics.health.retried |
integer |
Yes | |
analytics.health.source |
enum: tinybird, outbox |
Yes | |
analytics.health.starts_at |
string (date-time) |
Yes | |
analytics.health.success_rate |
number |
Yes | |
analytics.merged_count |
integer |
Yes | |
analytics.outcomes |
array of object |
Yes | |
analytics.outcomes[].count |
integer |
Yes | |
analytics.outcomes[].key |
enum: merged, ci_failed, conflict, cancelled, other_failure |
Yes | |
analytics.outcomes[].label |
string |
Yes | |
analytics.peak_queue_time_label |
string |
Yes | |
analytics.peak_queue_time_ms |
integer |
Yes | |
analytics.queue_time_change_percent |
integer |
Yes | |
analytics.starts_at |
string (date-time) |
Yes | |
analytics.window_days |
enum: 7, 14, 30 |
Yes | |
policy |
object |
Yes | |
policy.auto_land_enabled |
boolean |
Yes | |
policy.github_connections |
array of object |
Yes | |
policy.github_connections[].id |
string |
Yes | |
policy.github_connections[].name |
string |
Yes | |
policy.github_merge_gate |
enum: branch_protection, vex_checks |
Yes | |
policy.github_primary_eligible |
boolean |
Yes | |
policy.merge_authority |
enum: vex_primary, github_primary |
Yes | |
policy.merge_authority_version |
integer |
Yes | |
policy.merge_github_repository_connection_id |
string |
Yes | |
policy.merge_policy_version |
integer |
Yes | |
policy.queue_concurrency |
integer |
Yes | |
policy.queue_concurrency_label |
string |
No | |
policy.queue_validation_mode |
enum: top_only, per_pr |
Yes | |
policy.repository_id |
string |
Yes | |
policy.repository_queue_concurrency |
integer |
Yes | |
policy.switch_blockers |
array of string |
Yes | |
queue |
object |
Yes | |
queue.active_entry_count |
integer |
Yes | |
queue.capabilities |
object |
Yes | |
queue.capabilities.can_enqueue |
boolean |
Yes | |
queue.capabilities.can_merge |
boolean |
Yes | |
queue.capabilities.can_pause |
boolean |
Yes | |
queue.capabilities.can_promote |
boolean |
Yes | |
queue.capabilities.can_resume |
boolean |
Yes | |
queue.capabilities.can_retry |
boolean |
Yes | |
queue.concurrency |
integer |
Yes | |
queue.created_at |
string (date-time) |
No | |
queue.entries |
array of object |
Yes | |
queue.entries[].author |
object |
Yes | |
queue.entries[].author.email |
string |
Yes | |
queue.entries[].author.id |
string |
Yes | |
queue.entries[].author.name |
string |
Yes | |
queue.entries[].author.picture_url |
string |
Yes | |
queue.entries[].batch |
object |
No | Latest durable execution batch for this entry. Current identifies shared candidate validation; older released attempts remain diagnostic history. |
queue.entries[].batch.candidate_sha |
string |
Yes | |
queue.entries[].batch.current |
boolean |
Yes | |
queue.entries[].batch.id |
string |
Yes | |
queue.entries[].batch.reason |
string |
Yes | |
queue.entries[].batch.scopes |
array of object |
Yes | |
queue.entries[].batch.scopes[].changes |
array of object |
Yes | |
queue.entries[].batch.scopes[].entry_id |
string |
Yes | |
queue.entries[].batch.state |
string |
Yes | |
queue.entries[].batch.status_label |
string |
Yes | |
queue.entries[].candidate_ref |
string |
No | |
queue.entries[].candidate_sha |
string |
No | |
queue.entries[].capabilities |
object |
Yes | |
queue.entries[].capabilities.can_cancel |
boolean |
Yes | |
queue.entries[].capabilities.can_emergency_land |
boolean |
No | |
queue.entries[].capabilities.can_merge |
boolean |
Yes | |
queue.entries[].capabilities.can_promote |
boolean |
Yes | |
queue.entries[].capabilities.can_retry |
boolean |
Yes | |
queue.entries[].capabilities.can_validate_full |
boolean |
No | |
queue.entries[].change_generation |
integer |
No | |
queue.entries[].change_id |
string |
No | |
queue.entries[].change_number |
integer |
No | |
queue.entries[].change_reference |
string |
No | |
queue.entries[].checks_status |
enum: pending, passing, failing, stale, missing |
Yes | |
queue.entries[].checks_target |
object |
Yes | |
queue.entries[].checks_target.kind |
enum: commit |
Yes | |
queue.entries[].checks_target.value |
string |
Yes | |
queue.entries[].ci_impact |
object |
No | Persisted candidate CI selection, not a claim that checks passed. Null when no impact receipt exists. |
queue.entries[].ci_impact.affected_components |
array of string |
Yes | |
queue.entries[].ci_impact.base_sha |
string |
Yes | |
queue.entries[].ci_impact.candidate_sha |
string |
Yes | |
queue.entries[].ci_impact.changed_path_count |
integer |
Yes | |
queue.entries[].ci_impact.digest |
string |
Yes | |
queue.entries[].ci_impact.mode |
string |
Yes | |
queue.entries[].ci_impact.reason |
string |
Yes | |
queue.entries[].ci_impact.status |
enum: current, stale |
Yes | |
queue.entries[].ci_impact.suite_ids |
array of string |
Yes | |
queue.entries[].ci_impact.summary |
string |
Yes | |
queue.entries[].ci_impact.workflows |
array of object |
Yes | |
queue.entries[].ci_impact.workflows[].path |
string |
Yes | |
queue.entries[].ci_impact.workflows[].scheduled |
boolean |
Yes | |
queue.entries[].ci_impact.workflows[].selected |
boolean |
Yes | |
queue.entries[].ci_skipped |
boolean |
No | |
queue.entries[].ci_time_label |
string |
Yes | |
queue.entries[].ci_time_ms |
integer |
Yes | |
queue.entries[].completed_at |
string (date-time) |
Yes | |
queue.entries[].completed_at_label |
string |
No | |
queue.entries[].created_at |
string (date-time) |
No | |
queue.entries[].ejection_reason |
string |
No | |
queue.entries[].enqueued_by |
object |
Yes | |
queue.entries[].enqueued_by.email |
string |
Yes | |
queue.entries[].enqueued_by.id |
string |
Yes | |
queue.entries[].enqueued_by.name |
string |
Yes | |
queue.entries[].enqueued_by.picture_url |
string |
Yes | |
queue.entries[].error_message |
string |
No | |
queue.entries[].eta |
object |
Yes | |
queue.entries[].eta.detail |
string |
Yes | The sentence behind the headline, including the caveat that a readiness estimate is not a landing estimate. |
queue.entries[].eta.in_progress |
boolean |
Yes | The queue is acting on this entry right now, so the client shows activity rather than a countdown. |
queue.entries[].eta.label |
string |
Yes | The headline for this estimate, for example "Ready now", "~28s to ready", "Landing now". |
queue.entries[].eta.reason |
string |
Yes | |
queue.entries[].eta.remaining_label |
string |
Yes | |
queue.entries[].eta.remaining_ms |
integer |
Yes | |
queue.entries[].eta.status |
enum: available, unavailable |
Yes | |
queue.entries[].eta.target |
enum: readiness, landing |
Yes | What the estimate is about. Readiness is validation finishing; landing is the merge itself, which is observed rather than predicted. |
queue.entries[].full_ci_requested |
boolean |
No | |
queue.entries[].github_pr_number |
integer |
No | |
queue.entries[].id |
string |
Yes | |
queue.entries[].kind |
enum: change, github_pr |
Yes | |
queue.entries[].members |
array of object |
Yes | |
queue.entries[].members[].change_id |
string |
No | |
queue.entries[].members[].change_key |
string |
No | |
queue.entries[].members[].change_number |
integer |
No | |
queue.entries[].members[].change_reference |
string |
No | |
queue.entries[].members[].checks_status |
string |
No | |
queue.entries[].members[].error_message |
string |
No | |
queue.entries[].members[].github_merge_commit_sha |
string |
No | |
queue.entries[].members[].github_pr_number |
integer |
No | |
queue.entries[].members[].head_sha |
string |
No | |
queue.entries[].members[].id |
string |
Yes | |
queue.entries[].members[].position |
integer |
Yes | |
queue.entries[].members[].state |
string |
Yes | |
queue.entries[].members[].title |
string |
No | |
queue.entries[].merge_when_ready |
boolean |
Yes | |
queue.entries[].outcome |
enum: merged, ci_failed, conflict, cancelled, other_failure |
Yes | |
queue.entries[].outcome_label |
string |
Yes | The same wording the analytics breakdown gives this outcome, so one entry and the legend cannot disagree. |
queue.entries[].phase |
enum: active, terminal |
Yes | Server-owned grouping of the entry state machine. Active entries belong in the live queue view; terminal entries belong in outcome history. |
queue.entries[].position |
integer |
Yes | |
queue.entries[].priority |
enum: normal, high |
No | |
queue.entries[].processing_checkpoint |
string |
Yes | |
queue.entries[].queue_position |
integer |
Yes | |
queue.entries[].queue_time_label |
string |
Yes | |
queue.entries[].queue_time_ms |
integer |
Yes | |
queue.entries[].recovery |
object |
Yes | Present on a stopped entry. Rails owns the wording; the client renders this rather than the raw ejection_reason, and uses checks_target to open the candidate's checks. |
queue.entries[].recovery.action_kind |
enum: open_checks, open_change, open_integration, open_queue |
Yes | |
queue.entries[].recovery.action_required_by |
enum: author, repo_admin, vex |
Yes | |
queue.entries[].recovery.kind |
enum: checks_failed, landing_conflict, github_state_changed, github_access_problem, queue_policy_changed, merge_outcome_unknown, ... |
Yes | |
queue.entries[].recovery.next_step |
string |
Yes | |
queue.entries[].recovery.summary |
string |
Yes | |
queue.entries[].recovery_count |
integer |
Yes | |
queue.entries[].selected_count |
integer |
No | |
queue.entries[].selected_count_label |
string |
No | |
queue.entries[].speculation |
object |
Yes | |
queue.entries[].speculation.ahead_count |
integer |
Yes | |
queue.entries[].speculation.base_ref |
string |
Yes | |
queue.entries[].speculation.base_sha |
string |
Yes | |
queue.entries[].speculation.build_duration_ms |
integer |
Yes | |
queue.entries[].speculation.candidate_ref |
string |
Yes | |
queue.entries[].speculation.candidate_sha |
string |
Yes | |
queue.entries[].speculation.cleanup_status |
enum: pending, cleaned, failed, not_required |
Yes | |
queue.entries[].speculation.kind |
enum: exact_target, predicted_trunk |
Yes | |
queue.entries[].speculation.prefix_fingerprint |
string |
Yes | |
queue.entries[].speculation.target_sha |
string |
Yes | |
queue.entries[].stack |
object |
Yes | |
queue.entries[].stack.code |
string |
Yes | |
queue.entries[].stack.member_count |
integer |
Yes | |
queue.entries[].stack.name |
string |
Yes | |
queue.entries[].stack.reference |
string |
Yes | |
queue.entries[].started_at |
string (date-time) |
Yes | |
queue.entries[].started_at_label |
string |
No | |
queue.entries[].state |
enum: queued, validating, ready, merging, merged, ejected, ... |
Yes | |
queue.entries[].state_label |
string |
Yes | What this state is called in the product. Landing is the product word, so the client renders this rather than title-casing the machine state. |
queue.entries[].title |
string |
Yes | |
queue.entries[].updated_at |
string (date-time) |
No | |
queue.entries[].version |
integer |
Yes | |
queue.entry_count_label |
string |
Yes | |
queue.id |
string |
Yes | |
queue.last_error |
string |
No | |
queue.last_ticked_at |
string (date-time) |
No | |
queue.merge_authority |
enum: vex_primary, github_primary |
Yes | |
queue.merge_authority_version |
integer |
Yes | |
queue.merge_policy_version |
integer |
Yes | |
queue.recent_events |
array of object |
Yes | Newest-first durable queue audit events, limited to 50 records. |
queue.recent_events[].action |
string |
Yes | |
queue.recent_events[].created_at |
string (date-time) |
Yes | |
queue.recent_events[].entry_id |
string |
Yes | |
queue.recent_events[].entry_state |
string |
Yes | |
queue.recent_events[].entry_version |
integer |
Yes | |
queue.recent_events[].id |
string |
Yes | |
queue.skip_ci_enabled |
boolean |
Yes | |
queue.state |
enum: active, paused |
Yes | |
queue.state_label |
string |
Yes | |
queue.state_version |
integer |
Yes | |
queue.target_branch |
string |
Yes | |
queue.terminal_history |
object |
Yes | |
queue.terminal_history.count |
integer |
Yes | |
queue.terminal_history.count_label |
string |
Yes | |
queue.terminal_history.last |
integer |
Yes | |
queue.terminal_history.limit |
integer |
Yes | |
queue.terminal_history.next |
integer |
Yes | |
queue.terminal_history.page |
integer |
Yes | |
queue.terminal_history.previous |
integer |
Yes | |
queue.updated_at |
string (date-time) |
No | |
queue.validation_mode |
enum: top_only, per_pr |
Yes | |
target_branches |
array of string |
No | Bookmark names for the target picker. Present only on the queue-page read (GET /vcs/merge_queues); mutation snapshots omit it. Empty while jj-backend is degraded. |
401: Unauthorized
403: The actor is not allowed to perform this queue mutation
404: Not found
409: The queue entry version changed
422: The requested state transition is invalid
502: Bad gateway
503: Merge queue rollout flag is disabled
POST /api/v1/organizations/{org_slug}/repos/{repo_slug}/vcs/merge_queues/{target}/entries/{id}/retry
Operation ID: post_api_v1_organizations_org_slug_repos_repo_slug_vcs_merge_queues_target_entries_id_retry.
Authentication: bearer token (bearerAuth).
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
org_slug |
path |
string |
Yes | |
repo_slug |
path |
string |
Yes | |
target |
path |
string |
Yes | |
id |
path |
string |
Yes |
Request body
application/json
| Property | Type | Required | Description |
|---|---|---|---|
expected_version |
integer |
Yes |
Responses
200: Updated queue snapshot
application/json
| Property | Type | Required | Description |
|---|---|---|---|
analytics |
object |
No | Queue performance for the reporting window. Present on queue reads only, mutation responses omit it rather than pay for a full window scan. |
analytics.average_ci_time_label |
string |
Yes | |
analytics.average_ci_time_ms |
integer |
Yes | |
analytics.average_outside_ci_time_label |
string |
Yes | |
analytics.average_outside_ci_time_ms |
integer |
Yes | Queue time not accounted for by CI, waiting behind earlier entries, plus the landing itself. |
analytics.average_queue_time_label |
string |
Yes | |
analytics.average_queue_time_ms |
integer |
Yes | |
analytics.ci_time_change_percent |
integer |
Yes | |
analytics.completed_count |
integer |
Yes | |
analytics.daily |
array of object |
Yes | |
analytics.daily[].average_ci_time_label |
string |
Yes | |
analytics.daily[].average_ci_time_ms |
integer |
Yes | |
analytics.daily[].average_outside_ci_time_label |
string |
Yes | |
analytics.daily[].average_outside_ci_time_ms |
integer |
Yes | |
analytics.daily[].average_queue_time_label |
string |
Yes | |
analytics.daily[].average_queue_time_ms |
integer |
Yes | |
analytics.daily[].completed_count |
integer |
Yes | |
analytics.daily[].date |
string (date) |
Yes | |
analytics.daily[].label |
string |
Yes | |
analytics.daily[].merged_count |
integer |
Yes | |
analytics.ends_at |
string (date-time) |
Yes | |
analytics.health |
object |
No | |
analytics.health.cancelled |
integer |
Yes | |
analytics.health.conflict |
integer |
Yes | |
analytics.health.daily |
array of object |
Yes | |
analytics.health.daily[].cancelled |
integer |
Yes | |
analytics.health.daily[].conflict |
integer |
Yes | |
analytics.health.daily[].date |
string (date) |
Yes | |
analytics.health.daily[].ejected |
integer |
Yes | |
analytics.health.daily[].error |
integer |
Yes | |
analytics.health.daily[].landed |
integer |
Yes | |
analytics.health.daily[].magic_merged |
integer |
Yes | |
analytics.health.daily[].needs_attention |
integer |
Yes | |
analytics.health.daily[].rebuilt |
integer |
Yes | |
analytics.health.daily[].recoverable |
integer |
Yes | |
analytics.health.daily[].recovered |
integer |
Yes | |
analytics.health.daily[].retried |
integer |
Yes | |
analytics.health.ejected |
integer |
Yes | |
analytics.health.ends_at |
string (date-time) |
Yes | |
analytics.health.error |
integer |
Yes | |
analytics.health.failures |
array of object |
Yes | |
analytics.health.failures[].count |
integer |
Yes | |
analytics.health.failures[].key |
string |
Yes | |
analytics.health.failures[].label |
string |
Yes | |
analytics.health.landed |
integer |
Yes | |
analytics.health.magic_merged |
integer |
Yes | |
analytics.health.needs_attention |
integer |
Yes | |
analytics.health.observed_count |
integer |
Yes | |
analytics.health.rebuilt |
integer |
Yes | |
analytics.health.recoverable |
integer |
Yes | |
analytics.health.recovered |
integer |
Yes | |
analytics.health.retried |
integer |
Yes | |
analytics.health.source |
enum: tinybird, outbox |
Yes | |
analytics.health.starts_at |
string (date-time) |
Yes | |
analytics.health.success_rate |
number |
Yes | |
analytics.merged_count |
integer |
Yes | |
analytics.outcomes |
array of object |
Yes | |
analytics.outcomes[].count |
integer |
Yes | |
analytics.outcomes[].key |
enum: merged, ci_failed, conflict, cancelled, other_failure |
Yes | |
analytics.outcomes[].label |
string |
Yes | |
analytics.peak_queue_time_label |
string |
Yes | |
analytics.peak_queue_time_ms |
integer |
Yes | |
analytics.queue_time_change_percent |
integer |
Yes | |
analytics.starts_at |
string (date-time) |
Yes | |
analytics.window_days |
enum: 7, 14, 30 |
Yes | |
policy |
object |
Yes | |
policy.auto_land_enabled |
boolean |
Yes | |
policy.github_connections |
array of object |
Yes | |
policy.github_connections[].id |
string |
Yes | |
policy.github_connections[].name |
string |
Yes | |
policy.github_merge_gate |
enum: branch_protection, vex_checks |
Yes | |
policy.github_primary_eligible |
boolean |
Yes | |
policy.merge_authority |
enum: vex_primary, github_primary |
Yes | |
policy.merge_authority_version |
integer |
Yes | |
policy.merge_github_repository_connection_id |
string |
Yes | |
policy.merge_policy_version |
integer |
Yes | |
policy.queue_concurrency |
integer |
Yes | |
policy.queue_concurrency_label |
string |
No | |
policy.queue_validation_mode |
enum: top_only, per_pr |
Yes | |
policy.repository_id |
string |
Yes | |
policy.repository_queue_concurrency |
integer |
Yes | |
policy.switch_blockers |
array of string |
Yes | |
queue |
object |
Yes | |
queue.active_entry_count |
integer |
Yes | |
queue.capabilities |
object |
Yes | |
queue.capabilities.can_enqueue |
boolean |
Yes | |
queue.capabilities.can_merge |
boolean |
Yes | |
queue.capabilities.can_pause |
boolean |
Yes | |
queue.capabilities.can_promote |
boolean |
Yes | |
queue.capabilities.can_resume |
boolean |
Yes | |
queue.capabilities.can_retry |
boolean |
Yes | |
queue.concurrency |
integer |
Yes | |
queue.created_at |
string (date-time) |
No | |
queue.entries |
array of object |
Yes | |
queue.entries[].author |
object |
Yes | |
queue.entries[].author.email |
string |
Yes | |
queue.entries[].author.id |
string |
Yes | |
queue.entries[].author.name |
string |
Yes | |
queue.entries[].author.picture_url |
string |
Yes | |
queue.entries[].batch |
object |
No | Latest durable execution batch for this entry. Current identifies shared candidate validation; older released attempts remain diagnostic history. |
queue.entries[].batch.candidate_sha |
string |
Yes | |
queue.entries[].batch.current |
boolean |
Yes | |
queue.entries[].batch.id |
string |
Yes | |
queue.entries[].batch.reason |
string |
Yes | |
queue.entries[].batch.scopes |
array of object |
Yes | |
queue.entries[].batch.scopes[].changes |
array of object |
Yes | |
queue.entries[].batch.scopes[].entry_id |
string |
Yes | |
queue.entries[].batch.state |
string |
Yes | |
queue.entries[].batch.status_label |
string |
Yes | |
queue.entries[].candidate_ref |
string |
No | |
queue.entries[].candidate_sha |
string |
No | |
queue.entries[].capabilities |
object |
Yes | |
queue.entries[].capabilities.can_cancel |
boolean |
Yes | |
queue.entries[].capabilities.can_emergency_land |
boolean |
No | |
queue.entries[].capabilities.can_merge |
boolean |
Yes | |
queue.entries[].capabilities.can_promote |
boolean |
Yes | |
queue.entries[].capabilities.can_retry |
boolean |
Yes | |
queue.entries[].capabilities.can_validate_full |
boolean |
No | |
queue.entries[].change_generation |
integer |
No | |
queue.entries[].change_id |
string |
No | |
queue.entries[].change_number |
integer |
No | |
queue.entries[].change_reference |
string |
No | |
queue.entries[].checks_status |
enum: pending, passing, failing, stale, missing |
Yes | |
queue.entries[].checks_target |
object |
Yes | |
queue.entries[].checks_target.kind |
enum: commit |
Yes | |
queue.entries[].checks_target.value |
string |
Yes | |
queue.entries[].ci_impact |
object |
No | Persisted candidate CI selection, not a claim that checks passed. Null when no impact receipt exists. |
queue.entries[].ci_impact.affected_components |
array of string |
Yes | |
queue.entries[].ci_impact.base_sha |
string |
Yes | |
queue.entries[].ci_impact.candidate_sha |
string |
Yes | |
queue.entries[].ci_impact.changed_path_count |
integer |
Yes | |
queue.entries[].ci_impact.digest |
string |
Yes | |
queue.entries[].ci_impact.mode |
string |
Yes | |
queue.entries[].ci_impact.reason |
string |
Yes | |
queue.entries[].ci_impact.status |
enum: current, stale |
Yes | |
queue.entries[].ci_impact.suite_ids |
array of string |
Yes | |
queue.entries[].ci_impact.summary |
string |
Yes | |
queue.entries[].ci_impact.workflows |
array of object |
Yes | |
queue.entries[].ci_impact.workflows[].path |
string |
Yes | |
queue.entries[].ci_impact.workflows[].scheduled |
boolean |
Yes | |
queue.entries[].ci_impact.workflows[].selected |
boolean |
Yes | |
queue.entries[].ci_skipped |
boolean |
No | |
queue.entries[].ci_time_label |
string |
Yes | |
queue.entries[].ci_time_ms |
integer |
Yes | |
queue.entries[].completed_at |
string (date-time) |
Yes | |
queue.entries[].completed_at_label |
string |
No | |
queue.entries[].created_at |
string (date-time) |
No | |
queue.entries[].ejection_reason |
string |
No | |
queue.entries[].enqueued_by |
object |
Yes | |
queue.entries[].enqueued_by.email |
string |
Yes | |
queue.entries[].enqueued_by.id |
string |
Yes | |
queue.entries[].enqueued_by.name |
string |
Yes | |
queue.entries[].enqueued_by.picture_url |
string |
Yes | |
queue.entries[].error_message |
string |
No | |
queue.entries[].eta |
object |
Yes | |
queue.entries[].eta.detail |
string |
Yes | The sentence behind the headline, including the caveat that a readiness estimate is not a landing estimate. |
queue.entries[].eta.in_progress |
boolean |
Yes | The queue is acting on this entry right now, so the client shows activity rather than a countdown. |
queue.entries[].eta.label |
string |
Yes | The headline for this estimate, for example "Ready now", "~28s to ready", "Landing now". |
queue.entries[].eta.reason |
string |
Yes | |
queue.entries[].eta.remaining_label |
string |
Yes | |
queue.entries[].eta.remaining_ms |
integer |
Yes | |
queue.entries[].eta.status |
enum: available, unavailable |
Yes | |
queue.entries[].eta.target |
enum: readiness, landing |
Yes | What the estimate is about. Readiness is validation finishing; landing is the merge itself, which is observed rather than predicted. |
queue.entries[].full_ci_requested |
boolean |
No | |
queue.entries[].github_pr_number |
integer |
No | |
queue.entries[].id |
string |
Yes | |
queue.entries[].kind |
enum: change, github_pr |
Yes | |
queue.entries[].members |
array of object |
Yes | |
queue.entries[].members[].change_id |
string |
No | |
queue.entries[].members[].change_key |
string |
No | |
queue.entries[].members[].change_number |
integer |
No | |
queue.entries[].members[].change_reference |
string |
No | |
queue.entries[].members[].checks_status |
string |
No | |
queue.entries[].members[].error_message |
string |
No | |
queue.entries[].members[].github_merge_commit_sha |
string |
No | |
queue.entries[].members[].github_pr_number |
integer |
No | |
queue.entries[].members[].head_sha |
string |
No | |
queue.entries[].members[].id |
string |
Yes | |
queue.entries[].members[].position |
integer |
Yes | |
queue.entries[].members[].state |
string |
Yes | |
queue.entries[].members[].title |
string |
No | |
queue.entries[].merge_when_ready |
boolean |
Yes | |
queue.entries[].outcome |
enum: merged, ci_failed, conflict, cancelled, other_failure |
Yes | |
queue.entries[].outcome_label |
string |
Yes | The same wording the analytics breakdown gives this outcome, so one entry and the legend cannot disagree. |
queue.entries[].phase |
enum: active, terminal |
Yes | Server-owned grouping of the entry state machine. Active entries belong in the live queue view; terminal entries belong in outcome history. |
queue.entries[].position |
integer |
Yes | |
queue.entries[].priority |
enum: normal, high |
No | |
queue.entries[].processing_checkpoint |
string |
Yes | |
queue.entries[].queue_position |
integer |
Yes | |
queue.entries[].queue_time_label |
string |
Yes | |
queue.entries[].queue_time_ms |
integer |
Yes | |
queue.entries[].recovery |
object |
Yes | Present on a stopped entry. Rails owns the wording; the client renders this rather than the raw ejection_reason, and uses checks_target to open the candidate's checks. |
queue.entries[].recovery.action_kind |
enum: open_checks, open_change, open_integration, open_queue |
Yes | |
queue.entries[].recovery.action_required_by |
enum: author, repo_admin, vex |
Yes | |
queue.entries[].recovery.kind |
enum: checks_failed, landing_conflict, github_state_changed, github_access_problem, queue_policy_changed, merge_outcome_unknown, ... |
Yes | |
queue.entries[].recovery.next_step |
string |
Yes | |
queue.entries[].recovery.summary |
string |
Yes | |
queue.entries[].recovery_count |
integer |
Yes | |
queue.entries[].selected_count |
integer |
No | |
queue.entries[].selected_count_label |
string |
No | |
queue.entries[].speculation |
object |
Yes | |
queue.entries[].speculation.ahead_count |
integer |
Yes | |
queue.entries[].speculation.base_ref |
string |
Yes | |
queue.entries[].speculation.base_sha |
string |
Yes | |
queue.entries[].speculation.build_duration_ms |
integer |
Yes | |
queue.entries[].speculation.candidate_ref |
string |
Yes | |
queue.entries[].speculation.candidate_sha |
string |
Yes | |
queue.entries[].speculation.cleanup_status |
enum: pending, cleaned, failed, not_required |
Yes | |
queue.entries[].speculation.kind |
enum: exact_target, predicted_trunk |
Yes | |
queue.entries[].speculation.prefix_fingerprint |
string |
Yes | |
queue.entries[].speculation.target_sha |
string |
Yes | |
queue.entries[].stack |
object |
Yes | |
queue.entries[].stack.code |
string |
Yes | |
queue.entries[].stack.member_count |
integer |
Yes | |
queue.entries[].stack.name |
string |
Yes | |
queue.entries[].stack.reference |
string |
Yes | |
queue.entries[].started_at |
string (date-time) |
Yes | |
queue.entries[].started_at_label |
string |
No | |
queue.entries[].state |
enum: queued, validating, ready, merging, merged, ejected, ... |
Yes | |
queue.entries[].state_label |
string |
Yes | What this state is called in the product. Landing is the product word, so the client renders this rather than title-casing the machine state. |
queue.entries[].title |
string |
Yes | |
queue.entries[].updated_at |
string (date-time) |
No | |
queue.entries[].version |
integer |
Yes | |
queue.entry_count_label |
string |
Yes | |
queue.id |
string |
Yes | |
queue.last_error |
string |
No | |
queue.last_ticked_at |
string (date-time) |
No | |
queue.merge_authority |
enum: vex_primary, github_primary |
Yes | |
queue.merge_authority_version |
integer |
Yes | |
queue.merge_policy_version |
integer |
Yes | |
queue.recent_events |
array of object |
Yes | Newest-first durable queue audit events, limited to 50 records. |
queue.recent_events[].action |
string |
Yes | |
queue.recent_events[].created_at |
string (date-time) |
Yes | |
queue.recent_events[].entry_id |
string |
Yes | |
queue.recent_events[].entry_state |
string |
Yes | |
queue.recent_events[].entry_version |
integer |
Yes | |
queue.recent_events[].id |
string |
Yes | |
queue.skip_ci_enabled |
boolean |
Yes | |
queue.state |
enum: active, paused |
Yes | |
queue.state_label |
string |
Yes | |
queue.state_version |
integer |
Yes | |
queue.target_branch |
string |
Yes | |
queue.terminal_history |
object |
Yes | |
queue.terminal_history.count |
integer |
Yes | |
queue.terminal_history.count_label |
string |
Yes | |
queue.terminal_history.last |
integer |
Yes | |
queue.terminal_history.limit |
integer |
Yes | |
queue.terminal_history.next |
integer |
Yes | |
queue.terminal_history.page |
integer |
Yes | |
queue.terminal_history.previous |
integer |
Yes | |
queue.updated_at |
string (date-time) |
No | |
queue.validation_mode |
enum: top_only, per_pr |
Yes | |
target_branches |
array of string |
No | Bookmark names for the target picker. Present only on the queue-page read (GET /vcs/merge_queues); mutation snapshots omit it. Empty while jj-backend is degraded. |
401: Unauthorized
403: The actor is not allowed to perform this queue mutation
404: Not found
409: The queue entry version changed
422: The requested state transition is invalid
502: Bad gateway
503: Merge queue rollout flag is disabled
POST /api/v1/organizations/{org_slug}/repos/{repo_slug}/vcs/merge_queues/{target}/entries/{id}/skip_ci
Operation ID: post_api_v1_organizations_org_slug_repos_repo_slug_vcs_merge_queues_target_entries_id_skip_ci.
Authentication: bearer token (bearerAuth).
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
org_slug |
path |
string |
Yes | |
repo_slug |
path |
string |
Yes | |
target |
path |
string |
Yes | |
id |
path |
string |
Yes |
Request body
application/json
| Property | Type | Required | Description |
|---|---|---|---|
expected_version |
integer |
Yes |
Responses
200: Updated queue snapshot
application/json
| Property | Type | Required | Description |
|---|---|---|---|
analytics |
object |
No | Queue performance for the reporting window. Present on queue reads only, mutation responses omit it rather than pay for a full window scan. |
analytics.average_ci_time_label |
string |
Yes | |
analytics.average_ci_time_ms |
integer |
Yes | |
analytics.average_outside_ci_time_label |
string |
Yes | |
analytics.average_outside_ci_time_ms |
integer |
Yes | Queue time not accounted for by CI, waiting behind earlier entries, plus the landing itself. |
analytics.average_queue_time_label |
string |
Yes | |
analytics.average_queue_time_ms |
integer |
Yes | |
analytics.ci_time_change_percent |
integer |
Yes | |
analytics.completed_count |
integer |
Yes | |
analytics.daily |
array of object |
Yes | |
analytics.daily[].average_ci_time_label |
string |
Yes | |
analytics.daily[].average_ci_time_ms |
integer |
Yes | |
analytics.daily[].average_outside_ci_time_label |
string |
Yes | |
analytics.daily[].average_outside_ci_time_ms |
integer |
Yes | |
analytics.daily[].average_queue_time_label |
string |
Yes | |
analytics.daily[].average_queue_time_ms |
integer |
Yes | |
analytics.daily[].completed_count |
integer |
Yes | |
analytics.daily[].date |
string (date) |
Yes | |
analytics.daily[].label |
string |
Yes | |
analytics.daily[].merged_count |
integer |
Yes | |
analytics.ends_at |
string (date-time) |
Yes | |
analytics.health |
object |
No | |
analytics.health.cancelled |
integer |
Yes | |
analytics.health.conflict |
integer |
Yes | |
analytics.health.daily |
array of object |
Yes | |
analytics.health.daily[].cancelled |
integer |
Yes | |
analytics.health.daily[].conflict |
integer |
Yes | |
analytics.health.daily[].date |
string (date) |
Yes | |
analytics.health.daily[].ejected |
integer |
Yes | |
analytics.health.daily[].error |
integer |
Yes | |
analytics.health.daily[].landed |
integer |
Yes | |
analytics.health.daily[].magic_merged |
integer |
Yes | |
analytics.health.daily[].needs_attention |
integer |
Yes | |
analytics.health.daily[].rebuilt |
integer |
Yes | |
analytics.health.daily[].recoverable |
integer |
Yes | |
analytics.health.daily[].recovered |
integer |
Yes | |
analytics.health.daily[].retried |
integer |
Yes | |
analytics.health.ejected |
integer |
Yes | |
analytics.health.ends_at |
string (date-time) |
Yes | |
analytics.health.error |
integer |
Yes | |
analytics.health.failures |
array of object |
Yes | |
analytics.health.failures[].count |
integer |
Yes | |
analytics.health.failures[].key |
string |
Yes | |
analytics.health.failures[].label |
string |
Yes | |
analytics.health.landed |
integer |
Yes | |
analytics.health.magic_merged |
integer |
Yes | |
analytics.health.needs_attention |
integer |
Yes | |
analytics.health.observed_count |
integer |
Yes | |
analytics.health.rebuilt |
integer |
Yes | |
analytics.health.recoverable |
integer |
Yes | |
analytics.health.recovered |
integer |
Yes | |
analytics.health.retried |
integer |
Yes | |
analytics.health.source |
enum: tinybird, outbox |
Yes | |
analytics.health.starts_at |
string (date-time) |
Yes | |
analytics.health.success_rate |
number |
Yes | |
analytics.merged_count |
integer |
Yes | |
analytics.outcomes |
array of object |
Yes | |
analytics.outcomes[].count |
integer |
Yes | |
analytics.outcomes[].key |
enum: merged, ci_failed, conflict, cancelled, other_failure |
Yes | |
analytics.outcomes[].label |
string |
Yes | |
analytics.peak_queue_time_label |
string |
Yes | |
analytics.peak_queue_time_ms |
integer |
Yes | |
analytics.queue_time_change_percent |
integer |
Yes | |
analytics.starts_at |
string (date-time) |
Yes | |
analytics.window_days |
enum: 7, 14, 30 |
Yes | |
policy |
object |
Yes | |
policy.auto_land_enabled |
boolean |
Yes | |
policy.github_connections |
array of object |
Yes | |
policy.github_connections[].id |
string |
Yes | |
policy.github_connections[].name |
string |
Yes | |
policy.github_merge_gate |
enum: branch_protection, vex_checks |
Yes | |
policy.github_primary_eligible |
boolean |
Yes | |
policy.merge_authority |
enum: vex_primary, github_primary |
Yes | |
policy.merge_authority_version |
integer |
Yes | |
policy.merge_github_repository_connection_id |
string |
Yes | |
policy.merge_policy_version |
integer |
Yes | |
policy.queue_concurrency |
integer |
Yes | |
policy.queue_concurrency_label |
string |
No | |
policy.queue_validation_mode |
enum: top_only, per_pr |
Yes | |
policy.repository_id |
string |
Yes | |
policy.repository_queue_concurrency |
integer |
Yes | |
policy.switch_blockers |
array of string |
Yes | |
queue |
object |
Yes | |
queue.active_entry_count |
integer |
Yes | |
queue.capabilities |
object |
Yes | |
queue.capabilities.can_enqueue |
boolean |
Yes | |
queue.capabilities.can_merge |
boolean |
Yes | |
queue.capabilities.can_pause |
boolean |
Yes | |
queue.capabilities.can_promote |
boolean |
Yes | |
queue.capabilities.can_resume |
boolean |
Yes | |
queue.capabilities.can_retry |
boolean |
Yes | |
queue.concurrency |
integer |
Yes | |
queue.created_at |
string (date-time) |
No | |
queue.entries |
array of object |
Yes | |
queue.entries[].author |
object |
Yes | |
queue.entries[].author.email |
string |
Yes | |
queue.entries[].author.id |
string |
Yes | |
queue.entries[].author.name |
string |
Yes | |
queue.entries[].author.picture_url |
string |
Yes | |
queue.entries[].batch |
object |
No | Latest durable execution batch for this entry. Current identifies shared candidate validation; older released attempts remain diagnostic history. |
queue.entries[].batch.candidate_sha |
string |
Yes | |
queue.entries[].batch.current |
boolean |
Yes | |
queue.entries[].batch.id |
string |
Yes | |
queue.entries[].batch.reason |
string |
Yes | |
queue.entries[].batch.scopes |
array of object |
Yes | |
queue.entries[].batch.scopes[].changes |
array of object |
Yes | |
queue.entries[].batch.scopes[].entry_id |
string |
Yes | |
queue.entries[].batch.state |
string |
Yes | |
queue.entries[].batch.status_label |
string |
Yes | |
queue.entries[].candidate_ref |
string |
No | |
queue.entries[].candidate_sha |
string |
No | |
queue.entries[].capabilities |
object |
Yes | |
queue.entries[].capabilities.can_cancel |
boolean |
Yes | |
queue.entries[].capabilities.can_emergency_land |
boolean |
No | |
queue.entries[].capabilities.can_merge |
boolean |
Yes | |
queue.entries[].capabilities.can_promote |
boolean |
Yes | |
queue.entries[].capabilities.can_retry |
boolean |
Yes | |
queue.entries[].capabilities.can_validate_full |
boolean |
No | |
queue.entries[].change_generation |
integer |
No | |
queue.entries[].change_id |
string |
No | |
queue.entries[].change_number |
integer |
No | |
queue.entries[].change_reference |
string |
No | |
queue.entries[].checks_status |
enum: pending, passing, failing, stale, missing |
Yes | |
queue.entries[].checks_target |
object |
Yes | |
queue.entries[].checks_target.kind |
enum: commit |
Yes | |
queue.entries[].checks_target.value |
string |
Yes | |
queue.entries[].ci_impact |
object |
No | Persisted candidate CI selection, not a claim that checks passed. Null when no impact receipt exists. |
queue.entries[].ci_impact.affected_components |
array of string |
Yes | |
queue.entries[].ci_impact.base_sha |
string |
Yes | |
queue.entries[].ci_impact.candidate_sha |
string |
Yes | |
queue.entries[].ci_impact.changed_path_count |
integer |
Yes | |
queue.entries[].ci_impact.digest |
string |
Yes | |
queue.entries[].ci_impact.mode |
string |
Yes | |
queue.entries[].ci_impact.reason |
string |
Yes | |
queue.entries[].ci_impact.status |
enum: current, stale |
Yes | |
queue.entries[].ci_impact.suite_ids |
array of string |
Yes | |
queue.entries[].ci_impact.summary |
string |
Yes | |
queue.entries[].ci_impact.workflows |
array of object |
Yes | |
queue.entries[].ci_impact.workflows[].path |
string |
Yes | |
queue.entries[].ci_impact.workflows[].scheduled |
boolean |
Yes | |
queue.entries[].ci_impact.workflows[].selected |
boolean |
Yes | |
queue.entries[].ci_skipped |
boolean |
No | |
queue.entries[].ci_time_label |
string |
Yes | |
queue.entries[].ci_time_ms |
integer |
Yes | |
queue.entries[].completed_at |
string (date-time) |
Yes | |
queue.entries[].completed_at_label |
string |
No | |
queue.entries[].created_at |
string (date-time) |
No | |
queue.entries[].ejection_reason |
string |
No | |
queue.entries[].enqueued_by |
object |
Yes | |
queue.entries[].enqueued_by.email |
string |
Yes | |
queue.entries[].enqueued_by.id |
string |
Yes | |
queue.entries[].enqueued_by.name |
string |
Yes | |
queue.entries[].enqueued_by.picture_url |
string |
Yes | |
queue.entries[].error_message |
string |
No | |
queue.entries[].eta |
object |
Yes | |
queue.entries[].eta.detail |
string |
Yes | The sentence behind the headline, including the caveat that a readiness estimate is not a landing estimate. |
queue.entries[].eta.in_progress |
boolean |
Yes | The queue is acting on this entry right now, so the client shows activity rather than a countdown. |
queue.entries[].eta.label |
string |
Yes | The headline for this estimate, for example "Ready now", "~28s to ready", "Landing now". |
queue.entries[].eta.reason |
string |
Yes | |
queue.entries[].eta.remaining_label |
string |
Yes | |
queue.entries[].eta.remaining_ms |
integer |
Yes | |
queue.entries[].eta.status |
enum: available, unavailable |
Yes | |
queue.entries[].eta.target |
enum: readiness, landing |
Yes | What the estimate is about. Readiness is validation finishing; landing is the merge itself, which is observed rather than predicted. |
queue.entries[].full_ci_requested |
boolean |
No | |
queue.entries[].github_pr_number |
integer |
No | |
queue.entries[].id |
string |
Yes | |
queue.entries[].kind |
enum: change, github_pr |
Yes | |
queue.entries[].members |
array of object |
Yes | |
queue.entries[].members[].change_id |
string |
No | |
queue.entries[].members[].change_key |
string |
No | |
queue.entries[].members[].change_number |
integer |
No | |
queue.entries[].members[].change_reference |
string |
No | |
queue.entries[].members[].checks_status |
string |
No | |
queue.entries[].members[].error_message |
string |
No | |
queue.entries[].members[].github_merge_commit_sha |
string |
No | |
queue.entries[].members[].github_pr_number |
integer |
No | |
queue.entries[].members[].head_sha |
string |
No | |
queue.entries[].members[].id |
string |
Yes | |
queue.entries[].members[].position |
integer |
Yes | |
queue.entries[].members[].state |
string |
Yes | |
queue.entries[].members[].title |
string |
No | |
queue.entries[].merge_when_ready |
boolean |
Yes | |
queue.entries[].outcome |
enum: merged, ci_failed, conflict, cancelled, other_failure |
Yes | |
queue.entries[].outcome_label |
string |
Yes | The same wording the analytics breakdown gives this outcome, so one entry and the legend cannot disagree. |
queue.entries[].phase |
enum: active, terminal |
Yes | Server-owned grouping of the entry state machine. Active entries belong in the live queue view; terminal entries belong in outcome history. |
queue.entries[].position |
integer |
Yes | |
queue.entries[].priority |
enum: normal, high |
No | |
queue.entries[].processing_checkpoint |
string |
Yes | |
queue.entries[].queue_position |
integer |
Yes | |
queue.entries[].queue_time_label |
string |
Yes | |
queue.entries[].queue_time_ms |
integer |
Yes | |
queue.entries[].recovery |
object |
Yes | Present on a stopped entry. Rails owns the wording; the client renders this rather than the raw ejection_reason, and uses checks_target to open the candidate's checks. |
queue.entries[].recovery.action_kind |
enum: open_checks, open_change, open_integration, open_queue |
Yes | |
queue.entries[].recovery.action_required_by |
enum: author, repo_admin, vex |
Yes | |
queue.entries[].recovery.kind |
enum: checks_failed, landing_conflict, github_state_changed, github_access_problem, queue_policy_changed, merge_outcome_unknown, ... |
Yes | |
queue.entries[].recovery.next_step |
string |
Yes | |
queue.entries[].recovery.summary |
string |
Yes | |
queue.entries[].recovery_count |
integer |
Yes | |
queue.entries[].selected_count |
integer |
No | |
queue.entries[].selected_count_label |
string |
No | |
queue.entries[].speculation |
object |
Yes | |
queue.entries[].speculation.ahead_count |
integer |
Yes | |
queue.entries[].speculation.base_ref |
string |
Yes | |
queue.entries[].speculation.base_sha |
string |
Yes | |
queue.entries[].speculation.build_duration_ms |
integer |
Yes | |
queue.entries[].speculation.candidate_ref |
string |
Yes | |
queue.entries[].speculation.candidate_sha |
string |
Yes | |
queue.entries[].speculation.cleanup_status |
enum: pending, cleaned, failed, not_required |
Yes | |
queue.entries[].speculation.kind |
enum: exact_target, predicted_trunk |
Yes | |
queue.entries[].speculation.prefix_fingerprint |
string |
Yes | |
queue.entries[].speculation.target_sha |
string |
Yes | |
queue.entries[].stack |
object |
Yes | |
queue.entries[].stack.code |
string |
Yes | |
queue.entries[].stack.member_count |
integer |
Yes | |
queue.entries[].stack.name |
string |
Yes | |
queue.entries[].stack.reference |
string |
Yes | |
queue.entries[].started_at |
string (date-time) |
Yes | |
queue.entries[].started_at_label |
string |
No | |
queue.entries[].state |
enum: queued, validating, ready, merging, merged, ejected, ... |
Yes | |
queue.entries[].state_label |
string |
Yes | What this state is called in the product. Landing is the product word, so the client renders this rather than title-casing the machine state. |
queue.entries[].title |
string |
Yes | |
queue.entries[].updated_at |
string (date-time) |
No | |
queue.entries[].version |
integer |
Yes | |
queue.entry_count_label |
string |
Yes | |
queue.id |
string |
Yes | |
queue.last_error |
string |
No | |
queue.last_ticked_at |
string (date-time) |
No | |
queue.merge_authority |
enum: vex_primary, github_primary |
Yes | |
queue.merge_authority_version |
integer |
Yes | |
queue.merge_policy_version |
integer |
Yes | |
queue.recent_events |
array of object |
Yes | Newest-first durable queue audit events, limited to 50 records. |
queue.recent_events[].action |
string |
Yes | |
queue.recent_events[].created_at |
string (date-time) |
Yes | |
queue.recent_events[].entry_id |
string |
Yes | |
queue.recent_events[].entry_state |
string |
Yes | |
queue.recent_events[].entry_version |
integer |
Yes | |
queue.recent_events[].id |
string |
Yes | |
queue.skip_ci_enabled |
boolean |
Yes | |
queue.state |
enum: active, paused |
Yes | |
queue.state_label |
string |
Yes | |
queue.state_version |
integer |
Yes | |
queue.target_branch |
string |
Yes | |
queue.terminal_history |
object |
Yes | |
queue.terminal_history.count |
integer |
Yes | |
queue.terminal_history.count_label |
string |
Yes | |
queue.terminal_history.last |
integer |
Yes | |
queue.terminal_history.limit |
integer |
Yes | |
queue.terminal_history.next |
integer |
Yes | |
queue.terminal_history.page |
integer |
Yes | |
queue.terminal_history.previous |
integer |
Yes | |
queue.updated_at |
string (date-time) |
No | |
queue.validation_mode |
enum: top_only, per_pr |
Yes | |
target_branches |
array of string |
No | Bookmark names for the target picker. Present only on the queue-page read (GET /vcs/merge_queues); mutation snapshots omit it. Empty while jj-backend is degraded. |
401: Unauthorized
403: The actor is not allowed to perform this queue mutation
404: Not found
409: The queue entry version changed
422: The requested state transition is invalid
502: Bad gateway
503: Merge queue rollout flag is disabled
POST /api/v1/organizations/{org_slug}/repos/{repo_slug}/vcs/merge_queues/{target}/entries/{id}/validate_full
Operation ID: post_api_v1_organizations_org_slug_repos_repo_slug_vcs_merge_queues_target_entries_id_validate_full.
Authentication: bearer token (bearerAuth).
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
org_slug |
path |
string |
Yes | |
repo_slug |
path |
string |
Yes | |
target |
path |
string |
Yes | |
id |
path |
string |
Yes |
Request body
application/json
| Property | Type | Required | Description |
|---|---|---|---|
expected_version |
integer |
Yes |
Responses
200: Updated queue snapshot
application/json
| Property | Type | Required | Description |
|---|---|---|---|
analytics |
object |
No | Queue performance for the reporting window. Present on queue reads only, mutation responses omit it rather than pay for a full window scan. |
analytics.average_ci_time_label |
string |
Yes | |
analytics.average_ci_time_ms |
integer |
Yes | |
analytics.average_outside_ci_time_label |
string |
Yes | |
analytics.average_outside_ci_time_ms |
integer |
Yes | Queue time not accounted for by CI, waiting behind earlier entries, plus the landing itself. |
analytics.average_queue_time_label |
string |
Yes | |
analytics.average_queue_time_ms |
integer |
Yes | |
analytics.ci_time_change_percent |
integer |
Yes | |
analytics.completed_count |
integer |
Yes | |
analytics.daily |
array of object |
Yes | |
analytics.daily[].average_ci_time_label |
string |
Yes | |
analytics.daily[].average_ci_time_ms |
integer |
Yes | |
analytics.daily[].average_outside_ci_time_label |
string |
Yes | |
analytics.daily[].average_outside_ci_time_ms |
integer |
Yes | |
analytics.daily[].average_queue_time_label |
string |
Yes | |
analytics.daily[].average_queue_time_ms |
integer |
Yes | |
analytics.daily[].completed_count |
integer |
Yes | |
analytics.daily[].date |
string (date) |
Yes | |
analytics.daily[].label |
string |
Yes | |
analytics.daily[].merged_count |
integer |
Yes | |
analytics.ends_at |
string (date-time) |
Yes | |
analytics.health |
object |
No | |
analytics.health.cancelled |
integer |
Yes | |
analytics.health.conflict |
integer |
Yes | |
analytics.health.daily |
array of object |
Yes | |
analytics.health.daily[].cancelled |
integer |
Yes | |
analytics.health.daily[].conflict |
integer |
Yes | |
analytics.health.daily[].date |
string (date) |
Yes | |
analytics.health.daily[].ejected |
integer |
Yes | |
analytics.health.daily[].error |
integer |
Yes | |
analytics.health.daily[].landed |
integer |
Yes | |
analytics.health.daily[].magic_merged |
integer |
Yes | |
analytics.health.daily[].needs_attention |
integer |
Yes | |
analytics.health.daily[].rebuilt |
integer |
Yes | |
analytics.health.daily[].recoverable |
integer |
Yes | |
analytics.health.daily[].recovered |
integer |
Yes | |
analytics.health.daily[].retried |
integer |
Yes | |
analytics.health.ejected |
integer |
Yes | |
analytics.health.ends_at |
string (date-time) |
Yes | |
analytics.health.error |
integer |
Yes | |
analytics.health.failures |
array of object |
Yes | |
analytics.health.failures[].count |
integer |
Yes | |
analytics.health.failures[].key |
string |
Yes | |
analytics.health.failures[].label |
string |
Yes | |
analytics.health.landed |
integer |
Yes | |
analytics.health.magic_merged |
integer |
Yes | |
analytics.health.needs_attention |
integer |
Yes | |
analytics.health.observed_count |
integer |
Yes | |
analytics.health.rebuilt |
integer |
Yes | |
analytics.health.recoverable |
integer |
Yes | |
analytics.health.recovered |
integer |
Yes | |
analytics.health.retried |
integer |
Yes | |
analytics.health.source |
enum: tinybird, outbox |
Yes | |
analytics.health.starts_at |
string (date-time) |
Yes | |
analytics.health.success_rate |
number |
Yes | |
analytics.merged_count |
integer |
Yes | |
analytics.outcomes |
array of object |
Yes | |
analytics.outcomes[].count |
integer |
Yes | |
analytics.outcomes[].key |
enum: merged, ci_failed, conflict, cancelled, other_failure |
Yes | |
analytics.outcomes[].label |
string |
Yes | |
analytics.peak_queue_time_label |
string |
Yes | |
analytics.peak_queue_time_ms |
integer |
Yes | |
analytics.queue_time_change_percent |
integer |
Yes | |
analytics.starts_at |
string (date-time) |
Yes | |
analytics.window_days |
enum: 7, 14, 30 |
Yes | |
policy |
object |
Yes | |
policy.auto_land_enabled |
boolean |
Yes | |
policy.github_connections |
array of object |
Yes | |
policy.github_connections[].id |
string |
Yes | |
policy.github_connections[].name |
string |
Yes | |
policy.github_merge_gate |
enum: branch_protection, vex_checks |
Yes | |
policy.github_primary_eligible |
boolean |
Yes | |
policy.merge_authority |
enum: vex_primary, github_primary |
Yes | |
policy.merge_authority_version |
integer |
Yes | |
policy.merge_github_repository_connection_id |
string |
Yes | |
policy.merge_policy_version |
integer |
Yes | |
policy.queue_concurrency |
integer |
Yes | |
policy.queue_concurrency_label |
string |
No | |
policy.queue_validation_mode |
enum: top_only, per_pr |
Yes | |
policy.repository_id |
string |
Yes | |
policy.repository_queue_concurrency |
integer |
Yes | |
policy.switch_blockers |
array of string |
Yes | |
queue |
object |
Yes | |
queue.active_entry_count |
integer |
Yes | |
queue.capabilities |
object |
Yes | |
queue.capabilities.can_enqueue |
boolean |
Yes | |
queue.capabilities.can_merge |
boolean |
Yes | |
queue.capabilities.can_pause |
boolean |
Yes | |
queue.capabilities.can_promote |
boolean |
Yes | |
queue.capabilities.can_resume |
boolean |
Yes | |
queue.capabilities.can_retry |
boolean |
Yes | |
queue.concurrency |
integer |
Yes | |
queue.created_at |
string (date-time) |
No | |
queue.entries |
array of object |
Yes | |
queue.entries[].author |
object |
Yes | |
queue.entries[].author.email |
string |
Yes | |
queue.entries[].author.id |
string |
Yes | |
queue.entries[].author.name |
string |
Yes | |
queue.entries[].author.picture_url |
string |
Yes | |
queue.entries[].batch |
object |
No | Latest durable execution batch for this entry. Current identifies shared candidate validation; older released attempts remain diagnostic history. |
queue.entries[].batch.candidate_sha |
string |
Yes | |
queue.entries[].batch.current |
boolean |
Yes | |
queue.entries[].batch.id |
string |
Yes | |
queue.entries[].batch.reason |
string |
Yes | |
queue.entries[].batch.scopes |
array of object |
Yes | |
queue.entries[].batch.scopes[].changes |
array of object |
Yes | |
queue.entries[].batch.scopes[].entry_id |
string |
Yes | |
queue.entries[].batch.state |
string |
Yes | |
queue.entries[].batch.status_label |
string |
Yes | |
queue.entries[].candidate_ref |
string |
No | |
queue.entries[].candidate_sha |
string |
No | |
queue.entries[].capabilities |
object |
Yes | |
queue.entries[].capabilities.can_cancel |
boolean |
Yes | |
queue.entries[].capabilities.can_emergency_land |
boolean |
No | |
queue.entries[].capabilities.can_merge |
boolean |
Yes | |
queue.entries[].capabilities.can_promote |
boolean |
Yes | |
queue.entries[].capabilities.can_retry |
boolean |
Yes | |
queue.entries[].capabilities.can_validate_full |
boolean |
No | |
queue.entries[].change_generation |
integer |
No | |
queue.entries[].change_id |
string |
No | |
queue.entries[].change_number |
integer |
No | |
queue.entries[].change_reference |
string |
No | |
queue.entries[].checks_status |
enum: pending, passing, failing, stale, missing |
Yes | |
queue.entries[].checks_target |
object |
Yes | |
queue.entries[].checks_target.kind |
enum: commit |
Yes | |
queue.entries[].checks_target.value |
string |
Yes | |
queue.entries[].ci_impact |
object |
No | Persisted candidate CI selection, not a claim that checks passed. Null when no impact receipt exists. |
queue.entries[].ci_impact.affected_components |
array of string |
Yes | |
queue.entries[].ci_impact.base_sha |
string |
Yes | |
queue.entries[].ci_impact.candidate_sha |
string |
Yes | |
queue.entries[].ci_impact.changed_path_count |
integer |
Yes | |
queue.entries[].ci_impact.digest |
string |
Yes | |
queue.entries[].ci_impact.mode |
string |
Yes | |
queue.entries[].ci_impact.reason |
string |
Yes | |
queue.entries[].ci_impact.status |
enum: current, stale |
Yes | |
queue.entries[].ci_impact.suite_ids |
array of string |
Yes | |
queue.entries[].ci_impact.summary |
string |
Yes | |
queue.entries[].ci_impact.workflows |
array of object |
Yes | |
queue.entries[].ci_impact.workflows[].path |
string |
Yes | |
queue.entries[].ci_impact.workflows[].scheduled |
boolean |
Yes | |
queue.entries[].ci_impact.workflows[].selected |
boolean |
Yes | |
queue.entries[].ci_skipped |
boolean |
No | |
queue.entries[].ci_time_label |
string |
Yes | |
queue.entries[].ci_time_ms |
integer |
Yes | |
queue.entries[].completed_at |
string (date-time) |
Yes | |
queue.entries[].completed_at_label |
string |
No | |
queue.entries[].created_at |
string (date-time) |
No | |
queue.entries[].ejection_reason |
string |
No | |
queue.entries[].enqueued_by |
object |
Yes | |
queue.entries[].enqueued_by.email |
string |
Yes | |
queue.entries[].enqueued_by.id |
string |
Yes | |
queue.entries[].enqueued_by.name |
string |
Yes | |
queue.entries[].enqueued_by.picture_url |
string |
Yes | |
queue.entries[].error_message |
string |
No | |
queue.entries[].eta |
object |
Yes | |
queue.entries[].eta.detail |
string |
Yes | The sentence behind the headline, including the caveat that a readiness estimate is not a landing estimate. |
queue.entries[].eta.in_progress |
boolean |
Yes | The queue is acting on this entry right now, so the client shows activity rather than a countdown. |
queue.entries[].eta.label |
string |
Yes | The headline for this estimate, for example "Ready now", "~28s to ready", "Landing now". |
queue.entries[].eta.reason |
string |
Yes | |
queue.entries[].eta.remaining_label |
string |
Yes | |
queue.entries[].eta.remaining_ms |
integer |
Yes | |
queue.entries[].eta.status |
enum: available, unavailable |
Yes | |
queue.entries[].eta.target |
enum: readiness, landing |
Yes | What the estimate is about. Readiness is validation finishing; landing is the merge itself, which is observed rather than predicted. |
queue.entries[].full_ci_requested |
boolean |
No | |
queue.entries[].github_pr_number |
integer |
No | |
queue.entries[].id |
string |
Yes | |
queue.entries[].kind |
enum: change, github_pr |
Yes | |
queue.entries[].members |
array of object |
Yes | |
queue.entries[].members[].change_id |
string |
No | |
queue.entries[].members[].change_key |
string |
No | |
queue.entries[].members[].change_number |
integer |
No | |
queue.entries[].members[].change_reference |
string |
No | |
queue.entries[].members[].checks_status |
string |
No | |
queue.entries[].members[].error_message |
string |
No | |
queue.entries[].members[].github_merge_commit_sha |
string |
No | |
queue.entries[].members[].github_pr_number |
integer |
No | |
queue.entries[].members[].head_sha |
string |
No | |
queue.entries[].members[].id |
string |
Yes | |
queue.entries[].members[].position |
integer |
Yes | |
queue.entries[].members[].state |
string |
Yes | |
queue.entries[].members[].title |
string |
No | |
queue.entries[].merge_when_ready |
boolean |
Yes | |
queue.entries[].outcome |
enum: merged, ci_failed, conflict, cancelled, other_failure |
Yes | |
queue.entries[].outcome_label |
string |
Yes | The same wording the analytics breakdown gives this outcome, so one entry and the legend cannot disagree. |
queue.entries[].phase |
enum: active, terminal |
Yes | Server-owned grouping of the entry state machine. Active entries belong in the live queue view; terminal entries belong in outcome history. |
queue.entries[].position |
integer |
Yes | |
queue.entries[].priority |
enum: normal, high |
No | |
queue.entries[].processing_checkpoint |
string |
Yes | |
queue.entries[].queue_position |
integer |
Yes | |
queue.entries[].queue_time_label |
string |
Yes | |
queue.entries[].queue_time_ms |
integer |
Yes | |
queue.entries[].recovery |
object |
Yes | Present on a stopped entry. Rails owns the wording; the client renders this rather than the raw ejection_reason, and uses checks_target to open the candidate's checks. |
queue.entries[].recovery.action_kind |
enum: open_checks, open_change, open_integration, open_queue |
Yes | |
queue.entries[].recovery.action_required_by |
enum: author, repo_admin, vex |
Yes | |
queue.entries[].recovery.kind |
enum: checks_failed, landing_conflict, github_state_changed, github_access_problem, queue_policy_changed, merge_outcome_unknown, ... |
Yes | |
queue.entries[].recovery.next_step |
string |
Yes | |
queue.entries[].recovery.summary |
string |
Yes | |
queue.entries[].recovery_count |
integer |
Yes | |
queue.entries[].selected_count |
integer |
No | |
queue.entries[].selected_count_label |
string |
No | |
queue.entries[].speculation |
object |
Yes | |
queue.entries[].speculation.ahead_count |
integer |
Yes | |
queue.entries[].speculation.base_ref |
string |
Yes | |
queue.entries[].speculation.base_sha |
string |
Yes | |
queue.entries[].speculation.build_duration_ms |
integer |
Yes | |
queue.entries[].speculation.candidate_ref |
string |
Yes | |
queue.entries[].speculation.candidate_sha |
string |
Yes | |
queue.entries[].speculation.cleanup_status |
enum: pending, cleaned, failed, not_required |
Yes | |
queue.entries[].speculation.kind |
enum: exact_target, predicted_trunk |
Yes | |
queue.entries[].speculation.prefix_fingerprint |
string |
Yes | |
queue.entries[].speculation.target_sha |
string |
Yes | |
queue.entries[].stack |
object |
Yes | |
queue.entries[].stack.code |
string |
Yes | |
queue.entries[].stack.member_count |
integer |
Yes | |
queue.entries[].stack.name |
string |
Yes | |
queue.entries[].stack.reference |
string |
Yes | |
queue.entries[].started_at |
string (date-time) |
Yes | |
queue.entries[].started_at_label |
string |
No | |
queue.entries[].state |
enum: queued, validating, ready, merging, merged, ejected, ... |
Yes | |
queue.entries[].state_label |
string |
Yes | What this state is called in the product. Landing is the product word, so the client renders this rather than title-casing the machine state. |
queue.entries[].title |
string |
Yes | |
queue.entries[].updated_at |
string (date-time) |
No | |
queue.entries[].version |
integer |
Yes | |
queue.entry_count_label |
string |
Yes | |
queue.id |
string |
Yes | |
queue.last_error |
string |
No | |
queue.last_ticked_at |
string (date-time) |
No | |
queue.merge_authority |
enum: vex_primary, github_primary |
Yes | |
queue.merge_authority_version |
integer |
Yes | |
queue.merge_policy_version |
integer |
Yes | |
queue.recent_events |
array of object |
Yes | Newest-first durable queue audit events, limited to 50 records. |
queue.recent_events[].action |
string |
Yes | |
queue.recent_events[].created_at |
string (date-time) |
Yes | |
queue.recent_events[].entry_id |
string |
Yes | |
queue.recent_events[].entry_state |
string |
Yes | |
queue.recent_events[].entry_version |
integer |
Yes | |
queue.recent_events[].id |
string |
Yes | |
queue.skip_ci_enabled |
boolean |
Yes | |
queue.state |
enum: active, paused |
Yes | |
queue.state_label |
string |
Yes | |
queue.state_version |
integer |
Yes | |
queue.target_branch |
string |
Yes | |
queue.terminal_history |
object |
Yes | |
queue.terminal_history.count |
integer |
Yes | |
queue.terminal_history.count_label |
string |
Yes | |
queue.terminal_history.last |
integer |
Yes | |
queue.terminal_history.limit |
integer |
Yes | |
queue.terminal_history.next |
integer |
Yes | |
queue.terminal_history.page |
integer |
Yes | |
queue.terminal_history.previous |
integer |
Yes | |
queue.updated_at |
string (date-time) |
No | |
queue.validation_mode |
enum: top_only, per_pr |
Yes | |
target_branches |
array of string |
No | Bookmark names for the target picker. Present only on the queue-page read (GET /vcs/merge_queues); mutation snapshots omit it. Empty while jj-backend is degraded. |
401: Unauthorized
403: The actor is not allowed to perform this queue mutation
404: Not found
409: The queue entry version changed
422: The requested state transition is invalid
502: Bad gateway
503: Merge queue rollout flag is disabled
POST /api/v1/organizations/{org_slug}/repos/{repo_slug}/vcs/merge_queues/{target}/entries
Operation ID: post_api_v1_organizations_org_slug_repos_repo_slug_vcs_merge_queues_target_entries.
Authentication: bearer token (bearerAuth).
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
org_slug |
path |
string |
Yes | |
repo_slug |
path |
string |
Yes | |
target |
path |
string |
Yes |
Request body
application/json
| Property | Type | Required | Description |
|---|---|---|---|
change_id |
string |
No | |
expected_target_commit_id |
string |
No | |
expected_target_version |
integer |
No | |
expected_version |
integer |
Yes | |
github_pr_number |
integer |
No | |
idempotency_key |
string |
Yes | |
kind |
enum: change, github_pr |
Yes | |
priority |
enum: normal, high |
No | |
when_ready |
boolean |
No |
Responses
200: Queue snapshot after idempotent enqueue
application/json
| Property | Type | Required | Description |
|---|---|---|---|
analytics |
object |
No | Queue performance for the reporting window. Present on queue reads only, mutation responses omit it rather than pay for a full window scan. |
analytics.average_ci_time_label |
string |
Yes | |
analytics.average_ci_time_ms |
integer |
Yes | |
analytics.average_outside_ci_time_label |
string |
Yes | |
analytics.average_outside_ci_time_ms |
integer |
Yes | Queue time not accounted for by CI, waiting behind earlier entries, plus the landing itself. |
analytics.average_queue_time_label |
string |
Yes | |
analytics.average_queue_time_ms |
integer |
Yes | |
analytics.ci_time_change_percent |
integer |
Yes | |
analytics.completed_count |
integer |
Yes | |
analytics.daily |
array of object |
Yes | |
analytics.daily[].average_ci_time_label |
string |
Yes | |
analytics.daily[].average_ci_time_ms |
integer |
Yes | |
analytics.daily[].average_outside_ci_time_label |
string |
Yes | |
analytics.daily[].average_outside_ci_time_ms |
integer |
Yes | |
analytics.daily[].average_queue_time_label |
string |
Yes | |
analytics.daily[].average_queue_time_ms |
integer |
Yes | |
analytics.daily[].completed_count |
integer |
Yes | |
analytics.daily[].date |
string (date) |
Yes | |
analytics.daily[].label |
string |
Yes | |
analytics.daily[].merged_count |
integer |
Yes | |
analytics.ends_at |
string (date-time) |
Yes | |
analytics.health |
object |
No | |
analytics.health.cancelled |
integer |
Yes | |
analytics.health.conflict |
integer |
Yes | |
analytics.health.daily |
array of object |
Yes | |
analytics.health.daily[].cancelled |
integer |
Yes | |
analytics.health.daily[].conflict |
integer |
Yes | |
analytics.health.daily[].date |
string (date) |
Yes | |
analytics.health.daily[].ejected |
integer |
Yes | |
analytics.health.daily[].error |
integer |
Yes | |
analytics.health.daily[].landed |
integer |
Yes | |
analytics.health.daily[].magic_merged |
integer |
Yes | |
analytics.health.daily[].needs_attention |
integer |
Yes | |
analytics.health.daily[].rebuilt |
integer |
Yes | |
analytics.health.daily[].recoverable |
integer |
Yes | |
analytics.health.daily[].recovered |
integer |
Yes | |
analytics.health.daily[].retried |
integer |
Yes | |
analytics.health.ejected |
integer |
Yes | |
analytics.health.ends_at |
string (date-time) |
Yes | |
analytics.health.error |
integer |
Yes | |
analytics.health.failures |
array of object |
Yes | |
analytics.health.failures[].count |
integer |
Yes | |
analytics.health.failures[].key |
string |
Yes | |
analytics.health.failures[].label |
string |
Yes | |
analytics.health.landed |
integer |
Yes | |
analytics.health.magic_merged |
integer |
Yes | |
analytics.health.needs_attention |
integer |
Yes | |
analytics.health.observed_count |
integer |
Yes | |
analytics.health.rebuilt |
integer |
Yes | |
analytics.health.recoverable |
integer |
Yes | |
analytics.health.recovered |
integer |
Yes | |
analytics.health.retried |
integer |
Yes | |
analytics.health.source |
enum: tinybird, outbox |
Yes | |
analytics.health.starts_at |
string (date-time) |
Yes | |
analytics.health.success_rate |
number |
Yes | |
analytics.merged_count |
integer |
Yes | |
analytics.outcomes |
array of object |
Yes | |
analytics.outcomes[].count |
integer |
Yes | |
analytics.outcomes[].key |
enum: merged, ci_failed, conflict, cancelled, other_failure |
Yes | |
analytics.outcomes[].label |
string |
Yes | |
analytics.peak_queue_time_label |
string |
Yes | |
analytics.peak_queue_time_ms |
integer |
Yes | |
analytics.queue_time_change_percent |
integer |
Yes | |
analytics.starts_at |
string (date-time) |
Yes | |
analytics.window_days |
enum: 7, 14, 30 |
Yes | |
policy |
object |
Yes | |
policy.auto_land_enabled |
boolean |
Yes | |
policy.github_connections |
array of object |
Yes | |
policy.github_connections[].id |
string |
Yes | |
policy.github_connections[].name |
string |
Yes | |
policy.github_merge_gate |
enum: branch_protection, vex_checks |
Yes | |
policy.github_primary_eligible |
boolean |
Yes | |
policy.merge_authority |
enum: vex_primary, github_primary |
Yes | |
policy.merge_authority_version |
integer |
Yes | |
policy.merge_github_repository_connection_id |
string |
Yes | |
policy.merge_policy_version |
integer |
Yes | |
policy.queue_concurrency |
integer |
Yes | |
policy.queue_concurrency_label |
string |
No | |
policy.queue_validation_mode |
enum: top_only, per_pr |
Yes | |
policy.repository_id |
string |
Yes | |
policy.repository_queue_concurrency |
integer |
Yes | |
policy.switch_blockers |
array of string |
Yes | |
queue |
object |
Yes | |
queue.active_entry_count |
integer |
Yes | |
queue.capabilities |
object |
Yes | |
queue.capabilities.can_enqueue |
boolean |
Yes | |
queue.capabilities.can_merge |
boolean |
Yes | |
queue.capabilities.can_pause |
boolean |
Yes | |
queue.capabilities.can_promote |
boolean |
Yes | |
queue.capabilities.can_resume |
boolean |
Yes | |
queue.capabilities.can_retry |
boolean |
Yes | |
queue.concurrency |
integer |
Yes | |
queue.created_at |
string (date-time) |
No | |
queue.entries |
array of object |
Yes | |
queue.entries[].author |
object |
Yes | |
queue.entries[].author.email |
string |
Yes | |
queue.entries[].author.id |
string |
Yes | |
queue.entries[].author.name |
string |
Yes | |
queue.entries[].author.picture_url |
string |
Yes | |
queue.entries[].batch |
object |
No | Latest durable execution batch for this entry. Current identifies shared candidate validation; older released attempts remain diagnostic history. |
queue.entries[].batch.candidate_sha |
string |
Yes | |
queue.entries[].batch.current |
boolean |
Yes | |
queue.entries[].batch.id |
string |
Yes | |
queue.entries[].batch.reason |
string |
Yes | |
queue.entries[].batch.scopes |
array of object |
Yes | |
queue.entries[].batch.scopes[].changes |
array of object |
Yes | |
queue.entries[].batch.scopes[].entry_id |
string |
Yes | |
queue.entries[].batch.state |
string |
Yes | |
queue.entries[].batch.status_label |
string |
Yes | |
queue.entries[].candidate_ref |
string |
No | |
queue.entries[].candidate_sha |
string |
No | |
queue.entries[].capabilities |
object |
Yes | |
queue.entries[].capabilities.can_cancel |
boolean |
Yes | |
queue.entries[].capabilities.can_emergency_land |
boolean |
No | |
queue.entries[].capabilities.can_merge |
boolean |
Yes | |
queue.entries[].capabilities.can_promote |
boolean |
Yes | |
queue.entries[].capabilities.can_retry |
boolean |
Yes | |
queue.entries[].capabilities.can_validate_full |
boolean |
No | |
queue.entries[].change_generation |
integer |
No | |
queue.entries[].change_id |
string |
No | |
queue.entries[].change_number |
integer |
No | |
queue.entries[].change_reference |
string |
No | |
queue.entries[].checks_status |
enum: pending, passing, failing, stale, missing |
Yes | |
queue.entries[].checks_target |
object |
Yes | |
queue.entries[].checks_target.kind |
enum: commit |
Yes | |
queue.entries[].checks_target.value |
string |
Yes | |
queue.entries[].ci_impact |
object |
No | Persisted candidate CI selection, not a claim that checks passed. Null when no impact receipt exists. |
queue.entries[].ci_impact.affected_components |
array of string |
Yes | |
queue.entries[].ci_impact.base_sha |
string |
Yes | |
queue.entries[].ci_impact.candidate_sha |
string |
Yes | |
queue.entries[].ci_impact.changed_path_count |
integer |
Yes | |
queue.entries[].ci_impact.digest |
string |
Yes | |
queue.entries[].ci_impact.mode |
string |
Yes | |
queue.entries[].ci_impact.reason |
string |
Yes | |
queue.entries[].ci_impact.status |
enum: current, stale |
Yes | |
queue.entries[].ci_impact.suite_ids |
array of string |
Yes | |
queue.entries[].ci_impact.summary |
string |
Yes | |
queue.entries[].ci_impact.workflows |
array of object |
Yes | |
queue.entries[].ci_impact.workflows[].path |
string |
Yes | |
queue.entries[].ci_impact.workflows[].scheduled |
boolean |
Yes | |
queue.entries[].ci_impact.workflows[].selected |
boolean |
Yes | |
queue.entries[].ci_skipped |
boolean |
No | |
queue.entries[].ci_time_label |
string |
Yes | |
queue.entries[].ci_time_ms |
integer |
Yes | |
queue.entries[].completed_at |
string (date-time) |
Yes | |
queue.entries[].completed_at_label |
string |
No | |
queue.entries[].created_at |
string (date-time) |
No | |
queue.entries[].ejection_reason |
string |
No | |
queue.entries[].enqueued_by |
object |
Yes | |
queue.entries[].enqueued_by.email |
string |
Yes | |
queue.entries[].enqueued_by.id |
string |
Yes | |
queue.entries[].enqueued_by.name |
string |
Yes | |
queue.entries[].enqueued_by.picture_url |
string |
Yes | |
queue.entries[].error_message |
string |
No | |
queue.entries[].eta |
object |
Yes | |
queue.entries[].eta.detail |
string |
Yes | The sentence behind the headline, including the caveat that a readiness estimate is not a landing estimate. |
queue.entries[].eta.in_progress |
boolean |
Yes | The queue is acting on this entry right now, so the client shows activity rather than a countdown. |
queue.entries[].eta.label |
string |
Yes | The headline for this estimate, for example "Ready now", "~28s to ready", "Landing now". |
queue.entries[].eta.reason |
string |
Yes | |
queue.entries[].eta.remaining_label |
string |
Yes | |
queue.entries[].eta.remaining_ms |
integer |
Yes | |
queue.entries[].eta.status |
enum: available, unavailable |
Yes | |
queue.entries[].eta.target |
enum: readiness, landing |
Yes | What the estimate is about. Readiness is validation finishing; landing is the merge itself, which is observed rather than predicted. |
queue.entries[].full_ci_requested |
boolean |
No | |
queue.entries[].github_pr_number |
integer |
No | |
queue.entries[].id |
string |
Yes | |
queue.entries[].kind |
enum: change, github_pr |
Yes | |
queue.entries[].members |
array of object |
Yes | |
queue.entries[].members[].change_id |
string |
No | |
queue.entries[].members[].change_key |
string |
No | |
queue.entries[].members[].change_number |
integer |
No | |
queue.entries[].members[].change_reference |
string |
No | |
queue.entries[].members[].checks_status |
string |
No | |
queue.entries[].members[].error_message |
string |
No | |
queue.entries[].members[].github_merge_commit_sha |
string |
No | |
queue.entries[].members[].github_pr_number |
integer |
No | |
queue.entries[].members[].head_sha |
string |
No | |
queue.entries[].members[].id |
string |
Yes | |
queue.entries[].members[].position |
integer |
Yes | |
queue.entries[].members[].state |
string |
Yes | |
queue.entries[].members[].title |
string |
No | |
queue.entries[].merge_when_ready |
boolean |
Yes | |
queue.entries[].outcome |
enum: merged, ci_failed, conflict, cancelled, other_failure |
Yes | |
queue.entries[].outcome_label |
string |
Yes | The same wording the analytics breakdown gives this outcome, so one entry and the legend cannot disagree. |
queue.entries[].phase |
enum: active, terminal |
Yes | Server-owned grouping of the entry state machine. Active entries belong in the live queue view; terminal entries belong in outcome history. |
queue.entries[].position |
integer |
Yes | |
queue.entries[].priority |
enum: normal, high |
No | |
queue.entries[].processing_checkpoint |
string |
Yes | |
queue.entries[].queue_position |
integer |
Yes | |
queue.entries[].queue_time_label |
string |
Yes | |
queue.entries[].queue_time_ms |
integer |
Yes | |
queue.entries[].recovery |
object |
Yes | Present on a stopped entry. Rails owns the wording; the client renders this rather than the raw ejection_reason, and uses checks_target to open the candidate's checks. |
queue.entries[].recovery.action_kind |
enum: open_checks, open_change, open_integration, open_queue |
Yes | |
queue.entries[].recovery.action_required_by |
enum: author, repo_admin, vex |
Yes | |
queue.entries[].recovery.kind |
enum: checks_failed, landing_conflict, github_state_changed, github_access_problem, queue_policy_changed, merge_outcome_unknown, ... |
Yes | |
queue.entries[].recovery.next_step |
string |
Yes | |
queue.entries[].recovery.summary |
string |
Yes | |
queue.entries[].recovery_count |
integer |
Yes | |
queue.entries[].selected_count |
integer |
No | |
queue.entries[].selected_count_label |
string |
No | |
queue.entries[].speculation |
object |
Yes | |
queue.entries[].speculation.ahead_count |
integer |
Yes | |
queue.entries[].speculation.base_ref |
string |
Yes | |
queue.entries[].speculation.base_sha |
string |
Yes | |
queue.entries[].speculation.build_duration_ms |
integer |
Yes | |
queue.entries[].speculation.candidate_ref |
string |
Yes | |
queue.entries[].speculation.candidate_sha |
string |
Yes | |
queue.entries[].speculation.cleanup_status |
enum: pending, cleaned, failed, not_required |
Yes | |
queue.entries[].speculation.kind |
enum: exact_target, predicted_trunk |
Yes | |
queue.entries[].speculation.prefix_fingerprint |
string |
Yes | |
queue.entries[].speculation.target_sha |
string |
Yes | |
queue.entries[].stack |
object |
Yes | |
queue.entries[].stack.code |
string |
Yes | |
queue.entries[].stack.member_count |
integer |
Yes | |
queue.entries[].stack.name |
string |
Yes | |
queue.entries[].stack.reference |
string |
Yes | |
queue.entries[].started_at |
string (date-time) |
Yes | |
queue.entries[].started_at_label |
string |
No | |
queue.entries[].state |
enum: queued, validating, ready, merging, merged, ejected, ... |
Yes | |
queue.entries[].state_label |
string |
Yes | What this state is called in the product. Landing is the product word, so the client renders this rather than title-casing the machine state. |
queue.entries[].title |
string |
Yes | |
queue.entries[].updated_at |
string (date-time) |
No | |
queue.entries[].version |
integer |
Yes | |
queue.entry_count_label |
string |
Yes | |
queue.id |
string |
Yes | |
queue.last_error |
string |
No | |
queue.last_ticked_at |
string (date-time) |
No | |
queue.merge_authority |
enum: vex_primary, github_primary |
Yes | |
queue.merge_authority_version |
integer |
Yes | |
queue.merge_policy_version |
integer |
Yes | |
queue.recent_events |
array of object |
Yes | Newest-first durable queue audit events, limited to 50 records. |
queue.recent_events[].action |
string |
Yes | |
queue.recent_events[].created_at |
string (date-time) |
Yes | |
queue.recent_events[].entry_id |
string |
Yes | |
queue.recent_events[].entry_state |
string |
Yes | |
queue.recent_events[].entry_version |
integer |
Yes | |
queue.recent_events[].id |
string |
Yes | |
queue.skip_ci_enabled |
boolean |
Yes | |
queue.state |
enum: active, paused |
Yes | |
queue.state_label |
string |
Yes | |
queue.state_version |
integer |
Yes | |
queue.target_branch |
string |
Yes | |
queue.terminal_history |
object |
Yes | |
queue.terminal_history.count |
integer |
Yes | |
queue.terminal_history.count_label |
string |
Yes | |
queue.terminal_history.last |
integer |
Yes | |
queue.terminal_history.limit |
integer |
Yes | |
queue.terminal_history.next |
integer |
Yes | |
queue.terminal_history.page |
integer |
Yes | |
queue.terminal_history.previous |
integer |
Yes | |
queue.updated_at |
string (date-time) |
No | |
queue.validation_mode |
enum: top_only, per_pr |
Yes | |
target_branches |
array of string |
No | Bookmark names for the target picker. Present only on the queue-page read (GET /vcs/merge_queues); mutation snapshots omit it. Empty while jj-backend is degraded. |
201: Queue snapshot after enqueue
application/json
| Property | Type | Required | Description |
|---|---|---|---|
analytics |
object |
No | Queue performance for the reporting window. Present on queue reads only, mutation responses omit it rather than pay for a full window scan. |
analytics.average_ci_time_label |
string |
Yes | |
analytics.average_ci_time_ms |
integer |
Yes | |
analytics.average_outside_ci_time_label |
string |
Yes | |
analytics.average_outside_ci_time_ms |
integer |
Yes | Queue time not accounted for by CI, waiting behind earlier entries, plus the landing itself. |
analytics.average_queue_time_label |
string |
Yes | |
analytics.average_queue_time_ms |
integer |
Yes | |
analytics.ci_time_change_percent |
integer |
Yes | |
analytics.completed_count |
integer |
Yes | |
analytics.daily |
array of object |
Yes | |
analytics.daily[].average_ci_time_label |
string |
Yes | |
analytics.daily[].average_ci_time_ms |
integer |
Yes | |
analytics.daily[].average_outside_ci_time_label |
string |
Yes | |
analytics.daily[].average_outside_ci_time_ms |
integer |
Yes | |
analytics.daily[].average_queue_time_label |
string |
Yes | |
analytics.daily[].average_queue_time_ms |
integer |
Yes | |
analytics.daily[].completed_count |
integer |
Yes | |
analytics.daily[].date |
string (date) |
Yes | |
analytics.daily[].label |
string |
Yes | |
analytics.daily[].merged_count |
integer |
Yes | |
analytics.ends_at |
string (date-time) |
Yes | |
analytics.health |
object |
No | |
analytics.health.cancelled |
integer |
Yes | |
analytics.health.conflict |
integer |
Yes | |
analytics.health.daily |
array of object |
Yes | |
analytics.health.daily[].cancelled |
integer |
Yes | |
analytics.health.daily[].conflict |
integer |
Yes | |
analytics.health.daily[].date |
string (date) |
Yes | |
analytics.health.daily[].ejected |
integer |
Yes | |
analytics.health.daily[].error |
integer |
Yes | |
analytics.health.daily[].landed |
integer |
Yes | |
analytics.health.daily[].magic_merged |
integer |
Yes | |
analytics.health.daily[].needs_attention |
integer |
Yes | |
analytics.health.daily[].rebuilt |
integer |
Yes | |
analytics.health.daily[].recoverable |
integer |
Yes | |
analytics.health.daily[].recovered |
integer |
Yes | |
analytics.health.daily[].retried |
integer |
Yes | |
analytics.health.ejected |
integer |
Yes | |
analytics.health.ends_at |
string (date-time) |
Yes | |
analytics.health.error |
integer |
Yes | |
analytics.health.failures |
array of object |
Yes | |
analytics.health.failures[].count |
integer |
Yes | |
analytics.health.failures[].key |
string |
Yes | |
analytics.health.failures[].label |
string |
Yes | |
analytics.health.landed |
integer |
Yes | |
analytics.health.magic_merged |
integer |
Yes | |
analytics.health.needs_attention |
integer |
Yes | |
analytics.health.observed_count |
integer |
Yes | |
analytics.health.rebuilt |
integer |
Yes | |
analytics.health.recoverable |
integer |
Yes | |
analytics.health.recovered |
integer |
Yes | |
analytics.health.retried |
integer |
Yes | |
analytics.health.source |
enum: tinybird, outbox |
Yes | |
analytics.health.starts_at |
string (date-time) |
Yes | |
analytics.health.success_rate |
number |
Yes | |
analytics.merged_count |
integer |
Yes | |
analytics.outcomes |
array of object |
Yes | |
analytics.outcomes[].count |
integer |
Yes | |
analytics.outcomes[].key |
enum: merged, ci_failed, conflict, cancelled, other_failure |
Yes | |
analytics.outcomes[].label |
string |
Yes | |
analytics.peak_queue_time_label |
string |
Yes | |
analytics.peak_queue_time_ms |
integer |
Yes | |
analytics.queue_time_change_percent |
integer |
Yes | |
analytics.starts_at |
string (date-time) |
Yes | |
analytics.window_days |
enum: 7, 14, 30 |
Yes | |
policy |
object |
Yes | |
policy.auto_land_enabled |
boolean |
Yes | |
policy.github_connections |
array of object |
Yes | |
policy.github_connections[].id |
string |
Yes | |
policy.github_connections[].name |
string |
Yes | |
policy.github_merge_gate |
enum: branch_protection, vex_checks |
Yes | |
policy.github_primary_eligible |
boolean |
Yes | |
policy.merge_authority |
enum: vex_primary, github_primary |
Yes | |
policy.merge_authority_version |
integer |
Yes | |
policy.merge_github_repository_connection_id |
string |
Yes | |
policy.merge_policy_version |
integer |
Yes | |
policy.queue_concurrency |
integer |
Yes | |
policy.queue_concurrency_label |
string |
No | |
policy.queue_validation_mode |
enum: top_only, per_pr |
Yes | |
policy.repository_id |
string |
Yes | |
policy.repository_queue_concurrency |
integer |
Yes | |
policy.switch_blockers |
array of string |
Yes | |
queue |
object |
Yes | |
queue.active_entry_count |
integer |
Yes | |
queue.capabilities |
object |
Yes | |
queue.capabilities.can_enqueue |
boolean |
Yes | |
queue.capabilities.can_merge |
boolean |
Yes | |
queue.capabilities.can_pause |
boolean |
Yes | |
queue.capabilities.can_promote |
boolean |
Yes | |
queue.capabilities.can_resume |
boolean |
Yes | |
queue.capabilities.can_retry |
boolean |
Yes | |
queue.concurrency |
integer |
Yes | |
queue.created_at |
string (date-time) |
No | |
queue.entries |
array of object |
Yes | |
queue.entries[].author |
object |
Yes | |
queue.entries[].author.email |
string |
Yes | |
queue.entries[].author.id |
string |
Yes | |
queue.entries[].author.name |
string |
Yes | |
queue.entries[].author.picture_url |
string |
Yes | |
queue.entries[].batch |
object |
No | Latest durable execution batch for this entry. Current identifies shared candidate validation; older released attempts remain diagnostic history. |
queue.entries[].batch.candidate_sha |
string |
Yes | |
queue.entries[].batch.current |
boolean |
Yes | |
queue.entries[].batch.id |
string |
Yes | |
queue.entries[].batch.reason |
string |
Yes | |
queue.entries[].batch.scopes |
array of object |
Yes | |
queue.entries[].batch.scopes[].changes |
array of object |
Yes | |
queue.entries[].batch.scopes[].entry_id |
string |
Yes | |
queue.entries[].batch.state |
string |
Yes | |
queue.entries[].batch.status_label |
string |
Yes | |
queue.entries[].candidate_ref |
string |
No | |
queue.entries[].candidate_sha |
string |
No | |
queue.entries[].capabilities |
object |
Yes | |
queue.entries[].capabilities.can_cancel |
boolean |
Yes | |
queue.entries[].capabilities.can_emergency_land |
boolean |
No | |
queue.entries[].capabilities.can_merge |
boolean |
Yes | |
queue.entries[].capabilities.can_promote |
boolean |
Yes | |
queue.entries[].capabilities.can_retry |
boolean |
Yes | |
queue.entries[].capabilities.can_validate_full |
boolean |
No | |
queue.entries[].change_generation |
integer |
No | |
queue.entries[].change_id |
string |
No | |
queue.entries[].change_number |
integer |
No | |
queue.entries[].change_reference |
string |
No | |
queue.entries[].checks_status |
enum: pending, passing, failing, stale, missing |
Yes | |
queue.entries[].checks_target |
object |
Yes | |
queue.entries[].checks_target.kind |
enum: commit |
Yes | |
queue.entries[].checks_target.value |
string |
Yes | |
queue.entries[].ci_impact |
object |
No | Persisted candidate CI selection, not a claim that checks passed. Null when no impact receipt exists. |
queue.entries[].ci_impact.affected_components |
array of string |
Yes | |
queue.entries[].ci_impact.base_sha |
string |
Yes | |
queue.entries[].ci_impact.candidate_sha |
string |
Yes | |
queue.entries[].ci_impact.changed_path_count |
integer |
Yes | |
queue.entries[].ci_impact.digest |
string |
Yes | |
queue.entries[].ci_impact.mode |
string |
Yes | |
queue.entries[].ci_impact.reason |
string |
Yes | |
queue.entries[].ci_impact.status |
enum: current, stale |
Yes | |
queue.entries[].ci_impact.suite_ids |
array of string |
Yes | |
queue.entries[].ci_impact.summary |
string |
Yes | |
queue.entries[].ci_impact.workflows |
array of object |
Yes | |
queue.entries[].ci_impact.workflows[].path |
string |
Yes | |
queue.entries[].ci_impact.workflows[].scheduled |
boolean |
Yes | |
queue.entries[].ci_impact.workflows[].selected |
boolean |
Yes | |
queue.entries[].ci_skipped |
boolean |
No | |
queue.entries[].ci_time_label |
string |
Yes | |
queue.entries[].ci_time_ms |
integer |
Yes | |
queue.entries[].completed_at |
string (date-time) |
Yes | |
queue.entries[].completed_at_label |
string |
No | |
queue.entries[].created_at |
string (date-time) |
No | |
queue.entries[].ejection_reason |
string |
No | |
queue.entries[].enqueued_by |
object |
Yes | |
queue.entries[].enqueued_by.email |
string |
Yes | |
queue.entries[].enqueued_by.id |
string |
Yes | |
queue.entries[].enqueued_by.name |
string |
Yes | |
queue.entries[].enqueued_by.picture_url |
string |
Yes | |
queue.entries[].error_message |
string |
No | |
queue.entries[].eta |
object |
Yes | |
queue.entries[].eta.detail |
string |
Yes | The sentence behind the headline, including the caveat that a readiness estimate is not a landing estimate. |
queue.entries[].eta.in_progress |
boolean |
Yes | The queue is acting on this entry right now, so the client shows activity rather than a countdown. |
queue.entries[].eta.label |
string |
Yes | The headline for this estimate, for example "Ready now", "~28s to ready", "Landing now". |
queue.entries[].eta.reason |
string |
Yes | |
queue.entries[].eta.remaining_label |
string |
Yes | |
queue.entries[].eta.remaining_ms |
integer |
Yes | |
queue.entries[].eta.status |
enum: available, unavailable |
Yes | |
queue.entries[].eta.target |
enum: readiness, landing |
Yes | What the estimate is about. Readiness is validation finishing; landing is the merge itself, which is observed rather than predicted. |
queue.entries[].full_ci_requested |
boolean |
No | |
queue.entries[].github_pr_number |
integer |
No | |
queue.entries[].id |
string |
Yes | |
queue.entries[].kind |
enum: change, github_pr |
Yes | |
queue.entries[].members |
array of object |
Yes | |
queue.entries[].members[].change_id |
string |
No | |
queue.entries[].members[].change_key |
string |
No | |
queue.entries[].members[].change_number |
integer |
No | |
queue.entries[].members[].change_reference |
string |
No | |
queue.entries[].members[].checks_status |
string |
No | |
queue.entries[].members[].error_message |
string |
No | |
queue.entries[].members[].github_merge_commit_sha |
string |
No | |
queue.entries[].members[].github_pr_number |
integer |
No | |
queue.entries[].members[].head_sha |
string |
No | |
queue.entries[].members[].id |
string |
Yes | |
queue.entries[].members[].position |
integer |
Yes | |
queue.entries[].members[].state |
string |
Yes | |
queue.entries[].members[].title |
string |
No | |
queue.entries[].merge_when_ready |
boolean |
Yes | |
queue.entries[].outcome |
enum: merged, ci_failed, conflict, cancelled, other_failure |
Yes | |
queue.entries[].outcome_label |
string |
Yes | The same wording the analytics breakdown gives this outcome, so one entry and the legend cannot disagree. |
queue.entries[].phase |
enum: active, terminal |
Yes | Server-owned grouping of the entry state machine. Active entries belong in the live queue view; terminal entries belong in outcome history. |
queue.entries[].position |
integer |
Yes | |
queue.entries[].priority |
enum: normal, high |
No | |
queue.entries[].processing_checkpoint |
string |
Yes | |
queue.entries[].queue_position |
integer |
Yes | |
queue.entries[].queue_time_label |
string |
Yes | |
queue.entries[].queue_time_ms |
integer |
Yes | |
queue.entries[].recovery |
object |
Yes | Present on a stopped entry. Rails owns the wording; the client renders this rather than the raw ejection_reason, and uses checks_target to open the candidate's checks. |
queue.entries[].recovery.action_kind |
enum: open_checks, open_change, open_integration, open_queue |
Yes | |
queue.entries[].recovery.action_required_by |
enum: author, repo_admin, vex |
Yes | |
queue.entries[].recovery.kind |
enum: checks_failed, landing_conflict, github_state_changed, github_access_problem, queue_policy_changed, merge_outcome_unknown, ... |
Yes | |
queue.entries[].recovery.next_step |
string |
Yes | |
queue.entries[].recovery.summary |
string |
Yes | |
queue.entries[].recovery_count |
integer |
Yes | |
queue.entries[].selected_count |
integer |
No | |
queue.entries[].selected_count_label |
string |
No | |
queue.entries[].speculation |
object |
Yes | |
queue.entries[].speculation.ahead_count |
integer |
Yes | |
queue.entries[].speculation.base_ref |
string |
Yes | |
queue.entries[].speculation.base_sha |
string |
Yes | |
queue.entries[].speculation.build_duration_ms |
integer |
Yes | |
queue.entries[].speculation.candidate_ref |
string |
Yes | |
queue.entries[].speculation.candidate_sha |
string |
Yes | |
queue.entries[].speculation.cleanup_status |
enum: pending, cleaned, failed, not_required |
Yes | |
queue.entries[].speculation.kind |
enum: exact_target, predicted_trunk |
Yes | |
queue.entries[].speculation.prefix_fingerprint |
string |
Yes | |
queue.entries[].speculation.target_sha |
string |
Yes | |
queue.entries[].stack |
object |
Yes | |
queue.entries[].stack.code |
string |
Yes | |
queue.entries[].stack.member_count |
integer |
Yes | |
queue.entries[].stack.name |
string |
Yes | |
queue.entries[].stack.reference |
string |
Yes | |
queue.entries[].started_at |
string (date-time) |
Yes | |
queue.entries[].started_at_label |
string |
No | |
queue.entries[].state |
enum: queued, validating, ready, merging, merged, ejected, ... |
Yes | |
queue.entries[].state_label |
string |
Yes | What this state is called in the product. Landing is the product word, so the client renders this rather than title-casing the machine state. |
queue.entries[].title |
string |
Yes | |
queue.entries[].updated_at |
string (date-time) |
No | |
queue.entries[].version |
integer |
Yes | |
queue.entry_count_label |
string |
Yes | |
queue.id |
string |
Yes | |
queue.last_error |
string |
No | |
queue.last_ticked_at |
string (date-time) |
No | |
queue.merge_authority |
enum: vex_primary, github_primary |
Yes | |
queue.merge_authority_version |
integer |
Yes | |
queue.merge_policy_version |
integer |
Yes | |
queue.recent_events |
array of object |
Yes | Newest-first durable queue audit events, limited to 50 records. |
queue.recent_events[].action |
string |
Yes | |
queue.recent_events[].created_at |
string (date-time) |
Yes | |
queue.recent_events[].entry_id |
string |
Yes | |
queue.recent_events[].entry_state |
string |
Yes | |
queue.recent_events[].entry_version |
integer |
Yes | |
queue.recent_events[].id |
string |
Yes | |
queue.skip_ci_enabled |
boolean |
Yes | |
queue.state |
enum: active, paused |
Yes | |
queue.state_label |
string |
Yes | |
queue.state_version |
integer |
Yes | |
queue.target_branch |
string |
Yes | |
queue.terminal_history |
object |
Yes | |
queue.terminal_history.count |
integer |
Yes | |
queue.terminal_history.count_label |
string |
Yes | |
queue.terminal_history.last |
integer |
Yes | |
queue.terminal_history.limit |
integer |
Yes | |
queue.terminal_history.next |
integer |
Yes | |
queue.terminal_history.page |
integer |
Yes | |
queue.terminal_history.previous |
integer |
Yes | |
queue.updated_at |
string (date-time) |
No | |
queue.validation_mode |
enum: top_only, per_pr |
Yes | |
target_branches |
array of string |
No | Bookmark names for the target picker. Present only on the queue-page read (GET /vcs/merge_queues); mutation snapshots omit it. Empty while jj-backend is degraded. |
401: Unauthorized
403: Forbidden
404: Not found
409: The queue or authority version changed
422: The entry is not eligible for this queue
502: Bad gateway
503: Merge queue rollout flag is disabled
remove
DELETE /api/v1/organizations/{org_slug}/repos/{repo_slug}/vcs/merge_queues/{target}/entries/{id}
Operation ID: delete_api_v1_organizations_org_slug_repos_repo_slug_vcs_merge_queues_target_entries_id_.
Authentication: bearer token (bearerAuth).
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
org_slug |
path |
string |
Yes | |
repo_slug |
path |
string |
Yes | |
target |
path |
string |
Yes | |
id |
path |
string |
Yes |
Request body
application/json
| Property | Type | Required | Description |
|---|---|---|---|
expected_version |
integer |
Yes |
Responses
200: Updated queue snapshot
application/json
| Property | Type | Required | Description |
|---|---|---|---|
analytics |
object |
No | Queue performance for the reporting window. Present on queue reads only, mutation responses omit it rather than pay for a full window scan. |
analytics.average_ci_time_label |
string |
Yes | |
analytics.average_ci_time_ms |
integer |
Yes | |
analytics.average_outside_ci_time_label |
string |
Yes | |
analytics.average_outside_ci_time_ms |
integer |
Yes | Queue time not accounted for by CI, waiting behind earlier entries, plus the landing itself. |
analytics.average_queue_time_label |
string |
Yes | |
analytics.average_queue_time_ms |
integer |
Yes | |
analytics.ci_time_change_percent |
integer |
Yes | |
analytics.completed_count |
integer |
Yes | |
analytics.daily |
array of object |
Yes | |
analytics.daily[].average_ci_time_label |
string |
Yes | |
analytics.daily[].average_ci_time_ms |
integer |
Yes | |
analytics.daily[].average_outside_ci_time_label |
string |
Yes | |
analytics.daily[].average_outside_ci_time_ms |
integer |
Yes | |
analytics.daily[].average_queue_time_label |
string |
Yes | |
analytics.daily[].average_queue_time_ms |
integer |
Yes | |
analytics.daily[].completed_count |
integer |
Yes | |
analytics.daily[].date |
string (date) |
Yes | |
analytics.daily[].label |
string |
Yes | |
analytics.daily[].merged_count |
integer |
Yes | |
analytics.ends_at |
string (date-time) |
Yes | |
analytics.health |
object |
No | |
analytics.health.cancelled |
integer |
Yes | |
analytics.health.conflict |
integer |
Yes | |
analytics.health.daily |
array of object |
Yes | |
analytics.health.daily[].cancelled |
integer |
Yes | |
analytics.health.daily[].conflict |
integer |
Yes | |
analytics.health.daily[].date |
string (date) |
Yes | |
analytics.health.daily[].ejected |
integer |
Yes | |
analytics.health.daily[].error |
integer |
Yes | |
analytics.health.daily[].landed |
integer |
Yes | |
analytics.health.daily[].magic_merged |
integer |
Yes | |
analytics.health.daily[].needs_attention |
integer |
Yes | |
analytics.health.daily[].rebuilt |
integer |
Yes | |
analytics.health.daily[].recoverable |
integer |
Yes | |
analytics.health.daily[].recovered |
integer |
Yes | |
analytics.health.daily[].retried |
integer |
Yes | |
analytics.health.ejected |
integer |
Yes | |
analytics.health.ends_at |
string (date-time) |
Yes | |
analytics.health.error |
integer |
Yes | |
analytics.health.failures |
array of object |
Yes | |
analytics.health.failures[].count |
integer |
Yes | |
analytics.health.failures[].key |
string |
Yes | |
analytics.health.failures[].label |
string |
Yes | |
analytics.health.landed |
integer |
Yes | |
analytics.health.magic_merged |
integer |
Yes | |
analytics.health.needs_attention |
integer |
Yes | |
analytics.health.observed_count |
integer |
Yes | |
analytics.health.rebuilt |
integer |
Yes | |
analytics.health.recoverable |
integer |
Yes | |
analytics.health.recovered |
integer |
Yes | |
analytics.health.retried |
integer |
Yes | |
analytics.health.source |
enum: tinybird, outbox |
Yes | |
analytics.health.starts_at |
string (date-time) |
Yes | |
analytics.health.success_rate |
number |
Yes | |
analytics.merged_count |
integer |
Yes | |
analytics.outcomes |
array of object |
Yes | |
analytics.outcomes[].count |
integer |
Yes | |
analytics.outcomes[].key |
enum: merged, ci_failed, conflict, cancelled, other_failure |
Yes | |
analytics.outcomes[].label |
string |
Yes | |
analytics.peak_queue_time_label |
string |
Yes | |
analytics.peak_queue_time_ms |
integer |
Yes | |
analytics.queue_time_change_percent |
integer |
Yes | |
analytics.starts_at |
string (date-time) |
Yes | |
analytics.window_days |
enum: 7, 14, 30 |
Yes | |
policy |
object |
Yes | |
policy.auto_land_enabled |
boolean |
Yes | |
policy.github_connections |
array of object |
Yes | |
policy.github_connections[].id |
string |
Yes | |
policy.github_connections[].name |
string |
Yes | |
policy.github_merge_gate |
enum: branch_protection, vex_checks |
Yes | |
policy.github_primary_eligible |
boolean |
Yes | |
policy.merge_authority |
enum: vex_primary, github_primary |
Yes | |
policy.merge_authority_version |
integer |
Yes | |
policy.merge_github_repository_connection_id |
string |
Yes | |
policy.merge_policy_version |
integer |
Yes | |
policy.queue_concurrency |
integer |
Yes | |
policy.queue_concurrency_label |
string |
No | |
policy.queue_validation_mode |
enum: top_only, per_pr |
Yes | |
policy.repository_id |
string |
Yes | |
policy.repository_queue_concurrency |
integer |
Yes | |
policy.switch_blockers |
array of string |
Yes | |
queue |
object |
Yes | |
queue.active_entry_count |
integer |
Yes | |
queue.capabilities |
object |
Yes | |
queue.capabilities.can_enqueue |
boolean |
Yes | |
queue.capabilities.can_merge |
boolean |
Yes | |
queue.capabilities.can_pause |
boolean |
Yes | |
queue.capabilities.can_promote |
boolean |
Yes | |
queue.capabilities.can_resume |
boolean |
Yes | |
queue.capabilities.can_retry |
boolean |
Yes | |
queue.concurrency |
integer |
Yes | |
queue.created_at |
string (date-time) |
No | |
queue.entries |
array of object |
Yes | |
queue.entries[].author |
object |
Yes | |
queue.entries[].author.email |
string |
Yes | |
queue.entries[].author.id |
string |
Yes | |
queue.entries[].author.name |
string |
Yes | |
queue.entries[].author.picture_url |
string |
Yes | |
queue.entries[].batch |
object |
No | Latest durable execution batch for this entry. Current identifies shared candidate validation; older released attempts remain diagnostic history. |
queue.entries[].batch.candidate_sha |
string |
Yes | |
queue.entries[].batch.current |
boolean |
Yes | |
queue.entries[].batch.id |
string |
Yes | |
queue.entries[].batch.reason |
string |
Yes | |
queue.entries[].batch.scopes |
array of object |
Yes | |
queue.entries[].batch.scopes[].changes |
array of object |
Yes | |
queue.entries[].batch.scopes[].entry_id |
string |
Yes | |
queue.entries[].batch.state |
string |
Yes | |
queue.entries[].batch.status_label |
string |
Yes | |
queue.entries[].candidate_ref |
string |
No | |
queue.entries[].candidate_sha |
string |
No | |
queue.entries[].capabilities |
object |
Yes | |
queue.entries[].capabilities.can_cancel |
boolean |
Yes | |
queue.entries[].capabilities.can_emergency_land |
boolean |
No | |
queue.entries[].capabilities.can_merge |
boolean |
Yes | |
queue.entries[].capabilities.can_promote |
boolean |
Yes | |
queue.entries[].capabilities.can_retry |
boolean |
Yes | |
queue.entries[].capabilities.can_validate_full |
boolean |
No | |
queue.entries[].change_generation |
integer |
No | |
queue.entries[].change_id |
string |
No | |
queue.entries[].change_number |
integer |
No | |
queue.entries[].change_reference |
string |
No | |
queue.entries[].checks_status |
enum: pending, passing, failing, stale, missing |
Yes | |
queue.entries[].checks_target |
object |
Yes | |
queue.entries[].checks_target.kind |
enum: commit |
Yes | |
queue.entries[].checks_target.value |
string |
Yes | |
queue.entries[].ci_impact |
object |
No | Persisted candidate CI selection, not a claim that checks passed. Null when no impact receipt exists. |
queue.entries[].ci_impact.affected_components |
array of string |
Yes | |
queue.entries[].ci_impact.base_sha |
string |
Yes | |
queue.entries[].ci_impact.candidate_sha |
string |
Yes | |
queue.entries[].ci_impact.changed_path_count |
integer |
Yes | |
queue.entries[].ci_impact.digest |
string |
Yes | |
queue.entries[].ci_impact.mode |
string |
Yes | |
queue.entries[].ci_impact.reason |
string |
Yes | |
queue.entries[].ci_impact.status |
enum: current, stale |
Yes | |
queue.entries[].ci_impact.suite_ids |
array of string |
Yes | |
queue.entries[].ci_impact.summary |
string |
Yes | |
queue.entries[].ci_impact.workflows |
array of object |
Yes | |
queue.entries[].ci_impact.workflows[].path |
string |
Yes | |
queue.entries[].ci_impact.workflows[].scheduled |
boolean |
Yes | |
queue.entries[].ci_impact.workflows[].selected |
boolean |
Yes | |
queue.entries[].ci_skipped |
boolean |
No | |
queue.entries[].ci_time_label |
string |
Yes | |
queue.entries[].ci_time_ms |
integer |
Yes | |
queue.entries[].completed_at |
string (date-time) |
Yes | |
queue.entries[].completed_at_label |
string |
No | |
queue.entries[].created_at |
string (date-time) |
No | |
queue.entries[].ejection_reason |
string |
No | |
queue.entries[].enqueued_by |
object |
Yes | |
queue.entries[].enqueued_by.email |
string |
Yes | |
queue.entries[].enqueued_by.id |
string |
Yes | |
queue.entries[].enqueued_by.name |
string |
Yes | |
queue.entries[].enqueued_by.picture_url |
string |
Yes | |
queue.entries[].error_message |
string |
No | |
queue.entries[].eta |
object |
Yes | |
queue.entries[].eta.detail |
string |
Yes | The sentence behind the headline, including the caveat that a readiness estimate is not a landing estimate. |
queue.entries[].eta.in_progress |
boolean |
Yes | The queue is acting on this entry right now, so the client shows activity rather than a countdown. |
queue.entries[].eta.label |
string |
Yes | The headline for this estimate, for example "Ready now", "~28s to ready", "Landing now". |
queue.entries[].eta.reason |
string |
Yes | |
queue.entries[].eta.remaining_label |
string |
Yes | |
queue.entries[].eta.remaining_ms |
integer |
Yes | |
queue.entries[].eta.status |
enum: available, unavailable |
Yes | |
queue.entries[].eta.target |
enum: readiness, landing |
Yes | What the estimate is about. Readiness is validation finishing; landing is the merge itself, which is observed rather than predicted. |
queue.entries[].full_ci_requested |
boolean |
No | |
queue.entries[].github_pr_number |
integer |
No | |
queue.entries[].id |
string |
Yes | |
queue.entries[].kind |
enum: change, github_pr |
Yes | |
queue.entries[].members |
array of object |
Yes | |
queue.entries[].members[].change_id |
string |
No | |
queue.entries[].members[].change_key |
string |
No | |
queue.entries[].members[].change_number |
integer |
No | |
queue.entries[].members[].change_reference |
string |
No | |
queue.entries[].members[].checks_status |
string |
No | |
queue.entries[].members[].error_message |
string |
No | |
queue.entries[].members[].github_merge_commit_sha |
string |
No | |
queue.entries[].members[].github_pr_number |
integer |
No | |
queue.entries[].members[].head_sha |
string |
No | |
queue.entries[].members[].id |
string |
Yes | |
queue.entries[].members[].position |
integer |
Yes | |
queue.entries[].members[].state |
string |
Yes | |
queue.entries[].members[].title |
string |
No | |
queue.entries[].merge_when_ready |
boolean |
Yes | |
queue.entries[].outcome |
enum: merged, ci_failed, conflict, cancelled, other_failure |
Yes | |
queue.entries[].outcome_label |
string |
Yes | The same wording the analytics breakdown gives this outcome, so one entry and the legend cannot disagree. |
queue.entries[].phase |
enum: active, terminal |
Yes | Server-owned grouping of the entry state machine. Active entries belong in the live queue view; terminal entries belong in outcome history. |
queue.entries[].position |
integer |
Yes | |
queue.entries[].priority |
enum: normal, high |
No | |
queue.entries[].processing_checkpoint |
string |
Yes | |
queue.entries[].queue_position |
integer |
Yes | |
queue.entries[].queue_time_label |
string |
Yes | |
queue.entries[].queue_time_ms |
integer |
Yes | |
queue.entries[].recovery |
object |
Yes | Present on a stopped entry. Rails owns the wording; the client renders this rather than the raw ejection_reason, and uses checks_target to open the candidate's checks. |
queue.entries[].recovery.action_kind |
enum: open_checks, open_change, open_integration, open_queue |
Yes | |
queue.entries[].recovery.action_required_by |
enum: author, repo_admin, vex |
Yes | |
queue.entries[].recovery.kind |
enum: checks_failed, landing_conflict, github_state_changed, github_access_problem, queue_policy_changed, merge_outcome_unknown, ... |
Yes | |
queue.entries[].recovery.next_step |
string |
Yes | |
queue.entries[].recovery.summary |
string |
Yes | |
queue.entries[].recovery_count |
integer |
Yes | |
queue.entries[].selected_count |
integer |
No | |
queue.entries[].selected_count_label |
string |
No | |
queue.entries[].speculation |
object |
Yes | |
queue.entries[].speculation.ahead_count |
integer |
Yes | |
queue.entries[].speculation.base_ref |
string |
Yes | |
queue.entries[].speculation.base_sha |
string |
Yes | |
queue.entries[].speculation.build_duration_ms |
integer |
Yes | |
queue.entries[].speculation.candidate_ref |
string |
Yes | |
queue.entries[].speculation.candidate_sha |
string |
Yes | |
queue.entries[].speculation.cleanup_status |
enum: pending, cleaned, failed, not_required |
Yes | |
queue.entries[].speculation.kind |
enum: exact_target, predicted_trunk |
Yes | |
queue.entries[].speculation.prefix_fingerprint |
string |
Yes | |
queue.entries[].speculation.target_sha |
string |
Yes | |
queue.entries[].stack |
object |
Yes | |
queue.entries[].stack.code |
string |
Yes | |
queue.entries[].stack.member_count |
integer |
Yes | |
queue.entries[].stack.name |
string |
Yes | |
queue.entries[].stack.reference |
string |
Yes | |
queue.entries[].started_at |
string (date-time) |
Yes | |
queue.entries[].started_at_label |
string |
No | |
queue.entries[].state |
enum: queued, validating, ready, merging, merged, ejected, ... |
Yes | |
queue.entries[].state_label |
string |
Yes | What this state is called in the product. Landing is the product word, so the client renders this rather than title-casing the machine state. |
queue.entries[].title |
string |
Yes | |
queue.entries[].updated_at |
string (date-time) |
No | |
queue.entries[].version |
integer |
Yes | |
queue.entry_count_label |
string |
Yes | |
queue.id |
string |
Yes | |
queue.last_error |
string |
No | |
queue.last_ticked_at |
string (date-time) |
No | |
queue.merge_authority |
enum: vex_primary, github_primary |
Yes | |
queue.merge_authority_version |
integer |
Yes | |
queue.merge_policy_version |
integer |
Yes | |
queue.recent_events |
array of object |
Yes | Newest-first durable queue audit events, limited to 50 records. |
queue.recent_events[].action |
string |
Yes | |
queue.recent_events[].created_at |
string (date-time) |
Yes | |
queue.recent_events[].entry_id |
string |
Yes | |
queue.recent_events[].entry_state |
string |
Yes | |
queue.recent_events[].entry_version |
integer |
Yes | |
queue.recent_events[].id |
string |
Yes | |
queue.skip_ci_enabled |
boolean |
Yes | |
queue.state |
enum: active, paused |
Yes | |
queue.state_label |
string |
Yes | |
queue.state_version |
integer |
Yes | |
queue.target_branch |
string |
Yes | |
queue.terminal_history |
object |
Yes | |
queue.terminal_history.count |
integer |
Yes | |
queue.terminal_history.count_label |
string |
Yes | |
queue.terminal_history.last |
integer |
Yes | |
queue.terminal_history.limit |
integer |
Yes | |
queue.terminal_history.next |
integer |
Yes | |
queue.terminal_history.page |
integer |
Yes | |
queue.terminal_history.previous |
integer |
Yes | |
queue.updated_at |
string (date-time) |
No | |
queue.validation_mode |
enum: top_only, per_pr |
Yes | |
target_branches |
array of string |
No | Bookmark names for the target picker. Present only on the queue-page read (GET /vcs/merge_queues); mutation snapshots omit it. Empty while jj-backend is degraded. |