Skip to main content
PUT
http://api.gu1.ai
/
intelligence
/
investigations
/
{id}
/
assign
Assign Investigation
curl --request PUT \
  --url http://api.gu1.ai/intelligence/investigations/{id}/assign \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "assignedTo": "<string>",
  "assignedToType": "<string>",
  "priority": "<string>",
  "dueDate": "<string>",
  "reason": "<string>"
}
'

Overview

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

Path Parameters

id
string
required
Investigation ID

Request Body

assignedTo
string
required
User/team ID to assign to
assignedToType
string
default:"user"
Type: user, team, or role
priority
string
Investigation priority
dueDate
string
ISO-8601 due date
reason
string
Assignment reason

Example

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

{
  "assignmentId": "assign-789",
  "assignedTo": "user-456",
  "assignedToType": "user"
}