Upcoming Mid April 2026
List Accounts
Returns a paginated list of accounts in the current organization.GET /network/v1/account
Query Parameters
Page number.
Results per page.
cURL
Best Practices
- Set
organization-idheader first — Account listings are scoped to the organization in the header. Ensure you’ve selected the correct organization before listing accounts. - Cache account lists per org — Accounts are relatively stable. Cache per organization and refresh when switching orgs or on user request.
Create Account
Create a new account within an organization.POST /network/v1/account
Request Body
Account name.
Account status. Use
"ACTIVE".Organization ID to create the account under.
cURL
Best Practices
- Use kebab-case for
name— Account names are used as identifiers. Use lowercase kebab-case (e.g.,my-project) for consistency. The API auto-generates aniceNamefor display. - One account per project — Use accounts to separate different projects or environments within an organization. Avoid putting unrelated agents in the same account.
- Match
organizationto header — Theorganizationfield in the body must match theorganization-idheader. Mismatches will result in authorization errors.
Get Account
Retrieve a single account by ID.GET /network/v1/account/{accountId}
Path Parameters
The account ID.
cURL
Best Practices
- Use to validate context after switching — Call this after switching accounts to confirm the account exists, is active, and belongs to the expected organization.
