# AgentReleaseGateClient

## Methods

### resolve()

```ts signature
resolve(agentId, scope): Promise<ReleaseGateResolution>;
```

The release gate a pin for `scope` is checked against: the most specific scope with one, at its latest active version; `releaseGate: null` when none applies.

#### Parameters

| Parameter | Type                  |
| --------- | --------------------- |
| `agentId` | `string` \| `AgentId` |
| `scope`   | `AgentPinScope`       |

#### Returns

`Promise`<`ReleaseGateResolution`>

#### Wire

GET /v1/agents/:agentId/release-gate
