---
title: "Read how the sequence is tailored to its audience"
method: GET
path: "/sequences/{sequence_id}/agent/tailoring/"
tags: ["sequences", "mcp-searchable-tool"]
---

# Read how the sequence is tailored to its audience

`GET /sequences/{sequence_id}/agent/tailoring/`

## Request

- Base URL: `https://api.getoneprofile.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.getoneprofile.ai/sequences/{sequence_id}/agent/tailoring/`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

The campaign from the library the sequence runs, why tailoring chose it and the goal it set, and the newest tailoring job with its status and the steps its run has taken so far. A sequence an older tailoring wrote for also carries that tailoring's brief (who it writes to, why now, the angle) and one note per step. Poll while `in_flight` is true: launch waits for it.

## Path parameters

- `sequence_id` string, uuid, required

## Response `200`

Successful Response

- SequenceTailoringReadSchema: Where a sequence's tailoring stands: the campaign it runs, and its newest job.
  - `campaign` SequenceCampaignReadSchema, required: The campaign a sequence runs, why tailoring chose it, and an older tailoring's brief.
    - `angle` string, required: An older tailoring's brief: the angle.
    - `audience` string, required: An older tailoring's brief: who it writes to.
    - `campaign_key` string, required
    - `campaign_name` string, required
    - `chosen_by_person` boolean, required
    - `goal` string, required: The goal tailoring set; empty when it set none. The agent's own goal is the one it writes toward.
    - `intent` string, required: What the person asked for, in their own words.
    - `reason` string, required: Why tailoring chose it, in one line; empty when a person chose it.
    - `step_notes` object, required: An older tailoring's notes, one per step, by step id.
    - `table_name` string, required
    - `tailoring_off` boolean, required: The person chose the standard instructions.
    - `why_now` string, nullable, required: An older tailoring's brief: why now.
  - `in_flight` boolean, required: A job is still working; launch waits for it.
  - `job` SequenceTailoringJobReadSchema, required: One tailoring job: how far it got and what it chose.
    - `campaign_key` string, nullable, required
    - `campaign_name` string, nullable, required
    - `created_at` string, date-time, required
    - `finished_at` string, date-time, nullable, required
    - `id` string, uuid, required
    - `reason` string, nullable, required: Why it ended as it did, as a code: daily_cap, no_context, guard, launched, edited, and the like.
    - `status` string, required: queued, running, applied, failed, skipped or superseded; ready_for_review and kept_stock only on jobs from before tailoring rewrote steps.
    - `steps` AiStep[]: What the run did, one step per piece of work once it is done: the business context and audience it read, the campaign it chose, the steps it rewrote. Grows while the job is in flight; kept once it settles.
      - `action` string, required: What kind of move this was, e.g. `read_table`, `plan`, `write_column`.
      - `detail` string: The step's input: the instruction, the column it read, the query it ran.
      - `duration_ms` integer, nullable: Wall clock for the work this step describes, never an estimate.
      - `observation` string: One line on what came back. The half that makes a step worth reading.
      - `outcome` string: `completed`, `failed`, `refused` or `stopped`. Clients must tolerate new tokens.
      - `thought` string, nullable: The model's stated reasoning for choosing this step. Set by the agent loop; the assistant surfaces leave it null, and the renderer simply omits the rung.
    - `trigger` string, required

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not found.
- `422`: Invalid request made to the API.
- `500`: Internal server error.
- `502`: Bad gateway error.
- `503`: Service unavailable.

---

[API](https://skmtc.dev/getoneprofile/apis/api-reference-oneprofile.md) · [All operations](https://skmtc.dev/getoneprofile/apis/api-reference-oneprofile/llms.txt) · [OpenAPI document](https://skmtc.dev/getoneprofile/apis/api-reference-oneprofile/revisions/4a6bd71e3f02?raw)
