# Create dependency artifact build result

```http
POST /dependency-artifacts/{artifact_id}/attempts/{attempt_count}/result
```

Record artifact build result. Requires files:write.

## Parameters

| Name            | In   | Required | Description                                                                                                    |
| --------------- | ---- | -------- | -------------------------------------------------------------------------------------------------------------- |
| `artifact_id`   | path | Yes      | Registry artifact UUID assigned to the claimed build. The runtime must own the current artifact build attempt. |
| `attempt_count` | path | Yes      | Current claimed build attempt number; stale attempts return 412.                                               |

## Responses

| Status | Description                                                                                                                                      |
| ------ | ------------------------------------------------------------------------------------------------------------------------------------------------ |
| 200    | Artifact build result accepted.                                                                                                                  |
| 400    | Bad request                                                                                                                                      |
| 401    | Unauthorized                                                                                                                                     |
| 403    | Requires a project-scoped veryfront-server service-account token with files:write and a signed run ID; the runtime must own the current attempt. |
| 412    | Stale or unowned artifact build attempt.                                                                                                         |
| 500    | Server error                                                                                                                                     |
