# Timestamps

> widar marks AI output for the EU AI Act and California's AI Transparency Act: an invisible watermark and a signed C2PA credential on text, images, audio and video, in one API, by Bynn Intelligence.

Documentation index: https://widar.com/llms.txt

The examples in these docs use invented companies, such as Lumen Labs B.V., and invented values: none is a real check, mark, signature or certificate.

Section: Mark and sign. URL: https://widar.com/docs/timestamps

widar's RFC 3161 timestamp authority: every credential widar signs carries a timestamp, and any RFC 3161 client of yours can ask for one, with your key. A free test authority needs no account.

Updated December 3, 2026

The timestamp authority

- Production: `https://tsa.widar.com`, with your key
- Test: `https://test-tsa.widar.com`, no account, limited per address, on no trust list
- Request: `application/timestamp-query`, answered `application/timestamp-reply`
- Hashes: SHA-256, SHA-384 and SHA-512; any other is `badAlg`
- Accuracy: Traceable to UTC. The authority stops issuing rather than issue a time it cannot vouch for

## Ask for a timestamp

Any RFC 3161 client works: `openssl ts`, C2PA signers, code signing and PDF signing tools. Send your key in the `Authorization` header, or, for a client that cannot send headers, use a [TSA credential](#create-a-tsa-credential). A nonce you send comes back in the token; with `certReq` the chain is included.

**Timestamp a file**

openssl:

```bash
openssl ts -query -data release.tar.gz -sha256 -cert -out request.tsq

curl -X POST https://tsa.widar.com \
  -H "Authorization: Bearer $WIDAR_API_KEY" \
  -H "Content-Type: application/timestamp-query" \
  --data-binary @request.tsq -o response.tsr

openssl ts -reply -in response.tsr -text
```

Test authority:

```bash
openssl ts -query -data release.tar.gz -sha256 -cert -out request.tsq

curl -X POST https://test-tsa.widar.com \
  -H "Content-Type: application/timestamp-query" \
  --data-binary @request.tsq -o response.tsr
```

A request without valid authentication is refused with HTTP 401 and no token; one over your limit gets an RFC 3161 rejection and HTTP 429. Each live token is a [timestamp record](#list-timestamps). Timestamps inside a marking are part of it and are never counted twice.

**A timestamp**

```json
{
  "id": "tst_4Hd7kMq1ZvBx",
  "object": "timestamp",
  "hash_algorithm": "SHA-256",
  "hashed": "51e9ca32557ab8084197287211e990f046f7ff7d0fa36f86b07a0eb3865ccfcb",
  "time": "2026-12-03T09:41:52.204Z",
  "tsa": "widar Timestamp Authority 1",
  "serial": "3263D4D1DD83A1AA91E9"
}
```

## Create a timestamp credential

A user name and password, or a secret address, for an RFC 3161 client that cannot send a header. The secret is shown once.

`POST /v1/tsa_credentials`. Who may: Owner, Admin and Developer. CLI: `widar tsa-credentials create --name <name> --kind <basic|url>`. MCP tool: `create_tsa_credential`.

**Parameters**
- `name` (string, required): What uses it. At most 80 characters.
- `kind` (enum, required): `basic` or `url`.

**Returns** timestamp credential with its secret: The credential, and its password or secret address, shown once.

API:

```bash
curl -X POST https://api.widar.com/v1/tsa_credentials \
  -H "Authorization: Bearer $WIDAR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Release signing",
    "kind": "url"
  }'
```

CLI:

```bash
widar tsa-credentials create --name 'Release signing' --kind url
```

MCP tool `create_tsa_credential`:

```json
{
  "name": "create_tsa_credential",
  "arguments": {
    "name": "Release signing",
    "kind": "url"
  }
}
```

Response, 201 Created:

```json
{
  "id": "tsc_8Jw1rDn5KvXa",
  "object": "tsa_credential",
  "name": "Release signing",
  "kind": "url",
  "url": "https://tsa.widar.com/w/7hQ2xLk9VbN4cR8sWp3T",
  "created_at": "2026-12-03T09:42:00Z",
  "revoked_at": null
}
```

## List timestamp credentials

The credentials RFC 3161 clients use when they cannot send an API key in a header: user names and secret addresses, never their secrets.

`GET /v1/tsa_credentials`. Who may: Owner, Admin and Developer. CLI: `widar tsa-credentials list`. MCP tool: `list_tsa_credentials`.

**Parameters**

**Returns** list of timestamp credentials: Each credential, its secret part masked, and the timestamps issued with it this month.

API:

```bash
curl -X GET https://api.widar.com/v1/tsa_credentials \
  -H "Authorization: Bearer $WIDAR_API_KEY"
```

CLI:

```bash
widar tsa-credentials list
```

MCP tool `list_tsa_credentials`:

```json
{
  "name": "list_tsa_credentials",
  "arguments": {}
}
```

## Revoke a timestamp credential

Requests with it are refused at once. Timestamps already issued stay valid.

`POST /v1/tsa_credentials/{credential_id}/revoke`. Who may: Owner, Admin and Developer. CLI: `widar tsa-credentials revoke <credential_id>`. MCP tool: `revoke_tsa_credential`.

**Parameters**
- `credential_id` (id (tsc_), required): The credential. In the path. In the path.

**Returns** timestamp credential: The credential, revoked.

API:

```bash
curl -X POST https://api.widar.com/v1/tsa_credentials/tsc_8Jw1rDn5KvXa/revoke \
  -H "Authorization: Bearer $WIDAR_API_KEY"
```

CLI:

```bash
widar tsa-credentials revoke tsc_8Jw1rDn5KvXa
```

MCP tool `revoke_tsa_credential`:

```json
{
  "name": "revoke_tsa_credential",
  "arguments": {
    "credential_id": "tsc_8Jw1rDn5KvXa"
  }
}
```

## List timestamps

`GET /v1/timestamps`

The live timestamps issued to the workspace, newest first: hash, time and serial, never the content. Timestamps inside a marking are listed with it.

List timestamps

- Who may: Owner, Admin, Compliance, Developer and Viewer
- CLI: `widar timestamps list [--from <date>] [--to <date>]`
- MCP tool: `list_timestamps`
- Returns: A list of timestamps.

**Parameters**
- `from` (string): From this day, `YYYY-MM-DD`.
- `to` (string): To this day, inclusive.

**List timestamps**

API:

```bash
curl -X GET "https://api.widar.com/v1/timestamps?from=2026-12-01" \
  -H "Authorization: Bearer $WIDAR_API_KEY"
```

CLI:

```bash
widar timestamps list --from 2026-12-01
```

MCP tool:

```json
{
  "name": "list_timestamps",
  "arguments": {
    "from": "2026-12-01"
  }
}
```

**Response, 200 OK**

```json
{
  "items": [
    {
      "id": "tst_4Hd7kMq1ZvBx",
      "object": "timestamp",
      "hash_algorithm": "SHA-256",
      "hashed": "51e9ca32557ab8084197287211e990f046f7ff7d0fa36f86b07a0eb3865ccfcb",
      "time": "2026-12-03T09:41:52.204Z",
      "tsa": "widar Timestamp Authority 1",
      "serial": "3263D4D1DD83A1AA91E9"
    }
  ],
  "next_cursor": null
}
```

## Read a timestamp

One RFC 3161 timestamp from widar's timestamp authority: the hash it covers, its time, serial and authority.

`GET /v1/timestamps/{timestamp_id}`. Who may: Owner, Admin, Compliance, Developer and Viewer. CLI: `widar timestamps get <timestamp_id>`. MCP tool: `get_timestamp`.

**Parameters**
- `timestamp_id` (id (tst_), required): The timestamp. In the path.

**Returns** timestamp: The timestamp, with the hash algorithm, the hash it covers, the time, the authority and the serial. Never the content.

API:

```bash
curl -X GET https://api.widar.com/v1/timestamps/tst_4Hd7kMq1ZvBx \
  -H "Authorization: Bearer $WIDAR_API_KEY"
```

CLI:

```bash
widar timestamps get tst_4Hd7kMq1ZvBx
```

MCP tool `get_timestamp`:

```json
{
  "name": "get_timestamp",
  "arguments": {
    "timestamp_id": "tst_4Hd7kMq1ZvBx"
  }
}
```

Response, 200 OK:

```json
{
  "id": "tst_4Hd7kMq1ZvBx",
  "object": "timestamp",
  "hash_algorithm": "SHA-256",
  "hashed": "51e9ca32557ab8084197287211e990f046f7ff7d0fa36f86b07a0eb3865ccfcb",
  "time": "2026-12-03T09:41:52.204Z",
  "tsa": "widar Timestamp Authority 1",
  "serial": "3263D4D1DD83A1AA91E9"
}
```

## List the timestamp authority's certificates

The certificates of widar's timestamp authority, active and retired, with their fingerprints and PEM.

`GET /v1/tsa_certificates`. Who may: Owner, Admin and Developer. CLI: `widar tsa-certificates list [--test]`. MCP tool: `list_tsa_certificates`.

**Parameters**
- `test` (boolean): the test timestamp authority's certificates

**Returns** list of timestamp authority certificates: Each certificate's subject, issuer, serial, validity, state and SHA-256 fingerprint, and where its PEM is.

API:

```bash
curl -X GET https://api.widar.com/v1/tsa_certificates \
  -H "Authorization: Bearer $WIDAR_API_KEY"
```

CLI:

```bash
widar tsa-certificates list
```

MCP tool `list_tsa_certificates`:

```json
{
  "name": "list_tsa_certificates",
  "arguments": {}
}
```

## Download a timestamp token

One timestamp's RFC 3161 token, as the bytes openssl ts and C2PA validators read.

`GET /v1/timestamps/{timestamp_id}/token`. Who may: Owner, Admin, Compliance, Developer and Viewer. CLI: `widar timestamps token <timestamp_id> [--output <token.tsr>]`. MCP tool: `download_timestamp_token`.

**Parameters**
- `timestamp_id` (id (tst_), required): The timestamp's id. In the path.

**Returns** timestamp token file: The token's bytes, in base64, as application/timestamp-reply.

API:

```bash
curl -X GET https://api.widar.com/v1/timestamps/tst_7Kq2Xw9/token \
  -H "Authorization: Bearer $WIDAR_API_KEY"
```

CLI:

```bash
widar timestamps token tst_7Kq2Xw9
```

MCP tool `download_timestamp_token`:

```json
{
  "name": "download_timestamp_token",
  "arguments": {
    "timestamp_id": "tst_7Kq2Xw9"
  }
}
```

## Read the timestamp endpoint

widar's RFC 3161 timestamp authority as this workspace reaches it: its addresses, policy, accuracy and limits, and the direct timestamps of this period.

`GET /v1/timestamp_authority`. Who may: Owner, Admin and Developer. CLI: `widar timestamps endpoint`. MCP tool: `get_timestamp_authority`.

**Parameters**

**Returns** timestamp authority: The production and test addresses, the policy identifiers, the hash algorithms, the declared accuracy, the limits, this period's direct timestamps against the plan's count, and the latest tokens by hash and time.

API:

```bash
curl -X GET https://api.widar.com/v1/timestamp_authority \
  -H "Authorization: Bearer $WIDAR_API_KEY"
```

CLI:

```bash
widar timestamps endpoint
```

MCP tool `get_timestamp_authority`:

```json
{
  "name": "get_timestamp_authority",
  "arguments": {}
}
```
