curl --request GET \
--url https://platform.kodexa.ai/api/prompts/{id} \
--header 'x-api-key: <api-key>'{
"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>"
}Retrieves a single PromptMetadata by its unique identifier. Prompts are templates used by AI assistants for document processing.
curl --request GET \
--url https://platform.kodexa.ai/api/prompts/{id} \
--header 'x-api-key: <api-key>'{
"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.
The 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.