Skip to main content
REST API v1Base URL: https://creagentic.ai/api/v1

API Documentation

Programmatic access to CREagentic's AI agents, valuation engine, and document management. All endpoints return JSON.

Getting Started

The CREagentic API gives you programmatic access to all AI agents, valuation models, and document storage. API access is available on Business and Enterprise plans.

1

Get an API key

Go to Settings > API Keys to generate a key. Each key has a label and can be revoked independently.

2

Make a request

All requests require an API key in the Authorization header. Responses are JSON. All timestamps are ISO 8601 in UTC.

3

Handle the response

Successful responses return 200 with a JSON body. Errors return appropriate status codes with a message field.

Base URL: https://creagentic.ai/api/v1
Content-Type: application/json
TLS: 1.2+ required for all connections
Example Request
curl https://creagentic.ai/api/v1/redline \
  -X POST \
  -H "Authorization: Bearer cre_abc123..." \
  -H "Content-Type: application/json" \
  -d '{
    "loi_text": "This Letter of Intent..."
  }'
Example Response
{
  "status": "success",
  "analysis": {
    "overall_risk_score": 7,
    "executive_summary": "This LOI presents moderate risk...",
    "clauses": [...]
  }
}

Authentication

Include your API key in the Authorization header of every request as a Bearer token.

API keys are managed in Settings > API Keys. Each key has a label and can be revoked independently. Revoking a key is immediate and irreversible.

Keys are prefixed with cre_. The full key is only shown once at creation time.

Security: Never share your API key or commit it to version control. Use environment variables to store keys. Rotate keys periodically.
Authenticated Request
curl https://creagentic.ai/api/v1/keys \
  -H "Authorization: Bearer cre_abc123def456..."

# The key is sent as a Bearer token
# in the Authorization header.
401 — Invalid Key
{
  "error": {
    "code": "unauthorized",
    "message": "Invalid API key. Check that your key is active and correctly copied.",
    "status": 401
  }
}

Rate Limits

Rate limits are enforced per API key. Limits vary by plan tier.

Note: API access requires Business or Enterprise tier.
PlanPer MinutePer Day
Starter / ProfessionalNo API accessNo API access
Business30 requests500 requests
Enterprise120 requests5,000 requests

When rate limited, the API returns 429 Too Many Requests with a Retry-After header indicating how many seconds to wait.

429 — Rate Limited
HTTP/1.1 429 Too Many Requests
Retry-After: 23

{
  "error": {
    "code": "rate_limit_exceeded",
    "message": "Too many requests. Please retry after 23 seconds.",
    "status": 429
  }
}

Errors

The API uses standard HTTP status codes. Error responses include a JSON body with code and message fields.

400
Bad Request

The request body is missing required fields or contains invalid values.

401
Unauthorized

The API key is missing, invalid, or has been revoked.

403
Forbidden

Your plan does not include API access. Upgrade to Business or Enterprise.

404
Not Found

The requested resource does not exist or you do not have access to it.

429
Too Many Requests

Rate limit exceeded. Check the Retry-After header and wait before retrying.

500
Internal Server Error

An unexpected error on our end. Retry after a few seconds. Contact support if it persists.

Error Response Format
{
  "error": {
    "code": "bad_request",
    "message": "The 'loi_text' field is required.",
    "status": 400
  }
}
Validation Error (multiple fields)
{
  "error": {
    "code": "validation_error",
    "message": "Invalid request body.",
    "status": 400,
    "details": [
      {
        "field": "recipients",
        "message": "At least one recipient email is required."
      },
      {
        "field": "frequency",
        "message": "Must be one of: daily, weekly, monthly, quarterly."
      }
    ]
  }
}

Agents

AI-powered analysis endpoints. Each agent accepts a document or text input and returns structured analysis.

