Skip to main content
POST
/
metrics
/
Create metrics
curl --request POST \
  --url https://api.standardmetrics.io/v1/metrics/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '[
  {
    "value": "1000",
    "company_id": "RjX8",
    "category": "cash_in_bank",
    "date": "2023-07-31",
    "metric_cadence": "point_in_time",
    "currency": "USD",
    "is_budget_metric": true,
    "budget_id": "yzJm"
  }
]'
[
  {
    "value": "1000",
    "company_id": "RjX8",
    "category": "cash_in_bank",
    "date": "2023-07-31",
    "metric_cadence": "point_in_time",
    "currency": "USD",
    "is_budget_metric": true,
    "budget_id": "yzJm"
  }
]

Authorizations

Authorization
string
header
required

Your valid bearer token. All Auth tokens persist for all requests. Make sure to replace Client Credential Basic tokens with Bearer tokens after retrieving your bearer token. Go to the API Reference/Setup, User Guides/Initial Setup, or API Reference/Get API Access Token page to get your token.

Body

application/json · object[]
value
string

Metric value

Example:

"1000"

company_id
string

Company ID

Example:

"RjX8"

category
enum<string>

Metric category (can also be the name of a custom category. See /v1/custom-metrics/ for more details))

Available options:
long_term_liabilities,
accounts_payable,
current_liabilities,
property_plants_and_equipment,
other_non_current_assets,
non_current_assets,
accounts_receivable,
current_assets,
fair_value,
moic,
ownership,
realized_value,
investment_amount,
post_money_valuation,
custom,
cash_in_bank,
net_burn,
runway,
revenue,
gross_margin,
total_operating_expenses,
net_income,
cost_of_goods_sold,
gross_profit,
net_operating_profit,
net_other_income,
net_profit,
cash_receipts,
cash_payments,
net_assets,
assets,
liabilities,
equity,
headcount,
ebitda,
burn_per_fte,
operating_margin,
revenue_per_fte,
revenue_growth,
pre_money_valuation,
fully_diluted_shares,
gross_irr,
latest_price_per_share,
total_shares_owned,
cash_flow_from_operating_activities,
cash_flow_from_investing_activities,
cash_flow_from_financing_activities,
total_change_in_cash,
arr,
new_logo_arr,
reactivation_arr,
expansion_arr,
churned_arr,
contraction_arr,
net_new_arr,
short_term_investments
Example:

"cash_in_bank"

date
string

Date

Example:

"2023-07-31"

metric_cadence
enum<string>

Metric cadence

Available options:
point_in_time,
day,
week,
month,
quarter,
half_year,
year
Example:

"point_in_time"

currency
enum<string>

Currency. Only required for money-type metrics.

Available options:
AED,
AUD,
BDT,
BRL,
CAD,
CHF,
CNY,
COP,
CZK,
DKK,
EUR,
GBP,
GHS,
HKD,
IDR,
ILS,
INR,
ISK,
JOD,
JPY,
KES,
KRW,
MXN,
NGN,
NOK,
NZD,
PHP,
PKR,
SAR,
SEK,
SGD,
THB,
TZS,
USD,
VND,
ZAR
Example:

"USD"

is_budget_metric
boolean

Is budget metric. Defaults to False if not provided.

Example:

true

budget_id
string

Budget ID

Example:

"yzJm"

Response

201 - application/json
value
string

Metric value

Example:

"1000"

company_id
string

Company ID

Example:

"RjX8"

category
enum<string>

Metric category (can also be the name of a custom category. See /v1/custom-metrics/ for more details))

Available options:
long_term_liabilities,
accounts_payable,
current_liabilities,
property_plants_and_equipment,
other_non_current_assets,
non_current_assets,
accounts_receivable,
current_assets,
fair_value,
moic,
ownership,
realized_value,
investment_amount,
post_money_valuation,
custom,
cash_in_bank,
net_burn,
runway,
revenue,
gross_margin,
total_operating_expenses,
net_income,
cost_of_goods_sold,
gross_profit,
net_operating_profit,
net_other_income,
net_profit,
cash_receipts,
cash_payments,
net_assets,
assets,
liabilities,
equity,
headcount,
ebitda,
burn_per_fte,
operating_margin,
revenue_per_fte,
revenue_growth,
pre_money_valuation,
fully_diluted_shares,
gross_irr,
latest_price_per_share,
total_shares_owned,
cash_flow_from_operating_activities,
cash_flow_from_investing_activities,
cash_flow_from_financing_activities,
total_change_in_cash,
arr,
new_logo_arr,
reactivation_arr,
expansion_arr,
churned_arr,
contraction_arr,
net_new_arr,
short_term_investments
Example:

"cash_in_bank"

date
string

Date

Example:

"2023-07-31"

metric_cadence
enum<string>

Metric cadence

Available options:
point_in_time,
day,
week,
month,
quarter,
half_year,
year
Example:

"point_in_time"

currency
enum<string>

Currency. Only required for money-type metrics.

Available options:
AED,
AUD,
BDT,
BRL,
CAD,
CHF,
CNY,
COP,
CZK,
DKK,
EUR,
GBP,
GHS,
HKD,
IDR,
ILS,
INR,
ISK,
JOD,
JPY,
KES,
KRW,
MXN,
NGN,
NOK,
NZD,
PHP,
PKR,
SAR,
SEK,
SGD,
THB,
TZS,
USD,
VND,
ZAR
Example:

"USD"

is_budget_metric
boolean

Is budget metric. Defaults to False if not provided.

Example:

true

budget_id
string

Budget ID

Example:

"yzJm"

I