Skip to main content
POST
/
api
/
prompts
Create Prompts
curl --request POST \
  --url https://platform.kodexa.ai/api/prompts \
  --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>",
  "organizationId": "<string>",
  "publicAccess": true,
  "slug": "<string>",
  "template": true,
  "type": "<string>",
  "updatedOn": "2023-11-07T05:31:56Z",
  "uuid": "<string>",
  "yamlSource": "<string>"
}
'
{
  "changeSequence": 123,
  "createdOn": "2023-11-07T05:31:56Z",
  "deprecated": true,
  "extensionPackRef": "<string>",
  "id": "<string>",
  "metadata": "aSDinaTvuI8gbWludGxpZnk=",
  "name": "<string>",
  "organizationId": "<string>",
  "publicAccess": true,
  "slug": "<string>",
  "template": true,
  "type": "<string>",
  "updatedOn": "2023-11-07T05:31:56Z",
  "uuid": "<string>",
  "yamlSource": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://developer.kodexa.ai/llms.txt

Use this file to discover all available pages before exploring further.

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

Prompt metadata defines a prompt template used by AI assistants for document processing.

changeSequence
integer<int32>

Optimistic locking version number.

createdOn
string<date-time>

Timestamp when the prompt was created.

deprecated
boolean

Whether this prompt is deprecated.

extensionPackRef
string
id
string

Unique identifier (UUID) for the prompt.

metadata
string<byte>
name
string

Display name of the prompt.

organizationId
string
publicAccess
boolean

Whether the prompt is publicly accessible.

slug
string

URL-friendly identifier for the prompt.

template
boolean

Whether this prompt is a template.

type
string
updatedOn
string<date-time>

Timestamp when the prompt was last updated.

uuid
string

Secondary UUID identifier.

yamlSource
string | null

Response

Created Prompts

Prompt metadata defines a prompt template used by AI assistants for document processing.

changeSequence
integer<int32>

Optimistic locking version number.

createdOn
string<date-time>

Timestamp when the prompt was created.

deprecated
boolean

Whether this prompt is deprecated.

extensionPackRef
string
id
string

Unique identifier (UUID) for the prompt.

metadata
string<byte>
name
string

Display name of the prompt.

organizationId
string
publicAccess
boolean

Whether the prompt is publicly accessible.

slug
string

URL-friendly identifier for the prompt.

template
boolean

Whether this prompt is a template.

type
string
updatedOn
string<date-time>

Timestamp when the prompt was last updated.

uuid
string

Secondary UUID identifier.

yamlSource
string | null