Skip to content

Prompt feature schema

A prompt feature is a boolean characteristic detected on a task prompt. See Working with prompt features for the conceptual overview.

FieldTypeRequiredDescription
idstringyesStable snake_case identifier (e.g. asks_for_api).
descriptionstringnoShort human-readable description.
promptstringyesThe detection prompt sent to the LLM, asking whether the feature applies to a given task prompt.
dependsOnstring[]noIDs of parent features. A feature is only evaluated if all parents are detected as true.
createdAtstring (ISO-8601)autoCreation timestamp.

When you extract features on a task prompt, the API returns:

FieldTypeDescription
taskPromptIdstringThe task prompt that was analyzed.
featuresDetectedFeature[]One entry per catalog feature evaluated.
suggestedFeaturesSuggestedFeature[]New feature suggestions the LLM identified from this prompt.
extractedAtstring (ISO-8601)When extraction last ran.
FieldTypeDescription
featureIdstringCatalog feature ID.
detectedbooleanWhether the feature applies to this prompt.
manuallyEvaluatedbooleanTrue if a user has overridden the LLM’s verdict.
FieldTypeDescription
idstringSuggested snake_case ID.
descriptionstringWhat the suggested feature would detect.
promptstringSuggested detection prompt.
{
"id": "asks_for_api",
"description": "The task asks the agent to build an HTTP API.",
"prompt": "Does the task explicitly ask for a REST, gRPC, or other HTTP API to be created?"
}