read_operated_account
Generated automatically from the published contract sources.
Build metadata: Registered in this build. Registration describes the default dispatcher in this build. It does not guarantee that a caller has the required credential or grant, that a tool is listed for that connection, or that the required service is configured.
A script calls this action over HTTPS at POST https://turnzero.ai/api/v1/actions/read_operated_account, with a bearer credential and the action's payload as the JSON body. It also accepts GET.
Contract description
Read the platform's own record of one account: its id, creation time, standing, and the count of its stored secrets. Super-admin (platform operator) only. It never reads the account's application data, project content, secret names, or secret values.
Access and action metadata
{
"name": "read_operated_account",
"resource": "account",
"tier": "observe",
"grant": "super_admin",
"summary": "One account's control-plane record: standing, meters, health — never its tenant data.",
"annotations": {
"readOnlyHint": true,
"destructiveHint": false,
"openWorldHint": false,
"idempotentHint": true
}
}
MCP catalog entry
{
"name": "read_operated_account",
"tier": "observe",
"scenario": "API-L0-12",
"summary": "Read the platform's own record of one account: its id, creation time, standing, and the count of its stored secrets. Super-admin (platform operator) only. It never reads the account's application data, project content, secret names, or secret values.",
"owners": [
"ADM-L0-10"
]
}
request
| JSON pointer | Description and constraints |
|---|---|
| "" (root) | Type: object Required fields: ["subject_account"] |
| / |
The account id, from `list_accounts`. Type: string |
response
| JSON pointer | Description and constraints |
|---|---|
| "" (root) | Type: object Required fields: ["contract_version","account","custody_count"] |
| / |
Required value: 1 |
| / |
The short reference the platform recorded this call under, ten lowercase hexadecimal characters, the value the call’s record row carries; quote it when reporting the call. Type: string Pattern: ^[0-9a-f]{10}$ |
| / |
Type: object Required fields: ["id","created_at","standing","synthetic","unbilled"] |
| / |
Type: string |
| / |
Type: string |
| / |
Allowed values: ["active","suspended"] |
| / |
true on a synthetic account — a test fixture seed_synthetic_accounts created, which no sign-in creates and no billing or product analytics counts (ACB-L0-79) — and false on every account a sign-in created. Type: boolean |
| / |
true on an account a super-admin has marked unbilled, the company's own or a complimentary one — free of the per-account application limits and never charged (ACB-L0-84) — and false on every other account. Type: boolean |
| / |
Type: integer |
| / |
Type: string |
Complete payload contract
{
"request": {
"type": "object",
"required": [
"subject_account"
],
"properties": {
"subject_account": {
"type": "string",
"description": "The account id, from `list_accounts`."
}
}
},
"response": {
"type": "object",
"required": [
"contract_version",
"account",
"custody_count"
],
"properties": {
"contract_version": {
"const": 1
},
"reference": {
"type": "string",
"pattern": "^[0-9a-f]{10}$",
"description": "The short reference the platform recorded this call under, ten lowercase hexadecimal characters, the value the call’s record row carries; quote it when reporting the call."
},
"account": {
"type": "object",
"required": [
"id",
"created_at",
"standing",
"synthetic",
"unbilled"
],
"properties": {
"id": {
"type": "string"
},
"created_at": {
"type": "string"
},
"standing": {
"enum": [
"active",
"suspended"
]
},
"synthetic": {
"type": "boolean",
"description": "true on a synthetic account — a test fixture seed_synthetic_accounts created, which no sign-in creates and no billing or product analytics counts (ACB-L0-79) — and false on every account a sign-in created."
},
"unbilled": {
"type": "boolean",
"description": "true on an account a super-admin has marked unbilled, the company's own or a complimentary one — free of the per-account application limits and never charged (ACB-L0-84) — and false on every other account."
}
}
},
"custody_count": {
"type": "integer"
},
"detail": {
"type": "string"
}
}
}
}
Shared contracts
- Refusals: every refusal, by surface, with its cause and its remedy
- schemas/wire_error.schema.json
- schemas/wire_errors.json
- schemas/action_payloads.json (includes shared shapes)
- management_api_contract.md