Note: The REST API currently exposes LOI Redline (/api/v1/redline) as a live endpoint. All other agents are available via tRPC for authenticated web sessions and are being progressively exposed as REST endpoints. Endpoints marked COMING SOON are documented for planning purposes and will follow the same request/response shape when released.

LOI Redline

POST/api/v1/redlineLIVE

Analyzes a Letter of Intent and identifies risks, missing provisions, and negotiation opportunities.

Request Body

loiText
string, requiredmax 100K chars

The full text of the Letter of Intent.

analysisMode
string, optional

One of "standard", "aggressive", "landlord-favorable". Default: "standard".

Request
curl -X POST https://creagentic.ai/api/v1/redline \
  -H "Authorization: Bearer cre_abc123..." \
  -H "Content-Type: application/json" \
  -d '{
    "loiText": "This Letter of Intent dated March 15, 2026 between Seller (ABC Properties LLC) and Buyer (Acme Acquisitions Inc) for the property at 100 Main St...",
    "analysisMode": "standard"
  }'
Response
{
  "status": "success",
  "analysis": {
    "overallRiskScore": 7,
    "executiveSummary": "This LOI presents moderate risk with a short due diligence window and missing earnest money provisions.",
    "clauseAnalysis": [
      {
        "clause": "Due Diligence Period",
        "riskLevel": "high",
        "concern": "30-day period is insufficient for Class A office",
        "suggestedRevision": "Extend to 60 days with two 15-day extensions"
      },
      {
        "clause": "Earnest Money",
        "riskLevel": "medium",
        "concern": "No earnest money deposit specified",
        "suggestedRevision": "Add $500K deposit, refundable during due diligence"
      }
    ],
    "keyTerms": {
      "purchasePrice": "$42,000,000",
      "closingDate": "90 days from execution",
      "dueDiligencePeriod": "30 days"
    }
  }
}

Lease Abstract

POST/api/v1/agents/lease-abstractCOMING SOON

Extracts key terms from a commercial lease into a structured summary with 200+ fields.

Request Body

leaseText
string, requiredmax 500K chars

The full text of the commercial lease agreement.

abstractMode
string, optional

One of "standard", "landlord-focus", "tenant-focus", "acquisition". Default: "standard".

Request
curl -X POST https://creagentic.ai/api/v1/agents/lease-abstract \
  -H "Authorization: Bearer cre_abc123..." \
  -H "Content-Type: application/json" \
  -d '{
    "leaseText": "LEASE AGREEMENT dated January 1, 2026 between ABC Properties LLC (Landlord) and Acme Corp (Tenant) for Suite 400, 100 Main St...",
    "abstractMode": "standard"
  }'
Response
{
  "status": "success",
  "abstract": {
    "property": {
      "address": "100 Main St, Suite 400",
      "type": "office",
      "squareFeet": 12500
    },
    "parties": {
      "landlord": "ABC Properties LLC",
      "tenant": "Acme Corp"
    },
    "keyTerms": {
      "commencementDate": "2026-01-01",
      "expirationDate": "2035-12-31",
      "termYears": 10,
      "baseRent": "$45.00/SF/yr",
      "annualEscalation": "3%",
      "securityDeposit": "$125,000",
      "tiAllowance": "$65.00/SF"
    },
    "options": {
      "renewalOptions": 2,
      "renewalTermYears": 5,
      "rightOfFirstRefusal": true
    },
    "riskAssessment": {
      "overallRisk": "moderate",
      "missingClauses": ["force majeure"],
      "flaggedTerms": 3
    }
  }
}

Email Triage

POST/api/v1/agents/email-triageCOMING SOON

Classifies property management emails by urgency and category, then drafts an appropriate response.

Request Body

emailSubject
string, required

The subject line of the email.

emailBody
string, requiredmax 50K chars

The full body text of the email.

