Retrieves a list of Plus summaries.
Parameter | Type | Description |
---|
showPublic | boolean | Whether to show public Plus entries (default: true) |
Status | Description | Schema |
---|
200 | OK | Array of PlusSummary |
500 | Internal Server Error | object |
Creates or updates a Plus entry.
Parameter | Type | Description |
---|
id | string (UUID) | ID of the Plus entry (optional) |
context | string | Context for the Plus entry |
title | string | Title of the Plus entry |
description | string | Description of the Plus entry |
isPublic | boolean | Whether the entry is public |
Content-Type | Schema |
---|
multipart/form-data | files: array of binary data |
Status | Description | Schema |
---|
200 | OK | Plus |
500 | Internal Server Error | object |
Retrieves context for a prompt based on a Plus entry.
POST /api/v1/plus/{plusId}/context-for-prompt
Parameter | Type | Description |
---|
plusId | string (UUID) | ID of the Plus entry |
Content-Type | Schema |
---|
application/json | Prompt |
Status | Description | Schema |
---|
200 | OK | Prompt |
500 | Internal Server Error | object |
Adds a file to an existing Plus entry.
POST /api/v1/plus/{plusId}/add-file
Parameter | Type | Description |
---|
plusId | string (UUID) | ID of the Plus entry |
Content-Type | Schema |
---|
multipart/form-data | files: array of binary data |
Status | Description | Schema |
---|
200 | OK | Plus |
500 | Internal Server Error | object |
Retrieves a specific Plus entry.
GET /api/v1/plus/{plusId}
Parameter | Type | Description |
---|
plusId | string (UUID) | ID of the Plus entry |
Status | Description | Schema |
---|
200 | OK | Plus |
500 | Internal Server Error | object |
Deletes a specific Plus entry.
DELETE /api/v1/plus/{plusId}
Parameter | Type | Description |
---|
plusId | string (UUID) | ID of the Plus entry |
Status | Description | Schema |
---|
200 | OK | DeleteResponse |
500 | Internal Server Error | object |
Retrieves the content of a file associated with a Plus entry.
GET /api/v1/plus/file/{fileId}/content
Parameter | Type | Description |
---|
fileId | string (UUID) | ID of the file |
Status | Description | Schema |
---|
200 | OK | byte (string) |
500 | Internal Server Error | object |
Deletes a file associated with a Plus entry.
DELETE /api/v1/plus/file/{fileId}
Parameter | Type | Description |
---|
fileId | string (UUID) | ID of the file |
Status | Description | Schema |
---|
200 | OK | DeleteResponse |
500 | Internal Server Error | object |
Property | Type | Description |
---|
id | string (UUID) | Unique identifier for the Plus entry |
context | string | Context of the Plus entry |
title | string | Title of the Plus entry |
description | string | Description of the Plus entry |
isPublic | boolean | Whether the entry is public |
created | string (date-time) | Creation timestamp |
userId | integer | ID of the user who created the entry |
files | array of PlusFile | Associated files |
Property | Type | Description |
---|
id | integer | Unique identifier for the file chunk |
fileData | string | Raw file data |
fileDataProcessed | string | Processed file data |
tokenSize | integer | Token size of the file chunk |
Property | Type | Description |
---|
id | string (UUID) | Unique identifier for the file |
filename | string | Name of the file |
mimeType | string | MIME type of the file |
fileChunks | array of PlusFileChunk | File chunks |
tokenSize | integer | Total token size of the file |
bytes | integer (int64) | Size of the file in bytes |
created | string (date-time) | Creation timestamp |
Property | Type | Description |
---|
content | string | Content of the prompt |
Property | Type | Description |
---|
id | string (UUID) | Unique identifier for the Plus entry |
title | string | Title of the Plus entry |
description | string | Description of the Plus entry |
isPublic | boolean | Whether the entry is public |
Property | Type | Description |
---|
deleted | boolean | Whether the deletion was successful |