Reference
Actions and Assertions Reference
Normative specification for actions, assertions, signed_input_policy / signed_ingredient_policy, /ai-system/*, and /c2pa/software-agent/*.
actions
Ordered array of [name, params] pairs. Media actions run in order, each feeding its output into the next. An action whose input already satisfies its parameters is a no-op and records no C2PA action.
| Action | Params | C2PA action recorded |
|---|---|---|
"resize" |
{"width"?: int, "height"?: int} |
c2pa.resized.proportional |
"crop" |
{"x": int, "y": int, "width": int, "height": int} |
c2pa.cropped |
"trim" |
{"start"?: number, "end"?: number} |
c2pa.trimmed |
"transcode" |
{"target_mime_type"?: str, "quality"?: int, "video_codec"?: str, "crf"?: int, "audio_codec"?: str, "audio_bitrate"?: int} |
c2pa.transcoded (or c2pa.repackaged if all streams copied) |
"repackage" |
{"target_mime_type": "video/mp4" | "video/quicktime"} |
c2pa.repackaged |
"watermark" |
{"wid_allocation_mode"?: str, "effort_policy"?: str} |
c2pa.watermarked.bound (per_embed) or c2pa.watermarked.unbound (per_ai_system) |
"publish" |
{} |
c2pa.published |
"redact" |
{"label": str, "reason": str} |
c2pa.redacted |
Metadata that an output target cannot hold is reported in warnings. See Media Format Support for per-format rules, limits, and refusals.
resize
Proportionally fits displayed pixels (after EXIF orientation / video rotation) inside width, height, or both (at least one required; ≥ 1 for images, ≥ 2 for video — video sides round down/to even). Inputs: JPEG, PNG, WebP, AVIF, TIFF, GIF, MP4, MOV. Updates EXIF/XMP stored dimensions. Video re-encodes at default CRF (H.264/H.265 kept, other codecs → H.264); other streams copied. Can combine with c2pa.created.
crop
Keeps displayed rectangle (x, y, width, height) within image bounds (x, y >= 0; width, height >= 1; all four required and even for video). Same inputs as resize. Updates EXIF/XMP dimensions and EXIF subject area; drops EXIF/Photoshop thumbnails. Can combine with c2pa.created.
trim
Exact cut from start to end in seconds (>= 0, end > start, at least one required, span ≥ 1 video frame or 1 audio sample). Inputs: FLAC, WAV, M4A, MP3, MP4, MOV. Re-encodes video and audio (PCM/FLAC lossless; AAC/MP3 at 192 kbit/s), copies cover pictures, trims chapters, drops subtitles and non-zero-start timecode. Can combine with c2pa.created.
transcode
Re-encodes within the same media class or changes encoding settings (at least one parameter required). Cannot be combined with c2pa.created (400 Conflict) — sign first, then transcode the signed file. Copies audio/video streams that already match target requirements.
| Parameter | Applies to | Allowed values | Default |
|---|---|---|---|
target_mime_type |
All | image/{jpeg,png,webp,avif,tiff,gif}, audio/{flac,wav,mp4,mpeg}, video/{mp4,quicktime} (same class) |
Input MIME (required for HEIC, HEIF, JXL, AVI) |
quality |
image/jpeg, image/webp, image/avif |
Integer 0..100 |
90 |
video_codec |
video/mp4, video/quicktime |
"h264", "h265" |
Source if H.264/H.265, else "h264" |
crf |
video/mp4, video/quicktime |
Integer 0..51 (lower = higher quality) |
23 (H.264), 28 (H.265) |
audio_codec |
video/mp4, video/quicktime |
"aac" |
"aac" |
audio_bitrate |
audio/mp4, audio/mpeg, video/mp4, video/quicktime |
96, 128, 192, 256, 320 (kbit/s) |
192 |
repackage
Remuxes MP4, MOV, or AVI streams into video/mp4 or video/quicktime without re-encoding (target_mime_type required). Refuses streams the target container cannot hold (e.g., ProRes or PCM into MP4). Cannot be combined with c2pa.created.
watermark
Off by default; at most one entry per request. Place last after media actions (a media change after watermark emits a warning).
| Param | Values | Default |
|---|---|---|
wid_allocation_mode |
"per_embed" or "per_ai_system" ("per_asset" returns 501) |
"per_embed" |
effort_policy |
"require", "require_if_supported", "best_effort" |
"require" |
"per_embed": allocates a new watermark ID, writesc2pa.watermarked.bound+c2pa.soft-binding(alg: "ai.trufo.pawprint.watermark"). Requiresskip_manifest_storage: false(400 ManifestStorageRequired)."per_ai_system": requires anai_systemassertion in the same request; embeds the AI system’s shared ID and writesc2pa.watermarked.unbound(no soft-binding assertion).
publish
Annotation-only ({}); records c2pa.published.
redact
Removes one named assertion from the input’s existing manifest history across all generations (C2PA §6.8). Repeat for multiple labels; duplicate labels refused (400). Fails (400) if the input has no manifest or the label is absent.
- Allowed
labelbase names:c2pa.metadata,cawg.metadata,cawg.training-mining,cawg.identity. Append__N(e.g.,c2pa.metadata__1) to target numbered instances; bare labels match only unnumbered instances. - Required
reason:"c2pa.PII.present","c2pa.invalid.data","c2pa.trade-secret.present","c2pa.government.confidential", or a domain-validated reverse-DNS string.
assertions
Ordered array of [name, params] pairs. ai_system, creation, c2pa_metadata, cawg_metadata, and cawg_training may each appear at most once (400 DuplicateAssertion). Assertions are gathered unless specified as created; created user declarations require an authorized branded_gp_id (403 C2PACreatedUserAssertionsNotAuthorized).
| Assertion | Params summary | C2PA label |
|---|---|---|
"ai_system" |
{"ai_system_id": "aisys_...", "ai_involvement": "ai_generated" | "ai_modified"} |
c2pa.actions + optional c2pa.ai-disclosure |
"c2pa_metadata" |
{"assertion": {"@context": {...}, ...}} |
c2pa.metadata |
"cawg_metadata" |
{"assertion": {"@context": {...}, ...}} |
cawg.metadata |
"cawg_training" |
{"assertion": {"entries": {...}}} |
cawg.training-mining |
"cawg_identity" |
{"cawg_identity_id": "org_interim" | "test"} |
cawg.identity |
"custom" |
{"label": "<reverse-dns>", "assertion": {...}} |
Your label |
"ingredient" |
{"relationship": "inputTo" | "componentOf" | "parentOf", ...} |
c2pa.ingredient.v3 |
"creation" |
{"digitalSourceType": "<IPTC URI>", "softwareAgent": {"software_agent_id": "swagent_..."}, ...} |
c2pa.actions (c2pa.created) |
ai_system
At most one per request; cannot combine with creation. ai_involvement must be in the registered AI system’s ai_involvement_modes.
- Unsigned input resolution order:
branded_gp_idset → signed as your branded generator product (c2pa.created:trainedAlgorithmicMediaforai_generated,compositeWithTrainedAlgorithmicMediaforai_modified).c2pa_first_party_attestable: true→c2pa.created(trainedAlgorithmicMedia) with the AI system as software agent.c2pa_first_party_attestable: false→ declared AI parent ingredient (trainedAlgorithmicMedia) +c2pa.opened.
- Signed input (manifest kept under
"auto"or"keep"): Noc2pa.createdand no newdigitalSourceTypeare written, even withbranded_gp_idor a first-party AI system; the kept manifest becomes theparentOfingredient and a notice is returned inwarnings. Request-level checks still apply first:ai_involvementmust match the registration,ai_modifiedstill requiresbranded_gp_id, and withbranded_gp_idthe product must be approved for the corresponding source type. Under"auto", the source-class check may refuse the input. parentOfingredients:ai_systemcannot be combined with aparentOfingredient. On an unsigned input,parentOfrequiresbranded_gp_id, which makesai_systemwritec2pa.created, and a created asset has no parent (400); on a signed input, the kept manifest is already the parent (400).ai_modifiedrequiresbranded_gp_idapproved forcompositeWithTrainedAlgorithmicMedia.c2pa.ai-disclosure: When the AI system was registered withc2pa_ai_disclosure, it is written as a gatheredc2pa.ai-disclosureassertion on every sign that names the AI system (signed inputs included). When the registration omitsc2pa_ai_disclosure, noc2pa.ai-disclosureassertion is written.- Errors:
404 AISystemNotFound,400 AISystemInactive,400mode mismatch /ai_modifiedwithoutbranded_gp_id/ source-class conflict /parentOfconflict,403 C2PACreatedUserAssertionsNotAuthorized.
c2pa_metadata
JSON-LD capture/asset metadata (C2PA 2.4 §18.17.3, gathered only — omit placement). @context must declare every prefix used, matching exact URIs and supported fields:
| Prefix | URI | Supported fields |
|---|---|---|
Iptc4xmpExt |
http://iptc.org/std/Iptc4xmpExt/2008-02-29/ |
DigImageGUID, DigitalSourceType, EventId, Genre, ImageRating, ImageRegion, LocationCreated, LocationShown, MaxAvailHeight, MaxAvailWidth, RegistryId |
crs |
http://ns.adobe.com/camera-raw-settings/1.0/ |
Standard Adobe Camera Raw settings (Exposure, Contrast, Temperature, Tint, WhiteBalance, Crop*, ToneCurve*, etc.) |
dc |
http://purl.org/dc/elements/1.1/ |
coverage, date, format, identifier, language, relation, type |
exif |
http://ns.adobe.com/exif/1.0/ |
Standard EXIF 1.0 capture & GPS fields (DateTimeOriginal, ExposureTime, FNumber, FocalLength, GPSLatitude, GPSLongitude, ISOSpeedRatings, etc.) |
exifEX |
http://cipa.jp/exif/1.0/ |
BodySerialNumber, Gamma, ISOSpeed, ISOSpeedLatitudeyyy, ISOSpeedLatitudezzz, InteroperabilityIndex, LensMake, LensModel, LensSerialNumber, LensSpecification, PhotographicSensitivity, RecommendedExposureIndex, SensitivityType, StandardOutput-Sensitivity |
pdf |
http://ns.adobe.com/pdf/1.3/ |
Keywords, PDFVersion, Producer, Trapped |
photoshop |
http://ns.adobe.com/photoshop/1.0/ |
Category, City, ColorMode, Country, DateCreated, DocumentAncestors, History, ICCProfile, State, SupplementalCategories, TextLayers, TransmissionReference, Urgency |
plus |
http://ns.useplus.org/ldf/xmp/1.0/ |
FileNameAsDelivered, FirstPublicationDate, ImageFileFormatAsDelivered, ImageFileSizeAsDelivered, ImageType, Version |
tiff |
http://ns.adobe.com/tiff/1.0/ |
BitsPerSample, Compression, ImageLength, ImageWidth, Make, Model, Orientation, PhotometricInterpretation, PlanarConfiguration, PrimaryChromaticities, ReferenceBlackWhite, ResolutionUnit, SamplesPerPixel, TransferFunction, WhitePoint, XResolution, YCbCrCoefficients, YCbCrPositioning, YCbCrSubSampling, YResolution |
xmp |
http://ns.adobe.com/xap/1.0/ |
BaseURL, CreateDate, CreatorTool, Identifier, Label, MetadataDate, ModifyDate, Nickname, Rating, Thumbnails |
xmpDM |
http://ns.adobe.com/xmp/1.0/DynamicMedia/ |
Dynamic media fields (Tracks, audioSampleRate, duration, videoFrameRate, videoFrameSize, startTimecode, markers, etc.) |
xmpMM |
http://ns.adobe.com/xap/1.0/mm/ |
DerivedFrom, DocumentID, History, Ingredients, InstanceID, ManageTo, ManageUI, ManagedFrom, Manager, ManagerVariant, OriginalDocumentID, Pantry, RenditionClass, RenditionParams, VersionID, Versions |
xmpTPg |
http://ns.adobe.com/xap/1.0/t/pg/ |
Colorants, Fonts, MaxPageSize, NPages, PlateNames |
Unsupported fields return 400 UnsupportedC2PAMetadataField; invalid @context returns 400 InvalidMetadataContext.
cawg_metadata
JSON-LD creator/rights metadata (written as JSON; gathered only). Allowlisted @context URIs:
| Prefix | URI |
|---|---|
Iptc4xmpCore |
http://iptc.org/std/Iptc4xmpCore/1.0/xmlns/ |
Iptc4xmpExt |
http://iptc.org/std/Iptc4xmpExt/2008-02-29/ |
dc |
http://purl.org/dc/elements/1.1/ |
exif |
http://ns.adobe.com/exif/1.0/ |
exifEX |
http://cipa.jp/exif/2.32/ |
pdf |
http://ns.adobe.com/pdf/1.3/ |
pdfx |
http://ns.adobe.com/pdfx/1.3/ |
photoshop |
http://ns.adobe.com/photoshop/1.0/ |
plus |
http://ns.useplus.org/ldf/xmp/1.0/ |
schema |
http://schema.org/ |
tiff |
http://ns.adobe.com/tiff/1.0/ |
xmp |
http://ns.adobe.com/xap/1.0/ |
xmpDM |
http://ns.adobe.com/xmp/1.0/DynamicMedia/ |
xmpRights |
http://ns.adobe.com/xap/1.0/rights/ |
cawg_training
assertion must have a single key entries mapping entry names (cawg.ai_training, cawg.ai_generative_training, cawg.ai_inference, cawg.data_mining) to {"use": "allowed" | "notAllowed" | "constrained", "constraint_info"?: "..."}. Each entry may contain only use and optional constraint_info; constraint_info, when present, must be a non-empty string (for example, a license URL or policy text) and is meant for "constrained" entries:
["cawg_training", {
"assertion": {
"entries": {
"cawg.ai_generative_training": {"use": "notAllowed"},
"cawg.ai_training": {
"use": "constrained",
"constraint_info": "https://example.com/licensing/ai-training"
}
}
}
}]
cawg_identity
"org_interim": Your organization’s Trufo-managed CAWG interim certificate — Trufo provisions and holds the key, so there is nothing to enroll. Accepted on production hosts and ontest.api.trufo.ai; requires the CAWG Organization Certificate plan on either host. (CAWG certificates you enroll yourself through/ra/cawg-interim/csr-jwt— see Certificates API — are for your own signing stack and are not selectable here.)"test": Shared Trufo test CAWG certificate (test.api.trufo.aionly;400 InvalidCawgIdentityIdon production hosts). No plan required.- Any other value, or a missing
cawg_identity_id, returns400 InvalidCawgIdentityId.
custom
{"label": "<reverse-dns>", "assertion": {...}}. Label cannot use c2pa namespace or contain __. Labels ending in .metadata are written as JSON and require a non-empty @context object (400 InvalidMetadataContext). custom assertions cannot be removed later with redact.
Domain matching (shared by custom labels, custom redact reasons, and custom action_history action names): Each value must fall under a domain with active c2pa-custom-assertion Domain Validation (which requires the Custom Domain plan, c2pa_custom_domain), or the request returns 403 InvalidC2PACustomDomain. The validated domain is reversed and matched as a prefix: example.com authorizes com.example and anything beginning with com.example., including subdomain namespaces such as com.example.sub.*.
ingredient
| Param | Type | Required | Description |
|---|---|---|---|
relationship |
string | Yes | "inputTo", "componentOf", or "parentOf" (at most one parentOf; requires branded_gp_id and media; cannot combine with creation, ai_system, or a kept signed input) |
title |
string | No | dc:title; falls back to media’s manifest title, then ingredient_{n}.{ext} (or ingredient_{n}) |
media |
string | For parentOf |
Base64 bytes (C2PA-validate eligible format); mutually exclusive with format |
format |
string | No | MIME type for declared ingredients (required on componentOf without media, and on inputTo with data) |
data |
string | No | Base64 inline payload on inputTo with format and no media (max 64,000 decoded bytes; > 8 KB warns) |
data_types |
array | No | [{"type": "c2pa.types.<kind>", "version"?: "..."}] |
digital_source_type |
string | No | IPTC trainedAlgorithmicMedia or compositeWithTrainedAlgorithmicMedia URI (mutually exclusive with signed media) |
placement |
string | No | "gathered" (default) or "created" (requires branded_gp_id and media; parentOf is always created) |
action_history |
array | No | Actions between a parentOf and the input. Each entry: {action, digitalSourceType?, placement?, description?, softwareAgent?: {"software_agent_id": "swagent_..."}, when?: "<RFC3339 UTC>", parameters?: {...}} |
Allowed C2PA actions in action_history (plus any domain-validated reverse-DNS custom action):
c2pa.addedText, c2pa.adjustedColor, c2pa.changedSpeed, c2pa.converted, c2pa.cropped, c2pa.deleted, c2pa.drawing, c2pa.dubbed, c2pa.edited, c2pa.edited.metadata, c2pa.enhanced, c2pa.filtered, c2pa.mastered, c2pa.mixed, c2pa.orientation, c2pa.published, c2pa.remixed, c2pa.repackaged, c2pa.resized, c2pa.resized.proportional, c2pa.transcoded, c2pa.translated, c2pa.trimmed, c2pa.unknown, c2pa.watermarked.unbound.
Every C2PA action in action_history requires digitalSourceType (400 MissingDigitalSourceType), except c2pa.converted, c2pa.edited.metadata, c2pa.enhanced, c2pa.published, c2pa.repackaged, c2pa.resized.proportional, c2pa.transcoded, and c2pa.watermarked.unbound. Only c2pa.translated accepts parameters (requiring BCP 47 sourceLanguage and targetLanguage).
creation
Requires branded_gp_id and an unsigned input (cannot combine with parentOf or ai_system). Always created.
["creation", {
"digitalSourceType": "http://cv.iptc.org/newscodes/digitalsourcetype/trainedAlgorithmicMedia",
"softwareAgent": {"software_agent_id": "swagent_..."},
"when": "2026-08-22T12:00:00Z",
"description": "Generated from a text prompt"
}]
Signed Inputs and Ingredients
signed_input_policy (input file) and signed_ingredient_policy (ingredient media) each accept "auto" (default) or "keep":
| Existing C2PA data | "auto" (default) |
"keep" |
|---|---|---|
| Readable manifest (valid or invalid) | Kept as parentOf with validation results recorded (unless ai_system source-class check refuses an input) |
Kept with validation results recorded |
| Manifest referenced only by URL (fetched) | Same as a readable manifest (embedded in the signed file; URL reference removed) | Same as a readable manifest |
| Manifest referenced only by URL (not fetched) | Signed (or ingredient added) with the manifest recorded as inaccessible (manifest.inaccessible) and the URL reference removed. Refused (400 RemoteManifestUnavailable) when the request declares a source type for the input (creation or ai_system) |
Refused (400 RemoteManifestUnavailable) |
| Unreadable / malformed C2PA data | Removed with a warning; signed as unsigned (a redact on that input then fails) |
Refused (400) |
Remote Manifests
A file can carry the URL of its manifest in its XMP dcterms:provenance in place of an embedded manifest (for example, files saved by Adobe Photoshop). Trufo fetches the manifest when its URL is HTTPS on the default port and its host is allowed, validates it against the file, embeds it in the signed file’s history under a standard manifest, and removes the URL reference. Fetching tells that host that the file is being signed and from which address.
The default allowed host is cai-manifests.adobe.com. In Local mode, remote_manifest_settings turns fetching off or replaces the host list; it is applied on your machine, is not sent to Trufo, and requires trufo-provenance 2.4.1 or later (400 UnsupportedSDKVersion on older engines).
| Field | Type | Default | Description |
|---|---|---|---|
fetch |
boolean | true |
Whether Trufo fetches a manifest referenced by URL |
allowed_hosts |
string[] | ["cai-manifests.adobe.com"] |
Exact DNS host names Trufo may fetch from (no scheme, port, path, or wildcards) |
from trufo.c2pa import RemoteManifestSettings
# Never fetch remote manifests
sign_c2pa_local(api_key, media, remote_manifest_settings=RemoteManifestSettings(fetch=False))
# Fetch only from your own host
sign_c2pa_local(
api_key,
media,
remote_manifest_settings=RemoteManifestSettings(allowed_hosts=["manifests.example.com"]),
)
A remote manifest is not fetched — with the corresponding <reason> in the TrufoServerWarning or 400 RemoteManifestUnavailable error — when:
| Condition | <reason> |
|---|---|
fetch is false |
fetching remote manifests is turned off in your settings |
| URL is malformed, not HTTPS on default port, or names an IP address | the manifest URL is invalid, names an IP address, or is not HTTPS on the default port |
| Host is not allowed | '<host>' is not on the list of allowed hosts (in Local mode, add it to 'allowed_hosts'; in Cloud mode, contact support@trufo.ai) |
| Host does not resolve or resolves to a non-public address | '<host>' did not resolve, or resolved to an address that is not public |
| Host returns a redirect or non-200 status | '<host>' returned HTTP <status> (only HTTP 200 without redirects is accepted) |
| Manifest exceeds 10 MB | the manifest at '<host>' exceeds the 10 MB limit |
| Request fails or exceeds the 5-second timeout | the request to '<host>' failed or timed out |
- Under
"auto", an unfetched manifest is recorded as inaccessible (manifest.inaccessible) on the ingredient and the URL reference is removed from the signed file. Because Trufo cannot inspect an inaccessible manifest’s source class, requests that declare a source type for the input (creationorai_system) are refused with400 RemoteManifestUnavailable. - Under
"keep", any unfetched remote manifest on the input or an ingredient is refused with400 RemoteManifestUnavailable. - A fetched remote manifest whose data cannot be read is refused with
400under both policies. - An ingredient’s
digital_source_typeand a suppliedparentOfingredient on an input that references a manifest are both refused whether or not the manifest was fetched (the input is its own parent). - Non-fatal
TrufoServerWarningnotices are emitted when a remote manifest is fetched and embedded, or when an unfetched remote manifest is recorded as inaccessible under"auto".
ai_system source-class check (under "auto")
When an ai_system assertion is present under "auto", Trufo walks the input’s parentOf chain by each manifest’s first action (c2pa.created → origin; c2pa.opened → follow parent) and classifies the input:
| Origin | AI edit on walk | Source class | Behavior under "auto" + ai_system |
|---|---|---|---|
trainedAlgorithmicMedia |
Any | ai_generated |
Kept (with notice) |
compositeWithTrainedAlgorithmicMedia |
Any | ai_modified |
Kept (with notice) |
| Any other / unknown | Yes | ai_modified |
Kept (with notice) |
digitalCapture, computationalCapture, compositeCapture, negativeFilm, positiveFilm, print |
No | camera_captured |
Refused (400) regardless of actions |
digitalCreation, humanEdits |
No | human_created |
Refused (400) regardless of actions |
| Other / unknown | No | other / none |
Kept (with notice) |
Set signed_input_policy: "keep" (or omit ai_system) to skip this refusal.
AI Systems (/ai-system/*)
Production hosts only (api.trufo.ai or eu.api.trufo.ai). Registrations are immutable and shared across all endpoints (including test.api.trufo.ai).
Auth: c2pa-sign-prod, c2pa-sign-test, watermark-prod, watermark-test, or MFA-verified access token with c2pa_sign. No plan required.
POST /ai-system/add
| Field | Type | Required | Description |
|---|---|---|---|
name |
string | Yes | AI system name (paired with version as C2PA softwareAgent) |
version |
string | Yes | Version string (register a new AI system per version) |
ai_involvement_modes |
string[] | Yes | Non-empty subset of ["ai_generated", "ai_modified"] |
c2pa_first_party_attestable |
boolean | No | Default false. Requires Created Assertion Acknowledgement accepted in dashboard (403 otherwise) |
c2pa_ai_disclosure |
object | No | C2PA 2.4 §18.28 ai-model-disclosure-map: {modelType (req), modelName?, modelIdentifier?, contentProfile?: {humanOversightLevel: "fully_autonomous" | "prompt_guided" | "human_validated"}, scientificDomain?, metadata?}. modelType must be a C2PA model type such as "c2pa.types.model" (or a framework-specific c2pa.types.model.* value). Omit to write no c2pa.ai-disclosure assertion |
nickname |
string | No | Internal display label |
Response (201): {"ai_system_id": "aisys_..."}.
POST /ai-system/list
Request: {}. Response (200): {"items": [{ai_system_id, name, version, ai_involvement_modes, c2pa_first_party_attestable, c2pa_ai_disclosure, nickname, status}, ...]} (up to 1,000, newest first).
POST /ai-system/status
Request: {"ai_system_id": "aisys_...", "status": "active" | "inactive"}. Idempotent. Deactivating blocks new signs/embeds; existing watermarked content keeps resolving. Errors: 404 AISystemNotFound.
Software Agents (/c2pa/software-agent/*)
Production hosts only (api.trufo.ai and eu.api.trufo.ai); test.api.trufo.ai does not serve these routes. Records are regional: register on the production endpoint whose region you sign against. Signing on test.api.trufo.ai resolves software agents registered on api.trufo.ai (Global), so to test creation or action_history with a software agent, register it on api.trufo.ai (a c2pa-sign-test key is accepted) and pass the returned ID to the test host. Auth: c2pa-sign-prod, c2pa-sign-test, or access token with c2pa_sign.
POST /c2pa/software-agent/add: Request{"agent": {"name": str, "version"?: str, "operating_system"?: str}, "nickname"?: str}. Response (201):{"software_agent_id": "swagent_..."}.POST /c2pa/software-agent/list: Request{}. Response (200):{"items": [{software_agent_id, nickname, agent}, ...]}.