SectorPlus

Get Plus

Retrieves a list of Plus summaries.

GET /api/v1/plus

Query Parameters

ParameterTypeDescription
showPublicbooleanWhether to show public Plus entries (default: true)

Responses

StatusDescriptionSchema
200OKArray of PlusSummary
500Internal Server Errorobject

Process Plus Request

Creates or updates a Plus entry.

POST /api/v1/plus

Query Parameters

ParameterTypeDescription
idstring (UUID)ID of the Plus entry (optional)
contextstringContext for the Plus entry
titlestringTitle of the Plus entry
descriptionstringDescription of the Plus entry
isPublicbooleanWhether the entry is public

Request Body

Content-TypeSchema
multipart/form-datafiles: array of binary data

Responses

StatusDescriptionSchema
200OKPlus
500Internal Server Errorobject

Get Plus for Prompt

Retrieves context for a prompt based on a Plus entry.

POST /api/v1/plus/{plusId}/context-for-prompt

Path Parameters

ParameterTypeDescription
plusIdstring (UUID)ID of the Plus entry

Request Body

Content-TypeSchema
application/jsonPrompt

Responses

StatusDescriptionSchema
200OKPrompt
500Internal Server Errorobject

Add Plus File

Adds a file to an existing Plus entry.

POST /api/v1/plus/{plusId}/add-file

Path Parameters

ParameterTypeDescription
plusIdstring (UUID)ID of the Plus entry

Request Body

Content-TypeSchema
multipart/form-datafiles: array of binary data

Responses

StatusDescriptionSchema
200OKPlus
500Internal Server Errorobject

Get Plus

Retrieves a specific Plus entry.

GET /api/v1/plus/{plusId}

Path Parameters

ParameterTypeDescription
plusIdstring (UUID)ID of the Plus entry

Responses

StatusDescriptionSchema
200OKPlus
500Internal Server Errorobject

Delete Plus

Deletes a specific Plus entry.

DELETE /api/v1/plus/{plusId}

Path Parameters

ParameterTypeDescription
plusIdstring (UUID)ID of the Plus entry

Responses

StatusDescriptionSchema
200OKDeleteResponse
500Internal Server Errorobject

Get File Content

Retrieves the content of a file associated with a Plus entry.

GET /api/v1/plus/file/{fileId}/content

Path Parameters

ParameterTypeDescription
fileIdstring (UUID)ID of the file

Responses

StatusDescriptionSchema
200OKbyte (string)
500Internal Server Errorobject

Delete File

Deletes a file associated with a Plus entry.

DELETE /api/v1/plus/file/{fileId}

Path Parameters

ParameterTypeDescription
fileIdstring (UUID)ID of the file

Responses

StatusDescriptionSchema
200OKDeleteResponse
500Internal Server Errorobject

Schemas

Plus

PropertyTypeDescription
idstring (UUID)Unique identifier for the Plus entry
contextstringContext of the Plus entry
titlestringTitle of the Plus entry
descriptionstringDescription of the Plus entry
isPublicbooleanWhether the entry is public
createdstring (date-time)Creation timestamp
userIdintegerID of the user who created the entry
filesarray of PlusFileAssociated files

PlusFileChunk

PropertyTypeDescription
idintegerUnique identifier for the file chunk
fileDatastringRaw file data
fileDataProcessedstringProcessed file data
tokenSizeintegerToken size of the file chunk

PlusFile

PropertyTypeDescription
idstring (UUID)Unique identifier for the file
filenamestringName of the file
mimeTypestringMIME type of the file
fileChunksarray of PlusFileChunkFile chunks
tokenSizeintegerTotal token size of the file
bytesinteger (int64)Size of the file in bytes
createdstring (date-time)Creation timestamp

Prompt

PropertyTypeDescription
contentstringContent of the prompt

PlusSummary

PropertyTypeDescription
idstring (UUID)Unique identifier for the Plus entry
titlestringTitle of the Plus entry
descriptionstringDescription of the Plus entry
isPublicbooleanWhether the entry is public

DeleteResponse

PropertyTypeDescription
deletedbooleanWhether the deletion was successful