API reference
Orgs
Legal entities: their board and officers, resolutions, documents, filings, registered agent and rehearsed formation runs, with a verifiable record.
- Operations
- 34
- Base path
https://os.one.ml/api/v1/orgs- Scopes
orgs:readorgs:write- API keys
- 34 tested with an API key
- SDK
genesis.call('orgs_get_document', …)· helpers undergenesis.orgs- CLI
genesis orgs- MCP
- 34 tools
Operations
| Operation | Endpoint | API key |
|---|---|---|
| Get a document's metadata and signatures | GET/documents/{document} | Tested with an API key |
| Download a document's bytes | GET/documents/{document}/content | Tested with an API key |
| Sign a document as a seat (Auto authority check first) | POST/documents/{document}/signatures | Tested with an API key |
| List legal entities | GET/entities | Tested with an API key |
| Create a legal entity (draft) | POST/entities | Tested with an API key |
| Get an entity | GET/entities/{entity} | Tested with an API key |
| Archive an entity (draft or dissolved only) | DELETE/entities/{entity} | Tested with an API key |
| Update an entity, or record what the state issued | PATCH/entities/{entity} | Tested with an API key |
| List an entity's documents | GET/entities/{entity}/documents | Tested with an API key |
| Add a document (base64 content up to 5 MiB, or a Boxes file) | POST/entities/{entity}/documents | Tested with an API key |
| List an entity's filings | GET/entities/{entity}/filings | Tested with an API key |
| Create a filing (annual report, amendment, registered agent change, ...) | POST/entities/{entity}/filings | Tested with an API key |
| Prepare the formation packet and start a rehearsal run (or dry run) | POST/entities/{entity}/formation | Tested with an API key |
| List an entity's formation runs | GET/entities/{entity}/formation-jobs | Tested with an API key |
| Read an entity's hash-chained record | GET/entities/{entity}/record | Tested with an API key |
| Verify an entity's record chain | GET/entities/{entity}/record/verify | Tested with an API key |
| Set or replace the entity's registered agent | PUT/entities/{entity}/registered-agent | Tested with an API key |
| Remove the entity's registered agent (refused once formed) | DELETE/entities/{entity}/registered-agent | Tested with an API key |
| List an entity's resolutions | GET/entities/{entity}/resolutions | Tested with an API key |
| Propose a resolution to the board, members or managers | POST/entities/{entity}/resolutions | Tested with an API key |
| List an entity's seats (board, managers, members, officers, organizers) | GET/entities/{entity}/seats | Tested with an API key |
| Add a seat and its holder (a person or an agent) | POST/entities/{entity}/seats | Tested with an API key |
| Get a filing | GET/filings/{filing} | Tested with an API key |
| Update a filing, or record that a person submitted it and the state accepted it | PATCH/filings/{filing} | Tested with an API key |
| Get a formation run | GET/formation-jobs/{job} | Tested with an API key |
| Cancel a queued or running formation run | POST/formation-jobs/{job}/cancel | Tested with an API key |
| Read a formation run's steps (model turns, actions, screenshots) | GET/formation-jobs/{job}/steps | Tested with an API key |
| List the state formation portals Orgs can rehearse | GET/portals | Tested with an API key |
| Get a resolution and its votes | GET/resolutions/{resolution} | Tested with an API key |
| Vote a seat on a resolution | POST/resolutions/{resolution}/votes | Tested with an API key |
| Get a seat | GET/seats/{seat} | Tested with an API key |
| End a seat | DELETE/seats/{seat} | Tested with an API key |
| Update a seat's title, voting weight or holder | PATCH/seats/{seat} | Tested with an API key |
| Show the identity Orgs sees for your credential | GET/whoami | Tested with an API key |
Documents
Get a document's metadata and signatures
GET/v1/orgs/documents/{document}
Scope orgs:read.
Parameters
documentpath · stringrequired
Responses
- 200The document
Response fields
idstringrequiredentity_idstringrequiredkind"agent_consent" | "articles" | "certificate" | "operating_agreement" | "bylaws" | "resolution" | "filing_receipt" | "evidence" | "tax_letter" | "other"requiredtitlestringrequiredmedia_typestringrequiredbytesintegerrequiredsha256stringrequiredstorageobjectstorage.kind"gcs" | "boxes"storage.file_idstringsourcestring | nullsignaturesobject[]signatures[].[].seat_idstringrequiredsignatures[].[].principalstringrequiredsignatures[].[].namestringsignatures[].[].rolestringsignatures[].[].titlestring | nullsignatures[].[].sha256stringrequiredsignatures[].[].statementstring | nullsignatures[].[].authority_checkanysignatures[].[].signed_atstringrequiredcreated_bystringcreated_atstring
- 404Not found in your organization
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/orgs/documents/$DOCUMENT" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('orgs_get_document', {
document: '<document>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "orgs_get_document",
"arguments": {
"document": "<document>"
}
}
}List an entity's documents
GET/v1/orgs/entities/{entity}/documents
Scope orgs:read. Filter with kind.
Parameters
entitypath · stringrequiredkindquery · "agent_consent" | "articles" | "certificate" | "operating_agreement" | "bylaws" | "resolution" | "filing_receipt" | "evidence" | "tax_letter" | "other"
Responses
- 200Documents (metadata)
Response fields
dataobject[]requireddata[].[].idstringrequireddata[].[].entity_idstringrequireddata[].[].kind"agent_consent" | "articles" | "certificate" | "operating_agreement" | "bylaws" | "resolution" | "filing_receipt" | "evidence" | "tax_letter" | "other"requireddata[].[].titlestringrequireddata[].[].media_typestringrequireddata[].[].bytesintegerrequireddata[].[].sha256stringrequireddata[].[].storageobjectdata[].[].storage.kind"gcs" | "boxes"data[].[].storage.file_idstringdata[].[].sourcestring | nulldata[].[].signaturesobject[]data[].[].signatures[].[].seat_idstringrequireddata[].[].signatures[].[].principalstringrequireddata[].[].signatures[].[].namestringdata[].[].signatures[].[].rolestringdata[].[].signatures[].[].titlestring | nulldata[].[].signatures[].[].sha256stringrequireddata[].[].signatures[].[].statementstring | nulldata[].[].signatures[].[].authority_checkanydata[].[].signatures[].[].signed_atstringrequireddata[].[].created_bystringdata[].[].created_atstring
- 404Not found in your organization
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/orgs/entities/$ENTITY/documents" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('orgs_list_documents', {
entity: '<entity>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "orgs_list_documents",
"arguments": {
"entity": "<entity>"
}
}
}Add a document (base64 content up to 5 MiB, or a Boxes file)
POST/v1/orgs/entities/{entity}/documents
Scope orgs:write. Send exactly one of content_base64 (decoded 1 byte to 5 MiB) or boxes_file_id. evidence documents are written by formation runs only.
Parameters
entitypath · stringrequired
Request body application/json
kind"agent_consent" | "articles" | "certificate" | "operating_agreement" | "bylaws" | "resolution" | "filing_receipt" | "tax_letter" | "other"requiredtitlestringrequiredmin length 1 · max length 200
media_type"application/pdf" | "image/png" | "image/jpeg" | "text/plain" | "text/markdown" | "application/json"requiredcontent_base64stringStandard base64; decoded 1 byte to 5 MiB max length 6990508 · pattern
^[A-Za-z0-9+/]*={0,2}$boxes_file_idstringpattern
^[A-Za-z0-9][A-Za-z0-9_.:@-]{0,255}$
Responses
- 201Document stored, with its sha256
Response fields
idstringrequiredentity_idstringrequiredkind"agent_consent" | "articles" | "certificate" | "operating_agreement" | "bylaws" | "resolution" | "filing_receipt" | "evidence" | "tax_letter" | "other"requiredtitlestringrequiredmedia_typestringrequiredbytesintegerrequiredsha256stringrequiredstorageobjectstorage.kind"gcs" | "boxes"storage.file_idstringsourcestring | nullsignaturesobject[]signatures[].[].seat_idstringrequiredsignatures[].[].principalstringrequiredsignatures[].[].namestringsignatures[].[].rolestringsignatures[].[].titlestring | nullsignatures[].[].sha256stringrequiredsignatures[].[].statementstring | nullsignatures[].[].authority_checkanysignatures[].[].signed_atstringrequiredcreated_bystringcreated_atstring
- 404Not found in your organization
- 413Body or document content too large
- 415Unsupported media type
- 422Invalid body, query or If-Match; unknown fields are rejected
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/orgs/entities/$ENTITY/documents" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"kind": "agent_consent",
"title": "string",
"media_type": "application/pdf"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('orgs_add_document', {
entity: '<entity>',
body: {
kind: 'agent_consent',
title: 'string',
media_type: 'application/pdf',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "orgs_add_document",
"arguments": {
"entity": "<entity>",
"body": {
"kind": "agent_consent",
"title": "string",
"media_type": "application/pdf"
}
}
}
}Content
Download a document's bytes
GET/v1/orgs/documents/{document}/content
Scope orgs:read. The raw bytes, with content-type set to the document's media_type and x-content-sha256 its sha256 (hex). Check it against the document's sha256.
Parameters
documentpath · stringrequired
Responses
- 200The document's bytes
Response fields
Type:
string (binary) - 404Not found in your organization
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/orgs/documents/$DOCUMENT/content" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('orgs_get_document_content', {
document: '<document>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "orgs_get_document_content",
"arguments": {
"document": "<document>"
}
}
}Signatures
Sign a document as a seat (Auto authority check first)
POST/v1/orgs/documents/{document}/signatures
Scope orgs:write. Orgs asks Auto (sign, with value, default 0 USD) first; a deny is a 403 refused whose details is Auto's check. The signature binds the document's sha256.
Parameters
documentpath · stringrequired
Request body application/json
seat_idstringrequiredpattern
^[A-Za-z0-9][A-Za-z0-9_.:@-]{0,255}$principalstringpattern
^[A-Za-z0-9][A-Za-z0-9_.:@-]{0,255}$valueobjectvalue.amountintegerrequiredMinor units (cents) min 0
value.currencystringrequiredISO 4217 code such as USD pattern
^[A-Z]{3}$statementstringmin length 1 · max length 500
Responses
- 200The document with its new signature
Response fields
idstringrequiredentity_idstringrequiredkind"agent_consent" | "articles" | "certificate" | "operating_agreement" | "bylaws" | "resolution" | "filing_receipt" | "evidence" | "tax_letter" | "other"requiredtitlestringrequiredmedia_typestringrequiredbytesintegerrequiredsha256stringrequiredstorageobjectstorage.kind"gcs" | "boxes"storage.file_idstringsourcestring | nullsignaturesobject[]signatures[].[].seat_idstringrequiredsignatures[].[].principalstringrequiredsignatures[].[].namestringsignatures[].[].rolestringsignatures[].[].titlestring | nullsignatures[].[].sha256stringrequiredsignatures[].[].statementstring | nullsignatures[].[].authority_checkanysignatures[].[].signed_atstringrequiredcreated_bystringcreated_atstring
- 403Missing scope, not the seat holder, or
refused(Auto denied;detailsis Auto's check) - 404Not found in your organization
- 409Stale version, or the object's status does not allow the change
- 422Invalid body, query or If-Match; unknown fields are rejected
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/orgs/documents/$DOCUMENT/signatures" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"seat_id": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('orgs_sign_document', {
document: '<document>',
body: {
seat_id: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "orgs_sign_document",
"arguments": {
"document": "<document>",
"body": {
"seat_id": "string"
}
}
}
}Entities
List legal entities
GET/v1/orgs/entities
Scope orgs:read. Archived entities are hidden unless include_archived=true.
Parameters
include_archivedquery · boolean
Responses
- 200Entities
Response fields
dataobject[]requireddata[].[].idstringrequireddata[].[].legal_namestringrequireddata[].[].kind"llc" | "dao_llc" | "c_corp" | "nonprofit"requireddata[].[].jurisdictionstringrequireddata[].[].purposestring | nulldata[].[].management"member_managed" | "manager_managed" | "board_managed"requireddata[].[].addressesobjectdata[].[].addresses.principalobjectdata[].[].addresses.principal.line1stringrequiredmin length 1 · max length 200
data[].[].addresses.principal.line2stringmin length 1 · max length 200
data[].[].addresses.principal.citystringrequiredmin length 1 · max length 100
data[].[].addresses.principal.regionstringrequiredmin length 1 · max length 50
data[].[].addresses.principal.postal_codestringrequiredmin length 1 · max length 20
data[].[].addresses.principal.countrystringISO country code; defaults to US pattern
^[A-Z]{2}$data[].[].addresses.mailingobjectdata[].[].addresses.mailing.line1stringrequiredmin length 1 · max length 200
data[].[].addresses.mailing.line2stringmin length 1 · max length 200
data[].[].addresses.mailing.citystringrequiredmin length 1 · max length 100
data[].[].addresses.mailing.regionstringrequiredmin length 1 · max length 50
data[].[].addresses.mailing.postal_codestringrequiredmin length 1 · max length 20
data[].[].addresses.mailing.countrystringISO country code; defaults to US pattern
^[A-Z]{2}$data[].[].registered_agentobject | nulldata[].[].registered_agent_sincestring | nulldata[].[].file_numberstring | nulldata[].[].formed_onstring | nulldata[].[].auto_org_idstring | nulldata[].[].status"draft" | "forming" | "formed" | "active" | "suspended" | "dissolved" | "archived"requireddata[].[].versionintegerrequireddata[].[].created_atstringdata[].[].updated_atstring
- 403Missing scope, not the seat holder, or
refused(Auto denied;detailsis Auto's check) - 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/orgs/entities" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('orgs_list_entities'){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "orgs_list_entities",
"arguments": {}
}
}Create a legal entity (draft)
POST/v1/orgs/entities
Scope orgs:write. Starts as draft. management defaults to board_managed for c_corp and nonprofit, otherwise member_managed. Link the Auto org that holds its authority with auto_org_id.
Request body application/json
legal_namestringrequiredmin length 1 · max length 200
kind"llc" | "dao_llc" | "c_corp" | "nonprofit"requiredjurisdictionstringrequiredISO 3166-2 style, e.g. US-WY pattern
^[A-Z]{2}-[A-Z0-9]{1,3}$purposestringmin length 1 · max length 2000
management"member_managed" | "manager_managed" | "board_managed"addressesobjectaddresses.principalobjectaddresses.principal.line1stringrequiredmin length 1 · max length 200
addresses.principal.line2stringmin length 1 · max length 200
addresses.principal.citystringrequiredmin length 1 · max length 100
addresses.principal.regionstringrequiredmin length 1 · max length 50
addresses.principal.postal_codestringrequiredmin length 1 · max length 20
addresses.principal.countrystringISO country code; defaults to US pattern
^[A-Z]{2}$addresses.mailingobjectaddresses.mailing.line1stringrequiredmin length 1 · max length 200
addresses.mailing.line2stringmin length 1 · max length 200
addresses.mailing.citystringrequiredmin length 1 · max length 100
addresses.mailing.regionstringrequiredmin length 1 · max length 50
addresses.mailing.postal_codestringrequiredmin length 1 · max length 20
addresses.mailing.countrystringISO country code; defaults to US pattern
^[A-Z]{2}$registered_agentobjectregistered_agent.provider"self" | "commercial"Defaults to commercial
registered_agent.namestringrequiredmin length 1 · max length 200
registered_agent.addressobjectrequiredregistered_agent.address.line1stringrequiredmin length 1 · max length 200
registered_agent.address.line2stringmin length 1 · max length 200
registered_agent.address.citystringrequiredmin length 1 · max length 100
registered_agent.address.regionstringrequiredmin length 1 · max length 50
registered_agent.address.postal_codestringrequiredmin length 1 · max length 20
registered_agent.address.countrystringISO country code; defaults to US pattern
^[A-Z]{2}$registered_agent.emailstringmax length 254 · pattern
^[^\s@]+@[^\s@]+\.[^\s@]+$registered_agent.agent_idstringThe state's id for the agent (for example from WyoBiz's agent search) max length 64
registered_agent.consent_document_idstringAn
agent_consentdocument on this entity: the agent's signed, dated consent to appointment. Only settable with PUT …/registered-agent (refused at entity creation). A formation run attests that consent was obtained only when it is on file.auto_org_idstringpattern
^[A-Za-z0-9][A-Za-z0-9_.:@-]{0,255}$
Responses
- 201Entity created; the
ETagheader carries its versionResponse fields
idstringrequiredlegal_namestringrequiredkind"llc" | "dao_llc" | "c_corp" | "nonprofit"requiredjurisdictionstringrequiredpurposestring | nullmanagement"member_managed" | "manager_managed" | "board_managed"requiredaddressesobjectaddresses.principalobjectaddresses.principal.line1stringrequiredmin length 1 · max length 200
addresses.principal.line2stringmin length 1 · max length 200
addresses.principal.citystringrequiredmin length 1 · max length 100
addresses.principal.regionstringrequiredmin length 1 · max length 50
addresses.principal.postal_codestringrequiredmin length 1 · max length 20
addresses.principal.countrystringISO country code; defaults to US pattern
^[A-Z]{2}$addresses.mailingobjectaddresses.mailing.line1stringrequiredmin length 1 · max length 200
addresses.mailing.line2stringmin length 1 · max length 200
addresses.mailing.citystringrequiredmin length 1 · max length 100
addresses.mailing.regionstringrequiredmin length 1 · max length 50
addresses.mailing.postal_codestringrequiredmin length 1 · max length 20
addresses.mailing.countrystringISO country code; defaults to US pattern
^[A-Z]{2}$registered_agentobject | nullregistered_agent_sincestring | nullfile_numberstring | nullformed_onstring | nullauto_org_idstring | nullstatus"draft" | "forming" | "formed" | "active" | "suspended" | "dissolved" | "archived"requiredversionintegerrequiredcreated_atstringupdated_atstring
- 403Missing scope, not the seat holder, or
refused(Auto denied;detailsis Auto's check) - 422Invalid body, query or If-Match; unknown fields are rejected
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/orgs/entities" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"legal_name": "string",
"kind": "llc",
"jurisdiction": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('orgs_create_entity', {
body: {
legal_name: 'string',
kind: 'llc',
jurisdiction: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "orgs_create_entity",
"arguments": {
"body": {
"legal_name": "string",
"kind": "llc",
"jurisdiction": "string"
}
}
}
}Get an entity
GET/v1/orgs/entities/{entity}
Scope orgs:read.
Parameters
entitypath · stringrequired
Responses
- 200The entity
Response fields
idstringrequiredlegal_namestringrequiredkind"llc" | "dao_llc" | "c_corp" | "nonprofit"requiredjurisdictionstringrequiredpurposestring | nullmanagement"member_managed" | "manager_managed" | "board_managed"requiredaddressesobjectaddresses.principalobjectaddresses.principal.line1stringrequiredmin length 1 · max length 200
addresses.principal.line2stringmin length 1 · max length 200
addresses.principal.citystringrequiredmin length 1 · max length 100
addresses.principal.regionstringrequiredmin length 1 · max length 50
addresses.principal.postal_codestringrequiredmin length 1 · max length 20
addresses.principal.countrystringISO country code; defaults to US pattern
^[A-Z]{2}$addresses.mailingobjectaddresses.mailing.line1stringrequiredmin length 1 · max length 200
addresses.mailing.line2stringmin length 1 · max length 200
addresses.mailing.citystringrequiredmin length 1 · max length 100
addresses.mailing.regionstringrequiredmin length 1 · max length 50
addresses.mailing.postal_codestringrequiredmin length 1 · max length 20
addresses.mailing.countrystringISO country code; defaults to US pattern
^[A-Z]{2}$registered_agentobject | nullregistered_agent_sincestring | nullfile_numberstring | nullformed_onstring | nullauto_org_idstring | nullstatus"draft" | "forming" | "formed" | "active" | "suspended" | "dissolved" | "archived"requiredversionintegerrequiredcreated_atstringupdated_atstring
- 404Not found in your organization
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/orgs/entities/$ENTITY" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('orgs_get_entity', {
entity: '<entity>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "orgs_get_entity",
"arguments": {
"entity": "<entity>"
}
}
}Archive an entity (draft or dissolved only)
DELETE/v1/orgs/entities/{entity}
Scope orgs:write. Needs If-Match. Entities are archived, never deleted, so the record keeps pointing at them.
Parameters
entitypath · stringrequiredIf-Matchheader · stringrequiredThe
versionyou read, as"3"(the ETag of the GET). A stale version is a 409.
Responses
- 200Archived entity
Response fields
idstringrequiredlegal_namestringrequiredkind"llc" | "dao_llc" | "c_corp" | "nonprofit"requiredjurisdictionstringrequiredpurposestring | nullmanagement"member_managed" | "manager_managed" | "board_managed"requiredaddressesobjectaddresses.principalobjectaddresses.principal.line1stringrequiredmin length 1 · max length 200
addresses.principal.line2stringmin length 1 · max length 200
addresses.principal.citystringrequiredmin length 1 · max length 100
addresses.principal.regionstringrequiredmin length 1 · max length 50
addresses.principal.postal_codestringrequiredmin length 1 · max length 20
addresses.principal.countrystringISO country code; defaults to US pattern
^[A-Z]{2}$addresses.mailingobjectaddresses.mailing.line1stringrequiredmin length 1 · max length 200
addresses.mailing.line2stringmin length 1 · max length 200
addresses.mailing.citystringrequiredmin length 1 · max length 100
addresses.mailing.regionstringrequiredmin length 1 · max length 50
addresses.mailing.postal_codestringrequiredmin length 1 · max length 20
addresses.mailing.countrystringISO country code; defaults to US pattern
^[A-Z]{2}$registered_agentobject | nullregistered_agent_sincestring | nullfile_numberstring | nullformed_onstring | nullauto_org_idstring | nullstatus"draft" | "forming" | "formed" | "active" | "suspended" | "dissolved" | "archived"requiredversionintegerrequiredcreated_atstringupdated_atstring
- 404Not found in your organization
- 409Stale version, or the object's status does not allow the change
- 4xx 5xxThe error envelope.
curl -X DELETE "https://os.one.ml/api/v1/orgs/entities/$ENTITY" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('orgs_archive_entity', {
entity: '<entity>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "orgs_archive_entity",
"arguments": {
"entity": "<entity>"
}
}
}Update an entity, or record what the state issued
PATCH/v1/orgs/entities/{entity}
Scope orgs:write. Needs If-Match. Record a file number, formation date and status (formed, active, suspended, dissolved) from a certificate you hold; auto_org_id: null unlinks Auto.
Parameters
entitypath · stringrequiredIf-Matchheader · stringrequiredThe
versionyou read, as"3"(the ETag of the GET). A stale version is a 409.
Request body application/json
legal_namestringmin length 1 · max length 200
purposestring | nullmax length 2000
management"member_managed" | "manager_managed" | "board_managed"addressesobjectaddresses.principalobjectaddresses.principal.line1stringrequiredmin length 1 · max length 200
addresses.principal.line2stringmin length 1 · max length 200
addresses.principal.citystringrequiredmin length 1 · max length 100
addresses.principal.regionstringrequiredmin length 1 · max length 50
addresses.principal.postal_codestringrequiredmin length 1 · max length 20
addresses.principal.countrystringISO country code; defaults to US pattern
^[A-Z]{2}$addresses.mailingobjectaddresses.mailing.line1stringrequiredmin length 1 · max length 200
addresses.mailing.line2stringmin length 1 · max length 200
addresses.mailing.citystringrequiredmin length 1 · max length 100
addresses.mailing.regionstringrequiredmin length 1 · max length 50
addresses.mailing.postal_codestringrequiredmin length 1 · max length 20
addresses.mailing.countrystringISO country code; defaults to US pattern
^[A-Z]{2}$auto_org_idstring | nullnull unlinks Auto pattern
^[A-Za-z0-9][A-Za-z0-9_.:@-]{0,255}$file_numberstringmin length 1 · max length 64
formed_onstringYYYY-MM-DD pattern
^\d{4}-\d{2}-\d{2}$status"formed" | "active" | "suspended" | "dissolved"
Responses
- 200Updated entity
Response fields
idstringrequiredlegal_namestringrequiredkind"llc" | "dao_llc" | "c_corp" | "nonprofit"requiredjurisdictionstringrequiredpurposestring | nullmanagement"member_managed" | "manager_managed" | "board_managed"requiredaddressesobjectaddresses.principalobjectaddresses.principal.line1stringrequiredmin length 1 · max length 200
addresses.principal.line2stringmin length 1 · max length 200
addresses.principal.citystringrequiredmin length 1 · max length 100
addresses.principal.regionstringrequiredmin length 1 · max length 50
addresses.principal.postal_codestringrequiredmin length 1 · max length 20
addresses.principal.countrystringISO country code; defaults to US pattern
^[A-Z]{2}$addresses.mailingobjectaddresses.mailing.line1stringrequiredmin length 1 · max length 200
addresses.mailing.line2stringmin length 1 · max length 200
addresses.mailing.citystringrequiredmin length 1 · max length 100
addresses.mailing.regionstringrequiredmin length 1 · max length 50
addresses.mailing.postal_codestringrequiredmin length 1 · max length 20
addresses.mailing.countrystringISO country code; defaults to US pattern
^[A-Z]{2}$registered_agentobject | nullregistered_agent_sincestring | nullfile_numberstring | nullformed_onstring | nullauto_org_idstring | nullstatus"draft" | "forming" | "formed" | "active" | "suspended" | "dissolved" | "archived"requiredversionintegerrequiredcreated_atstringupdated_atstring
- 404Not found in your organization
- 409Stale version, or the object's status does not allow the change
- 422Invalid body, query or If-Match; unknown fields are rejected
- 4xx 5xxThe error envelope.
curl -X PATCH "https://os.one.ml/api/v1/orgs/entities/$ENTITY" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('orgs_update_entity', {
entity: '<entity>',
body: {},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "orgs_update_entity",
"arguments": {
"entity": "<entity>",
"body": {}
}
}
}Filings
List an entity's filings
GET/v1/orgs/entities/{entity}/filings
Scope orgs:read.
Parameters
entitypath · stringrequired
Responses
- 200Filings
Response fields
dataobject[]requireddata[].[].idstringrequireddata[].[].entity_idstringrequireddata[].[].kind"formation" | "annual_report" | "registered_agent_change" | "amendment" | "beneficial_ownership" | "dissolution"requireddata[].[].jurisdictionstringdata[].[].status"draft" | "prepared" | "ready_to_submit" | "submitted" | "accepted" | "rejected" | "cancelled"requireddata[].[].due_onstring | nulldata[].[].packetobject | nulldata[].[].feeanydata[].[].receiptanydata[].[].job_idstring | nulldata[].[].versionintegerrequired
- 404Not found in your organization
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/orgs/entities/$ENTITY/filings" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('orgs_list_filings', {
entity: '<entity>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "orgs_list_filings",
"arguments": {
"entity": "<entity>"
}
}
}Create a filing (annual report, amendment, registered agent change, ...)
POST/v1/orgs/entities/{entity}/filings
Scope orgs:write. Not formation; formation filings come from request_formation. packet up to 64 KiB.
Parameters
entitypath · stringrequired
Request body application/json
kind"annual_report" | "registered_agent_change" | "amendment" | "beneficial_ownership" | "dissolution"requireddue_onstringYYYY-MM-DD pattern
^\d{4}-\d{2}-\d{2}$packetobjectUp to 64 KiB of JSON
Responses
- 201Filing created
Response fields
idstringrequiredentity_idstringrequiredkind"formation" | "annual_report" | "registered_agent_change" | "amendment" | "beneficial_ownership" | "dissolution"requiredjurisdictionstringstatus"draft" | "prepared" | "ready_to_submit" | "submitted" | "accepted" | "rejected" | "cancelled"requireddue_onstring | nullpacketobject | nullfeeanyreceiptanyjob_idstring | nullversionintegerrequired
- 404Not found in your organization
- 422Invalid body, query or If-Match; unknown fields are rejected
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/orgs/entities/$ENTITY/filings" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"kind": "annual_report"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('orgs_create_filing', {
entity: '<entity>',
body: {
kind: 'annual_report',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "orgs_create_filing",
"arguments": {
"entity": "<entity>",
"body": {
"kind": "annual_report"
}
}
}
}Get a filing
GET/v1/orgs/filings/{filing}
Scope orgs:read.
Parameters
filingpath · stringrequired
Responses
- 200The filing
Response fields
idstringrequiredentity_idstringrequiredkind"formation" | "annual_report" | "registered_agent_change" | "amendment" | "beneficial_ownership" | "dissolution"requiredjurisdictionstringstatus"draft" | "prepared" | "ready_to_submit" | "submitted" | "accepted" | "rejected" | "cancelled"requireddue_onstring | nullpacketobject | nullfeeanyreceiptanyjob_idstring | nullversionintegerrequired
- 404Not found in your organization
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/orgs/filings/$FILING" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('orgs_get_filing', {
filing: '<filing>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "orgs_get_filing",
"arguments": {
"filing": "<filing>"
}
}
}Update a filing, or record that a person submitted it and the state accepted it
PATCH/v1/orgs/filings/{filing}
Scope orgs:write. Needs If-Match. Orgs never submits a real filing: a person files, then records submitted / accepted with the state's receipt (up to 16 KiB).
Parameters
filingpath · stringrequiredIf-Matchheader · stringrequiredThe
versionyou read, as"3"(the ETag of the GET). A stale version is a 409.
Request body application/json
status"prepared" | "ready_to_submit" | "submitted" | "accepted" | "rejected" | "cancelled"due_onstring | nullpattern
^\d{4}-\d{2}-\d{2}$packetobjectUp to 64 KiB of JSON
receiptobjectThe state's receipt, up to 16 KiB of JSON
Responses
- 200Updated filing
Response fields
idstringrequiredentity_idstringrequiredkind"formation" | "annual_report" | "registered_agent_change" | "amendment" | "beneficial_ownership" | "dissolution"requiredjurisdictionstringstatus"draft" | "prepared" | "ready_to_submit" | "submitted" | "accepted" | "rejected" | "cancelled"requireddue_onstring | nullpacketobject | nullfeeanyreceiptanyjob_idstring | nullversionintegerrequired
- 404Not found in your organization
- 409Stale version, or the object's status does not allow the change
- 422Invalid body, query or If-Match; unknown fields are rejected
- 4xx 5xxThe error envelope.
curl -X PATCH "https://os.one.ml/api/v1/orgs/filings/$FILING" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('orgs_update_filing', {
filing: '<filing>',
body: {},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "orgs_update_filing",
"arguments": {
"filing": "<filing>",
"body": {}
}
}
}Formation
Prepare the formation packet and start a rehearsal run (or dry run)
POST/v1/orgs/entities/{entity}/formation
Scope orgs:write. Needs an organizer or incorporator seat and an auto_org_id; the organizer is checked with Auto sign first (deny is a 403 refused). Builds the packet (exactly what would be filed), creates a formation filing (prepared) and queues a rehearsal run that drives a Panes browser to the state's submit/payment page and stops there (stopped_at_submit): it never files or pays. With dry_run: true only the packet is returned (200) and nothing is started.
Parameters
entitypath · stringrequired
Request body application/json
runtime"panes" | "rigs" | "shells"Defaults to panes
instance_idstringpattern
^[A-Za-z0-9][A-Za-z0-9_.:@-]{0,255}$contact_emailstringrequiredmax length 254 · pattern
^[^\s@]+@[^\s@]+\.[^\s@]+$effective_datestringYYYY-MM-DD pattern
^\d{4}-\d{2}-\d{2}$organizersobject[]organizers[].[].kind"person" | "agent"requiredorganizers[].[].refstringrequiredpattern
^[A-Za-z0-9][A-Za-z0-9_.:@-]{0,255}$organizers[].[].namestringrequiredmin length 1 · max length 200
organizers[].[].source"henry" | "fleets" | "flocks"Required for an agent; only for agents
organizers[].[].principalstringpattern
^[A-Za-z0-9][A-Za-z0-9_.:@-]{0,255}$organizers[].[].emailstringmax length 254 · pattern
^[^\s@]+@[^\s@]+\.[^\s@]+$organizers[].[].addressobjectorganizers[].[].address.line1stringrequiredmin length 1 · max length 200
organizers[].[].address.line2stringmin length 1 · max length 200
organizers[].[].address.citystringrequiredmin length 1 · max length 100
organizers[].[].address.regionstringrequiredmin length 1 · max length 50
organizers[].[].address.postal_codestringrequiredmin length 1 · max length 20
organizers[].[].address.countrystringISO country code; defaults to US pattern
^[A-Z]{2}$dry_runbooleanBuild and return the packet only; start nothing
Responses
- 200Dry run; the packet only
Response fields
packetobjectrequiredExactly what would be filed. Carries no payment data.
packet.portalstringrequiredpacket.documentstringrequiredpacket.jurisdictionstringrequiredpacket.entity_kindstringrequiredpacket.legal_namestringrequiredpacket.managementstringpacket.purposestring | nullpacket.effective_datestring | nullpacket.registered_agentanypacket.principal_officeanypacket.mailing_addressanypacket.organizersany[]packet.contact_emailstringpacket.daoanypacket.feeobjectpacket.fee.amountintegerrequiredMinor units (cents)
packet.fee.currencystringrequiredpacket.fee.basisstringpacket.paymentstring
- 202Packet prepared, formation filing created and the run queued
Response fields
packetobjectrequiredExactly what would be filed. Carries no payment data.
packet.portalstringrequiredpacket.documentstringrequiredpacket.jurisdictionstringrequiredpacket.entity_kindstringrequiredpacket.legal_namestringrequiredpacket.managementstringpacket.purposestring | nullpacket.effective_datestring | nullpacket.registered_agentanypacket.principal_officeanypacket.mailing_addressanypacket.organizersany[]packet.contact_emailstringpacket.daoanypacket.feeobjectpacket.fee.amountintegerrequiredMinor units (cents)
packet.fee.currencystringrequiredpacket.fee.basisstringpacket.paymentstringfilingobjectrequiredfiling.idstringrequiredfiling.entity_idstringrequiredfiling.kind"formation" | "annual_report" | "registered_agent_change" | "amendment" | "beneficial_ownership" | "dissolution"requiredfiling.jurisdictionstringfiling.status"draft" | "prepared" | "ready_to_submit" | "submitted" | "accepted" | "rejected" | "cancelled"requiredfiling.due_onstring | nullfiling.packetobject | nullfiling.feeanyfiling.receiptanyfiling.job_idstring | nullfiling.versionintegerrequiredjobobjectrequiredjob.idstringrequiredjob.entity_idstringrequiredjob.filing_idstring | nulljob.portalstringjob.mode"rehearsal"job.runtimeobjectjob.runtime.kind"panes" | "rigs" | "shells"job.runtime.instance_idstring | nulljob.modelstring | nulljob.status"queued" | "running" | "stopped_at_submit" | "needs_attention" | "failed" | "cancelled"requiredjob.stop_reasonstring | nulljob.erroranyjob.turnsintegerjob.actionsintegerjob.usageanyjob.requested_bystringjob.started_atstring | nulljob.finished_atstring | nulljob.versioninteger
- 403Missing scope, not the seat holder, or
refused(Auto denied;detailsis Auto's check) - 404Not found in your organization
- 409Stale version, or the object's status does not allow the change
- 422Invalid body, query or If-Match; unknown fields are rejected
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/orgs/entities/$ENTITY/formation" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"contact_email": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('orgs_request_formation', {
entity: '<entity>',
body: {
contact_email: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "orgs_request_formation",
"arguments": {
"entity": "<entity>",
"body": {
"contact_email": "string"
}
}
}
}Formation jobs
List an entity's formation runs
GET/v1/orgs/entities/{entity}/formation-jobs
Scope orgs:read.
Parameters
entitypath · stringrequired
Responses
- 200Formation jobs
Response fields
dataobject[]requireddata[].[].idstringrequireddata[].[].entity_idstringrequireddata[].[].filing_idstring | nulldata[].[].portalstringdata[].[].mode"rehearsal"data[].[].runtimeobjectdata[].[].runtime.kind"panes" | "rigs" | "shells"data[].[].runtime.instance_idstring | nulldata[].[].modelstring | nulldata[].[].status"queued" | "running" | "stopped_at_submit" | "needs_attention" | "failed" | "cancelled"requireddata[].[].stop_reasonstring | nulldata[].[].erroranydata[].[].turnsintegerdata[].[].actionsintegerdata[].[].usageanydata[].[].requested_bystringdata[].[].started_atstring | nulldata[].[].finished_atstring | nulldata[].[].versioninteger
- 404Not found in your organization
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/orgs/entities/$ENTITY/formation-jobs" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('orgs_list_formation_jobs', {
entity: '<entity>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "orgs_list_formation_jobs",
"arguments": {
"entity": "<entity>"
}
}
}Get a formation run
GET/v1/orgs/formation-jobs/{job}
Scope orgs:read.
Parameters
jobpath · stringrequired
Responses
- 200The formation job
Response fields
idstringrequiredentity_idstringrequiredfiling_idstring | nullportalstringmode"rehearsal"runtimeobjectruntime.kind"panes" | "rigs" | "shells"runtime.instance_idstring | nullmodelstring | nullstatus"queued" | "running" | "stopped_at_submit" | "needs_attention" | "failed" | "cancelled"requiredstop_reasonstring | nullerroranyturnsintegeractionsintegerusageanyrequested_bystringstarted_atstring | nullfinished_atstring | nullversioninteger
- 404Not found in your organization
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/orgs/formation-jobs/$JOB" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('orgs_get_formation_job', {
job: '<job>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "orgs_get_formation_job",
"arguments": {
"job": "<job>"
}
}
}Record
Read an entity's hash-chained record
GET/v1/orgs/entities/{entity}/record
Scope orgs:read. Append-only, sha256-chained per entity. Page with after (a seq) and limit (1-500).
Parameters
entitypath · stringrequiredafterquery · integerReturn entries after this
seqlimitquery · integer
Responses
- 200Record entries in order
Response fields
dataobject[]requireddata[].[].seqintegerrequireddata[].[].idstringrequireddata[].[].entity_idstringrequireddata[].[].kindstringrequireddata[].[].actorstringdata[].[].actor_kindstringdata[].[].summarystringdata[].[].inputsanydata[].[].request_idstring | nulldata[].[].created_atstringdata[].[].prev_hashstring | nulldata[].[].hashstringrequirednext_afterinteger | null
- 404Not found in your organization
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/orgs/entities/$ENTITY/record" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('orgs_get_record', {
entity: '<entity>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "orgs_get_record",
"arguments": {
"entity": "<entity>"
}
}
}Verify an entity's record chain
GET/v1/orgs/entities/{entity}/record/verify
Scope orgs:read. Recomputes every hash; ok with the head, or where the chain is broken_at.
Parameters
entitypath · stringrequired
Responses
- 200Verification result
Response fields
okbooleanrequiredentriesintegerrequiredheadstring | nullbroken_atinteger | null
- 404Not found in your organization
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/orgs/entities/$ENTITY/record/verify" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('orgs_verify_record', {
entity: '<entity>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "orgs_verify_record",
"arguments": {
"entity": "<entity>"
}
}
}Registered agent
Set or replace the entity's registered agent
PUT/v1/orgs/entities/{entity}/registered-agent
Scope orgs:write. Needs If-Match (the entity version). A US address must be in the state of formation.
Parameters
entitypath · stringrequiredIf-Matchheader · stringrequiredThe
versionyou read, as"3"(the ETag of the GET). A stale version is a 409.
Request body application/json
provider"self" | "commercial"Defaults to commercial
namestringrequiredmin length 1 · max length 200
addressobjectrequiredaddress.line1stringrequiredmin length 1 · max length 200
address.line2stringmin length 1 · max length 200
address.citystringrequiredmin length 1 · max length 100
address.regionstringrequiredmin length 1 · max length 50
address.postal_codestringrequiredmin length 1 · max length 20
address.countrystringISO country code; defaults to US pattern
^[A-Z]{2}$emailstringmax length 254 · pattern
^[^\s@]+@[^\s@]+\.[^\s@]+$agent_idstringThe state's id for the agent (for example from WyoBiz's agent search) max length 64
consent_document_idstringAn
agent_consentdocument on this entity: the agent's signed, dated consent to appointment. Only settable with PUT …/registered-agent (refused at entity creation). A formation run attests that consent was obtained only when it is on file.
Responses
- 200The entity with its registered agent
Response fields
idstringrequiredlegal_namestringrequiredkind"llc" | "dao_llc" | "c_corp" | "nonprofit"requiredjurisdictionstringrequiredpurposestring | nullmanagement"member_managed" | "manager_managed" | "board_managed"requiredaddressesobjectaddresses.principalobjectaddresses.principal.line1stringrequiredmin length 1 · max length 200
addresses.principal.line2stringmin length 1 · max length 200
addresses.principal.citystringrequiredmin length 1 · max length 100
addresses.principal.regionstringrequiredmin length 1 · max length 50
addresses.principal.postal_codestringrequiredmin length 1 · max length 20
addresses.principal.countrystringISO country code; defaults to US pattern
^[A-Z]{2}$addresses.mailingobjectaddresses.mailing.line1stringrequiredmin length 1 · max length 200
addresses.mailing.line2stringmin length 1 · max length 200
addresses.mailing.citystringrequiredmin length 1 · max length 100
addresses.mailing.regionstringrequiredmin length 1 · max length 50
addresses.mailing.postal_codestringrequiredmin length 1 · max length 20
addresses.mailing.countrystringISO country code; defaults to US pattern
^[A-Z]{2}$registered_agentobject | nullregistered_agent_sincestring | nullfile_numberstring | nullformed_onstring | nullauto_org_idstring | nullstatus"draft" | "forming" | "formed" | "active" | "suspended" | "dissolved" | "archived"requiredversionintegerrequiredcreated_atstringupdated_atstring
- 404Not found in your organization
- 409Stale version, or the object's status does not allow the change
- 422Invalid body, query or If-Match; unknown fields are rejected
- 4xx 5xxThe error envelope.
curl -X PUT "https://os.one.ml/api/v1/orgs/entities/$ENTITY/registered-agent" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "string",
"address": {
"line1": "string",
"city": "string",
"region": "string",
"postal_code": "string"
}
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('orgs_set_registered_agent', {
entity: '<entity>',
body: {
name: 'string',
address: {
line1: 'string',
city: 'string',
region: 'string',
postal_code: 'string',
},
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "orgs_set_registered_agent",
"arguments": {
"entity": "<entity>",
"body": {
"name": "string",
"address": {
"line1": "string",
"city": "string",
"region": "string",
"postal_code": "string"
}
}
}
}
}Remove the entity's registered agent (refused once formed)
DELETE/v1/orgs/entities/{entity}/registered-agent
Scope orgs:write. Needs If-Match (the entity version).
Parameters
entitypath · stringrequiredIf-Matchheader · stringrequiredThe
versionyou read, as"3"(the ETag of the GET). A stale version is a 409.
Responses
- 200The entity without a registered agent
Response fields
idstringrequiredlegal_namestringrequiredkind"llc" | "dao_llc" | "c_corp" | "nonprofit"requiredjurisdictionstringrequiredpurposestring | nullmanagement"member_managed" | "manager_managed" | "board_managed"requiredaddressesobjectaddresses.principalobjectaddresses.principal.line1stringrequiredmin length 1 · max length 200
addresses.principal.line2stringmin length 1 · max length 200
addresses.principal.citystringrequiredmin length 1 · max length 100
addresses.principal.regionstringrequiredmin length 1 · max length 50
addresses.principal.postal_codestringrequiredmin length 1 · max length 20
addresses.principal.countrystringISO country code; defaults to US pattern
^[A-Z]{2}$addresses.mailingobjectaddresses.mailing.line1stringrequiredmin length 1 · max length 200
addresses.mailing.line2stringmin length 1 · max length 200
addresses.mailing.citystringrequiredmin length 1 · max length 100
addresses.mailing.regionstringrequiredmin length 1 · max length 50
addresses.mailing.postal_codestringrequiredmin length 1 · max length 20
addresses.mailing.countrystringISO country code; defaults to US pattern
^[A-Z]{2}$registered_agentobject | nullregistered_agent_sincestring | nullfile_numberstring | nullformed_onstring | nullauto_org_idstring | nullstatus"draft" | "forming" | "formed" | "active" | "suspended" | "dissolved" | "archived"requiredversionintegerrequiredcreated_atstringupdated_atstring
- 404Not found in your organization
- 409Stale version, or the object's status does not allow the change
- 4xx 5xxThe error envelope.
curl -X DELETE "https://os.one.ml/api/v1/orgs/entities/$ENTITY/registered-agent" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('orgs_remove_registered_agent', {
entity: '<entity>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "orgs_remove_registered_agent",
"arguments": {
"entity": "<entity>"
}
}
}Resolutions
List an entity's resolutions
GET/v1/orgs/entities/{entity}/resolutions
Scope orgs:read.
Parameters
entitypath · stringrequired
Responses
- 200Resolutions
Response fields
dataobject[]requireddata[].[].idstringrequireddata[].[].entity_idstringrequireddata[].[].body_kind"board" | "members" | "managers"requireddata[].[].titlestringrequireddata[].[].textstringrequireddata[].[].votesobject[]requireddata[].[].votes[].[].seat_idstringrequireddata[].[].votes[].[].vote"for" | "against" | "abstain"requireddata[].[].votes[].[].weightintegerdata[].[].votes[].[].principalstringdata[].[].votes[].[].notestring | nulldata[].[].votes[].[].atstringdata[].[].status"draft" | "adopted" | "rejected" | "withdrawn"requireddata[].[].decided_atstring | nulldata[].[].versionintegerrequired
- 404Not found in your organization
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/orgs/entities/$ENTITY/resolutions" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('orgs_list_resolutions', {
entity: '<entity>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "orgs_list_resolutions",
"arguments": {
"entity": "<entity>"
}
}
}Propose a resolution to the board, members or managers
POST/v1/orgs/entities/{entity}/resolutions
Scope orgs:write. body_kind defaults to board. Starts as draft.
Parameters
entitypath · stringrequired
Request body application/json
body_kind"board" | "members" | "managers"Defaults to board
titlestringrequiredmin length 1 · max length 200
textstringrequiredmin length 1 · max length 50000
Responses
- 201Resolution created
Response fields
idstringrequiredentity_idstringrequiredbody_kind"board" | "members" | "managers"requiredtitlestringrequiredtextstringrequiredvotesobject[]requiredvotes[].[].seat_idstringrequiredvotes[].[].vote"for" | "against" | "abstain"requiredvotes[].[].weightintegervotes[].[].principalstringvotes[].[].notestring | nullvotes[].[].atstringstatus"draft" | "adopted" | "rejected" | "withdrawn"requireddecided_atstring | nullversionintegerrequired
- 404Not found in your organization
- 422Invalid body, query or If-Match; unknown fields are rejected
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/orgs/entities/$ENTITY/resolutions" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"title": "string",
"text": "string"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('orgs_create_resolution', {
entity: '<entity>',
body: {
title: 'string',
text: 'string',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "orgs_create_resolution",
"arguments": {
"entity": "<entity>",
"body": {
"title": "string",
"text": "string"
}
}
}
}Get a resolution and its votes
GET/v1/orgs/resolutions/{resolution}
Scope orgs:read.
Parameters
resolutionpath · stringrequired
Responses
- 200The resolution
Response fields
idstringrequiredentity_idstringrequiredbody_kind"board" | "members" | "managers"requiredtitlestringrequiredtextstringrequiredvotesobject[]requiredvotes[].[].seat_idstringrequiredvotes[].[].vote"for" | "against" | "abstain"requiredvotes[].[].weightintegervotes[].[].principalstringvotes[].[].notestring | nullvotes[].[].atstringstatus"draft" | "adopted" | "rejected" | "withdrawn"requireddecided_atstring | nullversionintegerrequired
- 404Not found in your organization
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/orgs/resolutions/$RESOLUTION" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('orgs_get_resolution', {
resolution: '<resolution>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "orgs_get_resolution",
"arguments": {
"resolution": "<resolution>"
}
}
}Seats
List an entity's seats (board, managers, members, officers, organizers)
GET/v1/orgs/entities/{entity}/seats
Scope orgs:read. Ended seats are hidden unless include_ended=true.
Parameters
entitypath · stringrequiredinclude_endedquery · boolean
Responses
- 200Seats
Response fields
dataobject[]requireddata[].[].idstringrequireddata[].[].entity_idstringrequireddata[].[].role"director" | "manager" | "member" | "officer" | "organizer" | "incorporator"requireddata[].[].titlestring | nulldata[].[].holderobjectrequireddata[].[].holder.kind"person" | "agent"requireddata[].[].holder.refstringrequiredpattern
^[A-Za-z0-9][A-Za-z0-9_.:@-]{0,255}$data[].[].holder.namestringrequiredmin length 1 · max length 200
data[].[].holder.source"henry" | "fleets" | "flocks"Required for an agent; only for agents
data[].[].holder.principalstringpattern
^[A-Za-z0-9][A-Za-z0-9_.:@-]{0,255}$data[].[].holder.emailstringmax length 254 · pattern
^[^\s@]+@[^\s@]+\.[^\s@]+$data[].[].holder.addressobjectdata[].[].holder.address.line1stringrequiredmin length 1 · max length 200
data[].[].holder.address.line2stringmin length 1 · max length 200
data[].[].holder.address.citystringrequiredmin length 1 · max length 100
data[].[].holder.address.regionstringrequiredmin length 1 · max length 50
data[].[].holder.address.postal_codestringrequiredmin length 1 · max length 20
data[].[].holder.address.countrystringISO country code; defaults to US pattern
^[A-Z]{2}$data[].[].voting_weightintegerrequireddata[].[].status"active" | "ended"requireddata[].[].started_atstring | nulldata[].[].ended_atstring | nulldata[].[].versionintegerrequired
- 404Not found in your organization
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/orgs/entities/$ENTITY/seats" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('orgs_list_seats', {
entity: '<entity>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "orgs_list_seats",
"arguments": {
"entity": "<entity>"
}
}
}Add a seat and its holder (a person or an agent)
POST/v1/orgs/entities/{entity}/seats
Scope orgs:write. voting_weight defaults to 1. An agent holder names its source (henry, fleets or flocks).
Parameters
entitypath · stringrequired
Request body application/json
role"director" | "manager" | "member" | "officer" | "organizer" | "incorporator"requiredtitlestringmin length 1 · max length 120
holderobjectrequiredholder.kind"person" | "agent"requiredholder.refstringrequiredpattern
^[A-Za-z0-9][A-Za-z0-9_.:@-]{0,255}$holder.namestringrequiredmin length 1 · max length 200
holder.source"henry" | "fleets" | "flocks"Required for an agent; only for agents
holder.principalstringpattern
^[A-Za-z0-9][A-Za-z0-9_.:@-]{0,255}$holder.emailstringmax length 254 · pattern
^[^\s@]+@[^\s@]+\.[^\s@]+$holder.addressobjectholder.address.line1stringrequiredmin length 1 · max length 200
holder.address.line2stringmin length 1 · max length 200
holder.address.citystringrequiredmin length 1 · max length 100
holder.address.regionstringrequiredmin length 1 · max length 50
holder.address.postal_codestringrequiredmin length 1 · max length 20
holder.address.countrystringISO country code; defaults to US pattern
^[A-Z]{2}$voting_weightintegermin 0 · max 1000000
Responses
- 201Seat created
Response fields
idstringrequiredentity_idstringrequiredrole"director" | "manager" | "member" | "officer" | "organizer" | "incorporator"requiredtitlestring | nullholderobjectrequiredholder.kind"person" | "agent"requiredholder.refstringrequiredpattern
^[A-Za-z0-9][A-Za-z0-9_.:@-]{0,255}$holder.namestringrequiredmin length 1 · max length 200
holder.source"henry" | "fleets" | "flocks"Required for an agent; only for agents
holder.principalstringpattern
^[A-Za-z0-9][A-Za-z0-9_.:@-]{0,255}$holder.emailstringmax length 254 · pattern
^[^\s@]+@[^\s@]+\.[^\s@]+$holder.addressobjectholder.address.line1stringrequiredmin length 1 · max length 200
holder.address.line2stringmin length 1 · max length 200
holder.address.citystringrequiredmin length 1 · max length 100
holder.address.regionstringrequiredmin length 1 · max length 50
holder.address.postal_codestringrequiredmin length 1 · max length 20
holder.address.countrystringISO country code; defaults to US pattern
^[A-Z]{2}$voting_weightintegerrequiredstatus"active" | "ended"requiredstarted_atstring | nullended_atstring | nullversionintegerrequired
- 404Not found in your organization
- 409Stale version, or the object's status does not allow the change
- 422Invalid body, query or If-Match; unknown fields are rejected
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/orgs/entities/$ENTITY/seats" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"role": "director",
"holder": {
"kind": "person",
"ref": "string",
"name": "string"
}
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('orgs_create_seat', {
entity: '<entity>',
body: {
role: 'director',
holder: {
kind: 'person',
ref: 'string',
name: 'string',
},
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "orgs_create_seat",
"arguments": {
"entity": "<entity>",
"body": {
"role": "director",
"holder": {
"kind": "person",
"ref": "string",
"name": "string"
}
}
}
}
}Get a seat
GET/v1/orgs/seats/{seat}
Scope orgs:read.
Parameters
seatpath · stringrequired
Responses
- 200The seat
Response fields
idstringrequiredentity_idstringrequiredrole"director" | "manager" | "member" | "officer" | "organizer" | "incorporator"requiredtitlestring | nullholderobjectrequiredholder.kind"person" | "agent"requiredholder.refstringrequiredpattern
^[A-Za-z0-9][A-Za-z0-9_.:@-]{0,255}$holder.namestringrequiredmin length 1 · max length 200
holder.source"henry" | "fleets" | "flocks"Required for an agent; only for agents
holder.principalstringpattern
^[A-Za-z0-9][A-Za-z0-9_.:@-]{0,255}$holder.emailstringmax length 254 · pattern
^[^\s@]+@[^\s@]+\.[^\s@]+$holder.addressobjectholder.address.line1stringrequiredmin length 1 · max length 200
holder.address.line2stringmin length 1 · max length 200
holder.address.citystringrequiredmin length 1 · max length 100
holder.address.regionstringrequiredmin length 1 · max length 50
holder.address.postal_codestringrequiredmin length 1 · max length 20
holder.address.countrystringISO country code; defaults to US pattern
^[A-Z]{2}$voting_weightintegerrequiredstatus"active" | "ended"requiredstarted_atstring | nullended_atstring | nullversionintegerrequired
- 404Not found in your organization
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/orgs/seats/$SEAT" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('orgs_get_seat', {
seat: '<seat>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "orgs_get_seat",
"arguments": {
"seat": "<seat>"
}
}
}End a seat
DELETE/v1/orgs/seats/{seat}
Scope orgs:write. Needs If-Match. The seat is ended (status=ended, ended_at), never deleted.
Parameters
seatpath · stringrequiredIf-Matchheader · stringrequiredThe
versionyou read, as"3"(the ETag of the GET). A stale version is a 409.
Responses
- 200Ended seat
Response fields
idstringrequiredentity_idstringrequiredrole"director" | "manager" | "member" | "officer" | "organizer" | "incorporator"requiredtitlestring | nullholderobjectrequiredholder.kind"person" | "agent"requiredholder.refstringrequiredpattern
^[A-Za-z0-9][A-Za-z0-9_.:@-]{0,255}$holder.namestringrequiredmin length 1 · max length 200
holder.source"henry" | "fleets" | "flocks"Required for an agent; only for agents
holder.principalstringpattern
^[A-Za-z0-9][A-Za-z0-9_.:@-]{0,255}$holder.emailstringmax length 254 · pattern
^[^\s@]+@[^\s@]+\.[^\s@]+$holder.addressobjectholder.address.line1stringrequiredmin length 1 · max length 200
holder.address.line2stringmin length 1 · max length 200
holder.address.citystringrequiredmin length 1 · max length 100
holder.address.regionstringrequiredmin length 1 · max length 50
holder.address.postal_codestringrequiredmin length 1 · max length 20
holder.address.countrystringISO country code; defaults to US pattern
^[A-Z]{2}$voting_weightintegerrequiredstatus"active" | "ended"requiredstarted_atstring | nullended_atstring | nullversionintegerrequired
- 404Not found in your organization
- 409Stale version, or the object's status does not allow the change
- 4xx 5xxThe error envelope.
curl -X DELETE "https://os.one.ml/api/v1/orgs/seats/$SEAT" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('orgs_end_seat', {
seat: '<seat>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "orgs_end_seat",
"arguments": {
"seat": "<seat>"
}
}
}Update a seat's title, voting weight or holder
PATCH/v1/orgs/seats/{seat}
Scope orgs:write. Needs If-Match.
Parameters
seatpath · stringrequiredIf-Matchheader · stringrequiredThe
versionyou read, as"3"(the ETag of the GET). A stale version is a 409.
Request body application/json
titlestring | nullmax length 120
voting_weightintegermin 0 · max 1000000
holderobjectholder.kind"person" | "agent"requiredholder.refstringrequiredpattern
^[A-Za-z0-9][A-Za-z0-9_.:@-]{0,255}$holder.namestringrequiredmin length 1 · max length 200
holder.source"henry" | "fleets" | "flocks"Required for an agent; only for agents
holder.principalstringpattern
^[A-Za-z0-9][A-Za-z0-9_.:@-]{0,255}$holder.emailstringmax length 254 · pattern
^[^\s@]+@[^\s@]+\.[^\s@]+$holder.addressobjectholder.address.line1stringrequiredmin length 1 · max length 200
holder.address.line2stringmin length 1 · max length 200
holder.address.citystringrequiredmin length 1 · max length 100
holder.address.regionstringrequiredmin length 1 · max length 50
holder.address.postal_codestringrequiredmin length 1 · max length 20
holder.address.countrystringISO country code; defaults to US pattern
^[A-Z]{2}$
Responses
- 200Updated seat
Response fields
idstringrequiredentity_idstringrequiredrole"director" | "manager" | "member" | "officer" | "organizer" | "incorporator"requiredtitlestring | nullholderobjectrequiredholder.kind"person" | "agent"requiredholder.refstringrequiredpattern
^[A-Za-z0-9][A-Za-z0-9_.:@-]{0,255}$holder.namestringrequiredmin length 1 · max length 200
holder.source"henry" | "fleets" | "flocks"Required for an agent; only for agents
holder.principalstringpattern
^[A-Za-z0-9][A-Za-z0-9_.:@-]{0,255}$holder.emailstringmax length 254 · pattern
^[^\s@]+@[^\s@]+\.[^\s@]+$holder.addressobjectholder.address.line1stringrequiredmin length 1 · max length 200
holder.address.line2stringmin length 1 · max length 200
holder.address.citystringrequiredmin length 1 · max length 100
holder.address.regionstringrequiredmin length 1 · max length 50
holder.address.postal_codestringrequiredmin length 1 · max length 20
holder.address.countrystringISO country code; defaults to US pattern
^[A-Z]{2}$voting_weightintegerrequiredstatus"active" | "ended"requiredstarted_atstring | nullended_atstring | nullversionintegerrequired
- 404Not found in your organization
- 409Stale version, or the object's status does not allow the change
- 422Invalid body, query or If-Match; unknown fields are rejected
- 4xx 5xxThe error envelope.
curl -X PATCH "https://os.one.ml/api/v1/orgs/seats/$SEAT" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('orgs_update_seat', {
seat: '<seat>',
body: {},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "orgs_update_seat",
"arguments": {
"seat": "<seat>",
"body": {}
}
}
}Cancel
Cancel a queued or running formation run
POST/v1/orgs/formation-jobs/{job}/cancel
Scope orgs:write.
Parameters
jobpath · stringrequired
Responses
- 200The cancelled job
Response fields
idstringrequiredentity_idstringrequiredfiling_idstring | nullportalstringmode"rehearsal"runtimeobjectruntime.kind"panes" | "rigs" | "shells"runtime.instance_idstring | nullmodelstring | nullstatus"queued" | "running" | "stopped_at_submit" | "needs_attention" | "failed" | "cancelled"requiredstop_reasonstring | nullerroranyturnsintegeractionsintegerusageanyrequested_bystringstarted_atstring | nullfinished_atstring | nullversioninteger
- 404Not found in your organization
- 409Stale version, or the object's status does not allow the change
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/orgs/formation-jobs/$JOB/cancel" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('orgs_cancel_formation_job', {
job: '<job>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "orgs_cancel_formation_job",
"arguments": {
"job": "<job>"
}
}
}Steps
Read a formation run's steps (model turns, actions, screenshots)
GET/v1/orgs/formation-jobs/{job}/steps
Scope orgs:read. Each screenshot is an evidence document (evidence_id). Page with after (a seq) and limit (1-500).
Parameters
jobpath · stringrequiredafterquery · integerReturn entries after this
seqlimitquery · integer
Responses
- 200Steps in order
Response fields
dataobject[]requireddata[].[].seqintegerrequireddata[].[].kind"model" | "action" | "screenshot" | "stop" | "note"requireddata[].[].actionstring | nulldata[].[].inputanydata[].[].notestring | nulldata[].[].evidence_idstring | nullThe evidence document (PNG) for a screenshot
data[].[].outcomeanydata[].[].created_atstringnext_afterinteger | null
- 404Not found in your organization
- 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/orgs/formation-jobs/$JOB/steps" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('orgs_list_formation_steps', {
job: '<job>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "orgs_list_formation_steps",
"arguments": {
"job": "<job>"
}
}
}Portals
List the state formation portals Orgs can rehearse
GET/v1/orgs/portals
Scope orgs:read.
Responses
- 200Portals
Response fields
dataobject[]requireddata[].[].idstringrequireddata[].[].namestringrequireddata[].[].jurisdictionstringrequireddata[].[].kinds"llc" | "dao_llc" | "c_corp" | "nonprofit"[]requireddata[].[].documentstringrequireddata[].[].start_urlstringrequireddata[].[].feeobjectrequireddata[].[].fee.amountintegerrequiredMinor units (cents)
data[].[].fee.currencystringrequireddata[].[].fee.basisstring
- 403Missing scope, not the seat holder, or
refused(Auto denied;detailsis Auto's check) - 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/orgs/portals" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('orgs_list_portals'){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "orgs_list_portals",
"arguments": {}
}
}Votes
Vote a seat on a resolution
POST/v1/orgs/resolutions/{resolution}/votes
Scope orgs:write. Only the seat's holder (its principal) votes it. A weighted majority of the body's active seats adopts or rejects the resolution.
Parameters
resolutionpath · stringrequired
Request body application/json
seat_idstringrequiredpattern
^[A-Za-z0-9][A-Za-z0-9_.:@-]{0,255}$vote"for" | "against" | "abstain"requirednotestringmin length 1 · max length 1000
Responses
- 200The resolution with the vote recorded
Response fields
idstringrequiredentity_idstringrequiredbody_kind"board" | "members" | "managers"requiredtitlestringrequiredtextstringrequiredvotesobject[]requiredvotes[].[].seat_idstringrequiredvotes[].[].vote"for" | "against" | "abstain"requiredvotes[].[].weightintegervotes[].[].principalstringvotes[].[].notestring | nullvotes[].[].atstringstatus"draft" | "adopted" | "rejected" | "withdrawn"requireddecided_atstring | nullversionintegerrequired
- 403Missing scope, not the seat holder, or
refused(Auto denied;detailsis Auto's check) - 404Not found in your organization
- 409Stale version, or the object's status does not allow the change
- 422Invalid body, query or If-Match; unknown fields are rejected
- 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/orgs/resolutions/$RESOLUTION/votes" \
-H "Authorization: Bearer $GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"seat_id": "string",
"vote": "for"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('orgs_vote', {
resolution: '<resolution>',
body: {
seat_id: 'string',
vote: 'for',
},
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "orgs_vote",
"arguments": {
"resolution": "<resolution>",
"body": {
"seat_id": "string",
"vote": "for"
}
}
}
}Whoami
Show the identity Orgs sees for your credential
GET/v1/orgs/whoami
Scope orgs:read.
Responses
- 200Org, principal, principal kind and scopes as the gateway signed them
Response fields
orgstringrequiredprincipalstringrequiredkind"api_key" | "m2m_token" | "bridge_session"requiredscopesstring[]required
- 403Missing scope, not the seat holder, or
refused(Auto denied;detailsis Auto's check) - 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/orgs/whoami" \
-H "Authorization: Bearer $GENESIS_API_KEY"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('orgs_whoami'){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "orgs_whoami",
"arguments": {}
}
}L1fe AI Inc. · Built from Genesis 0.3.1 and the live gateway on 2026-10-25. Support