---
title: "Assign Text Session Owner"
method: PUT
path: "/api/v1/text-sessions/{text_session_id}/owner"
tags: ["log-ownership"]
---

# Assign Text Session Owner

`PUT /api/v1/text-sessions/{text_session_id}/owner`

Manually assign/override the outcome owner on a text session.

## Path parameters

- `text_session_id` string, uuid, required

## Request body

- LogOwnerAssignRequest
  - `outcome_agent_ref` string, required

## Response `200`

Successful Response

- LogOwnerAssignResponse
  - `outcome_agent_ref` string, required
  - `outcome_agent_ref_set_by_user_id` string, uuid, required
  - `outcome_agent_ref_set_at` string, date-time, required

## Other responses

- `404` — Log or human agent not found
- `422` — Invalid outcome_agent_ref format

---

[API](https://skmtc.dev/getanana/apis/cleon-api.md) · [All operations](https://skmtc.dev/getanana/apis/cleon-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/getanana/cleon-api/revisions/3ad158624c53/schema)
