API ReferenceGoals
Goals Admin Search
POST
HttpBearerAuthheader
AuthorizationBearer <JWT>application/json- body
page_number?Page NumberRange
0 < valueDefault
1parent_goal_id?array<integer>|nulltext?string|nullowner_type?array<>|nullowner_id?array<integer>|nullis_shared?boolean|nulldate_period_start?|nulldate_period_end?|nullstatus?array<>|nullconfidence_level?array<>|nullonly_top_level?Only Top LevelDefault
falseSuccessful Response
application/json- response
items*array<>metadata*curl -X POST 'https://api.skailer.com/api/v1/goals/search' \ -H 'Content-Type: application/json' \ -d '{}'Example Response
{ "items": [ { "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" } ], "metadata": { "page_number": 1, "total_pages": 0, "items": 0, "items_per_page": 0, "total_items": 0 }}