stages_prompt_prompts_list
GET/api/v3//stages/prompt/prompts/
Prompt Viewset
Request
Query Parameters
field_key string
label string
name string
ordering string
Which field to use when ordering the results.
page integer
A page number within the paginated result set.
page_size integer
Number of results to return per page.
placeholder string
search string
A search term.
type string
Possible values: [ak-locale
, checkbox
, date
, date-time
, dropdown
, email
, file
, hidden
, number
, password
, radio-button-group
, separator
, static
, text
, text_area
, text_area_read_only
, text_read_only
, username
]
Responses
- 200
- 400
- 403
- application/json
- Schema
- Example (auto)
Schema
pagination objectrequired
results object[]required
{
"pagination": {
"next": 0,
"previous": 0,
"count": 0,
"current": 0,
"total_pages": 0,
"start_index": 0,
"end_index": 0
},
"results": [
{
"pk": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"field_key": "string",
"label": "string",
"type": "text",
"required": true,
"placeholder": "string",
"initial_value": "string",
"order": 0,
"promptstage_set": [
{
"pk": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"component": "string",
"verbose_name": "string",
"verbose_name_plural": "string",
"meta_model_name": "string",
"flow_set": [
{
"pk": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"policybindingmodel_ptr_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"slug": "string",
"title": "string",
"designation": "authentication",
"background": "string",
"policy_engine_mode": "all",
"compatibility_mode": true,
"export_url": "string",
"layout": "stacked",
"denied_action": "message_continue"
}
]
}
],
"sub_text": "string",
"placeholder_expression": true,
"initial_value_expression": true
}
]
}
- application/json
- Schema
- Example (auto)
Schema
non_field_errorsstring[]
codestring
property name*any
Validation Error
{
"non_field_errors": [
"string"
],
"code": "string"
}
- application/json
- Schema
- Example (auto)
Schema
detailstringrequired
codestring
{
"detail": "string",
"code": "string"
}
Authorization: http
name: authentiktype: httpscheme: bearer
- csharp
- curl
- dart
- go
- http
- java
- javascript
- kotlin
- c
- nodejs
- objective-c
- ocaml
- php
- powershell
- python
- r
- ruby
- rust
- shell
- swift
- HTTPCLIENT
- RESTSHARP