widgetic api compositions <command> runs the Compositions operations of the REST API. It has 39 commands. Every command also takes the flags every command takes.
widgetic api compositions add-ai-answers-knowledge-document
Add a document for a widget’s AI to answer from
- Request:
POST /compositions/{id}/adapters/ai-answers/knowledge/documents - Operation:
addAiAnswersKnowledgeDocument(widgetic api call addAiAnswersKnowledgeDocumentruns it by that name) - Works with any API key.
The whole description and the schemas:
widgetic schema api compositions add-ai-answers-knowledge-document.
widgetic api compositions add-ai-answers-knowledge-file
Add a text file or a picture of a document (a PDF once PDFs are read) for a widget’s AI to answer from
- Request:
POST /compositions/{id}/adapters/ai-answers/knowledge/documents/file - Operation:
addAiAnswersKnowledgeFile(widgetic api call addAiAnswersKnowledgeFileruns it by that name) - Works with any API key.
The whole description and the schemas:
widgetic schema api compositions add-ai-answers-knowledge-file.
widgetic api compositions check-composition-access
Check Composition Access
- Request:
GET /compositions/{id}/access - Operation:
checkCompositionAccess(widgetic api call checkCompositionAccessruns it by that name) - Works with any API key.
The whole description and the schemas:
widgetic schema api compositions check-composition-access.
widgetic api compositions create-composition
Create Composition
- Request:
POST /compositions - Operation:
createComposition(widgetic api call createCompositionruns it by that name) - Also written:
widgetic api compositions create - Works with any API key.
The whole description and the schemas:
widgetic schema api compositions create-composition.
widgetic api compositions create-composition-content-item
Add a content list item
- Request:
POST /compositions/{id}/content/{list}/items - Operation:
createCompositionContentItem(widgetic api call createCompositionContentItemruns it by that name) - Works with any API key.
The whole description and the schemas:
widgetic schema api compositions create-composition-content-item.
widgetic api compositions create-composition-database-record
Create Record In Composition Database
- Request:
POST /compositions/{id}/database/{table} - Operation:
createCompositionDatabaseRecord(widgetic api call createCompositionDatabaseRecordruns it by that name) - Works with any API key.
The whole description and the schemas:
widgetic schema api compositions create-composition-database-record.
widgetic api compositions delete-composition
Delete Composition
- Request:
DELETE /compositions/{id} - Operation:
deleteComposition(widgetic api call deleteCompositionruns it by that name) - Also written:
widgetic api compositions delete - Works with any API key.
- It deletes something, so it asks first; without a terminal it needs
--yes.
The whole description and the schemas:
widgetic schema api compositions delete-composition.
widgetic api compositions delete-composition-content-item
Delete a content list item
- Request:
DELETE /compositions/{id}/content/{list}/items/{itemId} - Operation:
deleteCompositionContentItem(widgetic api call deleteCompositionContentItemruns it by that name) - Works with any API key.
- It deletes something, so it asks first; without a terminal it needs
--yes.
The whole description and the schemas:
widgetic schema api compositions delete-composition-content-item.
widgetic api compositions delete-composition-data-source
Remove the composition data source binding
- Request:
DELETE /compositions/{id}/data-source - Operation:
deleteCompositionDataSource(widgetic api call deleteCompositionDataSourceruns it by that name) - Works with any API key.
- It deletes something, so it asks first; without a terminal it needs
--yes.
The whole description and the schemas:
widgetic schema api compositions delete-composition-data-source.
widgetic api compositions delete-composition-database-record
Delete Record From Composition Database
- Request:
DELETE /compositions/{id}/database/{table}/{recordId} - Operation:
deleteCompositionDatabaseRecord(widgetic api call deleteCompositionDatabaseRecordruns it by that name) - Works with any API key.
- It deletes something, so it asks first; without a terminal it needs
--yes.
The whole description and the schemas:
widgetic schema api compositions delete-composition-database-record.
widgetic api compositions delete-composition-entry-items
Delete composition entry items by id or host context
- Request:
DELETE /compositions/{id}/entries/{table}/items - Operation:
deleteCompositionEntryItems(widgetic api call deleteCompositionEntryItemsruns it by that name) - Works with any API key.
- It deletes something, so it asks first; without a terminal it needs
--yes.
The whole description and the schemas:
widgetic schema api compositions delete-composition-entry-items.
widgetic api compositions describe-composition-entries
Describe What a Composition Keeps
- Request:
GET /compositions/{id}/entries - Operation:
describeCompositionEntries(widgetic api call describeCompositionEntriesruns it by that name) - Works with any API key.
The whole description and the schemas:
widgetic schema api compositions describe-composition-entries.
widgetic api compositions duplicate-composition
Duplicate Composition
- Request:
POST /compositions/{id}/duplicate - Operation:
duplicateComposition(widgetic api call duplicateCompositionruns it by that name) - Works with any API key.
The whole description and the schemas:
widgetic schema api compositions duplicate-composition.
widgetic api compositions export-composition-entry-items
Export composition entry items
- Request:
GET /compositions/{id}/entries/{table}/export - Operation:
exportCompositionEntryItems(widgetic api call exportCompositionEntryItemsruns it by that name) - Works with any API key.
The whole description and the schemas:
widgetic schema api compositions export-composition-entry-items.
widgetic api compositions get-ai-answers-knowledge
See the documents a widget’s AI answers from
- Request:
GET /compositions/{id}/adapters/ai-answers/knowledge - Operation:
getAiAnswersKnowledge(widgetic api call getAiAnswersKnowledgeruns it by that name) - Works with any API key.
The whole description and the schemas:
widgetic schema api compositions get-ai-answers-knowledge.
widgetic api compositions get-all-compositions
Get All Compositions
- Request:
GET /compositions - Operation:
getAllCompositions(widgetic api call getAllCompositionsruns it by that name) - Also written:
widgetic api compositions list - Works with any API key.
The whole description and the schemas:
widgetic schema api compositions get-all-compositions.
widgetic api compositions get-composition-by-id
Get Composition
- Request:
GET /compositions/{id} - Operation:
getCompositionById(widgetic api call getCompositionByIdruns it by that name) - Also written:
widgetic api compositions get - Works with any API key.
The whole description and the schemas:
widgetic schema api compositions get-composition-by-id.
widgetic api compositions get-composition-content
Get Current Content
- Request:
GET /compositions/{id}/content - Operation:
getCompositionContent(widgetic api call getCompositionContentruns it by that name) - Works with any API key.
The whole description and the schemas:
widgetic schema api compositions get-composition-content.
widgetic api compositions get-composition-content-schema
Get Content Schema
- Request:
GET /compositions/{id}/schema/content - Operation:
getCompositionContentSchema(widgetic api call getCompositionContentSchemaruns it by that name) - Works with any API key.
The whole description and the schemas:
widgetic schema api compositions get-composition-content-schema.
widgetic api compositions get-composition-data-source
Read the composition data source binding
- Request:
GET /compositions/{id}/data-source - Operation:
getCompositionDataSource(widgetic api call getCompositionDataSourceruns it by that name) - Works with any API key.
The whole description and the schemas:
widgetic schema api compositions get-composition-data-source.
widgetic api compositions get-composition-database-record
Get Record From Composition Database
- Request:
GET /compositions/{id}/database/{table}/{recordId} - Operation:
getCompositionDatabaseRecord(widgetic api call getCompositionDatabaseRecordruns it by that name) - Works with any API key.
The whole description and the schemas:
widgetic schema api compositions get-composition-database-record.
widgetic api compositions get-composition-database-records
Get All Records From Composition Database Table
- Request:
GET /compositions/{id}/database/{table} - Operation:
getCompositionDatabaseRecords(widgetic api call getCompositionDatabaseRecordsruns it by that name) - Works with any API key.
The whole description and the schemas:
widgetic schema api compositions get-composition-database-records.
widgetic api compositions get-composition-design
Get Composition Design
- Request:
GET /compositions/{id}/design - Operation:
getCompositionDesign(widgetic api call getCompositionDesignruns it by that name) - Works with any API key.
The whole description and the schemas:
widgetic schema api compositions get-composition-design.
widgetic api compositions get-composition-design-schema
Get Design Schema
- Request:
GET /compositions/{id}/schema/design - Operation:
getCompositionDesignSchema(widgetic api call getCompositionDesignSchemaruns it by that name) - Works with any API key.
The whole description and the schemas:
widgetic schema api compositions get-composition-design-schema.
widgetic api compositions get-composition-embed-schema
Get Embed Schema
- Request:
GET /compositions/{id}/schema/embed - Operation:
getCompositionEmbedSchema(widgetic api call getCompositionEmbedSchemaruns it by that name) - Works with any API key.
The whole description and the schemas:
widgetic schema api compositions get-composition-embed-schema.
widgetic api compositions get-composition-embed-settings
Get Composition Embed Settings
- Request:
GET /compositions/{id}/embed-settings - Operation:
getCompositionEmbedSettings(widgetic api call getCompositionEmbedSettingsruns it by that name) - Works with any API key.
The whole description and the schemas:
widgetic schema api compositions get-composition-embed-settings.
widgetic api compositions get-composition-preview
Get Composition Preview
- Request:
GET /compositions/{id}/preview - Operation:
getCompositionPreview(widgetic api call getCompositionPreviewruns it by that name) - Works with any API key.
The whole description and the schemas:
widgetic schema api compositions get-composition-preview.
widgetic api compositions get-composition-versions
Get Composition Versions
- Request:
GET /compositions/{id}/versions - Operation:
getCompositionVersions(widgetic api call getCompositionVersionsruns it by that name) - Works with any API key.
The whole description and the schemas:
widgetic schema api compositions get-composition-versions.
widgetic api compositions get-compositions-batch
Get Compositions Batch
- Request:
POST /compositions/batch - Operation:
getCompositionsBatch(widgetic api call getCompositionsBatchruns it by that name) - Works with any API key.
The whole description and the schemas:
widgetic schema api compositions get-compositions-batch.
widgetic api compositions list-composition-entry-items
List composition entry items with paging and filters
- Request:
GET /compositions/{id}/entries/{table}/items - Operation:
listCompositionEntryItems(widgetic api call listCompositionEntryItemsruns it by that name) - Works with any API key.
The whole description and the schemas:
widgetic schema api compositions list-composition-entry-items.
widgetic api compositions patch-composition-content-item
Update a content list item
- Request:
PATCH /compositions/{id}/content/{list}/items/{itemId} - Operation:
patchCompositionContentItem(widgetic api call patchCompositionContentItemruns it by that name) - Works with any API key.
The whole description and the schemas:
widgetic schema api compositions patch-composition-content-item.
widgetic api compositions read-composition-entries
Read the Entries of a Composition’s Table
- Request:
GET /compositions/{id}/entries/{table} - Operation:
readCompositionEntries(widgetic api call readCompositionEntriesruns it by that name) - Works with any API key.
The whole description and the schemas:
widgetic schema api compositions read-composition-entries.
widgetic api compositions remove-ai-answers-knowledge-document
Remove a document from a widget’s knowledge base
- Request:
DELETE /compositions/{id}/adapters/ai-answers/knowledge/documents/{documentId} - Operation:
removeAiAnswersKnowledgeDocument(widgetic api call removeAiAnswersKnowledgeDocumentruns it by that name) - Works with any API key.
- It deletes something, so it asks first; without a terminal it needs
--yes.
The whole description and the schemas:
widgetic schema api compositions remove-ai-answers-knowledge-document.
widgetic api compositions set-composition-data-source
Bind a public JSON data source for embed refresh
- Request:
PUT /compositions/{id}/data-source - Operation:
setCompositionDataSource(widgetic api call setCompositionDataSourceruns it by that name) - Works with any API key.
The whole description and the schemas:
widgetic schema api compositions set-composition-data-source.
widgetic api compositions set-dynamic-content
Set Dynamic Content
- Request:
PUT /compositions/{id}/content - Operation:
setDynamicContent(widgetic api call setDynamicContentruns it by that name) - Works with any API key.
The whole description and the schemas:
widgetic schema api compositions set-dynamic-content.
widgetic api compositions update-composition
Update Composition
- Request:
PUT /compositions/{id} - Operation:
updateComposition(widgetic api call updateCompositionruns it by that name) - Also written:
widgetic api compositions update - Works with any API key.
The whole description and the schemas:
widgetic schema api compositions update-composition.
widgetic api compositions update-composition-database-record
Update Record In Composition Database
- Request:
PUT /compositions/{id}/database/{table}/{recordId} - Operation:
updateCompositionDatabaseRecord(widgetic api call updateCompositionDatabaseRecordruns it by that name) - Works with any API key.
The whole description and the schemas:
widgetic schema api compositions update-composition-database-record.
widgetic api compositions update-composition-status
Update Composition Status
- Request:
PUT /compositions/{id}/status - Operation:
updateCompositionStatus(widgetic api call updateCompositionStatusruns it by that name) - Works with any API key.
The whole description and the schemas:
widgetic schema api compositions update-composition-status.
widgetic api compositions validate-composition-content
Validate Content
- Request:
POST /compositions/{id}/content/validate - Operation:
validateCompositionContent(widgetic api call validateCompositionContentruns it by that name) - Works with any API key.
The whole description and the schemas:
widgetic schema api compositions validate-composition-content.