Skip to main content

Function Details

The Function Details page provides a complete view of a function, including its configuration, source code, deployment status, invocation options, and execution history. This page helps users manage the full lifecycle of a function from development to execution.

Function Information​

At the top of the page, you can see general information about the function.

Function Information

This section includes:

  • Function name – The unique name of the function
  • SDK Type – The framework and version used to create the function (for example, Qiskit)
  • Updated By – The user who last modified the function
  • Last Deployed Time – The timestamp of the most recent deployment attempt
  • Last Deployed Version – The version currently deployed

You can also view the function’s creation, build, deploy, and completion timestamps, giving you a quick overview of its deployment history.

⚠️ How to tell that a deployment really succeeded Last Deployed Time records the most recent deployment attempt, and it can be updated even when the deploy step failed. Do not treat it as proof of success on its own. The reliable signal is the Invocation tab: it becomes available only after the function has been deployed successfully. The page does not add the tab by itself when a deployment finishes, so go back to Functions and open the function again before deciding. If the Invocation tab is still missing, open the Build Logs or Deploy Logs tab to find out what went wrong.

Build and Deploy Function Process​

The build and deploy status shows how the function progresses through its lifecycle.

Build and Deploy Function Process

Typical stages include:

  • Creation – The function is created in the system
  • Build – The system packages the source code and dependencies
  • Deploy – The function is deployed to the execution environment
  • Completion – The deployment process finishes successfully

A deployment normally takes a few minutes, because the platform builds the environment and installs the function's dependencies. A function that stays in Deploying for a short while is behaving normally.

If an error occurs during build or deployment, you can review detailed logs in the Build Logs or Deploy Logs tabs.

Source Code​

The Source Code tab allows you to view and manage the function’s implementation.

Source Code

In this section, you can:

  • Select a function version

  • View or edit source files such as:

    • handler.py
    • requirements.txt
  • Upload custom Python files if needed

  • Save changes to create a new version

  • Deploy the selected version

This area is useful for maintaining different versions of the same function and updating logic over time.

Invocation​

The Invocation tab allows you to run the function manually.

Here, you can configure:

  • Provider – The compute provider used for execution

  • Device – Hardware or simulator available under the selected provider

  • Shots – Number of execution runs (default is 10)

  • Description (optional) – A short note for this invocation

  • Input – Data passed to the function, using:

    • form-data (Key / Value table). Values that look like numbers are sent as numbers.
    • json (one JSON object, for example {"secret": "1011"})

Once configured, click Invoke to execute the function. Each invocation creates a new execution record that can be tracked later.

The Related Jobs tab lists all jobs created from this function.

Related Jobs

For each job, you can see:

  • Status – Current execution state
  • Job ID
  • Device – Where the job was executed
  • Description
  • Created Time
  • Retries Left
  • Run By – The user who invoked the function

Jobs are grouped by function, even if they were executed on different providers or devices. You can also archive completed jobs for future reference.

Build Logs​

The Build Logs tab shows detailed logs generated during the build process.

build-log

The log appears while the build is still running and grows as new lines arrive, so you do not need to click REFRESH to follow it. When the log is long, the viewer shows the most recent lines first.

Above the log you can:

  • Search the loaded log – Type in the search box to find text in the lines that are loaded. Use the up and down arrows to move between matches. The box shows which match you are on (for example 2 / 5) or No matches.
  • Load older lines – Load the earlier part of a long log. The search covers only the lines that are loaded, so load older lines first if you need to search the whole log.
  • Download – Save the log as a text file.

Deploying the function again starts a new run, and the tab then shows the log of that run.

These logs include:

  • Dependency installation
  • Source code packaging
  • System-level messages

Build logs are especially useful when:

  • A deployment fails
  • Dependencies are missing or incompatible

Deploy Logs​

The Deploy Logs tab displays logs related to the deployment process.

deploy-log

This may include:

  • Runtime environment setup
  • Container initialization
  • Framework-specific messages

Deploy logs help diagnose issues that occur after a successful build but before the function becomes ready for invocation. As in Build Logs, the log appears while the deploy step runs.