@leaflow/sdk 0.0.0-dev.523.gcaeef48 → 0.0.0-dev.529.g6a1b7de
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assistant/v1/generated/functions.d.ts +243 -67
- package/dist/assistant/v1/generated/functions.js +248 -44
- package/dist/assistant/v1/generated/models.d.ts +302 -230
- package/dist/assistant/v1/generated/models.js +9 -19
- package/dist/assistant/v1/generated/schemas.zod.d.ts +119 -29
- package/dist/assistant/v1/generated/schemas.zod.js +139 -29
- package/dist/assistant/v1/generated/validators/answerQuestionRequestBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/answerQuestionRequestBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/approvalMode.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/approvalMode.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/artifactListResponseBody.zod.d.ts +68 -0
- package/dist/assistant/v1/generated/validators/artifactListResponseBody.zod.js +35 -0
- package/dist/assistant/v1/generated/validators/artifactResource.zod.d.ts +65 -0
- package/dist/assistant/v1/generated/validators/{attachmentResource.zod.js → artifactResource.zod.js} +13 -14
- package/dist/assistant/v1/generated/validators/artifactVersionListResponseBody.zod.d.ts +61 -0
- package/dist/assistant/v1/generated/validators/artifactVersionListResponseBody.zod.js +35 -0
- package/dist/assistant/v1/generated/validators/{uploadedResource.zod.d.ts → artifactVersionResource.zod.d.ts} +30 -16
- package/dist/assistant/v1/generated/validators/{attachmentFileResource.zod.js → artifactVersionResource.zod.js} +23 -16
- package/dist/assistant/v1/generated/validators/bindingCodeResponseBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/bindingCodeResponseBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/bindingResource.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/bindingResource.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/channelResource.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/channelResource.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/channelWithSecretResponseBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/channelWithSecretResponseBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/checkSenderParams.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/checkSenderParams.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/choiceResource.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/choiceResource.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/clientActionRequest.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/clientActionRequest.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/clientContextPart.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/clientContextPart.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/clientContextRequest.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/clientContextRequest.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/clientFunctionRequest.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/clientFunctionRequest.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/completeUploadRequestBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/completeUploadRequestBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/contextUsageResource.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/contextUsageResource.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/createArtifactRequestBody.zod.d.ts +38 -0
- package/dist/assistant/v1/generated/validators/createArtifactRequestBody.zod.js +36 -0
- package/dist/assistant/v1/generated/validators/createArtifactVersionRequestBody.zod.d.ts +36 -0
- package/dist/assistant/v1/generated/validators/createArtifactVersionRequestBody.zod.js +34 -0
- package/dist/assistant/v1/generated/validators/createChannelRequestBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/createChannelRequestBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/createFolderRequestBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/createFolderRequestBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/createTaskRequestBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/createTaskRequestBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/createThreadRequestBody.zod.d.ts +5 -4
- package/dist/assistant/v1/generated/validators/createThreadRequestBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/createThreadResponseBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/createThreadResponseBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/createUploadRequestBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/createUploadRequestBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/credentialFieldResource.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/credentialFieldResource.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/cursorPagination.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/cursorPagination.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/decideToolCallsRequestBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/decideToolCallsRequestBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/defaultModelResource.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/defaultModelResource.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/error.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/error.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/errorStatus.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/errorStatus.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/fieldViolation.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/fieldViolation.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/{attachmentCountsResource.zod.d.ts → fileCountsResource.zod.d.ts} +7 -6
- package/dist/assistant/v1/generated/validators/{attachmentCountsResource.zod.js → fileCountsResource.zod.js} +5 -4
- package/dist/assistant/v1/generated/validators/fileDiffResource.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/fileDiffResource.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/{attachmentListResponseBody.zod.d.ts → fileListResponseBody.zod.d.ts} +15 -14
- package/dist/assistant/v1/generated/validators/{attachmentListResponseBody.zod.js → fileListResponseBody.zod.js} +9 -8
- package/dist/assistant/v1/generated/validators/{attachmentFileResource.zod.d.ts → fileResource.zod.d.ts} +14 -13
- package/dist/assistant/v1/generated/validators/{uploadedResource.zod.js → fileResource.zod.js} +25 -15
- package/dist/assistant/v1/generated/validators/folderCountsResource.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/folderCountsResource.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/folderListResponseBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/folderListResponseBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/folderResource.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/folderResource.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/itemSourceResource.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/itemSourceResource.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/lastTurnResource.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/lastTurnResource.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/lengthAwarePageBindingResource.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/lengthAwarePageBindingResource.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/lengthAwarePageChannelResource.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/lengthAwarePageChannelResource.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/listArtifactVersionsParams.zod.d.ts +39 -0
- package/dist/assistant/v1/generated/validators/listArtifactVersionsParams.zod.js +41 -0
- package/dist/assistant/v1/generated/validators/listArtifactsParams.zod.d.ts +41 -0
- package/dist/assistant/v1/generated/validators/listArtifactsParams.zod.js +39 -0
- package/dist/assistant/v1/generated/validators/listBindingsParams.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/listBindingsParams.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/listChannelRejectionsParams.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/listChannelRejectionsParams.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/listChannelsParams.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/listChannelsParams.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/listTaskRunsParams.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/listTaskRunsParams.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/listThreadItemsParams.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/listThreadItemsParams.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/listThreadMessagesParams.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/listThreadMessagesParams.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/listThreadTurnsParams.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/listThreadTurnsParams.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/loginResource.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/loginResource.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/memoryListResponseBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/memoryListResponseBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/memoryResource.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/memoryResource.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/messagePart.zod.d.ts +5 -4
- package/dist/assistant/v1/generated/validators/messagePart.zod.js +7 -6
- package/dist/assistant/v1/generated/validators/moveFolderRequestBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/moveFolderRequestBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/offsetPagination.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/offsetPagination.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/partResource.zod.d.ts +20 -4
- package/dist/assistant/v1/generated/validators/partResource.zod.js +8 -7
- package/dist/assistant/v1/generated/validators/pendingActionResource.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/pendingActionResource.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/placeThreadRequestBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/placeThreadRequestBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/platformListResponseBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/platformListResponseBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/platformResource.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/platformResource.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/presentationResource.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/presentationResource.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/putUploadPartHeaders.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/putUploadPartHeaders.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/putUploadPartParams.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/putUploadPartParams.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/questionResource.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/questionResource.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/reasoningEffort.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/reasoningEffort.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/rejectionListResponseBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/rejectionListResponseBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/rejectionResource.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/rejectionResource.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/resumeThreadRequestBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/resumeThreadRequestBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/revertRequestBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/revertRequestBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/revertedCountResponseBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/revertedCountResponseBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/rotateSecretRequestBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/rotateSecretRequestBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/{searchAttachmentsRequestBody.zod.d.ts → searchFilesRequestBody.zod.d.ts} +12 -11
- package/dist/assistant/v1/generated/validators/{searchAttachmentsRequestBody.zod.js → searchFilesRequestBody.zod.js} +17 -16
- package/dist/assistant/v1/generated/validators/searchTasksRequestBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/searchTasksRequestBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/searchThreadsRequestBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/searchThreadsRequestBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/sendMessageRequestBody.zod.d.ts +5 -4
- package/dist/assistant/v1/generated/validators/sendMessageRequestBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/sendMessageResponseBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/sendMessageResponseBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/senderCheckResource.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/senderCheckResource.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/settingsResource.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/settingsResource.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/skillEnabledRequestBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/skillEnabledRequestBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/skillListResponseBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/skillListResponseBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/skillRequestBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/skillRequestBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/skillResource.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/skillResource.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/subagentCountResource.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/subagentCountResource.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/taskAction.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/taskAction.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/taskListResponseBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/taskListResponseBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/taskResource.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/taskResource.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/taskRunEvent.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/taskRunEvent.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/taskRunListResponseBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/taskRunListResponseBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/taskRunResource.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/taskRunResource.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/taskTrigger.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/taskTrigger.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/threadCountsResource.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/threadCountsResource.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/threadItemListResponseBody.zod.d.ts +120 -29
- package/dist/assistant/v1/generated/validators/threadItemListResponseBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/threadItemResource.zod.d.ts +62 -16
- package/dist/assistant/v1/generated/validators/threadItemResource.zod.js +5 -6
- package/dist/assistant/v1/generated/validators/threadListResponseBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/threadListResponseBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/threadMessageListResponseBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/threadMessageListResponseBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/threadMessageResource.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/threadMessageResource.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/threadResource.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/threadResource.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/threadStatus.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/threadStatus.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/threadTurnListResponseBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/threadTurnListResponseBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/threadTurnResource.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/threadTurnResource.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/todoResource.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/todoResource.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/toolCallResource.zod.d.ts +46 -3
- package/dist/assistant/v1/generated/validators/toolCallResource.zod.js +12 -3
- package/dist/assistant/v1/generated/validators/toolResultRequestBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/toolResultRequestBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/turnStartedResponseBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/turnStartedResponseBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/turnStatus.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/turnStatus.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/turnType.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/turnType.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/{attachmentResource.zod.d.ts → updateArtifactRequestBody.zod.d.ts} +9 -16
- package/dist/assistant/v1/generated/validators/updateArtifactRequestBody.zod.js +34 -0
- package/dist/assistant/v1/generated/validators/updateChannelRequestBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/updateChannelRequestBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/{updateAttachmentRequestBody.zod.d.ts → updateFileRequestBody.zod.d.ts} +8 -7
- package/dist/assistant/v1/generated/validators/{updateAttachmentRequestBody.zod.js → updateFileRequestBody.zod.js} +7 -6
- package/dist/assistant/v1/generated/validators/updateFolderRequestBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/updateFolderRequestBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/updateSettingsRequestBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/updateSettingsRequestBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/updateTaskRequestBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/updateTaskRequestBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/updateThreadRequestBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/updateThreadRequestBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/updateUploadRequestBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/updateUploadRequestBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/uploadConfigurationResource.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/uploadConfigurationResource.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/{uploadAttachmentParams.zod.d.ts → uploadFileParams.zod.d.ts} +8 -7
- package/dist/assistant/v1/generated/validators/{uploadAttachmentParams.zod.js → uploadFileParams.zod.js} +7 -6
- package/dist/assistant/v1/generated/validators/uploadListResponseBody.zod.d.ts +5 -4
- package/dist/assistant/v1/generated/validators/uploadListResponseBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/uploadPartResource.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/uploadPartResource.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/uploadResource.zod.d.ts +5 -4
- package/dist/assistant/v1/generated/validators/uploadResource.zod.js +8 -4
- package/dist/assistant/v1/generated/validators/usage.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/usage.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/verifyCodeRequestBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/verifyCodeRequestBody.zod.js +4 -3
- package/dist/assistant/v1/generated/validators/webhookSecretResponseBody.zod.d.ts +4 -3
- package/dist/assistant/v1/generated/validators/webhookSecretResponseBody.zod.js +4 -3
- package/dist/canopy/v1/generated/functions.d.ts +19 -50
- package/dist/canopy/v1/generated/functions.js +4 -34
- package/dist/canopy/v1/generated/models.d.ts +38 -64
- package/dist/canopy/v1/generated/models.js +0 -26
- package/dist/canopy/v1/generated/schemas.zod.d.ts +18 -21
- package/dist/canopy/v1/generated/schemas.zod.js +18 -21
- package/dist/canopy/v1/generated/validators/aPIKeyResource.zod.d.ts +14 -5
- package/dist/canopy/v1/generated/validators/aPIKeyResource.zod.js +14 -5
- package/dist/canopy/v1/generated/validators/aPIKeyUsageListResponseBody.zod.d.ts +14 -5
- package/dist/canopy/v1/generated/validators/aPIKeyUsageListResponseBody.zod.js +14 -5
- package/dist/canopy/v1/generated/validators/aPIKeyUsageResource.zod.d.ts +14 -5
- package/dist/canopy/v1/generated/validators/aPIKeyUsageResource.zod.js +14 -5
- package/dist/canopy/v1/generated/validators/audioCapabilities.zod.d.ts +14 -5
- package/dist/canopy/v1/generated/validators/audioCapabilities.zod.js +18 -9
- package/dist/canopy/v1/generated/validators/chatCompletion.zod.d.ts +14 -5
- package/dist/canopy/v1/generated/validators/chatCompletion.zod.js +14 -5
- package/dist/canopy/v1/generated/validators/chatCompletionRequest.zod.d.ts +14 -5
- package/dist/canopy/v1/generated/validators/chatCompletionRequest.zod.js +14 -5
- package/dist/canopy/v1/generated/validators/checkoutMode.zod.d.ts +14 -5
- package/dist/canopy/v1/generated/validators/checkoutMode.zod.js +14 -5
- package/dist/canopy/v1/generated/validators/checkoutOptions.zod.d.ts +14 -5
- package/dist/canopy/v1/generated/validators/checkoutOptions.zod.js +14 -5
- package/dist/canopy/v1/generated/validators/createAPIKeyRequestBody.zod.d.ts +14 -5
- package/dist/canopy/v1/generated/validators/createAPIKeyRequestBody.zod.js +14 -5
- package/dist/canopy/v1/generated/validators/createServiceRequestBody.zod.d.ts +14 -5
- package/dist/canopy/v1/generated/validators/createServiceRequestBody.zod.js +14 -5
- package/dist/canopy/v1/generated/validators/createServiceResponseBody.zod.d.ts +14 -5
- package/dist/canopy/v1/generated/validators/createServiceResponseBody.zod.js +14 -5
- package/dist/canopy/v1/generated/validators/cursorPageRequestResource.zod.d.ts +14 -5
- package/dist/canopy/v1/generated/validators/cursorPageRequestResource.zod.js +14 -5
- package/dist/canopy/v1/generated/validators/cursorPagination.zod.d.ts +14 -5
- package/dist/canopy/v1/generated/validators/cursorPagination.zod.js +14 -5
- package/dist/canopy/v1/generated/validators/embeddingRequest.zod.d.ts +14 -5
- package/dist/canopy/v1/generated/validators/embeddingRequest.zod.js +14 -5
- package/dist/canopy/v1/generated/validators/embeddingResponse.zod.d.ts +14 -5
- package/dist/canopy/v1/generated/validators/embeddingResponse.zod.js +14 -5
- package/dist/canopy/v1/generated/validators/error.zod.d.ts +14 -5
- package/dist/canopy/v1/generated/validators/error.zod.js +14 -5
- package/dist/canopy/v1/generated/validators/errorStatus.zod.d.ts +14 -5
- package/dist/canopy/v1/generated/validators/errorStatus.zod.js +14 -5
- package/dist/canopy/v1/generated/validators/fieldViolation.zod.d.ts +14 -5
- package/dist/canopy/v1/generated/validators/fieldViolation.zod.js +14 -5
- package/dist/canopy/v1/generated/validators/getUsageSummaryParams.zod.d.ts +14 -5
- package/dist/canopy/v1/generated/validators/getUsageSummaryParams.zod.js +14 -5
- package/dist/canopy/v1/generated/validators/getUsageTimelineParams.zod.d.ts +14 -5
- package/dist/canopy/v1/generated/validators/getUsageTimelineParams.zod.js +14 -5
- package/dist/canopy/v1/generated/validators/getVideoContentHeaders.zod.d.ts +14 -5
- package/dist/canopy/v1/generated/validators/getVideoContentHeaders.zod.js +14 -5
- package/dist/canopy/v1/generated/validators/imageCapabilities.zod.d.ts +14 -5
- package/dist/canopy/v1/generated/validators/imageCapabilities.zod.js +16 -7
- package/dist/canopy/v1/generated/validators/inferenceError.zod.d.ts +14 -5
- package/dist/canopy/v1/generated/validators/inferenceError.zod.js +14 -5
- package/dist/canopy/v1/generated/validators/issuedAPIKeyResource.zod.d.ts +14 -5
- package/dist/canopy/v1/generated/validators/issuedAPIKeyResource.zod.js +14 -5
- package/dist/canopy/v1/generated/validators/lengthAwarePageAPIKeyResource.zod.d.ts +14 -5
- package/dist/canopy/v1/generated/validators/lengthAwarePageAPIKeyResource.zod.js +14 -5
- package/dist/canopy/v1/generated/validators/listApiKeysParams.zod.d.ts +14 -5
- package/dist/canopy/v1/generated/validators/listApiKeysParams.zod.js +14 -5
- package/dist/canopy/v1/generated/validators/listRequestsParams.zod.d.ts +14 -5
- package/dist/canopy/v1/generated/validators/listRequestsParams.zod.js +14 -5
- package/dist/canopy/v1/generated/validators/listUsageByApiKeyParams.zod.d.ts +14 -5
- package/dist/canopy/v1/generated/validators/listUsageByApiKeyParams.zod.js +14 -5
- package/dist/canopy/v1/generated/validators/listUsageByModelParams.zod.d.ts +14 -5
- package/dist/canopy/v1/generated/validators/listUsageByModelParams.zod.js +14 -5
- package/dist/canopy/v1/generated/validators/mediaUsage.zod.d.ts +14 -5
- package/dist/canopy/v1/generated/validators/mediaUsage.zod.js +14 -5
- package/dist/canopy/v1/generated/validators/mediaUsageDetails.zod.d.ts +14 -5
- package/dist/canopy/v1/generated/validators/mediaUsageDetails.zod.js +14 -5
- package/dist/canopy/v1/generated/validators/modality.zod.d.ts +14 -5
- package/dist/canopy/v1/generated/validators/modality.zod.js +14 -5
- package/dist/canopy/v1/generated/validators/model.zod.d.ts +16 -33
- package/dist/canopy/v1/generated/validators/model.zod.js +14 -9
- package/dist/canopy/v1/generated/validators/modelBilling.zod.d.ts +14 -5
- package/dist/canopy/v1/generated/validators/modelBilling.zod.js +14 -5
- package/dist/canopy/v1/generated/validators/modelCapabilities.zod.d.ts +16 -7
- package/dist/canopy/v1/generated/validators/modelCapabilities.zod.js +41 -8
- package/dist/canopy/v1/generated/validators/modelList.zod.d.ts +16 -33
- package/dist/canopy/v1/generated/validators/modelList.zod.js +14 -5
- package/dist/canopy/v1/generated/validators/modelListResponseBody.zod.d.ts +16 -33
- package/dist/canopy/v1/generated/validators/modelListResponseBody.zod.js +14 -5
- package/dist/canopy/v1/generated/validators/modelMeter.zod.d.ts +14 -5
- package/dist/canopy/v1/generated/validators/modelMeter.zod.js +14 -5
- package/dist/canopy/v1/generated/validators/modelParameter.zod.d.ts +14 -5
- package/dist/canopy/v1/generated/validators/modelParameter.zod.js +15 -6
- package/dist/canopy/v1/generated/validators/modelResource.zod.d.ts +16 -33
- package/dist/canopy/v1/generated/validators/modelResource.zod.js +14 -9
- package/dist/canopy/v1/generated/validators/modelUsageListResponseBody.zod.d.ts +14 -5
- package/dist/canopy/v1/generated/validators/modelUsageListResponseBody.zod.js +14 -5
- package/dist/canopy/v1/generated/validators/modelUsageResource.zod.d.ts +14 -5
- package/dist/canopy/v1/generated/validators/modelUsageResource.zod.js +14 -5
- package/dist/canopy/v1/generated/validators/money.zod.d.ts +14 -5
- package/dist/canopy/v1/generated/validators/money.zod.js +14 -5
- package/dist/canopy/v1/generated/validators/nativeRequest.zod.d.ts +14 -5
- package/dist/canopy/v1/generated/validators/nativeRequest.zod.js +15 -6
- package/dist/canopy/v1/generated/validators/nativeResponse.zod.d.ts +14 -5
- package/dist/canopy/v1/generated/validators/nativeResponse.zod.js +15 -6
- package/dist/canopy/v1/generated/validators/offsetPagination.zod.d.ts +14 -5
- package/dist/canopy/v1/generated/validators/offsetPagination.zod.js +14 -5
- package/dist/canopy/v1/generated/validators/reasoningCapabilities.zod.d.ts +14 -5
- package/dist/canopy/v1/generated/validators/reasoningCapabilities.zod.js +14 -5
- package/dist/canopy/v1/generated/validators/reasoningDiagnostics.zod.d.ts +14 -5
- package/dist/canopy/v1/generated/validators/reasoningDiagnostics.zod.js +14 -5
- package/dist/canopy/v1/generated/validators/requestResource.zod.d.ts +14 -5
- package/dist/canopy/v1/generated/validators/requestResource.zod.js +14 -5
- package/dist/canopy/v1/generated/validators/responseCreate.zod.d.ts +14 -5
- package/dist/canopy/v1/generated/validators/responseCreate.zod.js +23 -8
- package/dist/canopy/v1/generated/validators/responseResource.zod.d.ts +14 -5
- package/dist/canopy/v1/generated/validators/responseResource.zod.js +14 -5
- package/dist/canopy/v1/generated/validators/serviceResource.zod.d.ts +14 -5
- package/dist/canopy/v1/generated/validators/serviceResource.zod.js +14 -5
- package/dist/canopy/v1/generated/validators/streamGenerateContentParams.zod.d.ts +14 -5
- package/dist/canopy/v1/generated/validators/streamGenerateContentParams.zod.js +14 -5
- package/dist/canopy/v1/generated/validators/totalsResource.zod.d.ts +14 -5
- package/dist/canopy/v1/generated/validators/totalsResource.zod.js +14 -5
- package/dist/canopy/v1/generated/validators/updateAPIKeyRequestBody.zod.d.ts +14 -5
- package/dist/canopy/v1/generated/validators/updateAPIKeyRequestBody.zod.js +14 -5
- package/dist/canopy/v1/generated/validators/usageBucketResource.zod.d.ts +14 -5
- package/dist/canopy/v1/generated/validators/usageBucketResource.zod.js +14 -5
- package/dist/canopy/v1/generated/validators/usageTimelineResponseBody.zod.d.ts +14 -5
- package/dist/canopy/v1/generated/validators/usageTimelineResponseBody.zod.js +14 -5
- package/dist/canopy/v1/generated/validators/videoCapabilities.zod.d.ts +14 -5
- package/dist/canopy/v1/generated/validators/videoCapabilities.zod.js +15 -6
- package/dist/canopy/v1/generated/validators/videoCreateRequest.zod.d.ts +14 -5
- package/dist/canopy/v1/generated/validators/videoCreateRequest.zod.js +14 -5
- package/dist/canopy/v1/generated/validators/videoDurationRange.zod.d.ts +14 -5
- package/dist/canopy/v1/generated/validators/videoDurationRange.zod.js +14 -5
- package/dist/canopy/v1/generated/validators/videoReferenceMedia.zod.d.ts +14 -5
- package/dist/canopy/v1/generated/validators/videoReferenceMedia.zod.js +14 -5
- package/dist/canopy/v1/generated/validators/videoTask.zod.d.ts +14 -5
- package/dist/canopy/v1/generated/validators/videoTask.zod.js +14 -5
- package/dist/canopy/v1/generated/validators/videoUsage.zod.d.ts +14 -5
- package/dist/canopy/v1/generated/validators/videoUsage.zod.js +14 -5
- package/dist/routes.d.ts +76 -28
- package/dist/routes.js +84 -30
- package/package.json +1 -1
- package/dist/canopy/v1/generated/validators/endpointCapabilities.zod.d.ts +0 -100
- package/dist/canopy/v1/generated/validators/endpointCapabilities.zod.js +0 -67
- package/dist/canopy/v1/generated/validators/modelEndpoint.zod.d.ts +0 -69
- package/dist/canopy/v1/generated/validators/modelEndpoint.zod.js +0 -67
- package/dist/canopy/v1/generated/validators/responseDeleted.zod.d.ts +0 -48
- package/dist/canopy/v1/generated/validators/responseDeleted.zod.js +0 -46
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Leaflow Assistant API
|
|
5
|
+
* Conversations with agents that operate the Leaflow platform, plus their folders, tasks, files and
|
|
6
|
+
* chat-app channels.
|
|
7
|
+
*
|
|
8
|
+
* A conversation is a thread. A person talks to the main thread; the agent in it can start subagents,
|
|
9
|
+
* which are threads too and run on their own: stopping the main thread does not stop them, and each
|
|
10
|
+
* subagent tells its parent when it ends. A thread runs in turns; each turn records the model and
|
|
11
|
+
* reasoning effort it used and its token usage.
|
|
12
|
+
*
|
|
13
|
+
* Models come from the Canopy catalogue. A new thread uses the model it names, the caller's default
|
|
14
|
+
* from /api/v1/settings, or the first catalogue model that can run an agent. Reasoning models take one
|
|
15
|
+
* of three efforts — low, medium or high — which are sent to the model unchanged.
|
|
16
|
+
*
|
|
17
|
+
* Read a thread's state with get-thread and its transcript with list-thread-items. Follow both live
|
|
18
|
+
* through EventBus by subscribing to assistant.thread.frame and assistant.resource.updated; after a
|
|
19
|
+
* reconnection or an assistant.workspace.invalidated message, read them again. list-thread-messages
|
|
20
|
+
* outlines the person's messages for navigating a long conversation.
|
|
21
|
+
*
|
|
22
|
+
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
|
+
* parts, then complete the upload and send its file id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files the person attached are listed by search-files. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working. Files the assistant hands over
|
|
27
|
+
* are artifacts: they appear on the tool call that created them and are listed by list-artifacts.
|
|
28
|
+
* OpenAPI spec version: 2.0.0
|
|
29
|
+
*/
|
|
30
|
+
import * as zod from "zod";
|
|
31
|
+
export declare const ArtifactResource: zod.ZodObject<{
|
|
32
|
+
id: zod.ZodString;
|
|
33
|
+
title: zod.ZodString;
|
|
34
|
+
latestVersion: zod.ZodObject<{
|
|
35
|
+
id: zod.ZodString;
|
|
36
|
+
artifactId: zod.ZodString;
|
|
37
|
+
title: zod.ZodString;
|
|
38
|
+
version: zod.ZodInt;
|
|
39
|
+
file: zod.ZodObject<{
|
|
40
|
+
id: zod.ZodString;
|
|
41
|
+
filename: zod.ZodString;
|
|
42
|
+
mediaType: zod.ZodString;
|
|
43
|
+
type: zod.ZodEnum<{
|
|
44
|
+
text: "text";
|
|
45
|
+
image: "image";
|
|
46
|
+
binary: "binary";
|
|
47
|
+
}>;
|
|
48
|
+
byteSize: zod.ZodInt;
|
|
49
|
+
width: zod.ZodNullable<zod.ZodInt>;
|
|
50
|
+
height: zod.ZodNullable<zod.ZodInt>;
|
|
51
|
+
draftExpiresAt: zod.ZodNullable<zod.z.ZodISODateTime>;
|
|
52
|
+
createdAt: zod.z.ZodISODateTime;
|
|
53
|
+
updatedAt: zod.z.ZodISODateTime;
|
|
54
|
+
}, zod.z.core.$strict>;
|
|
55
|
+
threadId: zod.ZodNullable<zod.ZodString>;
|
|
56
|
+
turnId: zod.ZodNullable<zod.ZodString>;
|
|
57
|
+
itemId: zod.ZodNullable<zod.ZodString>;
|
|
58
|
+
createdAt: zod.z.ZodISODateTime;
|
|
59
|
+
}, zod.z.core.$strict>;
|
|
60
|
+
versionCount: zod.ZodInt;
|
|
61
|
+
createdAt: zod.z.ZodISODateTime;
|
|
62
|
+
updatedAt: zod.z.ZodISODateTime;
|
|
63
|
+
}, zod.z.core.$strict>;
|
|
64
|
+
export type ArtifactResource = zod.input<typeof ArtifactResource>;
|
|
65
|
+
export type ArtifactResourceOutput = zod.output<typeof ArtifactResource>;
|
package/dist/assistant/v1/generated/validators/{attachmentResource.zod.js → artifactResource.zod.js}
RENAMED
|
@@ -20,23 +20,22 @@
|
|
|
20
20
|
* outlines the person's messages for navigating a long conversation.
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
|
-
* parts, then complete the upload and send its
|
|
23
|
+
* parts, then complete the upload and send its file id in a message.
|
|
24
24
|
*
|
|
25
|
-
* Files
|
|
26
|
-
* the conversations that already use it; downloading keeps working.
|
|
25
|
+
* Files the person attached are listed by search-files. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working. Files the assistant hands over
|
|
27
|
+
* are artifacts: they appear on the tool call that created them and are listed by list-artifacts.
|
|
27
28
|
* OpenAPI spec version: 2.0.0
|
|
28
29
|
*/
|
|
29
30
|
import * as zod from "zod";
|
|
30
|
-
|
|
31
|
+
import { ArtifactVersionResource } from "./artifactVersionResource.zod.js";
|
|
32
|
+
export const ArtifactResource = zod.strictObject({
|
|
31
33
|
id: zod.string(),
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
.
|
|
39
|
-
.nullable()
|
|
40
|
-
.describe("Null unless type is image. Lets a client hold the space before the image loads."),
|
|
41
|
-
height: zod.int().nullable().describe("Null unless type is image."),
|
|
34
|
+
title: zod.string(),
|
|
35
|
+
latestVersion: ArtifactVersionResource,
|
|
36
|
+
versionCount: zod.int().min(1),
|
|
37
|
+
createdAt: zod.iso.datetime({ offset: true }),
|
|
38
|
+
updatedAt: zod.iso
|
|
39
|
+
.datetime({ offset: true })
|
|
40
|
+
.describe("When the title last changed or the latest version was added."),
|
|
42
41
|
});
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Leaflow Assistant API
|
|
5
|
+
* Conversations with agents that operate the Leaflow platform, plus their folders, tasks, files and
|
|
6
|
+
* chat-app channels.
|
|
7
|
+
*
|
|
8
|
+
* A conversation is a thread. A person talks to the main thread; the agent in it can start subagents,
|
|
9
|
+
* which are threads too and run on their own: stopping the main thread does not stop them, and each
|
|
10
|
+
* subagent tells its parent when it ends. A thread runs in turns; each turn records the model and
|
|
11
|
+
* reasoning effort it used and its token usage.
|
|
12
|
+
*
|
|
13
|
+
* Models come from the Canopy catalogue. A new thread uses the model it names, the caller's default
|
|
14
|
+
* from /api/v1/settings, or the first catalogue model that can run an agent. Reasoning models take one
|
|
15
|
+
* of three efforts — low, medium or high — which are sent to the model unchanged.
|
|
16
|
+
*
|
|
17
|
+
* Read a thread's state with get-thread and its transcript with list-thread-items. Follow both live
|
|
18
|
+
* through EventBus by subscribing to assistant.thread.frame and assistant.resource.updated; after a
|
|
19
|
+
* reconnection or an assistant.workspace.invalidated message, read them again. list-thread-messages
|
|
20
|
+
* outlines the person's messages for navigating a long conversation.
|
|
21
|
+
*
|
|
22
|
+
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
|
+
* parts, then complete the upload and send its file id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files the person attached are listed by search-files. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working. Files the assistant hands over
|
|
27
|
+
* are artifacts: they appear on the tool call that created them and are listed by list-artifacts.
|
|
28
|
+
* OpenAPI spec version: 2.0.0
|
|
29
|
+
*/
|
|
30
|
+
import * as zod from "zod";
|
|
31
|
+
export declare const ArtifactVersionListResponseBody: zod.ZodObject<{
|
|
32
|
+
versions: zod.ZodArray<zod.ZodObject<{
|
|
33
|
+
id: zod.ZodString;
|
|
34
|
+
artifactId: zod.ZodString;
|
|
35
|
+
title: zod.ZodString;
|
|
36
|
+
version: zod.ZodInt;
|
|
37
|
+
file: zod.ZodObject<{
|
|
38
|
+
id: zod.ZodString;
|
|
39
|
+
filename: zod.ZodString;
|
|
40
|
+
mediaType: zod.ZodString;
|
|
41
|
+
type: zod.ZodEnum<{
|
|
42
|
+
text: "text";
|
|
43
|
+
image: "image";
|
|
44
|
+
binary: "binary";
|
|
45
|
+
}>;
|
|
46
|
+
byteSize: zod.ZodInt;
|
|
47
|
+
width: zod.ZodNullable<zod.ZodInt>;
|
|
48
|
+
height: zod.ZodNullable<zod.ZodInt>;
|
|
49
|
+
draftExpiresAt: zod.ZodNullable<zod.z.ZodISODateTime>;
|
|
50
|
+
createdAt: zod.z.ZodISODateTime;
|
|
51
|
+
updatedAt: zod.z.ZodISODateTime;
|
|
52
|
+
}, zod.z.core.$strict>;
|
|
53
|
+
threadId: zod.ZodNullable<zod.ZodString>;
|
|
54
|
+
turnId: zod.ZodNullable<zod.ZodString>;
|
|
55
|
+
itemId: zod.ZodNullable<zod.ZodString>;
|
|
56
|
+
createdAt: zod.z.ZodISODateTime;
|
|
57
|
+
}, zod.z.core.$strict>>;
|
|
58
|
+
nextCursor: zod.ZodNullable<zod.ZodString>;
|
|
59
|
+
}, zod.z.core.$strict>;
|
|
60
|
+
export type ArtifactVersionListResponseBody = zod.input<typeof ArtifactVersionListResponseBody>;
|
|
61
|
+
export type ArtifactVersionListResponseBodyOutput = zod.output<typeof ArtifactVersionListResponseBody>;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Leaflow Assistant API
|
|
5
|
+
* Conversations with agents that operate the Leaflow platform, plus their folders, tasks, files and
|
|
6
|
+
* chat-app channels.
|
|
7
|
+
*
|
|
8
|
+
* A conversation is a thread. A person talks to the main thread; the agent in it can start subagents,
|
|
9
|
+
* which are threads too and run on their own: stopping the main thread does not stop them, and each
|
|
10
|
+
* subagent tells its parent when it ends. A thread runs in turns; each turn records the model and
|
|
11
|
+
* reasoning effort it used and its token usage.
|
|
12
|
+
*
|
|
13
|
+
* Models come from the Canopy catalogue. A new thread uses the model it names, the caller's default
|
|
14
|
+
* from /api/v1/settings, or the first catalogue model that can run an agent. Reasoning models take one
|
|
15
|
+
* of three efforts — low, medium or high — which are sent to the model unchanged.
|
|
16
|
+
*
|
|
17
|
+
* Read a thread's state with get-thread and its transcript with list-thread-items. Follow both live
|
|
18
|
+
* through EventBus by subscribing to assistant.thread.frame and assistant.resource.updated; after a
|
|
19
|
+
* reconnection or an assistant.workspace.invalidated message, read them again. list-thread-messages
|
|
20
|
+
* outlines the person's messages for navigating a long conversation.
|
|
21
|
+
*
|
|
22
|
+
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
|
+
* parts, then complete the upload and send its file id in a message.
|
|
24
|
+
*
|
|
25
|
+
* Files the person attached are listed by search-files. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working. Files the assistant hands over
|
|
27
|
+
* are artifacts: they appear on the tool call that created them and are listed by list-artifacts.
|
|
28
|
+
* OpenAPI spec version: 2.0.0
|
|
29
|
+
*/
|
|
30
|
+
import * as zod from "zod";
|
|
31
|
+
import { ArtifactVersionResource } from "./artifactVersionResource.zod.js";
|
|
32
|
+
export const ArtifactVersionListResponseBody = zod.strictObject({
|
|
33
|
+
versions: zod.array(ArtifactVersionResource),
|
|
34
|
+
nextCursor: zod.string().nullable().describe("Null on the last page."),
|
|
35
|
+
});
|
|
@@ -20,25 +20,39 @@
|
|
|
20
20
|
* outlines the person's messages for navigating a long conversation.
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
|
-
* parts, then complete the upload and send its
|
|
23
|
+
* parts, then complete the upload and send its file id in a message.
|
|
24
24
|
*
|
|
25
|
-
* Files
|
|
26
|
-
* the conversations that already use it; downloading keeps working.
|
|
25
|
+
* Files the person attached are listed by search-files. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working. Files the assistant hands over
|
|
27
|
+
* are artifacts: they appear on the tool call that created them and are listed by list-artifacts.
|
|
27
28
|
* OpenAPI spec version: 2.0.0
|
|
28
29
|
*/
|
|
29
30
|
import * as zod from "zod";
|
|
30
|
-
export declare const
|
|
31
|
-
byteSize: zod.ZodInt;
|
|
32
|
-
draftExpiresAt: zod.z.ZodISODateTime;
|
|
33
|
-
filename: zod.ZodString;
|
|
34
|
-
height: zod.ZodNullable<zod.ZodInt>;
|
|
31
|
+
export declare const ArtifactVersionResource: zod.ZodObject<{
|
|
35
32
|
id: zod.ZodString;
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
33
|
+
artifactId: zod.ZodString;
|
|
34
|
+
title: zod.ZodString;
|
|
35
|
+
version: zod.ZodInt;
|
|
36
|
+
file: zod.ZodObject<{
|
|
37
|
+
id: zod.ZodString;
|
|
38
|
+
filename: zod.ZodString;
|
|
39
|
+
mediaType: zod.ZodString;
|
|
40
|
+
type: zod.ZodEnum<{
|
|
41
|
+
text: "text";
|
|
42
|
+
image: "image";
|
|
43
|
+
binary: "binary";
|
|
44
|
+
}>;
|
|
45
|
+
byteSize: zod.ZodInt;
|
|
46
|
+
width: zod.ZodNullable<zod.ZodInt>;
|
|
47
|
+
height: zod.ZodNullable<zod.ZodInt>;
|
|
48
|
+
draftExpiresAt: zod.ZodNullable<zod.z.ZodISODateTime>;
|
|
49
|
+
createdAt: zod.z.ZodISODateTime;
|
|
50
|
+
updatedAt: zod.z.ZodISODateTime;
|
|
51
|
+
}, zod.z.core.$strict>;
|
|
52
|
+
threadId: zod.ZodNullable<zod.ZodString>;
|
|
53
|
+
turnId: zod.ZodNullable<zod.ZodString>;
|
|
54
|
+
itemId: zod.ZodNullable<zod.ZodString>;
|
|
55
|
+
createdAt: zod.z.ZodISODateTime;
|
|
42
56
|
}, zod.z.core.$strict>;
|
|
43
|
-
export type
|
|
44
|
-
export type
|
|
57
|
+
export type ArtifactVersionResource = zod.input<typeof ArtifactVersionResource>;
|
|
58
|
+
export type ArtifactVersionResourceOutput = zod.output<typeof ArtifactVersionResource>;
|
|
@@ -20,25 +20,32 @@
|
|
|
20
20
|
* outlines the person's messages for navigating a long conversation.
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
|
-
* parts, then complete the upload and send its
|
|
23
|
+
* parts, then complete the upload and send its file id in a message.
|
|
24
24
|
*
|
|
25
|
-
* Files
|
|
26
|
-
* the conversations that already use it; downloading keeps working.
|
|
25
|
+
* Files the person attached are listed by search-files. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working. Files the assistant hands over
|
|
27
|
+
* are artifacts: they appear on the tool call that created them and are listed by list-artifacts.
|
|
27
28
|
* OpenAPI spec version: 2.0.0
|
|
28
29
|
*/
|
|
29
30
|
import * as zod from "zod";
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
createdAt: zod.iso.datetime({ offset: true }),
|
|
33
|
-
draftExpiresAt: zod.iso
|
|
34
|
-
.datetime({ offset: true })
|
|
35
|
-
.nullable()
|
|
36
|
-
.describe("When this draft is cleared if no message ever references it. Null once a message uses it —\na file that belongs to a conversation is kept as long as the conversation is."),
|
|
37
|
-
filename: zod.string(),
|
|
38
|
-
height: zod.int().nullable().describe("Null unless type is image."),
|
|
31
|
+
import { FileResource } from "./fileResource.zod.js";
|
|
32
|
+
export const ArtifactVersionResource = zod.strictObject({
|
|
39
33
|
id: zod.string(),
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
34
|
+
artifactId: zod.string(),
|
|
35
|
+
title: zod.string().describe("The artifact's current title."),
|
|
36
|
+
version: zod.int().min(1).describe("The position among the artifact's versions, from 1."),
|
|
37
|
+
file: FileResource,
|
|
38
|
+
threadId: zod
|
|
39
|
+
.string()
|
|
40
|
+
.nullable()
|
|
41
|
+
.describe("The conversation whose tool call created this version. Null for a version added through the API."),
|
|
42
|
+
turnId: zod
|
|
43
|
+
.string()
|
|
44
|
+
.nullable()
|
|
45
|
+
.describe("The turn whose tool call created this version. Null for a version added through the API."),
|
|
46
|
+
itemId: zod
|
|
47
|
+
.string()
|
|
48
|
+
.nullable()
|
|
49
|
+
.describe("The tool call that created this version. Null for a version added through the API."),
|
|
50
|
+
createdAt: zod.iso.datetime({ offset: true }),
|
|
44
51
|
});
|
|
@@ -20,10 +20,11 @@
|
|
|
20
20
|
* outlines the person's messages for navigating a long conversation.
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
|
-
* parts, then complete the upload and send its
|
|
23
|
+
* parts, then complete the upload and send its file id in a message.
|
|
24
24
|
*
|
|
25
|
-
* Files
|
|
26
|
-
* the conversations that already use it; downloading keeps working.
|
|
25
|
+
* Files the person attached are listed by search-files. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working. Files the assistant hands over
|
|
27
|
+
* are artifacts: they appear on the tool call that created them and are listed by list-artifacts.
|
|
27
28
|
* OpenAPI spec version: 2.0.0
|
|
28
29
|
*/
|
|
29
30
|
import * as zod from "zod";
|
|
@@ -20,10 +20,11 @@
|
|
|
20
20
|
* outlines the person's messages for navigating a long conversation.
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
|
-
* parts, then complete the upload and send its
|
|
23
|
+
* parts, then complete the upload and send its file id in a message.
|
|
24
24
|
*
|
|
25
|
-
* Files
|
|
26
|
-
* the conversations that already use it; downloading keeps working.
|
|
25
|
+
* Files the person attached are listed by search-files. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working. Files the assistant hands over
|
|
27
|
+
* are artifacts: they appear on the tool call that created them and are listed by list-artifacts.
|
|
27
28
|
* OpenAPI spec version: 2.0.0
|
|
28
29
|
*/
|
|
29
30
|
import * as zod from "zod";
|
|
@@ -20,10 +20,11 @@
|
|
|
20
20
|
* outlines the person's messages for navigating a long conversation.
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
|
-
* parts, then complete the upload and send its
|
|
23
|
+
* parts, then complete the upload and send its file id in a message.
|
|
24
24
|
*
|
|
25
|
-
* Files
|
|
26
|
-
* the conversations that already use it; downloading keeps working.
|
|
25
|
+
* Files the person attached are listed by search-files. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working. Files the assistant hands over
|
|
27
|
+
* are artifacts: they appear on the tool call that created them and are listed by list-artifacts.
|
|
27
28
|
* OpenAPI spec version: 2.0.0
|
|
28
29
|
*/
|
|
29
30
|
import * as zod from "zod";
|
|
@@ -20,10 +20,11 @@
|
|
|
20
20
|
* outlines the person's messages for navigating a long conversation.
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
|
-
* parts, then complete the upload and send its
|
|
23
|
+
* parts, then complete the upload and send its file id in a message.
|
|
24
24
|
*
|
|
25
|
-
* Files
|
|
26
|
-
* the conversations that already use it; downloading keeps working.
|
|
25
|
+
* Files the person attached are listed by search-files. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working. Files the assistant hands over
|
|
27
|
+
* are artifacts: they appear on the tool call that created them and are listed by list-artifacts.
|
|
27
28
|
* OpenAPI spec version: 2.0.0
|
|
28
29
|
*/
|
|
29
30
|
import * as zod from "zod";
|
|
@@ -20,10 +20,11 @@
|
|
|
20
20
|
* outlines the person's messages for navigating a long conversation.
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
|
-
* parts, then complete the upload and send its
|
|
23
|
+
* parts, then complete the upload and send its file id in a message.
|
|
24
24
|
*
|
|
25
|
-
* Files
|
|
26
|
-
* the conversations that already use it; downloading keeps working.
|
|
25
|
+
* Files the person attached are listed by search-files. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working. Files the assistant hands over
|
|
27
|
+
* are artifacts: they appear on the tool call that created them and are listed by list-artifacts.
|
|
27
28
|
* OpenAPI spec version: 2.0.0
|
|
28
29
|
*/
|
|
29
30
|
import * as zod from "zod";
|
|
@@ -20,10 +20,11 @@
|
|
|
20
20
|
* outlines the person's messages for navigating a long conversation.
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
|
-
* parts, then complete the upload and send its
|
|
23
|
+
* parts, then complete the upload and send its file id in a message.
|
|
24
24
|
*
|
|
25
|
-
* Files
|
|
26
|
-
* the conversations that already use it; downloading keeps working.
|
|
25
|
+
* Files the person attached are listed by search-files. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working. Files the assistant hands over
|
|
27
|
+
* are artifacts: they appear on the tool call that created them and are listed by list-artifacts.
|
|
27
28
|
* OpenAPI spec version: 2.0.0
|
|
28
29
|
*/
|
|
29
30
|
import * as zod from "zod";
|
|
@@ -20,10 +20,11 @@
|
|
|
20
20
|
* outlines the person's messages for navigating a long conversation.
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
|
-
* parts, then complete the upload and send its
|
|
23
|
+
* parts, then complete the upload and send its file id in a message.
|
|
24
24
|
*
|
|
25
|
-
* Files
|
|
26
|
-
* the conversations that already use it; downloading keeps working.
|
|
25
|
+
* Files the person attached are listed by search-files. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working. Files the assistant hands over
|
|
27
|
+
* are artifacts: they appear on the tool call that created them and are listed by list-artifacts.
|
|
27
28
|
* OpenAPI spec version: 2.0.0
|
|
28
29
|
*/
|
|
29
30
|
import * as zod from "zod";
|
|
@@ -20,10 +20,11 @@
|
|
|
20
20
|
* outlines the person's messages for navigating a long conversation.
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
|
-
* parts, then complete the upload and send its
|
|
23
|
+
* parts, then complete the upload and send its file id in a message.
|
|
24
24
|
*
|
|
25
|
-
* Files
|
|
26
|
-
* the conversations that already use it; downloading keeps working.
|
|
25
|
+
* Files the person attached are listed by search-files. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working. Files the assistant hands over
|
|
27
|
+
* are artifacts: they appear on the tool call that created them and are listed by list-artifacts.
|
|
27
28
|
* OpenAPI spec version: 2.0.0
|
|
28
29
|
*/
|
|
29
30
|
import * as zod from "zod";
|
|
@@ -20,10 +20,11 @@
|
|
|
20
20
|
* outlines the person's messages for navigating a long conversation.
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
|
-
* parts, then complete the upload and send its
|
|
23
|
+
* parts, then complete the upload and send its file id in a message.
|
|
24
24
|
*
|
|
25
|
-
* Files
|
|
26
|
-
* the conversations that already use it; downloading keeps working.
|
|
25
|
+
* Files the person attached are listed by search-files. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working. Files the assistant hands over
|
|
27
|
+
* are artifacts: they appear on the tool call that created them and are listed by list-artifacts.
|
|
27
28
|
* OpenAPI spec version: 2.0.0
|
|
28
29
|
*/
|
|
29
30
|
import * as zod from "zod";
|
|
@@ -20,10 +20,11 @@
|
|
|
20
20
|
* outlines the person's messages for navigating a long conversation.
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
|
-
* parts, then complete the upload and send its
|
|
23
|
+
* parts, then complete the upload and send its file id in a message.
|
|
24
24
|
*
|
|
25
|
-
* Files
|
|
26
|
-
* the conversations that already use it; downloading keeps working.
|
|
25
|
+
* Files the person attached are listed by search-files. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working. Files the assistant hands over
|
|
27
|
+
* are artifacts: they appear on the tool call that created them and are listed by list-artifacts.
|
|
27
28
|
* OpenAPI spec version: 2.0.0
|
|
28
29
|
*/
|
|
29
30
|
import * as zod from "zod";
|
|
@@ -20,10 +20,11 @@
|
|
|
20
20
|
* outlines the person's messages for navigating a long conversation.
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
|
-
* parts, then complete the upload and send its
|
|
23
|
+
* parts, then complete the upload and send its file id in a message.
|
|
24
24
|
*
|
|
25
|
-
* Files
|
|
26
|
-
* the conversations that already use it; downloading keeps working.
|
|
25
|
+
* Files the person attached are listed by search-files. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working. Files the assistant hands over
|
|
27
|
+
* are artifacts: they appear on the tool call that created them and are listed by list-artifacts.
|
|
27
28
|
* OpenAPI spec version: 2.0.0
|
|
28
29
|
*/
|
|
29
30
|
import * as zod from "zod";
|
|
@@ -20,10 +20,11 @@
|
|
|
20
20
|
* outlines the person's messages for navigating a long conversation.
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
|
-
* parts, then complete the upload and send its
|
|
23
|
+
* parts, then complete the upload and send its file id in a message.
|
|
24
24
|
*
|
|
25
|
-
* Files
|
|
26
|
-
* the conversations that already use it; downloading keeps working.
|
|
25
|
+
* Files the person attached are listed by search-files. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working. Files the assistant hands over
|
|
27
|
+
* are artifacts: they appear on the tool call that created them and are listed by list-artifacts.
|
|
27
28
|
* OpenAPI spec version: 2.0.0
|
|
28
29
|
*/
|
|
29
30
|
import * as zod from "zod";
|
|
@@ -20,10 +20,11 @@
|
|
|
20
20
|
* outlines the person's messages for navigating a long conversation.
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
|
-
* parts, then complete the upload and send its
|
|
23
|
+
* parts, then complete the upload and send its file id in a message.
|
|
24
24
|
*
|
|
25
|
-
* Files
|
|
26
|
-
* the conversations that already use it; downloading keeps working.
|
|
25
|
+
* Files the person attached are listed by search-files. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working. Files the assistant hands over
|
|
27
|
+
* are artifacts: they appear on the tool call that created them and are listed by list-artifacts.
|
|
27
28
|
* OpenAPI spec version: 2.0.0
|
|
28
29
|
*/
|
|
29
30
|
import * as zod from "zod";
|
|
@@ -20,10 +20,11 @@
|
|
|
20
20
|
* outlines the person's messages for navigating a long conversation.
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
|
-
* parts, then complete the upload and send its
|
|
23
|
+
* parts, then complete the upload and send its file id in a message.
|
|
24
24
|
*
|
|
25
|
-
* Files
|
|
26
|
-
* the conversations that already use it; downloading keeps working.
|
|
25
|
+
* Files the person attached are listed by search-files. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working. Files the assistant hands over
|
|
27
|
+
* are artifacts: they appear on the tool call that created them and are listed by list-artifacts.
|
|
27
28
|
* OpenAPI spec version: 2.0.0
|
|
28
29
|
*/
|
|
29
30
|
import * as zod from "zod";
|
|
@@ -20,10 +20,11 @@
|
|
|
20
20
|
* outlines the person's messages for navigating a long conversation.
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
|
-
* parts, then complete the upload and send its
|
|
23
|
+
* parts, then complete the upload and send its file id in a message.
|
|
24
24
|
*
|
|
25
|
-
* Files
|
|
26
|
-
* the conversations that already use it; downloading keeps working.
|
|
25
|
+
* Files the person attached are listed by search-files. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working. Files the assistant hands over
|
|
27
|
+
* are artifacts: they appear on the tool call that created them and are listed by list-artifacts.
|
|
27
28
|
* OpenAPI spec version: 2.0.0
|
|
28
29
|
*/
|
|
29
30
|
import * as zod from "zod";
|
|
@@ -20,10 +20,11 @@
|
|
|
20
20
|
* outlines the person's messages for navigating a long conversation.
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
|
-
* parts, then complete the upload and send its
|
|
23
|
+
* parts, then complete the upload and send its file id in a message.
|
|
24
24
|
*
|
|
25
|
-
* Files
|
|
26
|
-
* the conversations that already use it; downloading keeps working.
|
|
25
|
+
* Files the person attached are listed by search-files. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working. Files the assistant hands over
|
|
27
|
+
* are artifacts: they appear on the tool call that created them and are listed by list-artifacts.
|
|
27
28
|
* OpenAPI spec version: 2.0.0
|
|
28
29
|
*/
|
|
29
30
|
import * as zod from "zod";
|
|
@@ -20,10 +20,11 @@
|
|
|
20
20
|
* outlines the person's messages for navigating a long conversation.
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
|
-
* parts, then complete the upload and send its
|
|
23
|
+
* parts, then complete the upload and send its file id in a message.
|
|
24
24
|
*
|
|
25
|
-
* Files
|
|
26
|
-
* the conversations that already use it; downloading keeps working.
|
|
25
|
+
* Files the person attached are listed by search-files. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working. Files the assistant hands over
|
|
27
|
+
* are artifacts: they appear on the tool call that created them and are listed by list-artifacts.
|
|
27
28
|
* OpenAPI spec version: 2.0.0
|
|
28
29
|
*/
|
|
29
30
|
import * as zod from "zod";
|
|
@@ -20,10 +20,11 @@
|
|
|
20
20
|
* outlines the person's messages for navigating a long conversation.
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
|
-
* parts, then complete the upload and send its
|
|
23
|
+
* parts, then complete the upload and send its file id in a message.
|
|
24
24
|
*
|
|
25
|
-
* Files
|
|
26
|
-
* the conversations that already use it; downloading keeps working.
|
|
25
|
+
* Files the person attached are listed by search-files. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working. Files the assistant hands over
|
|
27
|
+
* are artifacts: they appear on the tool call that created them and are listed by list-artifacts.
|
|
27
28
|
* OpenAPI spec version: 2.0.0
|
|
28
29
|
*/
|
|
29
30
|
import * as zod from "zod";
|
|
@@ -20,10 +20,11 @@
|
|
|
20
20
|
* outlines the person's messages for navigating a long conversation.
|
|
21
21
|
*
|
|
22
22
|
* Upload large files with /api/v1/uploads: read /api/v1/upload-configuration first, send exact-sized
|
|
23
|
-
* parts, then complete the upload and send its
|
|
23
|
+
* parts, then complete the upload and send its file id in a message.
|
|
24
24
|
*
|
|
25
|
-
* Files
|
|
26
|
-
* the conversations that already use it; downloading keeps working.
|
|
25
|
+
* Files the person attached are listed by search-files. Renaming or removing one does not change
|
|
26
|
+
* the conversations that already use it; downloading keeps working. Files the assistant hands over
|
|
27
|
+
* are artifacts: they appear on the tool call that created them and are listed by list-artifacts.
|
|
27
28
|
* OpenAPI spec version: 2.0.0
|
|
28
29
|
*/
|
|
29
30
|
import * as zod from "zod";
|