organization_usage_get
Charges for the organization over a UTC date range (default the last 30 days): line items (resource, quantity in billing units, unit price, amount) and totals by category, activity, project and day. Amounts are USD decimal strings.
When to use it
Use organization_usage_get to get organization usage and cost. This tool operates at workspace scope. It does not require a project context unless a filtering argument explicitly asks for one.
Arguments
| Name | Type | Required | Default | Constraints |
|---|---|---|---|---|
from | string | No | — | Format: date; Pattern constraint; see full schema |
to | string | No | — | Format: date; Pattern constraint; see full schema |
View the complete input schema, including nested contracts and alternative shapes. The schema is extracted from the workspace server’s Zod definitions. Runtime validation also enforces custom checks that JSON Schema cannot express.
Response shape
The operation-specific payload is returned in data; its contents follow the operation described above.
MCP returns a text block containing the JSON operation result and a
structuredContent copy. The envelope includes data, completeness,
truncated, freshness, and warnings. Depending on the operation it can also
include nextCursor, evidence, job, or receipt.
Check those fields before treating a conversational summary as the result.
When a job is returned, inspect its status with the appropriate execution tool;
a queued response is not confirmation that work finished. Follow evidence links
when checking the underlying records.
Input methods
This request illustrates the argument structure. Replace every angle-bracket placeholder with a real value and supply any applicable optional fields from the schema. Nested business contracts must match your actual configuration. Send it through an authenticated, initialized MCP client; this JSON alone does not establish a session or sign you in.
Use Semogram’s organization_usage_get tool to get organization usage and cost. Confirm the workspace and use records I can access. Do not change anything.
Use real resource IDs returned by earlier reads; a resource name is not a UUID. Do not fill missing business inputs with invented values.
This is an MCP tools/call request, not a form to paste into Semogram. Send it through an authenticated, initialized MCP client.
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "organization_usage_get",
"arguments": {}
}
}FAQ
What access and approvals are required?
Required permission scopes: org:manage.
OAuth uses current workspace membership; API keys use their assigned scopes
and grants. Discovery can exclude tools the caller cannot use.
Read-only annotation: Yes. Destructive annotation: No. Follow the operation’s declared contract and any applicable server-side approval policy.
How should I handle retries?
Do not assume repeated calls are safe merely because the client offers Retry. Inspect the result or existing request before repeating work that changes state. For 429 responses, honor Retry-After rather than retrying immediately.
Why is this tool missing or returning an error?
Confirm the workspace, resource IDs, and permission scopes. Read the returned error before changing the request. See connection, authentication and troubleshooting for sign-in, scope, resource access, and rate-limit errors.
query_execution_list
List the organization query and read history, newest first, 100 per page. Pass executionId to read one execution.
usage_billing_get
The organization's plan (fee, included credit) and this calendar month's usage charges so far, credit applied and estimated bill. Amounts are USD decimal strings.