curl --request PUT \
--url https://platform.kodexa.ai/api/prompts/{id} \
--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>"
}Updates an existing PromptMetadata. Prompts are templates used by AI assistants for document processing.
curl --request PUT \
--url https://platform.kodexa.ai/api/prompts/{id} \
--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>"
}API key for authentication. Create one from the Kodexa platform UI under Settings > Access Tokens.
Unique identifier (UUID) of the resource.
Prompt metadata defines a prompt template used by AI assistants for document processing.
Optimistic locking version number.
Timestamp when the prompt was created.
Whether this prompt is deprecated.
Reference to the extension pack.
Unique identifier (UUID) for the prompt.
Display name of the prompt.
Whether the prompt is publicly accessible.
URL-friendly identifier for the prompt.
Whether this prompt is a template.
Timestamp when the prompt was last updated.
Secondary UUID identifier.
Semantic version string.
Updated PromptMetadata
Prompt metadata defines a prompt template used by AI assistants for document processing.
Optimistic locking version number.
Timestamp when the prompt was created.
Whether this prompt is deprecated.
Reference to the extension pack.
Unique identifier (UUID) for the prompt.
Display name of the prompt.
Whether the prompt is publicly accessible.
URL-friendly identifier for the prompt.
Whether this prompt is a template.
Timestamp when the prompt was last updated.
Secondary UUID identifier.
Semantic version string.