---
title: "Tag a Segment"
method: GET
path: "/v2/segments/tag"
tags: ["Segments"]
---

# Tag a Segment

`GET /v2/segments/tag`

Project tags for a segment. The `source_tagged` string contains one or more SGML
tags. The `target` string is untagged. This endpoint will automatically place the
source tags in the target.

Usage charges apply to this endpoint for production REST API keys.

## Query parameters

- `source_tagged` string, required
- `target` string, required
- `memory_id` integer, required

## Response `200`

A TaggedSegment object.

- object
  - `source_tagged` string — The tagged source string.
  - `target_tagged` string — The tagged target string.

## Other responses

- `default` — Unexpected error

---

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