clickup · Schema

KeyResult

A Key Result (target) within a Goal.

Properties

Name Type Description
id string The unique identifier of the Key Result.
goal_id string The Goal ID this Key Result belongs to.
name string The name of the Key Result.
creator integer The user ID of the Key Result creator.
type string The type of the Key Result target.
date_created string Unix timestamp when the Key Result was created.
goal_pretty_id string The human-readable ID of the parent Goal.
percent_completed integer The completion percentage of the Key Result.
completed boolean Whether the Key Result is completed.
task_ids array Task IDs linked to this Key Result for automatic tracking.
list_ids array List IDs linked to this Key Result for automatic tracking.
owners array Owners of the Key Result.
steps_start number The starting value of the Key Result.
steps_end number The target end value of the Key Result.
steps_current number The current value of the Key Result.
unit string The unit of measurement for currency type Key Results.
last_action object Details of the last action performed on the Key Result.
View JSON Schema on GitHub

JSON Schema

clickup-keyresult-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/KeyResult",
  "title": "KeyResult",
  "type": "object",
  "description": "A Key Result (target) within a Goal.",
  "properties": {
    "id": {
      "type": "string",
      "description": "The unique identifier of the Key Result."
    },
    "goal_id": {
      "type": "string",
      "description": "The Goal ID this Key Result belongs to."
    },
    "name": {
      "type": "string",
      "description": "The name of the Key Result."
    },
    "creator": {
      "type": "integer",
      "description": "The user ID of the Key Result creator."
    },
    "type": {
      "type": "string",
      "enum": [
        "number",
        "currency",
        "boolean",
        "percentage",
        "automatic"
      ],
      "description": "The type of the Key Result target."
    },
    "date_created": {
      "type": "string",
      "description": "Unix timestamp when the Key Result was created."
    },
    "goal_pretty_id": {
      "type": "string",
      "description": "The human-readable ID of the parent Goal."
    },
    "percent_completed": {
      "type": "integer",
      "minimum": 0,
      "maximum": 100,
      "description": "The completion percentage of the Key Result."
    },
    "completed": {
      "type": "boolean",
      "description": "Whether the Key Result is completed."
    },
    "task_ids": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Task IDs linked to this Key Result for automatic tracking."
    },
    "list_ids": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "List IDs linked to this Key Result for automatic tracking."
    },
    "owners": {
      "type": "array",
      "items": {
        "type": "object"
      },
      "description": "Owners of the Key Result."
    },
    "steps_start": {
      "type": "number",
      "description": "The starting value of the Key Result."
    },
    "steps_end": {
      "type": "number",
      "description": "The target end value of the Key Result."
    },
    "steps_current": {
      "type": "number",
      "description": "The current value of the Key Result."
    },
    "unit": {
      "type": "string",
      "description": "The unit of measurement for currency type Key Results."
    },
    "last_action": {
      "type": "object",
      "description": "Details of the last action performed on the Key Result."
    }
  }
}