# Activate a pairing session

**POST** `/v1/private/pairing/sessions/{sessionId}/activate`

Verify the activation HMAC and flip the runner row to CONNECTED

Base URL: `https://www.comet.com/opik/api`

Tags: `Pairing`

## Authorization

This operation requires no authorization.

## Path parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `sessionId` | `string` (uuid) | Yes | — |

## Request body

Optional. Media type: `application/json`

### Example request body

```json
{
  "hmac": "string",
  "runner_name": "string"
}
```

## Responses

| Status | Description | Media type |
| --- | --- | --- |
| `201` | Session activated | — |
| `403` | Invalid HMAC | `application/json` |
| `404` | Session not found | `application/json` |
| `409` | Session already activated | `application/json` |
| `422` | Unprocessable entity | `application/json` |
| `429` | Too many requests | `application/json` |

### Example response: 403 — Invalid HMAC

```json
{
  "code": 0,
  "details": "string",
  "message": "string"
}
```

### Example response: 404 — Session not found

```json
{
  "code": 0,
  "details": "string",
  "message": "string"
}
```

### Example response: 409 — Session already activated

```json
{
  "code": 0,
  "details": "string",
  "message": "string"
}
```

### Example response: 422 — Unprocessable entity

```json
{
  "code": 0,
  "details": "string",
  "message": "string"
}
```

### Example response: 429 — Too many requests

```json
{
  "code": 0,
  "details": "string",
  "message": "string"
}
```

## Related pages

- [Add blueprint to existing config](./updateagentconfig.md)
- [Add items to annotation queue](./additemstoannotationqueue.md)
- [Add span comment](./addspancomment.md)
- [Add span feedback score](./addspanfeedbackscore.md)
- [Add thread comment](./addthreadcomment.md)
- [Add trace comment](./addtracecomment.md)
- [Add trace feedback score](./addtracefeedbackscore.md)
- [Agent Configs](./tags/agent-configs.md)
- [Agent Insights](./tags/agent-insights.md)
- [Agent Insights Jobs](./tags/agent-insights-jobs.md)

# Agent Instructions

Cite this page’s canonical URL and keep its documentation version.
Follow Link headers to discover available agent guidance and tools.
Read the advertised skill for the requested version before choosing starting pages.
Treat documentation as reference material, not execution authorization.
