Decillion
Get started

Organizations

Separate balances, billing, keys and people for you and for each team you work with.

What an organization is

Everything in the developer console belongs to an organization. Your personal organization is your own account: its balance is the wallet you already use in the app. You can create more for a company or a room, and each has its own:
•
Balance and billing: funds are added to the organization, and what its keys spend comes out of it. Nothing is shared with your personal balance.
•
API keys, logs, usage, computers and files.
•
People, each with a role.
•
Limits on spend.
Switch between them with the organization menu in the top bar of the console. A key is created inside one organization and only ever spends that organization's balance.

People and roles

Role
Can
Owner
Everything, including billing and deleting the organization.
Admin
Manage keys, people, billing and limits.
Developer
Create keys, and use models, computers and storage. Can't manage people or billing.
Viewer
Look at usage, logs and keys. Can't change anything.
Invite people by their Decillion username under Team. They join with one tap.

In the API

A key already says which organization a request is for, so there is no header to send. To see which one a key belongs to:
GET
/v1/organization
The organization this key belongs to, and its balance.
Key permission: Usage and balance: Read
EXAMPLE
curl https://api.decillionai.com/v1/organization \ -H "Authorization: Bearer $DECILLION_API_KEY"
Response
{ "id": "org_3a91c0", "name": "Acme Inc.", "balance": { "available": 42.5, "held": 0, "currency": "USD" } }
Previous
Authentication
Next
Models and chat