OpenapiCaptable
Returns the caller org's fundraising rounds, newest first.
Returns the caller org's fundraising rounds, newest first.
GET /v1/captable/rounds
| Address | https://api.hanzo.ai/v1/captable/rounds |
| Method | GET |
| Operation | get_captable_rounds |
| Auth | Authorization: Bearer $HANZO_API_KEY |
Returns the caller org's fundraising rounds, newest first. A round groups a fundraising event; a PRICED round also carries the share class and price per share it issues at.
Request
GET /v1/captable/rounds takes no parameters and no body — the credential is the whole request.
Response
| Status | Body | Meaning |
|---|---|---|
200 | captableRounds | ok |
200 body — 12 fields.
| Field | In | Type | Always | Description |
|---|---|---|---|---|
data | body | captableRound[] | — | Data is every round, newest first. |
data[].closeDate | body | string | — | CloseDate is the ISO date the round closed, once it has. |
data[].createdAt | body | integer | — | CreatedAt is when the round was recorded, in unix milliseconds. |
data[].id | body | string | — | ID is the round id. |
data[].name | body | string | — | Name is the round name, e.g. |
data[].preMoneyValuation | body | number | — | PreMoneyValuation is the pre-money valuation, for a priced round. |
data[].pricePerShare | body | number | — | PricePerShare is the price per share, for a priced round. |
data[].raisedAmount | body | number | — | RaisedAmount is how much has been invested so far. |
data[].roundType | body | string | — | RoundType is PRICED, SAFE or CONVERTIBLE_NOTE. |
data[].shareClassId | body | string | — | ShareClassID is the class a priced round issues into. |
data[].status | body | string | — | Status is OPEN or CLOSED. |
data[].targetAmount | body | number | — | TargetAmount is how much the round set out to raise. |
Failure carries the platform error shape — see Errors.
Examples
hanzo captable rounds listimport { Configuration, CaptableApi } from 'hanzoai';
const api = new CaptableApi(new Configuration({ accessToken: process.env.HANZO_API_KEY }));
const { data } = await api.getCaptableRounds();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_rounds()cfg := cloud.NewConfiguration()
cfg.AddDefaultHeader("Authorization", "Bearer "+os.Getenv("HANZO_API_KEY"))
client := cloud.NewAPIClient(cfg)
resp, _, err := client.CaptableAPI.GetCaptableRounds(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_rounds(&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).getCaptableRounds();curl https://api.hanzo.ai/v1/captable/rounds \
-H "Authorization: Bearer $HANZO_API_KEY"The door reaches captable through the captable tool, which names its 31 operations with its own verbs — this one among them, under a name only the door declares. describe explains any of them:
curl -X POST https://api.hanzo.ai/v1/mcp \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "describe",
"arguments": {
"op": "list_captable_classes"
}
}
}'How is this guide?