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
}
}

Employment Contract Template

The Employment Contract template extracts structured data from employment agreements and contracts, including contract terms, parties involved, dates, and legal obligations specific to employment relationships.

Template Features

Extracts the following information from employment contracts:
  • Employer and employee information
  • Position and job responsibilities
  • Compensation and benefits details
  • Contract terms and duration
  • Legal clauses and obligations
  • Termination conditions
  • Confidentiality and non-compete terms

Usage Example

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

Response Format

The template returns structured employment contract data including:

Contract Information

  • Contract Type: Employment Agreement, Service Contract, etc.
  • Contract Terms: Start date, end date, probation period, notice period
  • Employment Status: Full-time, part-time, contract, temporary

Employer Information

  • Employer Name: Company or organization name
  • Employer Address: Complete company address
  • Contact Person: HR representative or manager
  • Company Details: Industry, size, location

Employee Information

  • Employee Name: Full name of employee
  • Position: Job title and role
  • Employee ID: Unique employee identifier
  • Department: Company department or division

Compensation Details

  • Base Salary: Annual or hourly compensation
  • Payment Schedule: Monthly, bi-weekly, etc.
  • Bonus Structure: Performance-based bonuses
  • Benefits: Health insurance, PTO, retirement plans
  • Overtime: Overtime pay rates and conditions
  • Confidentiality: Non-disclosure agreements
  • Non-Compete: Restrictions on future employment
  • Intellectual Property: IP ownership and rights
  • Termination: Conditions for contract termination
  • Dispute Resolution: Conflict resolution procedures

Sample Response

{
  "status": "success",
  "data": {
    "document": {
      "contractType": "Employment Agreement",
      "parties": {
        "employer": {
          "name": "TechCorp Inc.",
          "address": "456 Business Ave, Tech City, TC 54321",
          "contactPerson": "HR Manager"
        },
        "employee": {
          "name": "Sarah Johnson",
          "position": "Senior Software Engineer",
          "employeeId": "EMP-789"
        }
      },
      "contractTerms": {
        "startDate": "2024-02-01",
        "endDate": "2027-01-31",
        "probationPeriod": "90 days",
        "noticePeriod": "30 days"
      },
      "compensation": {
        "baseSalary": 85000.00,
        "currency": "USD",
        "paymentSchedule": "Monthly",
        "bonusStructure": "Annual performance-based bonus up to 15%"
      },
      "benefits": [
        "Health Insurance",
        "Dental Coverage",
        "401(k) with 4% match",
        "20 days PTO annually"
      ],
      "confidentialityClause": true,
      "nonCompetePeriod": "12 months"
    },
    "confidence": 0.92
  }
}

Supported Employment Contract Types

  • Full-Time Employment Agreements
  • Part-Time Employment Contracts
  • Fixed-Term Employment Contracts
  • Probationary Employment Agreements
  • Executive Employment Contracts
  • Consulting Agreements
  • Independent Contractor Agreements
  • Internship Agreements
  • Temporary Employment Contracts
  • Seasonal Employment 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.