Deciders
Fetch an archived decider version
Returns the question set a version held. A decision names the decider_version it was answered under, so this is how its criteria are read after the decider has changed.
get/v1/projects/{project_id}/deciders/{decider_id}/versions/{version}
Request
- Base URL: https://api.naturali.ai
- URL: https://api.naturali.ai/v1/projects/{project_id}/deciders/{decider_id}/versions/{version}
- Auth: one of:
- HTTP bearer
- OAuth 2 (authorization code, authorization URL https://api.naturali.ai/authorize, token URL https://api.naturali.ai/token, scopes: mcp:access)
Path parameters
decider_idstring required
Example:dcd_V1StGXR8Z5jdHi6B
The decider ID
versioninteger required
The archived version number
Response
Archived decider version
Example response
{
"id": "dcd_ver_V1StGXR8Z5jdHi6B",
"decider_id": "dcd_V1StGXR8Z5jdHi6B",
"version": 1,
"config": {
"questions": [
{
"type": "choice",
"name": "department",
"instructions": "Which department should handle this complaint?",
"choices": [
{
"value": "billing",
"description": "Payments, invoices and refunds."
},
{
"value": "technical",
"description": "Problems using the product."
}
]
},
{
"type": "predicate",
"name": "needs_human",
"instructions": "Must a person read this before any automated reply?"
}
]
},
"label": "restored from v2",
"created_by_principal_type": "user",
"created_by_principal_id": "user_V1StGXR8Z5jdHi6B"
}Changes
No recorded changes to this operation across all 1 revision of this API.