OpenapiCaptable
Returns the caller org's convertible notes, newest first.
Returns the caller org's convertible notes, newest first.
GET /v1/captable/convertibles
| Address | https://api.hanzo.ai/v1/captable/convertibles |
| Method | GET |
| Operation | get_captable_convertibles |
| Auth | Authorization: Bearer $HANZO_API_KEY |
Returns the caller org's convertible notes, newest first. A note's principal sits OUTSIDE issued equity until it converts, so it is not part of the share counts.
Request
Response
| Status | Body | Meaning |
|---|---|---|
200 | captableNotes | ok |
200 body — 12 fields.
| Field | In | Type | Always | Description |
|---|---|---|---|---|
data | body | captableNote[] | — | Data is every convertible note, newest first. |
data[].capital | body | number | — | Capital is the principal the investor lent. |
data[].conversionCap | body | number | — | ConversionCap is the valuation cap on conversion, if any. |
data[].discountRate | body | number | — | DiscountRate is the discount to the next round's price, if any. |
data[].id | body | string | — | ID is the note id. |
data[].interestRate | body | number | — | InterestRate is the annual interest rate, if any. |
data[].issueDate | body | string | — | IssueDate is the ISO date the note was signed. |
data[].publicId | body | string | — | PublicID is the note's shareable identifier, unique within the company. |
data[].stakeholderId | body | string | — | StakeholderID is the investor. |
data[].stakeholderName | body | string | — | StakeholderName is that investor's name. |
data[].status | body | string | — | Status is the note's state, e.g. |
data[].type | body | string | — | Type is the instrument kind, e.g. |
Failure carries the platform error shape — see Errors.
Examples
hanzo captable convertibles listimport { Configuration, CaptableApi } from 'hanzoai';
const api = new CaptableApi(new Configuration({ accessToken: process.env.HANZO_API_KEY }));
const { data } = await api.getCaptableConvertibles();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_convertibles()cfg := cloud.NewConfiguration()
cfg.AddDefaultHeader("Authorization", "Bearer "+os.Getenv("HANZO_API_KEY"))
client := cloud.NewAPIClient(cfg)
resp, _, err := client.CaptableAPI.GetCaptableConvertibles(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_convertibles(&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).getCaptableConvertibles();curl https://api.hanzo.ai/v1/captable/convertibles \
-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?