# DIEM Evidence Extract

> DIEM Evidence Extract is a paid API for AI agents from olgal.tailb53d24.ts.net:10000, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Extracts up to eight named fields as verbatim literal quotes with precise Unicode character offset positions from public text.

## Facts

- Endpoint: POST https://olgal.tailb53d24.ts.net:10000/extract
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/diem-evidence-extract-77d19eea
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__V-YCdC-EKQie9PMVE34E

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability diem-evidence-extract-77d19eea -d '<json body>'
```

Example prompt: From this public article text, extract the following fields as exact verbatim quotes with their Unicode character offsets: 'author name', 'publication date', 'headline', and 'organization mentioned'. Make sure public_data is set to true.

## When to prefer this

Choose this endpoint when you need verbatim literal quotes from text along with precise Unicode character offset positions — for example, to cite evidence, build annotation layers, or verify that a value appears at a specific location in a document. It is especially useful when downstream consumers need to verify the exact source position of extracted data. Prefer it over generative or summarization APIs when the fidelity of the exact original wording and position matters.

## Known failure modes

- Missing required fields (text, fields, public_data) returns a validation error
- public_data set to false may be rejected as the service only processes public text
- Requested field not found in text returns null for that field
- Text too long or fields count exceeding eight may result in partial results or error
- Network or service unavailability returns a connection error
- Malformed fields object returns a schema validation error

## How this service works

Extract up to eight fields as literal quotes with Unicode character offsets from public text.

## Output

Returns a job ID, a SHA-256 hash of the result for integrity verification, and a result object containing for each requested field either null (if not found) or an object with the verbatim quoted string, its Unicode code-point start offset, and its Unicode code-point end offset. The semantic_correctness_verified flag is always false, indicating the extraction is not semantically validated.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "text",
  "fields",
  "public_data"
 ],
 "properties": {
  "text": {
   "type": "string"
  },
  "fields": {
   "type": "object"
  },
  "public_data": {
   "type": "boolean"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "job_id",
  "result",
  "result_sha256"
 ],
 "properties": {
  "job_id": {
   "type": "string"
  },
  "result": {
   "type": "object",
   "properties": {
    "fields": {
     "type": "object",
     "additionalProperties": {
      "oneOf": [
       {
        "type": "null"
       },
       {
        "type": "object",
        "required": [
         "quote",
         "start",
         "end"
        ],
        "properties": {
         "end": {
          "type": "integer",
          "minimum": 0
         },
         "quote": {
          "type": "string"
         },
         "start": {
          "type": "integer",
          "minimum": 0
         }
        }
       }
      ]
     }
    },
    "offset_unit": {
     "const": "unicode_code_points"
    },
    "semantic_correctness_verified": {
     "const": false
    }
   }
  },
  "result_sha256": {
   "type": "string",
   "pattern": "^[a-f0-9]{64}$"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/diem-evidence-extract-77d19eea/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from olgal.tailb53d24.ts.net:10000](https://www.zero.xyz/host/olgal.tailb53d24.ts.net%3A10000/llms.txt)
