Skip to content
cloudhostDocs
API reference

Dynamic Workers

Code a function holds as text, run in child workers of its own, with only what the function passes them and the function's own network. The binding is loader; this is a project's use of it and the plan's limits.

GET/v1/projects/{project}/dynamic-workers

A project's Dynamic Workers#

The functions with a loader binding, the plan's limits (children at once per function, CPU per child request) and the requests and children started per day (Tehran's).

Credential
An API key or a dashboard session
Roles
Any role

Parameters

  • projectstringpathrequired

    the project's name or id

  • daysintegerquery

    how many days back: 1 to 90 (default 30)

    1–90 · default 30

Response

200DynamicWorkersUsage

  • projectobject
  • limitsobject
  • functionsobject[]
  • daysobject[]
  • totalobject
  • fromstring (date-time)
  • tostring (date-time)

Errors

StatusDescription
400Bad request: bad_param
401unauthorized: missing, invalid, expired or revoked credential
404Not found: not_found
500internal: an unexpected failure

Example

curl "https://api.ibel.ai/v1/projects/my-api/dynamic-workers" \
  -H "Authorization: Bearer $KEY"