Request
curl -X POST https://creagentic.ai/api/v1/agents/email-triage \
  -H "Authorization: Bearer cre_abc123..." \
  -H "Content-Type: application/json" \
  -d '{
    "emailSubject": "Urgent: Water leak in Suite 200",
    "emailBody": "Hi, there is water coming through the ceiling in our conference room. It appears to be from the unit above. Please send someone immediately."
  }'
Response
{
  "status": "success",
  "triage": {
    "category": "maintenance",
    "priority": "urgent",
    "sentiment": "frustrated",
    "summary": "Tenant reports active water leak from ceiling in Suite 200 conference room.",
    "suggestedActions": [
      "Dispatch emergency maintenance",
      "Notify upstairs tenant (Suite 300)",
      "File insurance incident report"
    ],
    "draftResponse": "Thank you for reporting this immediately. I've dispatched our emergency maintenance team and they will be on-site within 30 minutes. We're also contacting the tenant above to identify the source. I'll follow up with a status update within the hour."
  }
}

COI Compliance

POST/api/v1/agents/coi-complianceCOMING SOON

Checks a Certificate of Insurance against lease requirements and identifies coverage deficiencies.

Request Body

coiText
string, required

The extracted text of the Certificate of Insurance.

requirements
object, required

Lease-specified insurance requirements:

  • cglEachOccurrence — number (e.g. 1000000)
  • cglGeneralAggregate — number (e.g. 2000000)
  • autoCombinedSingleLimit — number
  • umbrellaEachOccurrence — number
  • workersCompRequired — boolean
  • additionalInsuredEntities — string[]
  • waiverOfSubrogationRequired — boolean
  • primaryNoncontributoryRequired — boolean
  • thirtyDayNoticeRequired — boolean
Request
curl -X POST https://creagentic.ai/api/v1/agents/coi-compliance \
  -H "Authorization: Bearer cre_abc123..." \
  -H "Content-Type: application/json" \
  -d '{
    "coiText": "CERTIFICATE OF LIABILITY INSURANCE... Insured: Acme Corp, CGL Each Occurrence $1,000,000, General Aggregate $2,000,000...",
    "requirements": {
      "cglEachOccurrence": 1000000,
      "cglGeneralAggregate": 2000000,
      "umbrellaEachOccurrence": 5000000,
      "workersCompRequired": true,
      "additionalInsuredEntities": ["ABC Properties LLC"],
      "waiverOfSubrogationRequired": true
    }
  }'
Response
{
  "status": "success",
  "compliance": {
    "overallStatus": "non-compliant",
    "deficiencies": [
      {
        "requirement": "Umbrella Each Occurrence",
        "required": 5000000,
        "actual": 2000000,
        "shortfall": 3000000,
        "severity": "critical"
      },
      {
        "requirement": "Waiver of Subrogation",
        "required": true,
        "actual": false,
        "severity": "high"
      }
    ],
    "compliantItems": [
      "CGL Each Occurrence",
      "CGL General Aggregate",
      "Workers Compensation",
      "Additional Insured"
    ],
    "expirationDate": "2027-01-15",
    "daysUntilExpiry": 285
  }
}

Rent Roll Parser

POST/api/v1/agents/rent-rollCOMING SOON

Extracts tenant data from rent roll documents into a structured array of lease records.

Request Body

documentText
string, requiredmax 500K chars

The text content of the rent roll document.

Request
curl -X POST https://creagentic.ai/api/v1/agents/rent-roll \
  -H "Authorization: Bearer cre_abc123..." \
  -H "Content-Type: application/json" \
  -d '{
    "documentText": "RENT ROLL - 100 Main St\nUnit 100, Acme Corp, 5000 SF, $22.50/SF, 01/2024-12/2028\nUnit 200, Beta Inc, 3200 SF, $24.00/SF, 06/2025-05/2030..."
  }'
