---
title: "Put Agent Document"
method: PUT
path: "/api/agents/{agent_id}/document"
tags: ["agents"]
---

# Put Agent Document

`PUT /api/agents/{agent_id}/document`

## Request

- Base URL: `https://app.thinqos.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.thinqos.com/api/agents/{agent_id}/document`
- Auth: none declared

Apply an edited document to the effective identity's live profile.

## Path parameters

- `agent_id` string, uuid, required

## Headers

- `x-impersonate-identity-id` string, nullable

## Request body

- AgentDocumentBody
  - `document` object, required

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

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