---
title: "Assign an Investigation Alert to an Agent"
method: PUT
path: "/investigations/{investigation_token}/alerts/{journey_application_token}/assign"
tags: ["Investigations"]
---

# Assign an Investigation Alert to an Agent

`PUT /investigations/{investigation_token}/alerts/{journey_application_token}/assign`

## Request

- Base URL: `https://sandbox.alloy.co/v1`
- URL: `https://sandbox.alloy.co/v1/investigations/{investigation_token}/alerts/{journey_application_token}/assign`
- Auth: one of:
  - OAuth 2
    - Client credentials
    - Token URL: `/oauth/bearer`
  - HTTP basic
- TypeScript: <https://skmtc.dev/alloy/apis/alloy-api/docs/investigations/:investigation_token/alerts/:journey_application_token/assign/put.ts> (a function with typed inputs; its response is checked against the schema)

Assigns an Investigation Alert to an Agent

## Request body

- object
  - `agent_token` string
  - `investigation_tokens` string[]

## Response `200`

Success

- object
  - `error` object, nullable

## Other responses

- `404`: Investigation Not Found

## Changes

- **2026-11-03** `615aa97a5ddb`: 2 info
  - added `#/components/schemas/InvestigationsNotFound` to the response body `allOf` list for the response status `404`
  - removed `#/components/schemas/schema` from the response body `allOf` list for the response status `404`

[Operation history](https://skmtc.dev/alloy/apis/alloy-api/changes/investigations/:investigation_token/alerts/:journey_application_token/assign/put.md)

---

[API](https://skmtc.dev/alloy/apis/alloy-api.md) - [All operations](https://skmtc.dev/alloy/apis/alloy-api/llms.txt) - [OpenAPI document](https://skmtc.dev/alloy/apis/alloy-api/revisions/615aa97a5ddb?raw)