Response
{
  "status": "success",
  "rentRoll": {
    "propertyName": "100 Main St",
    "totalUnits": 2,
    "totalSF": 8200,
    "occupancyRate": 1.0,
    "tenants": [
      {
        "unit": "100",
        "tenant": "Acme Corp",
        "squareFeet": 5000,
        "rentPerSF": 22.50,
        "annualRent": 112500,
        "leaseStart": "2024-01-01",
        "leaseEnd": "2028-12-31",
        "monthsRemaining": 33
      },
      {
        "unit": "200",
        "tenant": "Beta Inc",
        "squareFeet": 3200,
        "rentPerSF": 24.00,
        "annualRent": 76800,
        "leaseStart": "2025-06-01",
        "leaseEnd": "2030-05-31",
        "monthsRemaining": 50
      }
    ],
    "weightedAvgRent": 23.06
  }
}

OM Extraction

POST/api/v1/agents/om-extractCOMING SOON

Pulls key data from Offering Memoranda including property details, financials, and tenant information.

Request Body

documentText
string, requiredmax 1M chars

The full text of the Offering Memorandum.

Request
curl -X POST https://creagentic.ai/api/v1/agents/om-extract \
  -H "Authorization: Bearer cre_abc123..." \
  -H "Content-Type: application/json" \
  -d '{
    "documentText": "CONFIDENTIAL OFFERING MEMORANDUM - Riverside Retail Center, 450 River Rd, Austin TX..."
  }'
Response
{
  "status": "success",
  "extraction": {
    "property": {
      "name": "Riverside Retail Center",
      "address": "450 River Rd, Austin, TX 78701",
      "type": "retail",
      "yearBuilt": 2018,
      "totalSF": 85000,
      "lotSize": "3.2 acres",
      "parkingSpaces": 340
    },
    "financials": {
      "askingPrice": 28500000,
      "pricePerSF": 335.29,
      "currentNOI": 1852500,
      "inPlaceCapRate": 0.065,
      "proFormaNOI": 2137500,
      "proFormaCapRate": 0.075,
      "occupancy": 0.94
    },
    "tenants": [
      { "name": "Whole Foods", "sf": 35000, "rentPerSF": 28.00, "leaseEnd": "2032-08-31" },
      { "name": "CorePower Yoga", "sf": 5000, "rentPerSF": 32.00, "leaseEnd": "2029-03-31" }
    ]
  }
}

Critical Dates

POST/api/v1/agents/critical-datesCOMING SOON

Extracts important deadlines from one or more leases including expirations, option windows, and notice periods.

Request Body

leases
array, required1–20 items

Each item: tenantName (string, required), propertyName (string, optional), leaseText (string, required).

Request
curl -X POST https://creagentic.ai/api/v1/agents/critical-dates \
  -H "Authorization: Bearer cre_abc123..." \
  -H "Content-Type: application/json" \
  -d '{
    "leases": [{
      "tenantName": "Acme Corp",
      "propertyName": "100 Main St",
      "leaseText": "LEASE AGREEMENT... Term: Jan 1 2024 through Dec 31 2028. Renewal option notice due 180 days prior..."
    }]
  }'
Response
{
  "status": "success",
  "criticalDates": [
    {
      "tenant": "Acme Corp",
      "property": "100 Main St",
      "dates": [
        {
          "type": "lease_expiration",
          "date": "2028-12-31",
          "description": "Lease term ends",
          "daysRemaining": 999
        },
        {
          "type": "renewal_notice",
          "date": "2028-07-04",
          "description": "Renewal option notice deadline (180 days prior)",
          "daysRemaining": 819
        },
        {
          "type": "rent_escalation",
          "date": "2027-01-01",
          "description": "Annual 3% rent escalation",
          "daysRemaining": 270
        }
      ]
    }
  ]
}

Owner Report

POST/api/v1/agents/owner-reportCOMING SOON

Generates property performance reports from financial data with variance analysis and commentary.

Request Body

