Skip to content
Developer docsAPI referenceAccount

Get limits

The limits that apply to your organization and the rate card new jobs are priced with.

GEThttps://runner.cargoduo.com/v1/limits

Authentication

Bearer API key with scopeaccount:readLearn more

Example request

curl -X GET "https://runner.cargoduo.com/v1/limits" \
  -H "Authorization: Bearer $CARGODUO_API_KEY"

Example response

200 OK · Limits
{
  "max_items_per_request": 2000,
  "max_vehicles_per_request": 20,
  "max_time_limit_seconds": 90,
  "allowed_vehicle_types": [
    "truck",
    "trailer",
    "container",
    "pallet"
  ],
  "concurrency": 1,
  "max_queued_jobs": 20,
  "rate_limits": {
    "per_minute": 60,
    "per_hour": 1000,
    "per_day": 5000
  },
  "retention_days": 14,
  "rate_card": {
    "version": 1,
    "per_job": 0.06,
    "per_vehicle": 0.2,
    "per_compute_second": 0.005,
    "large_load_threshold": 500,
    "per_hundred_items_over": 0.02
  }
}

Responses

  • 200OKLimits and rate card.
    NameTypeRequiredDescription
    max_items_per_requestinteger
    integer
    No

    Most item units (sum of quantities) per job.

    max_vehicles_per_requestinteger
    integer
    No

    Most vehicles a job may list and load (auto-added ones included).

    max_time_limit_secondsinteger
    integer
    No

    Compute budget ceiling per job.

    allowed_vehicle_typesstring[]
    string[]
    No

    Vehicle types the API accepts.

    concurrencyinteger
    integer
    No

    Jobs of your organization computing at the same time; more wait in the queue.

    max_queued_jobsinteger
    integer
    No

    Queued + running jobs per organization.

    rate_limitsRateLimits
    RateLimits
    No

    Requests per window, per key and per organization.

    retention_daysinteger
    integer
    No

    Days request/result bodies and PDF links are kept.

    rate_cardRateCard
    RateCard
    No

    Prices in credits (1 credit = 1 USD).

  • 401Unauthorizedunauthorizedkey_revokedkey_expired
    • unauthorizedMissing, malformed or unknown API key.
    • key_revokedThe key was revoked.
    • key_expiredThe key passed its expiry date.
    NameTypeRequiredDescription
    errorErrorBodyrequired
    ErrorBody
    Yes
    All error codes
  • 403Forbiddenip_not_allowedsubscription_inactiveaccount_inactivescope_missing
    • ip_not_allowedThe calling IP is not on the key's allowlist.
    • subscription_inactiveThe organization has no active subscription that includes the API.
    • account_inactiveThe organization is suspended, or has no owner whose account is active.
    • scope_missingThe key lacks a scope this endpoint needs.
    NameTypeRequiredDescription
    errorErrorBodyrequired
    ErrorBody
    Yes
    All error codes
  • 429Too many requestsrate_limited
    • rate_limitedToo many requests in the current minute, hour or day (per key or per organization), or more than 60 failed authentications per minute from your IP address.
    NameTypeRequiredDescription
    errorErrorBodyrequired
    ErrorBody
    Yes
    All error codes
  • 500Internal server errorinternal_error
    • internal_errorSomething failed on our side.
    NameTypeRequiredDescription
    errorErrorBodyrequired
    ErrorBody
    Yes
    All error codes
  • 503Service unavailableapi_disabled
    • api_disabledThe API is temporarily disabled (maintenance) or switched off for the organization.
    NameTypeRequiredDescription
    errorErrorBodyrequired
    ErrorBody
    Yes
    All error codes