Skip to main content

CodeCreate

Payload used to create Code. Required fields are name, type.

nameName (string)required
alias object
anyOf
string
typeType (string)required

Code execution engine: 'python' or 'sql' (required)

Possible values: [python, sql]

collection_id object

Identifier of the containing collection.

anyOf
string

Possible values: non-empty

folder_id object
anyOf
string
tags object
anyOf
  • Array [
  • string
  • ]
  • description object
    anyOf
    string
    options object
    anyOf
    object
    CodeCreate
    {
    "name": "string",
    "alias": "string",
    "type": "python",
    "collection_id": "string",
    "folder_id": "string",
    "tags": [
    "string"
    ],
    "description": "string",
    "options": {}
    }