Open Context Protocol is live! 🚀 Read the launch post
getDashboardItemPropertyKeys

getDashboardItemPropertyKeys

Get dashboard item property keys

Details

  • Method: GET
  • Path: /rest/api/3/dashboard/{dashboardId}/items/{itemId}/properties
  • Operation ID: getDashboardItemPropertyKeys

Parameters

{
  "dashboardId": {
    "description": "The ID of the dashboard.",
    "required": true,
    "location": "path",
    "type": "string"
  },
  "itemId": {
    "description": "The ID of the dashboard item.",
    "required": true,
    "location": "path",
    "type": "string"
  }
}

Response Schema

{
  "additionalProperties": false,
  "description": "List of property keys.",
  "properties": {
    "keys": {
      "description": "Property key details.",
      "items": {
        "additionalProperties": false,
        "description": "Property key details.",
        "properties": {
          "key": {
            "description": "The key of the property.",
            "readOnly": true,
            "type": "string"
          },
          "self": {
            "description": "The URL of the property.",
            "readOnly": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "readOnly": true,
      "type": "array"
    }
  },
  "type": "object"
}

Usage

from ocp_agent import OCPAgent

agent = OCPAgent()
await agent.register_api('jira')

# Call this tool
result = await agent.call_tool('getDashboardItemPropertyKeys', {
    # Add required parameters here
})