EnterpriseQuick Start
API ReferenceTutorials
  • Introduction
    • Getting started
  • API Reference
LogoLogo
EnterpriseQuick Start
API ReferencePrompts

GET
http://localhost:8000/api/prompts/
GET
/api/prompts/
1curl http://localhost:8000/api/prompts/ \
2 -H "Authorization: Token <api_key>"
Try it
200Retrieved
1[
2 {
3 "created_at": "2024-01-15T09:30:00Z",
4 "id": 1,
5 "title": "title",
6 "updated_at": "2024-01-15T09:30:00Z",
7 "associated_projects": [
8 {
9 "id": 1
10 }
11 ],
12 "created_by": {
13 "avatar": "avatar",
14 "id": 1,
15 "email": "email",
16 "first_name": "first_name",
17 "last_name": "last_name"
18 },
19 "description": "description",
20 "input_fields": {
21 "key": "value"
22 },
23 "organization": 1,
24 "output_classes": {
25 "key": "value"
26 },
27 "skill_name": "TextClassification"
28 }
29]
List all prompts.
Was this page helpful?
Previous

✨ Create prompt

Next
Built with
List all prompts.

Authentication

AuthorizationToken
Header authentication of the form `Token <token>`

Query parameters

orderingstringOptional
Which field to use when ordering the results.

Response

created_atdatetime
idinteger
titlestring<=500 characters
Model name
updated_atdatetime
associated_projectslist of objects or null
created_byobject or null
User who created Dataset
descriptionstring or null
Model description
input_fieldsany or null
organizationinteger or null
output_classesany or null
skill_nameenum or null
* `TextClassification` - TextClassification * `NamedEntityRecognition` - NamedEntityRecognition
Allowed values:
Model description
Which field to use when ordering the results.

Header authentication of the form Token <token>

  • TextClassification - TextClassification
  • NamedEntityRecognition - NamedEntityRecognition

✨ List prompts

✨ Create prompt