propertyNamestring, required
reportingPeriodstring, optional — e.g. "Q1 2026"
financialDatastring, required — income/expense data (text, CSV, or JSON)
additionalContextstring, optional — notes on capital projects, leasing activity, etc.
Request
curl -X POST https://creagentic.ai/api/v1/agents/owner-report \
  -H "Authorization: Bearer cre_abc123..." \
  -H "Content-Type: application/json" \
  -d '{
    "propertyName": "100 Main St Office Tower",
    "reportingPeriod": "Q1 2026",
    "financialData": "Rental Income: $1,125,000\nCAM Reimbursements: $187,500\nVacancy Loss: -$56,250\nManagement Fee: -$45,000\nRepairs: -$32,000..."
  }'
Response
{
  "status": "success",
  "report": {
    "property": "100 Main St Office Tower",
    "period": "Q1 2026",
    "summary": {
      "effectiveGrossIncome": 1256250,
      "totalExpenses": 412000,
      "noi": 844250,
      "noiVsBudget": 0.034,
      "occupancy": 0.95
    },
    "variances": [
      { "lineItem": "Repairs & Maintenance", "actual": 32000, "budget": 22000, "variance": 0.45, "note": "Unplanned HVAC repair in Suite 300" }
    ],
    "commentary": "NOI exceeded budget by 3.4% driven by strong leasing momentum. R&M overage due to emergency HVAC work; recommend reserve increase."
  }
}

Vendor Bids

POST/api/v1/agents/vendor-bidsCOMING SOON

Compares contractor proposals side by side with scoring across cost, timeline, scope, and qualifications.

Request Body

proposals
array, required2–4 items

Each: vendorName (string), proposalText (string).

scopeDescriptionstring, optional — context about the project scope
Request
curl -X POST https://creagentic.ai/api/v1/agents/vendor-bids \
  -H "Authorization: Bearer cre_abc123..." \
  -H "Content-Type: application/json" \
  -d '{
    "proposals": [
      { "vendorName": "BuildRight Corp", "proposalText": "Lobby renovation: $285,000, 8 weeks, includes demolition, marble flooring, new lighting..." },
      { "vendorName": "Premier Interiors", "proposalText": "Lobby renovation: $312,000, 6 weeks, marble + custom millwork, dedicated PM..." }
    ],
    "scopeDescription": "Full lobby renovation for Class A office building"
  }'
Response
{
  "status": "success",
  "comparison": {
    "recommendation": "Premier Interiors",
    "reasoning": "Higher cost offset by faster timeline, broader scope, and dedicated project management.",
    "vendors": [
      {
        "name": "BuildRight Corp",
        "totalCost": 285000,
        "timeline": "8 weeks",
        "scores": { "cost": 8, "timeline": 6, "scope": 7, "qualifications": 7 },
        "overallScore": 7.0
      },
      {
        "name": "Premier Interiors",
        "totalCost": 312000,
        "timeline": "6 weeks",
        "scores": { "cost": 6, "timeline": 8, "scope": 9, "qualifications": 9 },
        "overallScore": 8.0
      }
    ]
  }
}

Amendment Analysis

POST/api/v1/agents/amendmentCOMING SOON

Compares a lease amendment against the original lease and summarizes all changes with impact analysis.

Request Body

leaseTextstring, required — the original lease text
amendmentTextstring, required — the amendment text
Request
curl -X POST https://creagentic.ai/api/v1/agents/amendment \
  -H "Authorization: Bearer cre_abc123..." \
  -H "Content-Type: application/json" \
  -d '{
    "leaseText": "LEASE AGREEMENT dated Jan 1, 2024... Base rent: $22.50/SF... Term: 5 years...",
    "amendmentText": "FIRST AMENDMENT TO LEASE... Base rent increased to $24.00/SF effective July 1, 2026. Tenant granted right of first refusal on Suite 300..."
  }'
