Skip to Content
API ReferenceGoals

Get By Id Admin

GET
/api/v1/goals/{item_id}

Authorization

HttpBearerAuth
headerAuthorizationBearer <JWT>

Path Parameters

item_id*Item Id

Response Body

Successful Response

application/json
  1. response
id*Id
datetime_created_at*Datetime Created At
datetime_updated_at*Datetime Updated At
parent_goal*|null
title*Title
description*string|null
owner_type*SKGoalOwnerType
Value in"company""department""team""employee"
owner_employee_id*integer|null
owner_department_id*integer|null
owner_team_id*integer|null
is_shared*Is Shared
date_start*Date Start
Formatdate
date_end*Date End
Formatdate
status*SKGoalStatus
Value in"active""completed""cancelled""failed"
progress*string|null
confidence_level*SKGoalConfidenceLevel
Value in"on_track""at_risk""off_track"
weight*Weight
is_archived*Is Archived
goal_key_results*array<>
goal_key_results_count*Goal Key Results Count
acl*
has_children*Has Children
created_by*|null
assign_to*|null
visible_to*array<>|null
datetime_key_results_update_at*Datetime Key Results Update At
Example Request
curl -X GET 'https://api.skailer.com/api/v1/goals/0'
Example Response
{  "id": 0,  "datetime_created_at": "string",  "datetime_updated_at": "string",  "parent_goal": {    "id": 0,    "datetime_created_at": "string",    "datetime_updated_at": "string",    "parent_goal_id": 0,    "title": "string",    "description": "string",    "owner_type": "company",    "owner_id": 0,    "is_shared": true,    "date_start": "2019-08-24",    "date_end": "2019-08-24",    "status": "active",    "progress": "string",    "confidence_level": "on_track",    "weight": "string",    "is_archived": true,    "created_by": 0,    "assign_to_ids": [      0    ],    "visible_to_ids": [      0    ],    "datetime_key_results_update_at": "string"  },  "title": "string",  "description": "string",  "owner_type": "company",  "owner_employee_id": 0,  "owner_department_id": 0,  "owner_team_id": 0,  "is_shared": true,  "date_start": "2019-08-24",  "date_end": "2019-08-24",  "status": "active",  "progress": "string",  "confidence_level": "on_track",  "weight": "string",  "is_archived": true,  "goal_key_results": [    {      "id": 0,      "datetime_created_at": "string",      "datetime_updated_at": "string",      "goal_id": 0,      "title": "string",      "description": "string",      "metric_type": "number",      "start_value": {        "value_float": "string",        "value_bool": true,        "value_text": "string"      },      "target_value": {        "value_float": "string",        "value_bool": true,        "value_text": "string"      },      "current_value": {        "value_float": "string",        "value_bool": true,        "value_text": "string"      },      "progress": "string",      "confidence_level": "on_track",      "weight": "string",      "goal_key_result_check_ins": [        {          "id": 0,          "datetime_created_at": "string",          "datetime_updated_at": "string",          "goal_id": 0,          "goal_key_result_id": 0,          "employee_id": 0,          "value": "string"        }      ]    }  ],  "goal_key_results_count": 0,  "acl": {    "can_edit": false,    "can_delete": false  },  "has_children": true,  "created_by": {    "id": 0,    "first_name": "string",    "last_name": "string",    "email": "string",    "is_archived": false  },  "assign_to": {    "id": 0,    "first_name": "string",    "last_name": "string",    "email": "string",    "is_archived": false  },  "visible_to": [    {      "id": 0,      "first_name": "string",      "last_name": "string",      "email": "string",      "is_archived": false    }  ],  "datetime_key_results_update_at": "string"}