Skip to main content
GET
Get the configurable gate evaluation for a trail (repo_id addressing)

Authorizations

Authorization
string
header
required

OAuth 2.0 authorization code flow.

Path Parameters

repo_id
string
required

Repo id: placement ULID or public repo_

number
string
required

Trail number

Response

OK

blocking_failures
object[] | null
required
evaluated_at
string<date-time> | null
required
gates
object[] | null
required
gates_enabled
boolean
required
head_sha
string | null
required
mergeable
boolean
required

Whether the evaluated gates allow merging. Does not include merge conflicts or guarantee fresh CI evidence. Use /mergeability for current merge readiness.

$schema
string<uri>
read-only

A URL to the JSON Schema for this object.

Example:

"/api/v1/schemas/TrailGatesResponse.json"