Skip to main content

kobana billing operation-approvals

Commands of kobana billing operation-approvals. Every global option (Global options) applies here.

CommandHTTPDescription
operation-approvals listGET /v1/operation_approvalsList your operation approvals
operation-approvals getGET /v1/operation_approvals/{id}Get an operation approval

operation-approvals list​

List your operation approvals

kobana billing operation-approvals list [OPTIONS]

GET /v1/operation_approvals

The approval-link approvals of the person the token belongs to, in the token’s organization, most recent first: each destructive MCP tool that waited for confirmation on the approval screen, with what happened next. Any token with a person reads its own approvals, with no resource scope; a token without a person gets an empty list. What each operation returned (result, error, an amount read from the record) comes back only when the token can read that approval’s resource and the person still holds a read permission on it; otherwise it is null with result_hidden: true. Read-only: nothing here approves, cancels or reopens an approval. title comes in the Accept-Language language (pt-BR by default).

Query parameters

NameTypeRequiredDescription
pageintegernoPage (starts at 1). Default: 1.
per_pageintegernoItems per page. Default: 20. Maximum: 100.
statusstringnoOnly approvals in this status. pending leaves out a lapsed one, which is expired. Values: pending, approved, executed, failed, declined, expired.
created_afterstringnoOnly approvals requested at or after this instant (ISO 8601).
created_beforestringnoOnly approvals requested at or before this instant (ISO 8601).

Responses

HTTPDescription
200Paginated list of approvals.
400Request body failed validation.
404Resource not found in the current organization.

operation-approvals get​

Get an operation approval

kobana billing operation-approvals get [ID] [OPTIONS]

GET /v1/operation_approvals/{id}

One approval of the person the token belongs to, in the token’s organization — the approval.id the MCP tool answered with approval_required. Another person’s approval, another organization’s or a nonexistent id answer the same 404. Never returns the link, the link’s token, the arguments or the screen snapshot.

Path arguments: id

Responses

HTTPDescription
200The approval.
404Resource not found in the current organization.