Skip to main content
POST
/
api
/
modules
Create ModelRuntimes
curl --request POST \
  --url https://platform.kodexa.ai/api/modules \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "changeSequence": 123,
  "createdOn": "2023-11-07T05:31:56Z",
  "deprecated": true,
  "extensionPackRef": "<string>",
  "id": "<string>",
  "metadata": "aSDinaTvuI8gbWludGxpZnk=",
  "name": "<string>",
  "publicAccess": true,
  "slug": "<string>",
  "template": true,
  "updatedOn": "2023-11-07T05:31:56Z",
  "uuid": "<string>",
  "version": "<string>"
}
'
{
  "changeSequence": 123,
  "createdOn": "2023-11-07T05:31:56Z",
  "deprecated": true,
  "extensionPackRef": "<string>",
  "id": "<string>",
  "metadata": "aSDinaTvuI8gbWludGxpZnk=",
  "name": "<string>",
  "publicAccess": true,
  "slug": "<string>",
  "template": true,
  "updatedOn": "2023-11-07T05:31:56Z",
  "uuid": "<string>",
  "version": "<string>"
}

Authorizations

x-api-key
string
header
required

API key for authentication. Create one from the Kodexa platform UI under Settings > Access Tokens.

Body

application/json

Model runtime metadata describes a processing module that can be executed on documents.

changeSequence
integer<int32>

Optimistic locking version number.

createdOn
string<date-time>

Timestamp when the model runtime was created.

deprecated
boolean

Whether this model runtime is deprecated.

extensionPackRef
string

Reference to the extension pack.

id
string

Unique identifier (UUID) for the model runtime.

metadata
string<byte>
name
string

Display name of the model runtime.

publicAccess
boolean

Whether the model runtime is publicly accessible.

slug
string

URL-friendly identifier for the model runtime.

template
boolean

Whether this model runtime is a template.

updatedOn
string<date-time>

Timestamp when the model runtime was last updated.

uuid
string

Secondary UUID identifier.

version
string

Semantic version string.

Response

Created ModelRuntimes

Model runtime metadata describes a processing module that can be executed on documents.

changeSequence
integer<int32>

Optimistic locking version number.

createdOn
string<date-time>

Timestamp when the model runtime was created.

deprecated
boolean

Whether this model runtime is deprecated.

extensionPackRef
string

Reference to the extension pack.

id
string

Unique identifier (UUID) for the model runtime.

metadata
string<byte>
name
string

Display name of the model runtime.

publicAccess
boolean

Whether the model runtime is publicly accessible.

slug
string

URL-friendly identifier for the model runtime.

template
boolean

Whether this model runtime is a template.

updatedOn
string<date-time>

Timestamp when the model runtime was last updated.

uuid
string

Secondary UUID identifier.

version
string

Semantic version string.