/apps/{app_id}/versions/{version}
GET
/apps/{app_id}/versions/{version}Request
Path Params
app_id
string
required
version
string
required
Request samples
Responses
OK(200)
Bad Request(400)
413(413)
415(415)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
aiConfig
optional
Any of
frequencyPenalty
number <float> | null
optional
Between -2.0 and 2.0 (defaults to 0.0).
Default:
null
model
string | null
optional
Which model to use.
Default:
null
presencePenalty
number <float> | null
optional
Between -2.0 and 2.0 (defaults to 0.0).
Default:
null
systemPrompt
string | null
optional
System prompt.
Default:
null
temperature
number <float> | null
optional
Between 0.0 and 2.0 (defaults to 1.0).
Default:
null
topP
number <float> | null
optional
Between 0.0 and 1.0 (defaults to 1.0).
Default:
null
appId
string <uuid>
required
blockId
string <uuid>
required
createdAt
string <date-time>
required
version
string
required
wizard
optional
Any of
appId
string <uuid>
required
name
string
required
steps
array[object (Step) {11}]
required
Example
{
"aiConfig": {
"frequencyPenalty": null,
"model": null,
"presencePenalty": null,
"systemPrompt": null,
"temperature": null,
"topP": null
},
"appId": "28c365d5-df94-4a54-8217-3ce51d068868",
"blockId": "fcde1d7c-c9cf-4365-8b6f-51bb6a8bc460",
"createdAt": "2019-08-24T14:15:22.123Z",
"version": "string",
"wizard": {
"appId": "28c365d5-df94-4a54-8217-3ce51d068868",
"name": "string",
"steps": [
{
"data": {
"kind": "choice",
"options": [
{
"displayIf": "yes",
"label": "string",
"nextStep": "545fc019-eb11-4536-9ef2-7913b3d53b4c",
"toAssign": [],
"toExecute": [],
"toRemove": []
}
],
"style": "checkbox"
},
"description": "",
"displayIf": "yes",
"icon": "string",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"label": "string",
"nextStep": "545fc019-eb11-4536-9ef2-7913b3d53b4c",
"toAssign": [],
"toExecute": [],
"toRemove": [],
"wait": false
}
]
}
}
Last modified: 11 days ago