using ABBYY.DocumentAI;
using ABBYY.DocumentAI.Schemas.Components;
var sdk = new DocumentAI(apiKeyAuth: "<YOUR_BEARER_TOKEN_HERE>");
var res = await sdk.Models.BasicContract.GetExtractedFieldsAsync(documentId: "wh23anb5xjf0ntw5taase5qz");
// handle response
{
"meta": {
"id": "wh23anb5xjf0ntw5taase5qz",
"name": "document.jpg",
"createdAt": "2025-02-07T17:44:06.949Z",
"model": "basic-contract",
"status": "Processed",
"pageCount": 10,
"errors": [
{
"message": "Total is required"
}
]
},
"fields": {
"title": "Software Development Service Agreement",
"party": [
{
"organizationName": "Tech Solutions Inc",
"personName": "John Smith",
"role": "Service Provider",
"address": "123 Tech Park, San Francisco, CA 94105"
},
{
"organizationName": "Global Enterprises Ltd",
"personName": "Sarah Johnson",
"role": "Client",
"address": "456 Business Ave, New York, NY 10001"
}
],
"dealAmount": 150000,
"agreementDate": "2024-03-15",
"effectiveDate": "2024-04-01",
"expirationDate": "2025-03-31",
"initialTerm": "12 months",
"renewalTerm": "12 months",
"governingLaw": "California",
"securityDeposit": 15000,
"insuranceClause": "Service Provider shall maintain professional liability insurance with a minimum coverage of $2,000,000",
"limitationOfLiability": 150000,
"confidentialityClause": "Both parties agree to maintain the confidentiality of all proprietary information shared during the term of this agreement",
"indemnityClause": "Service Provider agrees to indemnify and hold harmless Client from any claims arising from the services provided",
"nonCompeteClause": "Service Provider agrees not to provide similar services to Client's direct competitors for a period of 12 months after contract termination"
}
}
This endpoint returns an object representing the extracted basic-contract model fields from a document.
using ABBYY.DocumentAI;
using ABBYY.DocumentAI.Schemas.Components;
var sdk = new DocumentAI(apiKeyAuth: "<YOUR_BEARER_TOKEN_HERE>");
var res = await sdk.Models.BasicContract.GetExtractedFieldsAsync(documentId: "wh23anb5xjf0ntw5taase5qz");
// handle response
{
"meta": {
"id": "wh23anb5xjf0ntw5taase5qz",
"name": "document.jpg",
"createdAt": "2025-02-07T17:44:06.949Z",
"model": "basic-contract",
"status": "Processed",
"pageCount": 10,
"errors": [
{
"message": "Total is required"
}
]
},
"fields": {
"title": "Software Development Service Agreement",
"party": [
{
"organizationName": "Tech Solutions Inc",
"personName": "John Smith",
"role": "Service Provider",
"address": "123 Tech Park, San Francisco, CA 94105"
},
{
"organizationName": "Global Enterprises Ltd",
"personName": "Sarah Johnson",
"role": "Client",
"address": "456 Business Ave, New York, NY 10001"
}
],
"dealAmount": 150000,
"agreementDate": "2024-03-15",
"effectiveDate": "2024-04-01",
"expirationDate": "2025-03-31",
"initialTerm": "12 months",
"renewalTerm": "12 months",
"governingLaw": "California",
"securityDeposit": 15000,
"insuranceClause": "Service Provider shall maintain professional liability insurance with a minimum coverage of $2,000,000",
"limitationOfLiability": 150000,
"confidentialityClause": "Both parties agree to maintain the confidentiality of all proprietary information shared during the term of this agreement",
"indemnityClause": "Service Provider agrees to indemnify and hold harmless Client from any claims arising from the services provided",
"nonCompeteClause": "Service Provider agrees not to provide similar services to Client's direct competitors for a period of 12 months after contract termination"
}
}
Our API offers authentication via API keys. You can obtain an API key from https://developer.abbyy.com
The id of the document
Extracted Basic Contract Data Response
Was this page helpful?