# Register worker

```http
POST /agent-workers/projects/{project_reference}/workers
```

Register a worker. Requires project.runtime.manage.

## Parameters

| Name                | In   | Required | Description |
| ------------------- | ---- | -------- | ----------- |
| `project_reference` | path | Yes      |             |

## Request body

| Field                         | Type        | Required | Description |
| ----------------------------- | ----------- | -------- | ----------- |
| `implementation_kind`         | string      | Yes      |             |
| `implementation_display_name` | string      |          |             |
| `worker_key`                  | string      | Yes      |             |
| `display_name`                | string,null |          |             |
| `metadata`                    | object,null |          |             |

## Responses

| Status | Description                                                                                                 |
| ------ | ----------------------------------------------------------------------------------------------------------- |
| 201    | Worker registered; it can claim and execute runs for the project.                                           |
| 400    | Bad request                                                                                                 |
| 401    | Unauthorized                                                                                                |
| 403    | Forbidden                                                                                                   |
| 404    | Not found                                                                                                   |
| 500    | Server error                                                                                                |
| 503    | internal: authentication state is temporarily unavailable and the request was not processed; retry shortly. |