Response
{
  "status": "success",
  "analysis": {
    "amendmentNumber": 1,
    "effectiveDate": "2026-07-01",
    "changes": [
      {
        "section": "Base Rent",
        "original": "$22.50/SF/yr",
        "amended": "$24.00/SF/yr",
        "impact": "6.7% increase, adds $7,500/yr to landlord revenue",
        "favorability": "landlord-favorable"
      },
      {
        "section": "Expansion Rights",
        "original": "None",
        "amended": "Right of first refusal on Suite 300 (2,800 SF)",
        "impact": "Tenant gains expansion option; landlord loses flexibility",
        "favorability": "tenant-favorable"
      }
    ],
    "overallImpact": "Net positive for landlord (rent increase outweighs expansion right concession)",
    "unchangedSections": ["Term", "CAM Structure", "Insurance Requirements", "Use Clause"]
  }
}

Tax Appeal

POST/api/v1/agents/tax-appealCOMING SOON

Analyzes property tax assessments for appeal opportunities using income approach and comparable sales.

Request Body

assessmentTextstring, required — the tax assessment notice text
incomeDatastring, required — property income and expense data
propertyType
string, required

One of "retail", "office", "industrial", "multifamily", "mixed_use".

Request
curl -X POST https://creagentic.ai/api/v1/agents/tax-appeal \
  -H "Authorization: Bearer cre_abc123..." \
  -H "Content-Type: application/json" \
  -d '{
    "assessmentText": "NOTICE OF ASSESSED VALUE - Parcel 12345, 100 Main St. Land: $8,200,000. Improvements: $14,800,000. Total: $23,000,000.",
    "incomeData": "Gross Income: $1,850,000. Vacancy: 6%. Expenses: $620,000. NOI: $1,118,000.",
    "propertyType": "office"
  }'
Response
{
  "status": "success",
  "appealAnalysis": {
    "assessedValue": 23000000,
    "incomeApproachValue": 17200000,
    "overassessmentPct": 0.337,
    "estimatedTaxSavings": 148000,
    "appealRecommendation": "strong",
    "arguments": [
      {
        "approach": "Income Capitalization",
        "supportedValue": 17200000,
        "capRateUsed": 0.065,
        "reasoning": "NOI of $1.118M at market cap rate of 6.5% supports $17.2M value"
      },
      {
        "approach": "Comparable Sales",
        "supportedValue": 18500000,
        "reasoning": "Three recent office sales within 1 mile averaged $185/SF"
      }
    ],
    "deadlineWarning": "Appeal must be filed by May 15, 2026"
  }
}

Estoppel

POST/api/v1/agents/estoppelCOMING SOON

Generates tenant estoppel certificates from lease documents with all required confirmations.

Request Body

leaseTextstring, required — the lease agreement text
additionalContextstring, optional — amendments, side letters, or tenant notes
Request
curl -X POST https://creagentic.ai/api/v1/agents/estoppel \
  -H "Authorization: Bearer cre_abc123..." \
  -H "Content-Type: application/json" \
  -d '{
    "leaseText": "LEASE AGREEMENT dated Jan 1, 2024 between ABC Properties LLC and Acme Corp for Suite 400, 100 Main St. Term: 5 years. Rent: $22.50/SF..."
  }'
Response
{
  "status": "success",
  "certificate": {
    "tenant": "Acme Corp",
    "premises": "Suite 400, 100 Main St",
    "landlord": "ABC Properties LLC",
    "confirmations": {
      "leaseDate": "2024-01-01",
      "commencementDate": "2024-01-01",
      "expirationDate": "2028-12-31",
      "currentMonthlyRent": 9375.00,
      "securityDeposit": 56250.00,
      "prepaidRent": null,
      "amendments": [],
      "defaultsByLandlord": "None",
      "defaultsByTenant": "None",
      "assignmentOrSublease": "None",
      "renewalOptions": "One 3-year option at market rate",
      "rightOfFirstRefusal": false
    },
    "generatedText": "The undersigned, Acme Corp, as Tenant under that certain Lease Agreement dated January 1, 2024, hereby certifies and confirms..."
  }
}

