{"uid":"cap__V-YCdC-EKQie9PMVE34E","slug":"diem-evidence-extract-77d19eea","name":"DIEM Evidence Extract","description":"Extract up to eight fields as literal quotes with Unicode character offsets from public text.","url":"https://olgal.tailb53d24.ts.net:10000/extract","method":"POST","headers":{},"bodySchema":{"type":"object","required":["text","fields","public_data"],"properties":{"text":{"type":"string"},"fields":{"type":"object"},"public_data":{"type":"boolean"}}},"responseSchema":{"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}$"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_GSTwBowdd03Xb-ETroMQl","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts up to eight named fields as verbatim literal quotes with precise Unicode character offset positions from public text.","exampleAgentPrompt":"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.","exampleUseCases":[{"title":"Legal evidence citation from documents","prompt":"I have this publicly available court filing text — can you extract the 'defendant name', 'filing date', 'case number', and 'judge name' as literal quotes with exact Unicode character positions? It's public data."},{"title":"News article structured data extraction","prompt":"Pull the 'headline', 'author', 'publication date', and 'lead paragraph' as verbatim quotes with character offsets from this public news article text."},{"title":"Contract key-term localization","prompt":"From this publicly available contract text, extract the fields 'effective date', 'party A', 'party B', and 'governing law' as exact literal quotes and tell me exactly where each one starts and ends in Unicode character positions."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:34:08.176Z","isFirstParty":false}