> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gu1.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Assign Investigation

> Assign investigation to user or team — in the gu1 case management workflow for compliance teams, with examples for assign use cases.

## Overview

Assigns an investigation to a user, team, or role.

## Path Parameters

<ParamField path="id" type="string" required>
  Investigation ID
</ParamField>

## Request Body

<ParamField body="assignedTo" type="string" required>
  User/team ID to assign to
</ParamField>

<ParamField body="assignedToType" type="string" default="user">
  Type: user, team, or role
</ParamField>

<ParamField body="priority" type="string">
  Investigation priority
</ParamField>

<ParamField body="dueDate" type="string">
  ISO-8601 due date
</ParamField>

<ParamField body="reason" type="string">
  Assignment reason
</ParamField>

## Example

```bash theme={null}
curl -X PUT http://api.gu1.ai/intelligence/investigations/inv-123/assign \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "assignedTo": "user-456",
    "assignedToType": "user",
    "priority": "HIGH",
    "dueDate": "2024-12-30T23:59:59Z",
    "reason": "AML expertise required"
  }'
```

## Response

```json theme={null}
{
  "assignmentId": "assign-789",
  "assignedTo": "user-456",
  "assignedToType": "user"
}
```