CAM Reconciliation

POST/api/v1/agents/cam/extractCOMING SOON

Extracts data from CAM reconciliation documents including GL exports, rent rolls, leases, and tax bills.

Request Body

documentType
string, required

One of "gl-export", "rent-roll", "lease", "tax-bill", "insurance-policy", "prior-year-recon", "budget", "estimate-letter".

documentTextstring, required — the document content
documentIdstring, optional — your internal document reference ID
propertyNamestring, optional — property name for context
fiscalYearnumber, optional — e.g. 2025
Request
curl -X POST https://creagentic.ai/api/v1/agents/cam/extract \
  -H "Authorization: Bearer cre_abc123..." \
  -H "Content-Type: application/json" \
  -d '{
    "documentType": "gl-export",
    "documentText": "Account,Description,Debit,Credit\n5100,Property Tax,185000,0\n5200,Insurance,42000,0\n5300,Repairs,67500,0...",
    "propertyName": "100 Main St",
    "fiscalYear": 2025
  }'
Response
{
  "status": "success",
  "extraction": {
    "documentType": "gl-export",
    "property": "100 Main St",
    "fiscalYear": 2025,
    "lineItems": [
      { "account": "5100", "description": "Property Tax", "amount": 185000 },
      { "account": "5200", "description": "Insurance", "amount": 42000 },
      { "account": "5300", "description": "Repairs & Maintenance", "amount": 67500 }
    ],
    "totals": {
      "totalExpenses": 294500,
      "controllable": 67500,
      "nonControllable": 227000
    }
  }
}

Valuation Models

Create, retrieve, and run DCF valuations on saved property models.

List Models

GET/api/v1/models

Returns a paginated list of saved valuation models for the authenticated user.

Query Parameters

pagenumber, optional — page number, default 1
pageSizenumber, optional — results per page, default 20, max 100
Request
curl https://creagentic.ai/api/v1/models?page=1&pageSize=10 \
  -H "Authorization: Bearer cre_abc123..."
Response
{
  "models": [
    {
      "id": 12,
      "name": "100 Main St Office Tower",
      "propertyType": "office",
      "status": "final",
      "updatedAt": "2026-03-28T14:30:00Z"
    },
    {
      "id": 8,
      "name": "Riverside Retail Center",
      "propertyType": "retail",
      "status": "draft",
      "updatedAt": "2026-03-25T09:15:00Z"
    }
  ],
  "page": 1,
  "pageSize": 10,
  "total": 2
}

Get Model

GET/api/v1/models/:id

Returns the full property model including all assumptions, rent roll, and expense data.

Request
curl https://creagentic.ai/api/v1/models/12 \
  -H "Authorization: Bearer cre_abc123..."
Response
{
  "id": 12,
  "name": "100 Main St Office Tower",
  "propertyType": "office",
  "status": "final",
  "assumptions": {
    "squareFeet": 150000,
    "noiYear1": 3750000,
    "noiGrowthRate": 0.03,
    "capRate": 0.065,
    "discountRate": 0.09,
    "holdingPeriod": 10,
    "exitCapRate": 0.07
  },
  "tenants": [
    { "name": "Acme Corp", "unit": "400", "sf": 12500, "rentPerSF": 45.00 }
  ],
  "createdAt": "2026-02-15T10:00:00Z",
  "updatedAt": "2026-03-28T14:30:00Z"
}

Run Valuation

POST/api/v1/models/:id/run

Runs a full DCF valuation on a saved model and returns detailed results including cash flows, IRR, and sensitivity analysis.

Request
curl -X POST https://creagentic.ai/api/v1/models/12/run \
  -H "Authorization: Bearer cre_abc123..."
