For AI agents: an index of this documentation is at https://developer.rippling.com/llms.txt. Public pages have a Markdown version at the same URL with .md added.

Skip to main content
API

Create a new function deployment

POST
/functions/{function_api_name}/deployments/

Use with AI:Rippling AI ChatGPT Claude Cursor

Create a new function deployment

POST
/functions/{function_api_name}/deployments/

Creates a function deployment and returns its ID and details.

Helpful resources

Required Scopes

  • functions.read-write

Request

Path Parameters
    function_api_name stringrequired

    The API name of the function.

Body
    code string

    The code for the deployment. Null when the deployment's function comes from a managed package install.

    dependencies object

    The dependencies of the deployment. Null when the deployment's function comes from a managed package install.

    allowed_domains string[]

    Domains that function runs from this deployment are allowed to access. Null when the deployment's function comes from a managed package install.

    runtime string

    The runtime for the deployment

    options object

    Additional, runtime-specific options for the deployment. Null when the deployment's function comes from a managed package install.

    io_contract object

    Input and output JSON Schema contracts for the deployment

Responses​

Successful response

Schema
    __meta object
      redacted_fields object[]
        Array [
        name string

        The name for the redacted field

        reason string

        The reason for the redaction

        ]
    id stringrequired

    The ID of the deployment

    external_id string

    The external ID of the deployment

    function_id string

    The ID of the function that this deployment is associated with

    function_api_name string

    The API name of the function that this deployment is associated with

    function_version_id string

    The ID of the version that this deployment is associated with

    function_version_human_friendly_id integer

    The human friendly ID of version that this deployment is associated with

    code string

    The code for the deployment. Null when the deployment's function comes from a managed package install.

    dependencies object

    The dependencies of the deployment. Null when the deployment's function comes from a managed package install.

    allowed_domains string[]

    Domains that function runs from this deployment are allowed to access. Null when the deployment's function comes from a managed package install.

    runtime string

    The runtime for the deployment

    options object

    Additional, runtime-specific options for the deployment. Null when the deployment's function comes from a managed package install.

    io_contract object

    Input and output JSON Schema contracts for the deployment

    status string

    The status of the deployment

    created_at stringrequired

    The creation date of the deployment

    updated_at stringrequired

    The last updated date of the deployment

Loading...