{
  "opencollection": "1.0.0",
  "info": {
    "name": "OKR API query methods API",
    "version": "v2"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "API-Token",
      "value": "{{API-Token}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "API query methods",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Query updates by entity",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://okr-ppm-prod.appfire.com/api/v2/api-export/updates",
            "params": [
              {
                "name": "entityId",
                "value": "",
                "type": "query",
                "description": "ID of a single objective or key result to return updates for. If not provided, updates for all entities will be returned, newest first."
              },
              {
                "name": "cursor",
                "value": "",
                "type": "query",
                "description": "Cursor for pagination. Use the value of nextCursor from previous response to get the next page."
              },
              {
                "name": "pageSize",
                "value": "",
                "type": "query",
                "description": "Number of updates to return per page. Takes values from 1 to 1000. Default is 1000."
              },
              {
                "name": "laterThan",
                "value": "",
                "type": "query",
                "description": "Only return updates later than this date (open interval), in UNIX Epoch milliseconds"
              },
              {
                "name": "earlierThan",
                "value": "",
                "type": "query",
                "description": "Only return updates earlier than this date (open interval), in UNIX Epoch milliseconds"
              }
            ]
          },
          "docs": "## Base URL for this request\n\nSelect the server matching your Jira Cloud data residency from the **Servers** drop-down before making requests:\n\n- **Europe region:** https://eu.okr-ppm-prod.appfire.com\n- **Australia region:** https://au.okr-ppm-prod.appfire.com\n- **Canada region:** https://ca.okr-ppm-prod.appfire.com\n- **US / Everywhere else:** https://okr-ppm-prod.appfire.com\n\nUpdates for objectives or key results, **newest first**. Omit **entityId** to return updates across all entities.\n\n**Pro"
        },
        {
          "info": {
            "name": "Query comments on updates",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://okr-ppm-prod.appfire.com/api/v2/api-export/updateComments",
            "params": [
              {
                "name": "updateId",
                "value": "",
                "type": "query",
                "description": "IDs of updates to retrieve comments for. If not provided, comments for all updates will be returned, newest first."
              },
              {
                "name": "cursor",
                "value": "",
                "type": "query",
                "description": "Cursor for pagination. Use the value of nextCursor from previous response to get the next page."
              },
              {
                "name": "pageSize",
                "value": "",
                "type": "query",
                "description": "Number of comments to return per page. Takes values from 1 to 1000. Default is 1000."
              },
              {
                "name": "laterThan",
                "value": "",
                "type": "query",
                "description": "Only return comments later than this date (open interval), in UNIX Epoch milliseconds"
              },
              {
                "name": "earlierThan",
                "value": "",
                "type": "query",
                "description": "Only return comments earlier than this date (open interval), in UNIX Epoch milliseconds"
              }
            ]
          },
          "docs": "## Base URL for this request\n\nSelect the server matching your Jira Cloud data residency from the **Servers** drop-down before making requests:\n\n- **Europe region:** https://eu.okr-ppm-prod.appfire.com\n- **Australia region:** https://au.okr-ppm-prod.appfire.com\n- **Canada region:** https://ca.okr-ppm-prod.appfire.com\n- **US / Everywhere else:** https://okr-ppm-prod.appfire.com\n\nPaged comments on updates — all updates or filtered by **updateId**. Newest first. **nextCursor** requests the next page"
        },
        {
          "info": {
            "name": "Query objectives by IDs",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://okr-ppm-prod.appfire.com/api/v2/api-export/objectives/byIds",
            "params": [
              {
                "name": "objectiveIds",
                "value": "",
                "type": "query",
                "description": "Objective IDs to retrieve (repeat param or comma-separated, depending on client)."
              },
              {
                "name": "expand",
                "value": "",
                "type": "query",
                "description": "Related data to expand. KEY_RESULTS, TEAMS, PERIODS, LABELS, TYPES, CUSTOM_FIELDS."
              }
            ]
          },
          "docs": "## Base URL for this request\n\nSelect the server matching your Jira Cloud data residency from the **Servers** drop-down before making requests:\n\n- **Europe region:** https://eu.okr-ppm-prod.appfire.com\n- **Australia region:** https://au.okr-ppm-prod.appfire.com\n- **Canada region:** https://ca.okr-ppm-prod.appfire.com\n- **US / Everywhere else:** https://okr-ppm-prod.appfire.com\n\nLists objectives for the given IDs. **expand** controls which related objects are inlined (KEY_RESULTS, TEAMS, PERIODS, "
        },
        {
          "info": {
            "name": "Query objectives by date range",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://okr-ppm-prod.appfire.com/api/v2/api-export/objectives/byDate",
            "params": [
              {
                "name": "startDateEpochMilli",
                "value": "1609459200000",
                "type": "query",
                "description": "Start date of query time window, in UNIX Epoch time format, in milliseconds"
              },
              {
                "name": "deadlineEpochMilli",
                "value": "1748647410000",
                "type": "query",
                "description": "End date of query time window, in UNIX Epoch time format, in milliseconds"
              },
              {
                "name": "expand",
                "value": "",
                "type": "query",
                "description": "Related data to expand (comma-separated in HTTP). KEY_RESULTS, TEAMS, PERIODS, LABELS, TYPES, CUSTOM_FIELDS. Omit for IDs only."
              }
            ]
          },
          "docs": "## Base URL for this request\n\nSelect the server matching your Jira Cloud data residency from the **Servers** drop-down before making requests:\n\n- **Europe region:** https://eu.okr-ppm-prod.appfire.com\n- **Australia region:** https://au.okr-ppm-prod.appfire.com\n- **Canada region:** https://ca.okr-ppm-prod.appfire.com\n- **US / Everywhere else:** https://okr-ppm-prod.appfire.com\n\nLists objectives whose **start date** and/or **due date** fall within the query window (epoch milliseconds). Without **e"
        },
        {
          "info": {
            "name": "Query key results by IDs",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://okr-ppm-prod.appfire.com/api/v2/api-export/keyResults/byIds",
            "params": [
              {
                "name": "keyResultIds",
                "value": "",
                "type": "query",
                "description": "Key result IDs to retrieve."
              },
              {
                "name": "expand",
                "value": "",
                "type": "query",
                "description": "Related data to expand. OBJECTIVES, TEAMS, PERIODS, LABELS, TYPES, CUSTOM_FIELDS."
              }
            ]
          },
          "docs": "## Base URL for this request\n\nSelect the server matching your Jira Cloud data residency from the **Servers** drop-down before making requests:\n\n- **Europe region:** https://eu.okr-ppm-prod.appfire.com\n- **Australia region:** https://au.okr-ppm-prod.appfire.com\n- **Canada region:** https://ca.okr-ppm-prod.appfire.com\n- **US / Everywhere else:** https://okr-ppm-prod.appfire.com\n\nLists key results for the given IDs. **expand:** OBJECTIVES, TEAMS, PERIODS, LABELS, TYPES, CUSTOM_FIELDS."
        },
        {
          "info": {
            "name": "Query key results by date range",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://okr-ppm-prod.appfire.com/api/v2/api-export/keyResults/byDate",
            "params": [
              {
                "name": "startDateEpochMilli",
                "value": "1509459200000",
                "type": "query",
                "description": "Start date of query time window, in UNIX Epoch time format, in milliseconds"
              },
              {
                "name": "deadlineEpochMilli",
                "value": "1748647410000",
                "type": "query",
                "description": "End date of query time window, in UNIX Epoch time format, in milliseconds"
              },
              {
                "name": "expand",
                "value": "",
                "type": "query",
                "description": "Related data to expand. OBJECTIVES, TEAMS, PERIODS, LABELS, TYPES, CUSTOM_FIELDS."
              }
            ]
          },
          "docs": "## Base URL for this request\n\nSelect the server matching your Jira Cloud data residency from the **Servers** drop-down before making requests:\n\n- **Europe region:** https://eu.okr-ppm-prod.appfire.com\n- **Australia region:** https://au.okr-ppm-prod.appfire.com\n- **Canada region:** https://ca.okr-ppm-prod.appfire.com\n- **US / Everywhere else:** https://okr-ppm-prod.appfire.com\n\nLists key results whose **start** and/or **due date** fall within the window. **Permitted expand values:** OBJECTIVES, T"
        }
      ]
    }
  ],
  "bundled": true
}