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.
Get an API key
Go to Settings > API Keys to generate a key. Each key has a label and can be revoked independently.
Make a request
All requests require an API key in the Authorization header. Responses are JSON. All timestamps are ISO 8601 in UTC.
Handle the response
Successful responses return 200 with a JSON body. Errors return appropriate status codes with a message field.
https://creagentic.ai/api/v1Content-Type:
application/jsonTLS: 1.2+ required for all connections
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..."
}'{
"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.
curl https://creagentic.ai/api/v1/keys \
-H "Authorization: Bearer cre_abc123def456..."
# The key is sent as a Bearer token
# in the Authorization header.{
"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.
| Plan | Per Minute | Per Day |
|---|---|---|
| Starter / Professional | No API access | No API access |
| Business | 30 requests | 500 requests |
| Enterprise | 120 requests | 5,000 requests |
When rate limited, the API returns 429 Too Many Requests with a Retry-After header indicating how many seconds to wait.
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.
The request body is missing required fields or contains invalid values.
The API key is missing, invalid, or has been revoked.
Your plan does not include API access. Upgrade to Business or Enterprise.
The requested resource does not exist or you do not have access to it.
Rate limit exceeded. Check the Retry-After header and wait before retrying.
An unexpected error on our end. Retry after a few seconds. Contact support if it persists.
{
"error": {
"code": "bad_request",
"message": "The 'loi_text' field is required.",
"status": 400
}
}{
"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.
/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
/api/v1/redlineLIVEAnalyzes a Letter of Intent and identifies risks, missing provisions, and negotiation opportunities.
Request Body
loiTextThe full text of the Letter of Intent.
analysisModeOne of "standard", "aggressive", "landlord-favorable". Default: "standard".
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"
}'{
"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
/api/v1/agents/lease-abstractCOMING SOONExtracts key terms from a commercial lease into a structured summary with 200+ fields.
Request Body
leaseTextThe full text of the commercial lease agreement.
abstractModeOne of "standard", "landlord-focus", "tenant-focus", "acquisition". Default: "standard".
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"
}'{
"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
/api/v1/agents/email-triageCOMING SOONClassifies property management emails by urgency and category, then drafts an appropriate response.
Request Body
emailSubjectThe subject line of the email.
emailBodyThe full body text of the email.
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."
}'{
"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
/api/v1/agents/coi-complianceCOMING SOONChecks a Certificate of Insurance against lease requirements and identifies coverage deficiencies.
Request Body
coiTextThe extracted text of the Certificate of Insurance.
requirementsLease-specified insurance requirements:
cglEachOccurrence— number (e.g. 1000000)cglGeneralAggregate— number (e.g. 2000000)autoCombinedSingleLimit— numberumbrellaEachOccurrence— numberworkersCompRequired— booleanadditionalInsuredEntities— string[]waiverOfSubrogationRequired— booleanprimaryNoncontributoryRequired— booleanthirtyDayNoticeRequired— boolean
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
}
}'{
"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
/api/v1/agents/rent-rollCOMING SOONExtracts tenant data from rent roll documents into a structured array of lease records.
Request Body
documentTextThe text content of the rent roll document.
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..."
}'{
"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
/api/v1/agents/om-extractCOMING SOONPulls key data from Offering Memoranda including property details, financials, and tenant information.
Request Body
documentTextThe full text of the Offering Memorandum.
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..."
}'{
"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
/api/v1/agents/critical-datesCOMING SOONExtracts important deadlines from one or more leases including expirations, option windows, and notice periods.
Request Body
leasesEach item: tenantName (string, required), propertyName (string, optional), leaseText (string, required).
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..."
}]
}'{
"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
/api/v1/agents/owner-reportCOMING SOONGenerates property performance reports from financial data with variance analysis and commentary.
Request Body
propertyNamestring, requiredreportingPeriodstring, optional — e.g. "Q1 2026"financialDatastring, required — income/expense data (text, CSV, or JSON)additionalContextstring, optional — notes on capital projects, leasing activity, etc.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..."
}'{
"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
/api/v1/agents/vendor-bidsCOMING SOONCompares contractor proposals side by side with scoring across cost, timeline, scope, and qualifications.
Request Body
proposalsEach: vendorName (string), proposalText (string).
scopeDescriptionstring, optional — context about the project scopecurl -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"
}'{
"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
/api/v1/agents/amendmentCOMING SOONCompares a lease amendment against the original lease and summarizes all changes with impact analysis.
Request Body
leaseTextstring, required — the original lease textamendmentTextstring, required — the amendment textcurl -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..."
}'{
"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
/api/v1/agents/tax-appealCOMING SOONAnalyzes property tax assessments for appeal opportunities using income approach and comparable sales.
Request Body
assessmentTextstring, required — the tax assessment notice textincomeDatastring, required — property income and expense datapropertyTypeOne of "retail", "office", "industrial", "multifamily", "mixed_use".
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"
}'{
"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
/api/v1/agents/estoppelCOMING SOONGenerates tenant estoppel certificates from lease documents with all required confirmations.
Request Body
leaseTextstring, required — the lease agreement textadditionalContextstring, optional — amendments, side letters, or tenant notescurl -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..."
}'{
"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
/api/v1/agents/cam/extractCOMING SOONExtracts data from CAM reconciliation documents including GL exports, rent rolls, leases, and tax bills.
Request Body
documentTypeOne of "gl-export", "rent-roll", "lease", "tax-bill", "insurance-policy", "prior-year-recon", "budget", "estimate-letter".
documentTextstring, required — the document contentdocumentIdstring, optional — your internal document reference IDpropertyNamestring, optional — property name for contextfiscalYearnumber, optional — e.g. 2025curl -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
}'{
"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
/api/v1/modelsReturns a paginated list of saved valuation models for the authenticated user.
Query Parameters
pagenumber, optional — page number, default 1pageSizenumber, optional — results per page, default 20, max 100curl https://creagentic.ai/api/v1/models?page=1&pageSize=10 \
-H "Authorization: Bearer cre_abc123..."{
"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
/api/v1/models/:idReturns the full property model including all assumptions, rent roll, and expense data.
curl https://creagentic.ai/api/v1/models/12 \
-H "Authorization: Bearer cre_abc123..."{
"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
/api/v1/models/:id/runRuns a full DCF valuation on a saved model and returns detailed results including cash flows, IRR, and sensitivity analysis.
curl -X POST https://creagentic.ai/api/v1/models/12/run \
-H "Authorization: Bearer cre_abc123..."{
"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
/api/v1/documentsReturns 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 tagspagenumber, optional — default 1pageSizenumber, optional — default 20, max 100curl "https://creagentic.ai/api/v1/documents?category=lease&page=1" \
-H "Authorization: Bearer cre_abc123..."{
"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
/api/v1/documents/:idReturns document metadata and analysis history.
curl https://creagentic.ai/api/v1/documents/d7f3a1b2-... \
-H "Authorization: Bearer cre_abc123..."{
"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
/api/v1/documents/:id/downloadReturns a signed download URL that expires in 1 hour. Redirect or fetch the URL to download the file.
curl https://creagentic.ai/api/v1/documents/d7f3a1b2-.../download \
-H "Authorization: Bearer cre_abc123..."{
"url": "https://storage.supabase.co/...?token=eyJ...",
"expiresAt": "2026-04-06T15:30:00Z",
"fileName": "Acme-Corp-Lease-2024.pdf",
"contentType": "application/pdf"
}Webhooks
Coming SoonOutgoing 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 finishescritical_date.approachingFires when a tracked date is within the alert windowmodel.updatedFires when a valuation model is saved or restoreddocument.uploadedFires when a new document is added to storage// 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)