POST
/
v1
/
textify
/
analyzer
curl --request POST \
--url https://api.argosidentity.com/v1/textify/analyzer \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"fileExtension": "pdf",
"docuType": "InvoiceMedical",
"fileData": "base64-encoded-medical-invoice-pdf"
}'
{
"status": "success",
"data": {
"document": {
"patientInfo": {
"name": "John Smith",
"patientId": "P12345",
"dateOfBirth": "1985-03-15",
"contactNumber": "+1-555-0123"
},
"medicalProvider": {
"name": "City General Hospital",
"providerId": "H789",
"address": "123 Medical Center Dr, City, State 12345"
},
"billingDetails": {
"invoiceNumber": "INV-2024-001",
"serviceDate": "2024-01-15",
"dueDate": "2024-02-15",
"totalAmount": 1250,
"insuranceCoverage": 1000,
"patientResponsibility": 250
},
"medicalServices": [
{
"service": "Cardiology Consultation",
"code": "99204",
"amount": 350
},
{
"service": "EKG Test",
"code": "93000",
"amount": 150
},
{
"service": "Blood Work",
"code": "80048",
"amount": 750
}
]
},
"confidence": 0.95
}
}

Business Contracts Template

The Business Contracts template extracts structured data from legal contracts and agreements between businesses, including contract terms, parties involved, dates, and legal obligations.

Template Features

Extracts the following information from business contracts:
  • Contract type and classification
  • Business parties and their details
  • Contract terms and conditions
  • Financial terms and payment schedules
  • Legal obligations and warranties
  • Termination and dispute resolution clauses

Usage Example

{
  "fileExtension": "pdf",
  "docuType": "Contract",
  "fileData": "base64-encoded-business-contract-data"
}

Response Format

The template returns structured business contract data including:

Contract Information

  • Contract Type: Service Agreement, Partnership Agreement, Vendor Contract, etc.
  • Contract Terms: Start date, end date, renewal terms, notice period
  • Contract Value: Total contract value and currency

Business Parties

  • Client/Principal: Primary contracting party
  • Service Provider/Vendor: Secondary contracting party
  • Contact Information: Key contacts for each party
  • Business Details: Industry, size, registration information

Financial Terms

  • Payment Schedule: Milestone payments, monthly, quarterly, etc.
  • Payment Terms: Net 30, advance payment, etc.
  • Pricing Structure: Fixed price, time and materials, etc.
  • Penalties: Late payment penalties, breach penalties

Service/Product Details

  • Scope of Work: Detailed description of services/products
  • Deliverables: Specific outputs and timelines
  • Performance Standards: Quality requirements and metrics
  • Intellectual Property: IP ownership and licensing terms
  • Confidentiality: Non-disclosure agreements
  • Liability: Limitation of liability clauses
  • Indemnification: Indemnification terms
  • Force Majeure: Unforeseen circumstances clauses
  • Dispute Resolution: Arbitration, mediation, jurisdiction

Sample Response

{
  "status": "success",
  "data": {
    "document": {
      "contractType": "Service Agreement",
      "parties": {
        "client": {
          "name": "Global Manufacturing Corp.",
          "address": "123 Industrial Blvd, Manufacturing City, MC 12345",
          "contactPerson": "John Procurement",
          "phone": "+1-555-0123",
          "email": "procurement@globalmanufacturing.com"
        },
        "serviceProvider": {
          "name": "Tech Solutions LLC",
          "address": "456 Tech Drive, Innovation City, IC 67890",
          "contactPerson": "Sarah Technical",
          "phone": "+1-555-9876",
          "email": "sales@techsolutions.com"
        }
      },
      "contractTerms": {
        "startDate": "2024-03-01",
        "endDate": "2025-02-28",
        "renewalTerms": "Automatic renewal for 1 year",
        "noticePeriod": "60 days"
      },
      "financialTerms": {
        "contractValue": 250000.00,
        "currency": "USD",
        "paymentSchedule": "Monthly",
        "paymentTerms": "Net 30",
        "advancePayment": 50000.00
      },
      "scopeOfWork": {
        "description": "IT infrastructure maintenance and support services",
        "deliverables": [
          "24/7 system monitoring",
          "Monthly maintenance reports",
          "Emergency response within 2 hours",
          "Quarterly system updates"
        ],
        "performanceMetrics": {
          "uptime": "99.9%",
          "responseTime": "2 hours",
          "resolutionTime": "24 hours"
        }
      },
      "legalClauses": {
        "confidentiality": true,
        "liabilityLimit": "Service provider liability limited to contract value",
        "indemnification": "Mutual indemnification for third-party claims",
        "disputeResolution": "Arbitration in accordance with AAA rules"
      }
    },
    "confidence": 0.94
  }
}

Supported Business Contract Types

  • Service Agreements
  • Partnership Agreements
  • Vendor Contracts
  • Non-Disclosure Agreements
  • Licensing Agreements
  • Real Estate Contracts
  • Sales Agreements
  • Consulting Agreements
  • Joint Venture Agreements
  • Distribution Agreements

Authorizations

X-API-Key
string
header
required

Body

application/json
fileExtension
enum<string>
required

File extension of the uploaded document (e.g., 'pdf', 'jpg', 'png')

Available options:
pdf,
jpg,
jpeg,
png
docuType
enum<string>
required

The type of document to be analyzed. This determines the extraction model and data structure used for analysis.

Supported Document Types:

  • InvoiceMedical: Medical invoices and bills from healthcare providers, hospitals, clinics, and medical facilities. Extracts patient information, medical services, costs, and billing details.
  • BusinessRegistration: Official business registration documents, corporate certificates, and company formation papers. Extracts business name, registration number, business type, and address information.
  • InvoiceGeneral: Standard commercial invoices from businesses and service providers. Extracts invoice number, customer details, items/services, and payment information.
  • MedicalObservation: Medical reports, patient records, and clinical observation documents. Extracts patient data, medical findings, diagnosis, and treatment information.
  • Contract: Legal contracts, agreements, and binding documents between parties. Extracts contract terms, parties involved, dates, and legal obligations.
  • ArrivalNotice: Shipping and logistics arrival notifications, delivery confirmations. Extracts shipment details, arrival dates, and delivery information.
  • BillofLading: Transportation documents for cargo and freight shipments. Extracts shipping details, cargo information, and transport terms.
  • Jobapplication: Employment applications, resumes, and job-related documents. Extracts applicant information, qualifications, and employment history.
  • BalanceCertificate_KR: Korean bank balance certificates and financial statements. Extracts account information, balance details, and banking data.
  • ProofOfAddress: Address verification documents, utility bills, and residence certificates. Extracts address information and verification details.
Available options:
InvoiceMedical,
BusinessRegistration,
InvoiceGeneral,
MedicalObservation,
Contract,
ArrivalNotice,
BillofLading,
Jobapplication,
BalanceCertificate_KR,
ProofOfAddress
fileData
file
required

Base64 encoded file data

Response

Successful analysis

status
string

Analysis status

data
object

Extracted structured data from the document. The structure varies based on the document type.