Computes the caller org's cap table.
Computes the caller org's cap table. It answers who owns what on a fully-diluted basis: outstanding shares, granted options, per-stakeholder ownership…
GET /v1/captable/summary
| Address | https://api.hanzo.ai/v1/captable/summary |
| Method | GET |
| Operation | get_captable_summary |
| Auth | Authorization: Bearer $HANZO_API_KEY |
Computes the caller org's cap table. It answers who owns what on a fully-diluted basis: outstanding shares, granted options, per-stakeholder ownership percentages, each share class's authorized versus issued position, and the capital sitting on SAFEs and convertible notes that have not yet converted. Only non-terminal option grants dilute — EXERCISED, EXPIRED and CANCELLED grants are excluded, so equity issued through an exercised option is never counted twice.
Request
GET /v1/captable/summary takes no parameters and no body — the credential is the whole request.
Response
| Status | Body | Meaning |
|---|---|---|
200 | captableSummary | ok |
200 body — 32 fields.
| Field | In | Type | Always | Description |
|---|---|---|---|---|
byShareClass | body | captableClassHolding[] | — | ByShareClass is each share class's authorized-versus-issued position, in class creation order. |
byShareClass[].authorized | body | integer | — | Authorized is how many shares of the class are authorized. |
byShareClass[].classType | body | string | — | ClassType is COMMON or PREFERRED. |
byShareClass[].issued | body | integer | — | Issued is how many shares of the class have been issued. |
byShareClass[].name | body | string | — | Name is the class name. |
byShareClass[].shareClassId | body | string | — | ShareClassID is the share class. |
byStakeholder | body | captableHolding[] | — | ByStakeholder is each stakeholder's position, largest holding first. |
byStakeholder[].fullyDiluted | body | integer | — | FullyDiluted is shares plus options. |
byStakeholder[].name | body | string | — | Name is the stakeholder's name. |
byStakeholder[].options | body | integer | — | Options is the shares under this stakeholder's non-terminal option grants. |
byStakeholder[].ownershipPct | body | number | — | OwnershipPct is fullyDiluted as a percentage of the company's fullyDilutedShares, rounded to two decimals; 0 when nothing is issued. |
byStakeholder[].shares | body | integer | — | Shares is the shares this stakeholder holds by certificate. |
byStakeholder[].stakeholderId | body | string | — | StakeholderID is the stakeholder. |
company | body | captableSummaryCompany | — | |
company.id | body | string | — | ID is the company id, which is the tenant's own org id. |
company.name | body | string | — | Name is the company's legal name. |
convertibles | body | captableConvertibles | — | |
convertibles.notes | body | captableInstrumentTotal | — | |
convertibles.notes.capital | body | number | — | Capital is the total capital across those instruments. |
convertibles.notes.count | body | integer | — | Count is how many instruments there are. |
convertibles.safes | body | captableInstrumentTotal | — | |
convertibles.safes.capital | body | number | — | Capital is the total capital across those instruments. |
convertibles.safes.count | body | integer | — | Count is how many instruments there are. |
rounds | body | captableRoundTotals | — | |
rounds.count | body | integer | — | Count is how many rounds the company has recorded. |
rounds.totalRaised | body | number | — | TotalRaised is the sum of every round's raised amount. |
totals | body | captableTotals | — | |
totals.fullyDilutedShares | body | integer | — | FullyDilutedShares is outstandingShares plus grantedOptions. |
totals.grantedOptions | body | integer | — | GrantedOptions is the shares under non-terminal option grants — grants that are EXERCISED, EXPIRED or CANCELLED are excluded, so nothing double-counts. |
totals.outstandingShares | body | integer | — | OutstandingShares is the sum of every issued share certificate. |
totals.shareClasses | body | integer | — | ShareClasses is how many share classes the company has authorized. |
totals.stakeholders | body | integer | — | Stakeholders is how many stakeholders the company has. |
Failure carries the platform error shape — see Errors.
Examples
hanzo captable summaryimport { Configuration, CaptableApi } from 'hanzoai';
const api = new CaptableApi(new Configuration({ accessToken: process.env.HANZO_API_KEY }));
const { data } = await api.getCaptableSummary();from hanzoai.cloud import ApiClient, Configuration
from hanzoai.cloud.api import CaptableApi
client = ApiClient(Configuration(access_token=os.environ["HANZO_API_KEY"]))
result = CaptableApi(client).get_captable_summary()cfg := cloud.NewConfiguration()
cfg.AddDefaultHeader("Authorization", "Bearer "+os.Getenv("HANZO_API_KEY"))
client := cloud.NewAPIClient(cfg)
resp, _, err := client.CaptableAPI.GetCaptableSummary(context.Background()).Execute()
if err != nil {
return err
}use hanzo_cloud::apis::{configuration::Configuration, captable_api};
let mut cfg = Configuration::new();
cfg.bearer_access_token = std::env::var("HANZO_API_KEY").ok();
let result = captable_api::get_captable_summary(&cfg, Default::default()).await?;import ai.hanzo.cloud.ApiClient;
import ai.hanzo.cloud.api.CaptableApi;
ApiClient client = new ApiClient();
client.setRequestInterceptor(b -> b.header("Authorization", "Bearer " + System.getenv("HANZO_API_KEY")));
var result = new CaptableApi(client).getCaptableSummary();curl https://api.hanzo.ai/v1/captable/summary \
-H "Authorization: Bearer $HANZO_API_KEY"Tool captable, op get_captable_summary — POST the JSON-RPC envelope to https://api.hanzo.ai/v1/mcp.
curl -X POST https://api.hanzo.ai/v1/mcp \
-H "Authorization: Bearer $HANZO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "captable",
"arguments": {
"op": "get_captable_summary",
"input": {}
}
}
}'How is this guide?