teamBillableInfo
Gets billable users information for the current team.
Details
- Method:
GET - Path:
/team.billableInfo - Operation ID:
team_billableInfo
Parameters
{
"token": {
"description": "Authentication token. Requires scope: `admin`",
"required": true,
"location": "query",
"type": "string"
},
"user": {
"description": "A user to retrieve the billable information for. Defaults to all users.",
"required": false,
"location": "query",
"type": "string"
}
}Response Schema
{
"additionalProperties": true,
"description": "This method either only returns a brief _OK_ response or a verbose schema is not available for this method.",
"properties": {
"ok": {
"enum": [
true
],
"title": "default success response",
"type": "boolean"
}
},
"required": [
"ok"
],
"title": "Default success template",
"type": "object"
}Usage
from ocp_agent import OCPAgent
agent = OCPAgent()
await agent.register_api('slack')
# Call this tool
result = await agent.call_tool('teamBillableInfo', {
# Add required parameters here
})