API referenceProjects

Send a review pass

Send several small notes at once.

Every note is validated first (one bad note refuses the pass), the notes share a pass_id, and the project's live agent runs are steered once with the whole pass. Each note takes the fields of POST /comments (except parent_id). Free.

POST
/projects/{id}/comments/pass

Authorization

bearerAuth
AuthorizationBearer <token>

Typecut API key. Generate one in app.typecut.ai → Settings → API keys. Send as Authorization: Bearer tc_live_….

In: header

Path Parameters

id*string
Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/projects/497f6eca-6276-4993-bfeb-53cbbbba6f08/comments/pass" \  -H "Content-Type: application/json" \  -d '{    "notes": [      {        "body": "string"      }    ]  }'
{
  "data": {
    "pass_id": "c873768a-5954-4f62-8e84-d0c8cc5522b2",
    "comments": [
      {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
        "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9",
        "anchor": {
          "scene_id": "861eef56-1159-4a95-802f-abab2d0cc192",
          "chapter_id": "88d12d31-77f2-44df-910e-b37f83274f80",
          "element_id": "string",
          "composition_path": "string",
          "t_start": 0,
          "t_end": 0
        },
        "anchors": [
          {
            "property1": null,
            "property2": null
          }
        ],
        "body": "string",
        "kind": "note",
        "addressed_to": "string",
        "pass_id": "c873768a-5954-4f62-8e84-d0c8cc5522b2",
        "author": {
          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
          "kind": "user",
          "name": "string"
        },
        "source": "editor",
        "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef",
        "status": "open",
        "resolution": {
          "resolved_at": "string",
          "by_kind": "user",
          "note": "string",
          "changeset_id": "8b701a69-4fd1-45f0-983d-99180937ff81",
          "revision_id": "f8f7f022-982b-4bef-ba7d-4bb808fdbe2a"
        },
        "created_at": "string"
      }
    ],
    "notified_runs": [
      "42a4237f-6569-429b-bb2a-40559483c2a8"
    ]
  }
}
{
  "error": {
    "type": "string",
    "code": "string",
    "message": "string"
  }
}
{
  "error": {
    "type": "string",
    "code": "string",
    "message": "string"
  }
}
{
  "error": {
    "type": "string",
    "code": "string",
    "message": "string"
  }
}
{
  "error": {
    "type": "string",
    "code": "string",
    "message": "string"
  }
}