Response
{
  "status": "success",
  "results": {
    "dcfValue": 52340000,
    "directCapValue": 57692308,
    "irrLevered": 0.142,
    "irrUnlevered": 0.112,
    "cashOnCash": 0.087,
    "equityMultiple": 2.14,
    "cashFlows": [
      { "year": 1, "noi": 3750000, "debtService": 2100000, "cashFlow": 1650000 },
      { "year": 2, "noi": 3862500, "debtService": 2100000, "cashFlow": 1762500 }
    ],
    "sensitivity": {
      "capRateRange": [0.055, 0.075],
      "valueRange": [50000000, 68181818]
    }
  }
}

Documents

Upload, browse, and download stored documents.

List Documents

GET/api/v1/documents

Returns a paginated list of stored documents with optional filtering by category or search term.

Query Parameters

categorystring, optional — filter by category (lease, loi, amendment, rent-roll, coi, etc.)
searchstring, optional — search file names and tags
pagenumber, optional — default 1
pageSizenumber, optional — default 20, max 100
Request
curl "https://creagentic.ai/api/v1/documents?category=lease&page=1" \
  -H "Authorization: Bearer cre_abc123..."
Response
{
  "documents": [
    {
      "id": "d7f3a1b2-...",
      "fileName": "Acme-Corp-Lease-2024.pdf",
      "category": "lease",
      "fileSize": 2456000,
      "propertyName": "100 Main St",
      "tags": ["office", "acme"],
      "createdAt": "2026-03-10T08:30:00Z"
    }
  ],
  "page": 1,
  "pageSize": 20,
  "total": 1
}

Get Document

GET/api/v1/documents/:id

Returns document metadata and analysis history.

Request
curl https://creagentic.ai/api/v1/documents/d7f3a1b2-... \
  -H "Authorization: Bearer cre_abc123..."
Response
{
  "id": "d7f3a1b2-...",
  "fileName": "Acme-Corp-Lease-2024.pdf",
  "category": "lease",
  "fileSize": 2456000,
  "propertyName": "100 Main St",
  "tags": ["office", "acme"],
  "analyses": [
    {
      "agentType": "lease-abstract",
      "createdAt": "2026-03-10T09:00:00Z",
      "resultSummary": "10-year office lease, $45/SF base rent"
    }
  ],
  "createdAt": "2026-03-10T08:30:00Z",
  "updatedAt": "2026-03-10T09:00:00Z"
}

Download Document

GET/api/v1/documents/:id/download

Returns a signed download URL that expires in 1 hour. Redirect or fetch the URL to download the file.

Request
curl https://creagentic.ai/api/v1/documents/d7f3a1b2-.../download \
  -H "Authorization: Bearer cre_abc123..."
Response
{
  "url": "https://storage.supabase.co/...?token=eyJ...",
  "expiresAt": "2026-04-06T15:30:00Z",
  "fileName": "Acme-Corp-Lease-2024.pdf",
  "contentType": "application/pdf"
}

Webhooks

Coming Soon

Outgoing webhooks are on the roadmap. You'll be able to receive real-time notifications when analyses complete, critical dates approach, or payment status changes.

In the meantime, use scheduled reports for automated delivery of recurring analysis to your team.

Planned Events

analysis.completedFires when any agent analysis finishes
critical_date.approachingFires when a tracked date is within the alert window
model.updatedFires when a valuation model is saved or restored
document.uploadedFires when a new document is added to storage
Webhook Payload (planned)
// Webhook payloads will follow this format:
{
  "event": "analysis.completed",
  "timestamp": "2026-04-06T14:30:00Z",
  "data": {
    "agentType": "lease-abstract",
    "documentId": "d7f3a1b2-...",
    "status": "success",
    "resultUrl": "https://creagentic.ai/api/v1/..."
  }
}

// Configure webhooks at:
// Settings > Webhooks (coming soon)

We use cookies to improve your experience and analyze site usage. See our Privacy Policy for details.