Skip to content

projects/count_children

Endpoint#

PropertyValue
Typequery
MethodGET
Path/api/external/v1/projects/count_children
HandlerOperatelyWeb.Api.Projects.CountChildren

Authentication#

  • Requires a valid API token.
  • Read-only and full-access tokens can execute this query.

Inputs#

FieldTypeRequiredNullableDefault
idid primitive (encoded as string)YesNo-
use_task_idbooleanNoNo-
use_milestone_idbooleanNoNo-

Outputs#

FieldTypeRequiredNullable
children_countproject_children_count objectYesNo

cURL Example#

Copied
curl --request GET \
  --url "https://app.operately.com/api/external/v1/projects/count_children?id=value&use_milestone_id=true&use_task_id=true" \
  --header "Authorization: Bearer ${OPERATELY_API_TOKEN}"

Response Example#

{
  "children_count": {
    "check_ins_count": 123,
    "discussions_count": 123,
    "tasks_count": 123
  }
}