Cohesive
  • 👋 Welcome!
  • ✨Getting Started
  • Reference
    • API Documentation
      • POST: upload
      • POST: upload_async
      • Guide: Having a custom response schema
        • Template: Metrics Data
        • Template: Order Data
      • Guide: Tabular Data
    • Workflow Documentation
      • Overview
      • Templates
        • Lists
        • Math Expressions
        • Date Expressions
      • Integrations
        • ERP Integrations
        • CRM Integrations
        • Communication Integrations
    • Security Policy
Powered by GitBook
On this page
  1. Reference
  2. API Documentation
  3. Guide: Having a custom response schema

Template: Metrics Data

Cohesive offers a standard, fine-tuned model for extracting metrics (e.g., financial or operational metrics). Use the below schema in the request for best results:

{
allMetrics: {
    Name: string; // The name of the metric in that row
    Data: {
        Date: string; // The date/column of that metric's value, in MM/DD/YYY format
        Value: number; // The value of that metric for that date
               }[]; // Each data entry for that metric
    }[]//Each row is a separate metric to import
}
PreviousGuide: Having a custom response schemaNextTemplate: Order Data

Last updated 1 year ago