Create a new structured prompt (version 1).
API Key for external integrations (format: greetincs_...)
Request schema for creating a new prompt.
Note: version is an internal field managed by the system.
1 - 255"Company Summary Extractor"
1"Given the page content, answer the questions according to the schema."
1000"Extracts what a company does and whether it is generalist or specialist."
JSON Schema Draft-07 model for structured prompt responses. Supports both primitive schemas (e.g., {"type": "string"}) and object schemas. If omitted, defaults to {"type": "string"}.
Successful Response
API response model for structured prompts.
Data model for versioned structured prompts.
The id field serializes as unversioned (prompt_xxx) for direct use in API paths.
Version info is in the separate version field.
HATEOAS links related to this response (e.g., self, next, prev)
[
{
"href": "/resource/{resource_id}",
"method": "GET",
"rel": "self",
"title": "Resource Details"
},
{
"href": "/resource/{resource_id}/related",
"method": "GET",
"rel": "related",
"title": "Related Resources"
}
]