Skip to main content
POST
/
v1
/
functions
Create function
curl --request POST \
  --url https://flow.seekr.com/v1/functions \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: multipart/form-data' \
  --form file='@example-file'
{
  "id": "<string>",
  "version": 123,
  "name": "<string>",
  "description": "<string>",
  "active": true,
  "code": "<string>",
  "user_id": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Authorization Bearer Token

Headers

x-team-id
string | null

Body

multipart/form-data
file
file
required

Response

Successful Response

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

id
string
required
version
integer
required
name
string
required
description
string
required
active
boolean
required
code
string
required
user_id
string
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
Last modified on June 18, 2026