Skip to main content
PATCH
Update function

Authorizations

Authorization
string
header
required

Your Seekr API key, sent in the Authorization header with no 'Bearer' prefix.

Headers

x-team-id
string | null

ID of the team to use for the request. If omitted, the request uses your personal workspace.

Path Parameters

function_id
string
required

ID of the Python function.

Body

multipart/form-data
file
file | null

Python file to upload, as multipart form data.

Response

Success

Response model for a Python function, including code and user info.

id
string
required

ID of the Python function.

version
integer
required

Version number of the Python function.

name
string
required

Name of the Python function.

description
string
required

Description of the Python function.

active
boolean
required

Whether the Python function is active and available for retrieval.

code
string
required

Source code of the Python function.

user_id
string
required

ID of the user who created the Python function. The function belongs to a team.

created_at
string<date-time>
required

Time the resource was created, in ISO 8601 format.

updated_at
string<date-time>
required

Time the resource was last updated, in ISO 8601 format.

Last modified on July 31, 2026