---
title: "Attach Skill To Agent"
method: POST
path: "/api/skills/{skill_id}/attach-to-agent"
tags: ["skills"]
---

# Attach Skill To Agent

`POST /api/skills/{skill_id}/attach-to-agent`

## 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/skills/{skill_id}/attach-to-agent`
- Auth: none declared

Retired: become the target identity and use the scoped install route.

## Path parameters

- `skill_id` string, uuid, required

## Headers

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

## Request body

- AttachSkillToAgentBody
  - `agent_id` string, uuid, required
  - `trust_mode` 'auto_trust' | 'review'

## Response `200`

Successful Response

- AttachSkillToAgentOut
  - `skill_id` string, uuid, required
  - `agent_id` string, uuid, required
  - `library_id` string, uuid, required
  - `library_name` string, required
  - `trust_mode` string, required
  - `already_member` boolean, required
  - `skill_approved` boolean, required
  - `skill_live` boolean, required

## 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)
