Prompt Versions
Archive Prompt Version
Changed onArchives a prompt version, marking its status as archived.
post/v1/prompts/{id}/versions/{version}/archive
Request
- Base URLhttp://localhost:3000
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring uuid required
Unique prompt UUID.
versionstring required
Version sequence number (integer) or version tag (string) to archive.
Response
Version archived successfully
Example response
{
"version": {
"template": "Hello {{.name}}!",
"model": "anthropic/claude-opus-4-6",
"model_params": {
"temperature": 0.7,
"max_tokens": 1024,
"thinking": {
"type": "enabled",
"budget_tokens": 512
}
}
}
}Changes
- info
added the required property
/to the response with the status - info
added the required property
/to the response with the status
- info
- info
the endpoint scheme security
ApiKeyAuthwas removed from the API
- info