OpenapiCompany
Returns the platform's whole formation register, newest activity first — every…
Returns the platform's whole formation register, newest activity first — every org's formation, not the caller's.
GET /v1/company/register
| Address | https://api.hanzo.ai/v1/company/register |
| Method | GET |
| Operation | get_company_register |
| Auth | Authorization: Bearer $HANZO_API_KEY |
Returns the platform's whole formation register, newest activity first — every org's formation, not the caller's. It is a Hanzo platform operation: a caller who is not a platform reviewer gets 403.
Filter by stage and structure, page with limit and offset. An unknown stage is refused with 400 rather than returning a silently empty page.
Request
4 fields.
| Field | In | Type | Required | Description |
|---|---|---|---|---|
stage | query | string | — | Stage keeps only formations at that stage. |
structure | query | string | — | Structure keeps only formations of that entity kind. |
limit | query | integer | — | Limit bounds the page; 0 or less means the default of 200. |
offset | query | integer | — | Offset skips that many rows. |
Response
| Status | Body | Meaning |
|---|---|---|
200 | registerPage | ok |
200 body — 10 fields.
| Field | In | Type | Always | Description |
|---|---|---|---|---|
count | body | integer | — | Count is how many rows this page holds. |
formations | body | Registration[] | — | Formations are the rows, newest activity first. |
formations[].createdAt | body | integer | — | CreatedAt is the unix second the formation was opened. |
formations[].name | body | string | — | Name is the company name the entity is being formed under. |
formations[].org | body | string | — | Org is the org whose formation this row projects. |
formations[].stage | body | string | — | Stage is the formation's current state — what the platform reads to see which formations are stalled and where. |
formations[].structure | body | string | — | Structure is the legal entity being formed: c-corp, llc or dao-llc. |
formations[].updatedAt | body | integer | — | UpdatedAt is the unix second of the most recent write to the formation, and the key the register sorts on (newest activity first). |
limit | body | integer | — | Limit is the page size that was applied. |
offset | body | integer | — | Offset is the offset that was applied. |
Failure carries the platform error shape — see Errors.
Examples
hanzo company register getimport { Configuration, CompanyApi } from 'hanzoai';
const api = new CompanyApi(new Configuration({ accessToken: process.env.HANZO_API_KEY }));
const { data } = await api.getCompanyRegister();from hanzoai.cloud import ApiClient, Configuration
from hanzoai.cloud.api import CompanyApi
client = ApiClient(Configuration(access_token=os.environ["HANZO_API_KEY"]))
result = CompanyApi(client).get_company_register()cfg := cloud.NewConfiguration()
cfg.AddDefaultHeader("Authorization", "Bearer "+os.Getenv("HANZO_API_KEY"))
client := cloud.NewAPIClient(cfg)
resp, _, err := client.CompanyAPI.GetCompanyRegister(context.Background()).Execute()
if err != nil {
return err
}use hanzo_cloud::apis::{configuration::Configuration, company_api};
let mut cfg = Configuration::new();
cfg.bearer_access_token = std::env::var("HANZO_API_KEY").ok();
let result = company_api::get_company_register(&cfg, Default::default()).await?;import ai.hanzo.cloud.ApiClient;
import ai.hanzo.cloud.api.CompanyApi;
ApiClient client = new ApiClient();
client.setRequestInterceptor(b -> b.header("Authorization", "Bearer " + System.getenv("HANZO_API_KEY")));
var result = new CompanyApi(client).getCompanyRegister();curl https://api.hanzo.ai/v1/company/register \
-H "Authorization: Bearer $HANZO_API_KEY"Tool company, op get_company_register — 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": "company",
"arguments": {
"op": "get_company_register",
"input": {}
}
}
}'How is this guide?