Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

didit-document-ai

БесплатноЗапускает вложенные скриптыНе проверен

Use when writing backend or API-key integration code for Didit Document AI, the standalone API that extracts the fields you define from any document (PDF or…

rosasalbertoот rosasalberto166 установок в других каталогах

Об этом скилле

Didit Document AI API

Working inside a connected Didit account (Claude, ChatGPT, Cursor)? Use the Didit plugin or the Didit MCP server tools instead of these REST calls.

Overview

Send one document and the list of fields you want read from it. Didit runs its default extraction model, returns every field typed, decodes supported QR codes and barcodes, runs PDF/EXIF forensics for manipulation, optionally compares the name on the document with the person or company you expect, and returns a status with an itemized warnings list.

Key constraints:

  • multipart/form-data only. document (the file) and fields (one JSON-encoded array string) are required
  • fields: 1 to 30 items, at most 16 KB. Bracket-style form keys (fields[0][key]=...) return 400
  • Synchronous and model-based: typically 5 to 15 seconds, multi-page PDFs up to about 30 seconds. Use a client timeout of at least 45 seconds and do not retry before the call completes
  • A readable but problematic document still returns 200 with Declined or In Review: always read document_ai.status and document_ai.warnings
  • Only 200 responses are billed: 400 and 403 responses cost nothing (see Pricing above)

Use cases: proof of funds, bank statements, payslips, source-of-wealth letters, tax documents, invoices, contracts, any document without a fixed template.

Pricing (list prices as of 2026-11-18, pricing): $0.20 per document (billed per 200 response, when the document is processed and a status is returned), paid from your plan credit or top-ups. Current prices: didit.me/pricing. Billing statements elsewhere in this skill (what is or is not billed) refer to this note and its date.

API Reference: https://docs.didit.me/standalone-apis/document-ai Feature Guide: https://docs.didit.me/core-technology/document-ai/overview Rules & Warnings: https://docs.didit.me/core-technology/document-ai/warnings-document-ai


Authentication

Every request needs the x-api-key header. Use your application's API key from the Didit Business Console under Developers > API keys, or create an account and key programmatically (see Getting Started). Named keys with custom access need Sessions write to run standalone checks; a key limited to some workflows or to approved sessions cannot run them.

Getting Started (No Account Yet?)

If you don't have a Didit API key, create one in 2 API calls:

  1. Register: POST https://apx.didit.me/auth/v2/programmatic/register/ with {"email": "[email protected]", "password": "MyStr0ng!Pass"}
  2. Check email for a 6-character verification code
  3. Verify: POST https://apx.didit.me/auth/v2/programmatic/verify-email/ with {"email": "[email protected]", "code": "A3K9F2"}. The key is in the response at application.api_key.

To add credits: GET /v3/billing/balance/ to check, POST /v3/billing/top-up/ with {"amount_in_dollars": 50} for a Stripe checkout link.

See the didit-verification-management skill for full platform management (workflows, sessions, users, billing).


Endpoint

POST https://verification.didit.me/v3/document-ai/

Headers

Header Value Required
x-api-key Your API key Yes
Content-Type multipart/form-data (set by your HTTP client) Yes

Body (multipart/form-data)

Parameter Type Required Default Description
document file Yes - The document to read (see Accepted files)
fields string Yes - One JSON-encoded array of 1 to 30 field definitions, max 16 KB
expected_first_name string No - Person name to compare. Use with expected_last_name. Not with expected_company_name
expected_last_name string No - Combined with expected_first_name for name_match_score
expected_company_name string No - Company name to compare. Not with the person fields
expected_company_country string No - Exactly 2 ASCII letters (ISO 3166-1 alpha-2, e.g. FR); tunes company-name normalization. Requires expected_company_name
document_ai_name_match_score_threshold integer No 80 0-100. A lower name_match_score raises DOCUMENT_AI_NAME_MISMATCH
document_ai_unreadable_document_action string No "REVIEW" DECLINE, REVIEW or NO_ACTION
document_ai_missing_required_fields_action string No "REVIEW" DECLINE, REVIEW or NO_ACTION
document_ai_document_tampering_action string No "DECLINE" DECLINE, REVIEW or NO_ACTION
document_ai_name_mismatch_action string No "NO_ACTION" DECLINE, REVIEW or NO_ACTION
document_ai_unsupported_file_action string No "REVIEW" DECLINE, REVIEW or NO_ACTION
save_api_request boolean No true true: store the call
Полный SKILL.md на ClawHub

Установить didit-document-ai в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл didit-document-ai?

Use when writing backend or API-key integration code for Didit Document AI, the standalone API that extracts the fields you define from any document (PDF or image). Use when the user wants to read custom data from proof of funds, bank statements, payslips, tax documents, invoices, contracts or source-of-wealth letters; get typed values (text, number, date) for their own field list; compare the name on a document with an expected person or company; detect tampered or edited PDFs and images; decode QR codes and barcodes on a document; or add a DOCUMENT_AI step to a verification workflow using Didit. Synchronous, multipart upload.

Как установить скилл didit-document-ai?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл didit-document-ai запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить didit-document-ai с