Skip to content
cloudhostDocs
API reference

CI/CD

Workflow files in an app's or function's repository (.cloudhost/pipelines and .github/workflows), compatible with GitHub Actions' workflow syntax, run on a push, on a schedule or by hand: runs with their jobs, matrix legs and steps, step logs, cancel and rerun, artifacts. A job's run time is charged as CI/CD minutes (its own line on the usage page and the invoice; the price in GET /v1/pricing). A team whose plan does not include CI/CD gets 403 plan_required (GET /v1/pipelines/config says which).

GET/v1/pipelines/config

Whether the team's plan has CI/CD#

available: whether the team's plan includes CI/CD (on in every plan unless it is switched off for the plan or the team); when false, the CI/CD routes answer 403 plan_required.

Credential
An API key or a dashboard session
Roles
Any role

Response

200object

  • availableboolean

Errors

StatusDescription
401unauthorized: missing, invalid, expired or revoked credential
500internal: an unexpected failure

Example

curl "https://api.ibel.ai/v1/pipelines/config" \
  -H "Authorization: Bearer $KEY"
GET/v1/projects/{project}/apps/{name}/pipelines/files

List workflow files#

The workflow files at the latest push to production (or to branch), from both folders: .cloudhost/pipelines/*.yml (file is its name) and .github/workflows/*.yml (file is its path).

Credential
An API key or a dashboard session
Roles
Any role

Parameters

  • any
  • namestringpathrequired

    the app's name in the project (any case) or its id

  • branchstringquery

    a branch's latest push instead of production's

Response

200PipelineFiles

  • branchstringrequired

    null: production

  • commitstringrequired
  • filesPipelineFile[]required

Errors

StatusDescription
400Bad request: bad_branch
401unauthorized: missing, invalid, expired or revoked credential
403Not allowed: plan_required (CI/CD is not in the team's plan)
404Not found: not_found
500internal: an unexpected failure

Example

curl "https://api.ibel.ai/v1/projects/my-api/apps/my-api/pipelines/files" \
  -H "Authorization: Bearer $KEY"
GET/v1/projects/{project}/apps/{name}/pipelines/runs

List CI/CD runs#

Newest first; 50 a page by default, at most 200. Agent's key sees and starts preview runs only (a branch other than production's).

Credential
An API key or a dashboard session
Roles
Any role

Parameters

  • any
  • namestringpathrequired

    the app's name in the project (any case) or its id

  • filestringquery

    one workflow file's runs: ci.yml (.cloudhost/pipelines) or .github/workflows/ci.yml

  • any
  • any

Response

200object

  • runsPipelineRun[]required
    • idstring (uuid)required
    • numberintegerrequired

      the app's or function's run number

    • filestringrequired
    • pathstring
    • namestringrequired

      the file's name:, else its file name

    • run_namestring

      the file's run-name

    • triggerstringrequired

      one of push, manual, rerun, schedule

    • eventstring

      one of push, manual, schedule

    • branchstringrequired

      null: production

    • tagstring
    • commitstringrequired

      40-hex git SHA

    • inputsobject
    • statusstringrequired

      one of queued, running, succeeded, failed, cancelled

    • errorstring

      why it failed, in plain words

    • rerun_ofstring (uuid)
    • created_atstring (date-time)required
    • started_atstring (date-time)
    • finished_atstring (date-time)
    • secondsinteger
  • next_cursorstringrequired

Errors

StatusDescription
400Bad request: bad_cursor, bad_param
401unauthorized: missing, invalid, expired or revoked credential
403Not allowed: plan_required (CI/CD is not in the team's plan)
404Not found: not_found
500internal: an unexpected failure

Example

curl "https://api.ibel.ai/v1/projects/my-api/apps/my-api/pipelines/runs" \
  -H "Authorization: Bearer $KEY"
POST/v1/projects/{project}/apps/{name}/pipelines/runs

Start a CI/CD run#

A manual run (the file's on: workflow_dispatch) at the latest push to production, or to branch, with the file's inputs. Agent's key sees and starts preview runs only (a branch other than production's).

Credential
An API key or a dashboard session
Roles
owner, admin, developer

Parameters

  • any
  • namestringpathrequired

    the app's name in the project (any case) or its id

Request bodyapplication/json

  • filestringrequired

    checks.yml (.cloudhost/pipelines; .cloudhost/pipelines/checks.yml is taken as checks.yml) or .github/workflows/ci.yml

  • branchstring

    the branch; left out or null, production

  • inputsmap of string | number | boolean

    the file's inputs by name; defaults fill the rest

Response

201PipelineRunQueued

  • idstring (uuid)required
  • numberintegerrequired

    the app's or function's run number

  • filestringrequired
  • pathstring
  • namestringrequired

    the file's name:, else its file name

  • run_namestring

    the file's run-name

  • triggerstringrequired

    one of push, manual, rerun, schedule

  • eventstring

    one of push, manual, schedule

  • branchstringrequired

    null: production

  • tagstring
  • commitstringrequired

    40-hex git SHA

  • inputsobject
  • statusstringrequired

    one of queued, running, succeeded, failed, cancelled

  • errorstring

    why it failed, in plain words

  • rerun_ofstring (uuid)
  • created_atstring (date-time)required
  • started_atstring (date-time)
  • finished_atstring (date-time)
  • secondsinteger

Errors

StatusDescription
400Bad request: bad_file, bad_branch, bad_inputs
401unauthorized: missing, invalid, expired or revoked credential
403Forbidden: forbidden, plan_required (CI/CD is not in the team's plan), agent_preview_only
404Not found: not_found
409Conflict: no_source (nothing pushed to that branch yet)
500internal: an unexpected failure

Example

curl -X POST "https://api.ibel.ai/v1/projects/my-api/apps/my-api/pipelines/runs" \
  -H "Authorization: Bearer $KEY" \
  -d '{"file":"…"}'
GET/v1/projects/{project}/apps/{name}/pipelines/runs/{id}

Get a CI/CD run#

The run with its jobs (the plan job first, then the file's jobs in its order), each matrix job's legs and every step. Poll every 3 seconds while it is queued or running.

Credential
An API key or a dashboard session
Roles
Any role

Parameters

  • any
  • namestringpathrequired

    the app's name in the project (any case) or its id

  • idstring (uuid)pathrequired

    the run's id

Response

200PipelineRunDetail

  • idstring (uuid)required
  • numberintegerrequired

    the app's or function's run number

  • filestringrequired
  • pathstring
  • namestringrequired

    the file's name:, else its file name

  • run_namestring

    the file's run-name

  • triggerstringrequired

    one of push, manual, rerun, schedule

  • eventstring

    one of push, manual, schedule

  • branchstringrequired

    null: production

  • tagstring
  • commitstringrequired

    40-hex git SHA

  • inputsobject
  • statusstringrequired

    one of queued, running, succeeded, failed, cancelled

  • errorstring

    why it failed, in plain words

  • rerun_ofstring (uuid)
  • created_atstring (date-time)required
  • started_atstring (date-time)
  • finished_atstring (date-time)
  • secondsinteger
  • jobsPipelineJob[]required

    the plan job first, then the file's jobs in its order

Errors

StatusDescription
401unauthorized: missing, invalid, expired or revoked credential
403Not allowed: plan_required (CI/CD is not in the team's plan)
404Not found: not_found
500internal: an unexpected failure

Example

curl "https://api.ibel.ai/v1/projects/my-api/apps/my-api/pipelines/runs/88e2fe1d-6d75-4de5-8c8f-27380ec66903" \
  -H "Authorization: Bearer $KEY"
POST/v1/projects/{project}/apps/{name}/pipelines/runs/{id}/cancel

Cancel a CI/CD run#

A queued or running run: its waiting and queued jobs at once, its running ones within seconds.

Credential
An API key or a dashboard session
Roles
owner, admin, developer

Parameters

  • any
  • namestringpathrequired

    the app's name in the project (any case) or its id

  • idstring (uuid)pathrequired

    the run's id

Response

200object

  • statusstringrequired

    one of cancelled

Errors

StatusDescription
401unauthorized: missing, invalid, expired or revoked credential
403Forbidden: forbidden, plan_required (CI/CD is not in the team's plan)
404Not found: not_found
409Conflict: not_running (the run has finished)
500internal: an unexpected failure

Example

curl -X POST "https://api.ibel.ai/v1/projects/my-api/apps/my-api/pipelines/runs/88e2fe1d-6d75-4de5-8c8f-27380ec66903/cancel" \
  -H "Authorization: Bearer $KEY"
POST/v1/projects/{project}/apps/{name}/pipelines/runs/{id}/rerun

Rerun a CI/CD run#

A new run of the same file at the same commit with the same inputs (trigger rerun, rerun_of the first).

Credential
An API key or a dashboard session
Roles
owner, admin, developer

Parameters

  • any
  • namestringpathrequired

    the app's name in the project (any case) or its id

  • idstring (uuid)pathrequired

    the run's id

Response

201PipelineRunQueued

  • idstring (uuid)required
  • numberintegerrequired

    the app's or function's run number

  • filestringrequired
  • pathstring
  • namestringrequired

    the file's name:, else its file name

  • run_namestring

    the file's run-name

  • triggerstringrequired

    one of push, manual, rerun, schedule

  • eventstring

    one of push, manual, schedule

  • branchstringrequired

    null: production

  • tagstring
  • commitstringrequired

    40-hex git SHA

  • inputsobject
  • statusstringrequired

    one of queued, running, succeeded, failed, cancelled

  • errorstring

    why it failed, in plain words

  • rerun_ofstring (uuid)
  • created_atstring (date-time)required
  • started_atstring (date-time)
  • finished_atstring (date-time)
  • secondsinteger

Errors

StatusDescription
401unauthorized: missing, invalid, expired or revoked credential
403Forbidden: forbidden, plan_required (CI/CD is not in the team's plan)
404Not found: not_found
500internal: an unexpected failure

Example

curl -X POST "https://api.ibel.ai/v1/projects/my-api/apps/my-api/pipelines/runs/88e2fe1d-6d75-4de5-8c8f-27380ec66903/rerun" \
  -H "Authorization: Bearer $KEY"
GET/v1/projects/{project}/apps/{name}/pipelines/runs/{id}/steps/{step}/logs

A CI/CD step's log#

1000 lines per call; poll with after=<last_id> while the status is waiting or running.

Credential
An API key or a dashboard session
Roles
Any role

Parameters

  • any
  • namestringpathrequired

    the app's name in the project (any case) or its id

  • idstring (uuid)pathrequired

    the run's id

  • stepstring (uuid)pathrequired

    the step's id

  • afterstringquery

    the last line id received, <ms>-<n>

Response

200PipelineStepLog

  • statusstringrequired

    the step's status

  • linesobject[]required
  • last_idstring

    send as after for what comes next

Errors

StatusDescription
400Bad request: bad_param
401unauthorized: missing, invalid, expired or revoked credential
403Not allowed: plan_required (CI/CD is not in the team's plan)
404Not found: not_found
500internal: an unexpected failure

Example

curl "https://api.ibel.ai/v1/projects/my-api/apps/my-api/pipelines/runs/88e2fe1d-6d75-4de5-8c8f-27380ec66903/steps/step/logs" \
  -H "Authorization: Bearer $KEY"
GET/v1/projects/{project}/apps/{name}/pipelines/runs/{id}/artifacts

List a CI/CD run's artifacts#

The artifacts the run's jobs kept, with when each expires.

Credential
An API key or a dashboard session
Roles
Any role

Parameters

  • any
  • namestringpathrequired

    the app's name in the project (any case) or its id

  • idstring (uuid)pathrequired

    the run's id

Response

200object

  • artifactsPipelineArtifact[]required
    • jobstringrequired

      the job's key

    • namestringrequired
    • bytesintegerrequired
    • sha256stringrequired
    • created_atstring (date-time)required
    • expires_atstring (date-time)required

Errors

StatusDescription
401unauthorized: missing, invalid, expired or revoked credential
403Not allowed: plan_required (CI/CD is not in the team's plan)
404Not found: not_found
500internal: an unexpected failure

Example

curl "https://api.ibel.ai/v1/projects/my-api/apps/my-api/pipelines/runs/88e2fe1d-6d75-4de5-8c8f-27380ec66903/artifacts" \
  -H "Authorization: Bearer $KEY"
GET/v1/projects/{project}/apps/{name}/pipelines/runs/{id}/artifacts/{artifact}

Download a CI/CD artifact#

The artifact as it was packed, a .tar.gz.

Credential
An API key or a dashboard session
Roles
Any role

Parameters

  • any
  • namestringpathrequired

    the app's name in the project (any case) or its id

  • idstring (uuid)pathrequired

    the run's id

  • artifactstringpathrequired

    the artifact's name

  • jobstringquery

    the job's key, when two jobs kept an artifact of this name

Response

200string (binary)application/gzip

Errors

StatusDescription
401unauthorized: missing, invalid, expired or revoked credential
403Not allowed: plan_required (CI/CD is not in the team's plan)
404Not found: not_found (also an expired artifact)
500internal: an unexpected failure
503Unavailable: unavailable (try again shortly)

Example

Request
curl "https://api.ibel.ai/v1/projects/my-api/apps/my-api/pipelines/runs/88e2fe1d-6d75-4de5-8c8f-27380ec66903/artifacts/artifact" \
  -H "Authorization: Bearer $KEY"
GET/v1/projects/{project}/functions/{name}/pipelines/files

List workflow files#

The workflow files at the latest push to production (or to branch), from both folders: .cloudhost/pipelines/*.yml (file is its name) and .github/workflows/*.yml (file is its path).

Credential
An API key or a dashboard session
Roles
Any role

Parameters

  • any
  • namestringpathrequired

    the function's name in the project (any case) or its id

  • branchstringquery

    a branch's latest push instead of production's

Response

200PipelineFiles

  • branchstringrequired

    null: production

  • commitstringrequired
  • filesPipelineFile[]required

Errors

StatusDescription
400Bad request: bad_branch
401unauthorized: missing, invalid, expired or revoked credential
403Not allowed: plan_required (CI/CD is not in the team's plan)
404Not found: not_found
500internal: an unexpected failure

Example

curl "https://api.ibel.ai/v1/projects/my-api/functions/my-api/pipelines/files" \
  -H "Authorization: Bearer $KEY"
GET/v1/projects/{project}/functions/{name}/pipelines/runs

List CI/CD runs#

Newest first; 50 a page by default, at most 200. Agent's key sees and starts preview runs only (a branch other than production's).

Credential
An API key or a dashboard session
Roles
Any role

Parameters

  • any
  • namestringpathrequired

    the function's name in the project (any case) or its id

  • filestringquery

    one workflow file's runs: ci.yml (.cloudhost/pipelines) or .github/workflows/ci.yml

  • any
  • any

Response

200object

  • runsPipelineRun[]required
    • idstring (uuid)required
    • numberintegerrequired

      the app's or function's run number

    • filestringrequired
    • pathstring
    • namestringrequired

      the file's name:, else its file name

    • run_namestring

      the file's run-name

    • triggerstringrequired

      one of push, manual, rerun, schedule

    • eventstring

      one of push, manual, schedule

    • branchstringrequired

      null: production

    • tagstring
    • commitstringrequired

      40-hex git SHA

    • inputsobject
    • statusstringrequired

      one of queued, running, succeeded, failed, cancelled

    • errorstring

      why it failed, in plain words

    • rerun_ofstring (uuid)
    • created_atstring (date-time)required
    • started_atstring (date-time)
    • finished_atstring (date-time)
    • secondsinteger
  • next_cursorstringrequired

Errors

StatusDescription
400Bad request: bad_cursor, bad_param
401unauthorized: missing, invalid, expired or revoked credential
403Not allowed: plan_required (CI/CD is not in the team's plan)
404Not found: not_found
500internal: an unexpected failure

Example

curl "https://api.ibel.ai/v1/projects/my-api/functions/my-api/pipelines/runs" \
  -H "Authorization: Bearer $KEY"
POST/v1/projects/{project}/functions/{name}/pipelines/runs

Start a CI/CD run#

A manual run (the file's on: workflow_dispatch) at the latest push to production, or to branch, with the file's inputs. Agent's key sees and starts preview runs only (a branch other than production's).

Credential
An API key or a dashboard session
Roles
owner, admin, developer

Parameters

  • any
  • namestringpathrequired

    the function's name in the project (any case) or its id

Request bodyapplication/json

  • filestringrequired

    checks.yml (.cloudhost/pipelines; .cloudhost/pipelines/checks.yml is taken as checks.yml) or .github/workflows/ci.yml

  • branchstring

    the branch; left out or null, production

  • inputsmap of string | number | boolean

    the file's inputs by name; defaults fill the rest

Response

201PipelineRunQueued

  • idstring (uuid)required
  • numberintegerrequired

    the app's or function's run number

  • filestringrequired
  • pathstring
  • namestringrequired

    the file's name:, else its file name

  • run_namestring

    the file's run-name

  • triggerstringrequired

    one of push, manual, rerun, schedule

  • eventstring

    one of push, manual, schedule

  • branchstringrequired

    null: production

  • tagstring
  • commitstringrequired

    40-hex git SHA

  • inputsobject
  • statusstringrequired

    one of queued, running, succeeded, failed, cancelled

  • errorstring

    why it failed, in plain words

  • rerun_ofstring (uuid)
  • created_atstring (date-time)required
  • started_atstring (date-time)
  • finished_atstring (date-time)
  • secondsinteger

Errors

StatusDescription
400Bad request: bad_file, bad_branch, bad_inputs
401unauthorized: missing, invalid, expired or revoked credential
403Forbidden: forbidden, plan_required (CI/CD is not in the team's plan), agent_preview_only
404Not found: not_found
409Conflict: no_source (nothing pushed to that branch yet)
500internal: an unexpected failure

Example

curl -X POST "https://api.ibel.ai/v1/projects/my-api/functions/my-api/pipelines/runs" \
  -H "Authorization: Bearer $KEY" \
  -d '{"file":"…"}'
GET/v1/projects/{project}/functions/{name}/pipelines/runs/{id}

Get a CI/CD run#

The run with its jobs (the plan job first, then the file's jobs in its order), each matrix job's legs and every step. Poll every 3 seconds while it is queued or running.

Credential
An API key or a dashboard session
Roles
Any role

Parameters

  • any
  • namestringpathrequired

    the function's name in the project (any case) or its id

  • idstring (uuid)pathrequired

    the run's id

Response

200PipelineRunDetail

  • idstring (uuid)required
  • numberintegerrequired

    the app's or function's run number

  • filestringrequired
  • pathstring
  • namestringrequired

    the file's name:, else its file name

  • run_namestring

    the file's run-name

  • triggerstringrequired

    one of push, manual, rerun, schedule

  • eventstring

    one of push, manual, schedule

  • branchstringrequired

    null: production

  • tagstring
  • commitstringrequired

    40-hex git SHA

  • inputsobject
  • statusstringrequired

    one of queued, running, succeeded, failed, cancelled

  • errorstring

    why it failed, in plain words

  • rerun_ofstring (uuid)
  • created_atstring (date-time)required
  • started_atstring (date-time)
  • finished_atstring (date-time)
  • secondsinteger
  • jobsPipelineJob[]required

    the plan job first, then the file's jobs in its order

Errors

StatusDescription
401unauthorized: missing, invalid, expired or revoked credential
403Not allowed: plan_required (CI/CD is not in the team's plan)
404Not found: not_found
500internal: an unexpected failure

Example

curl "https://api.ibel.ai/v1/projects/my-api/functions/my-api/pipelines/runs/88e2fe1d-6d75-4de5-8c8f-27380ec66903" \
  -H "Authorization: Bearer $KEY"
POST/v1/projects/{project}/functions/{name}/pipelines/runs/{id}/cancel

Cancel a CI/CD run#

A queued or running run: its waiting and queued jobs at once, its running ones within seconds.

Credential
An API key or a dashboard session
Roles
owner, admin, developer

Parameters

  • any
  • namestringpathrequired

    the function's name in the project (any case) or its id

  • idstring (uuid)pathrequired

    the run's id

Response

200object

  • statusstringrequired

    one of cancelled

Errors

StatusDescription
401unauthorized: missing, invalid, expired or revoked credential
403Forbidden: forbidden, plan_required (CI/CD is not in the team's plan)
404Not found: not_found
409Conflict: not_running (the run has finished)
500internal: an unexpected failure

Example

curl -X POST "https://api.ibel.ai/v1/projects/my-api/functions/my-api/pipelines/runs/88e2fe1d-6d75-4de5-8c8f-27380ec66903/cancel" \
  -H "Authorization: Bearer $KEY"
POST/v1/projects/{project}/functions/{name}/pipelines/runs/{id}/rerun

Rerun a CI/CD run#

A new run of the same file at the same commit with the same inputs (trigger rerun, rerun_of the first).

Credential
An API key or a dashboard session
Roles
owner, admin, developer

Parameters

  • any
  • namestringpathrequired

    the function's name in the project (any case) or its id

  • idstring (uuid)pathrequired

    the run's id

Response

201PipelineRunQueued

  • idstring (uuid)required
  • numberintegerrequired

    the app's or function's run number

  • filestringrequired
  • pathstring
  • namestringrequired

    the file's name:, else its file name

  • run_namestring

    the file's run-name

  • triggerstringrequired

    one of push, manual, rerun, schedule

  • eventstring

    one of push, manual, schedule

  • branchstringrequired

    null: production

  • tagstring
  • commitstringrequired

    40-hex git SHA

  • inputsobject
  • statusstringrequired

    one of queued, running, succeeded, failed, cancelled

  • errorstring

    why it failed, in plain words

  • rerun_ofstring (uuid)
  • created_atstring (date-time)required
  • started_atstring (date-time)
  • finished_atstring (date-time)
  • secondsinteger

Errors

StatusDescription
401unauthorized: missing, invalid, expired or revoked credential
403Forbidden: forbidden, plan_required (CI/CD is not in the team's plan)
404Not found: not_found
500internal: an unexpected failure

Example

curl -X POST "https://api.ibel.ai/v1/projects/my-api/functions/my-api/pipelines/runs/88e2fe1d-6d75-4de5-8c8f-27380ec66903/rerun" \
  -H "Authorization: Bearer $KEY"
GET/v1/projects/{project}/functions/{name}/pipelines/runs/{id}/steps/{step}/logs

A CI/CD step's log#

1000 lines per call; poll with after=<last_id> while the status is waiting or running.

Credential
An API key or a dashboard session
Roles
Any role

Parameters

  • any
  • namestringpathrequired

    the function's name in the project (any case) or its id

  • idstring (uuid)pathrequired

    the run's id

  • stepstring (uuid)pathrequired

    the step's id

  • afterstringquery

    the last line id received, <ms>-<n>

Response

200PipelineStepLog

  • statusstringrequired

    the step's status

  • linesobject[]required
  • last_idstring

    send as after for what comes next

Errors

StatusDescription
400Bad request: bad_param
401unauthorized: missing, invalid, expired or revoked credential
403Not allowed: plan_required (CI/CD is not in the team's plan)
404Not found: not_found
500internal: an unexpected failure

Example

curl "https://api.ibel.ai/v1/projects/my-api/functions/my-api/pipelines/runs/88e2fe1d-6d75-4de5-8c8f-27380ec66903/steps/step/logs" \
  -H "Authorization: Bearer $KEY"
GET/v1/projects/{project}/functions/{name}/pipelines/runs/{id}/artifacts

List a CI/CD run's artifacts#

The artifacts the run's jobs kept, with when each expires.

Credential
An API key or a dashboard session
Roles
Any role

Parameters

  • any
  • namestringpathrequired

    the function's name in the project (any case) or its id

  • idstring (uuid)pathrequired

    the run's id

Response

200object

  • artifactsPipelineArtifact[]required
    • jobstringrequired

      the job's key

    • namestringrequired
    • bytesintegerrequired
    • sha256stringrequired
    • created_atstring (date-time)required
    • expires_atstring (date-time)required

Errors

StatusDescription
401unauthorized: missing, invalid, expired or revoked credential
403Not allowed: plan_required (CI/CD is not in the team's plan)
404Not found: not_found
500internal: an unexpected failure

Example

curl "https://api.ibel.ai/v1/projects/my-api/functions/my-api/pipelines/runs/88e2fe1d-6d75-4de5-8c8f-27380ec66903/artifacts" \
  -H "Authorization: Bearer $KEY"
GET/v1/projects/{project}/functions/{name}/pipelines/runs/{id}/artifacts/{artifact}

Download a CI/CD artifact#

The artifact as it was packed, a .tar.gz.

Credential
An API key or a dashboard session
Roles
Any role

Parameters

  • any
  • namestringpathrequired

    the function's name in the project (any case) or its id

  • idstring (uuid)pathrequired

    the run's id

  • artifactstringpathrequired

    the artifact's name

  • jobstringquery

    the job's key, when two jobs kept an artifact of this name

Response

200string (binary)application/gzip

Errors

StatusDescription
401unauthorized: missing, invalid, expired or revoked credential
403Not allowed: plan_required (CI/CD is not in the team's plan)
404Not found: not_found (also an expired artifact)
500internal: an unexpected failure
503Unavailable: unavailable (try again shortly)

Example

Request
curl "https://api.ibel.ai/v1/projects/my-api/functions/my-api/pipelines/runs/88e2fe1d-6d75-4de5-8c8f-27380ec66903/artifacts/artifact" \
  -H "Authorization: Bearer $KEY"