mcpField
N
nexudus

nexudus

github.com/nexudus-ltdOther062 installsUpdated 2w ago
Repository

About nexudus

Nexudus CLI Agent Skill guides agents in using the nexudus command-line tool to manage coworking spaces through the Nexudus platform API. It emphasizes structured output, safe operation, and documented workflows for querying and changing records.

Key features

  1. 01Authentication and health-check guidance
  2. 02CRUD operations for platform data
  3. 03Structured JSON envelope handling
  4. 04Telemetry context for CLI calls
  5. 05PII redaction in agent output
  6. 06Entity-specific command discovery

Use cases

  1. 01Listing and inspecting coworking records
  2. 02Creating or updating platform entities
  3. 03Checking CLI credentials and API connectivity
  4. 04Handling personal data in agent workflows

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/nexudus-ltd/nexudus-coworking-skills --skill nexudus

After installing, type/nexudusin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

references/entities/
accesstokens.md
adminagentmessages.md
adminagentsessionparticipants.md
adminagentsessions.md
aichannelsessions.md
applications.md
audiofiles.md
audittrailentries.md
automationtileaudits.md
automationtiles.md
basketsessions.md
blogcategories.md
blogpostcomments.md
blogposts.md
bookingavailabilityexceptions.md
bookingnotes.md
bookingproducts.md
bookings.md
bookingvisitors.md
businessannouncements.md
businessbackgroundjobs.md
businesscharges.md
businessdomains.md
businesses.md
businessredirections.md
businesssettings.md
businesstimeslots.md
calendareventcategories.md
calendarevents.md
cancelledbookings.md

Details

From the project README

Nexudus CLI Agent Skill

You can manage Nexudus coworking spaces through the nexudus CLI tool. This skill teaches you how to authenticate, query data, and perform CRUD operations against the Nexudus platform API.

Agent Invariants

  1. Always use --agent flag on every CLI call. This returns a structured JSON envelope optimised for machine consumption.

  2. Parse the JSON envelope before acting on results. The envelope has this shape:

    {
      "ok": true,
      "data": { ... },
      "summary": "Human-readable summary",
      "breadcrumbs": ["entity", "action"],
      "meta": { "total": 10, "page": 1, "pageSize": 25, "totalPages": 1 }
    }
    
  3. Check ok first. If ok is false, read summary for the error message and stop.

  4. Never prompt the user for credentials interactively. If ok is false with an auth error, tell the user to run nexudus login manually.

  5. Use --yes or -y on delete commands to skip interactive confirmation prompts.

  6. Use --json when you need raw data for scripting. Use --agent when you want the envelope with summary.

  7. List responses omit collection properties. The API only returns list/array fields (e.g., Tariffs, Teams, LinkedResources) when fetching a single entity by ID (get <id>). List commands return a simplified projection without these fields. If you need to read or verify a collection property, always fetch the individual entity first.

  8. Use the current user's defaults for business, currency, country, and timezone. Before creating or updating entities that require a business (location), currency, country, or timezone, run nexudus whoami --agent and use the defaults from the response:

    • DefaultBusinessId — use as --business when creating entities scoped to a location.
    • DefaultCurrencyId — use as --currency-id when a currency is needed.
    • DefaultCurrencyCode — for display/reference purposes.
    • DefaultCountryId — use as --country-id when a country is needed.
    • DefaultSimpleTimeZoneId — use as --timezone-id when a timezone is needed.

    Only ask the user to specify these values if they explicitly want to override the defaults.

  9. Prefer --{list} over --added-{list} / --removed-{list} for list properties. When setting a list field (e.g., --tariffs, --resource-types, --teams, --linked-resources), use the plain --{list} flag to replace the entire list with the supplied values. Only use --added-{list} or --removed-{list} when you specifically need to add or remove individual items from the existing list without touching the rest of its contents. Passing --added-{list} when you mean to set the full list is a common mistake that leaves stale entries in place.

  10. When unsure about a field, run --help first. If the entity or option is not fully documented in this skill file, run nexudus <entity> <command> --help to discover available options and their descriptions before constructing the command.

  11. DateTime values must use ISO 8601 format. All DateTime fields must be passed as YYYY-MM-DDTHH:MM:SSZ (UTC) — for example 2025-06-15T09:00:00Z. Never use locale-specific formats like June 15, 2025, 15/06/2025, or Unix timestamps. Entity reference files annotate DateTime options with (DateTime) so you can identify them.

  12. Always pass telemetry context flags on every CLI call. See the Telemetry Context section below for the required flags and how to generate values.

Bootstrapping

Run diagnostics first to verify the CLI is ready:

nexudus doctor --agent

This returns CLI version, .NET runtime, OS, credential status, config file location, API connectivity, and all available commands. Check data.CredentialsStored and data.ApiStatus before proceeding.

If credentials are missing, instruct the user:

Run nexudus login to authenticate with your Nexudus account.

CLI Introspection

Discover available commands and options at any time:

nexudus --help
nexudus businesses --help
nexudus products --help
nexudus config --help

Each command also supports --help for detailed option information:

nexudus businesses update --help
nexudus products create --help

Command Reference

Authentication
CommandDescription
nexudus loginAuthenticate (interactive prompt)
nexudus logoutClear stored credentials
nexudus whoamiShow current authenticated user
Configuration
CommandDescription
nexudus config get <key>Read a config value
nexudus config set <key> <value>Set a config value

Config keys: base-url

Diagnostics
nexudus doctor --agent
Global Flags
FlagDescription
--agentJSON envelope with summary (use this)
--jsonRaw JSON envelope
--mdMarkdown output
--base-url <url>Override API base URL
--trace-id <uuid>Trace ID to correlate commands within a single task
--caller <name>Name of the invoking agent (e.g., copilot, claude)
--intent <text>One-line summary of the user's request
--attempt <n>Attempt number for this command (1 = first try)

Telemetry Context

Every CLI call from an agent must include the four telemetry flags so command usage can be tracked, correlated, and debugged.

FlagHow to setExample
--trace-idGenerate one UUID per user task and reuse it for every CLI call in that task.--trace-id a1b2c3d4-e5f6-7890-abcd-ef1234567890
--callerA fixed string identifying your agent. Use your agent name in lowercase.--caller copilot
--intentA short (≤120 char) summary of what the user asked for. Same for all calls in the task. Quote spaces.--intent "list all products for the London business"
--attemptStart at 1. Increment if you retry the same command after a failure. Reset to 1 for different commands.--attempt 1
Example: full call with telemetry
nexudus products list --agent --trace-id a1b2c3d4-e5f6-7890-abcd-ef1234567890 --caller copilot --intent "list all products" --attempt 1
Rules
  • Same --trace-id for every call within the same user task / conversation turn.
  • Increment --attempt only when retrying the exact same command after a failure.
  • --caller must stay constant for the agent's lifetime (e.g., copilot, claude, custom-bot).
  • --intent should be the user's original request, not the CLI command description.
  • When --agent is set and telemetry flags are present, the response envelope includes a telemetry object with traceId, durationMs, and attempt for your reference.

Output Envelope

All commands produce a JSON envelope when --agent or --json is used:

{
  "ok": true,
  "data": [ ... ],
  "summary": "Found 3 businesses (page 1/1)",
  "breadcrumbs": ["businesses", "list"],
  "meta": {
    "total": 3,
    "page": 1,
    "pageSize": 25,
    "totalPages": 1
  }
}
  • ok: true on success, false on failure.
  • data: The response payload — an object for single-entity operations, an array for lists, or null on some failures.
  • summary: Human-readable result description.
  • breadcrumbs: Command path that produced the output (e.g., ["products", "create"]).
  • meta: Pagination metadata for list operations (present only on list commands).

PII Redaction

The CLI automatically redacts personally identifiable information in non-interactive mode. This behavior is structural and not controlled by a caller flag.

  • In redirected/agent output, PII values appear as deterministic tokens such as «PII:EMAIL:a3f2b1c9».
  • Tokens are stable for the same source value on the same machine.
  • You may pass tokens back to create/update commands; the CLI resolves them to real values before API calls.
  • Non-interactive responses include piiRedaction and piiRedactionReason so you can verify mode.

Example token round-trip:

nexudus coworkers update 12345 --email "«PII:EMAIL:a3f2b1c9»" --agent

Do not treat tokens as real values and do not attempt to reverse them.

Error envelope
{
  "ok": false,
  "data": null,
  "summary": "Not logged in. Run 'nexudus login' first.",
  "breadcrumbs": ["businesses", "list"]
}

Decision Trees

"Find and display a business"
  1. nexudus businesses list --agent (or use filter options like --name "value" if searching)
  2. Parse data array, find the target business
  3. nexudus businesses get <id> --agent for full details
"Create a entity"
  1. First find the business ID: nexudus businesses list --agent
  2. nexudus <entity> create --name "Day Pass" --price 25.00 --business <businessId> --agent
  3. Check ok is true, read data.Id for the new entity ID
"Update a entity property"
  1. nexudus <entity> get <id> --agent to verify the entity exists
  2. nexudus <entity> update <id> --<property> <value> --agent
  3. Verify the update by checking the returned data
"Delete a entity"
  1. nexudus <entity> get <id> --agent to confirm the entity exists
  2. nexudus <entity> delete <id> --yes --agent
  3. Check ok is true
"List entity for a specific business"
  1. nexudus <entity> list --business <businessId> --agent
  2. For pagination: add --page-number N --page-size M
"Run an entity command on entity"
  1. nexudus <entity> commands --agent to discover available commands
  2. nexudus <entity> run-command <commandKey> <id1,id2> --agent
  3. Add parameters with -p Name=Value if the command requires them
"Check CLI health"
  1. nexudus doctor --agent
  2. Verify data.CredentialsStored is true
  3. Verify data.ApiStatus is "OK"

Entity-specific workflows (e.g., adding passes to a product, setting up pricing) are documented in the corresponding entity reference file under references/entities/.

Error Handling

ErrorMeaningAction
ok: false, summary contains "Not logged in"No stored credentialsTell user to run nexudus login
ok: false, summary contains "Unauthorized"Invalid credentialsTell user to run nexudus login again
ok: false, summary contains "Forbidden"Insufficient permissionsInform user they lack API permissions
ok: false, summary contains "not found"Entity doesn't existCheck the ID and try again
ok: false, summary contains "Failed to create"Create validation errorCheck required fields (name, business, price)
Non-zero exit codeCommand failedRead stderr or the JSON envelope for details

Entity Index

Before working with an entity, load its reference file for full details (commands, options, key fields, enum values, and entity-specific workflows).

EntityCLI commandOperationsReference
AccessTokenaccesstokenslist, get, create, update, deleteaccesstokens.md
AdminAgentMessageadminagentmessageslist, get, create, update, deleteadminagentmessages.md
AdminAgentSessionadminagentsessionslist, get, create, update, deleteadminagentsessions.md
AdminAgentSessionParticipantadminagentsessionparticipantslist, get, create, update, deleteadminagentsessionparticipants.md
AiChannelSessionaichannelsessionslist, get, create, update, deleteaichannelsessions.md
Applicationapplicationslist, get, create, update, deleteapplications.md
AudioFileaudiofileslist, get, create, update, deleteaudiofiles.md
AuditTrailEntryaudittrailentrieslist, getaudittrailentries.md
AutomationTileautomationtileslist, get, create, update, deleteautomationtiles.md
AutomationTileAuditautomationtileauditslist, get, create, update, deleteautomationtileaudits.md
BasketSessionbasketsessionslist, get, create, update, deletebasketsessions.md
BlogCategoryblogcategorieslist, get, create, update, deleteblogcategories.md
BlogPostblogpostslist, get, create, update, deleteblogposts.md
BlogPostCommentblogpostcommentslist, get, create, update, deleteblogpostcomments.md
Bookingbookingslist, get, create, update, deletebookings.md
BookingAvailabilityExceptionbookingavailabilityexceptionslist, get, create, update, deletebookingavailabilityexceptions.md
BookingNotebookingnoteslist, get, create, update, deletebookingnotes.md
BookingProductbookingproductslist, get, create, update, deletebookingproducts.md
BookingVisitorbookingvisitorslist, get, create, update, deletebookingvisitors.md
Businessbusinesseslist, get, updatebusinesses.md
BusinessAnnouncementbusinessannouncementslist, get, create, update, deletebusinessannouncements.md
BusinessBackgroundJobbusinessbackgroundjobslist, getbusinessbackgroundjobs.md
BusinessChargebusinesschargeslist, get, create, update, deletebusinesscharges.md
BusinessDomainbusinessdomainslist, get, create, update, deletebusinessdomains.md
BusinessRedirectionbusinessredirectionslist, get, create, update, deletebusinessredirections.md
BusinessSettingbusinesssettingslist, get, create, update, deletebusinesssettings.md
BusinessTimeSlotbusinesstimeslotslist, get, create, update, deletebusinesstimeslots.md
CalendarEventcalendareventslist, get, create, update, deletecalendarevents.md
CalendarEventCategorycalendareventcategorieslist, get, create, update, deletecalendareventcategories.md
CancelledBookingcancelledbookingslist, get, create, update, deletecancelledbookings.md
CannedResponsecannedresponseslist, get, create, update, deletecannedresponses.md
Chargechargeslist, get, create, update, deletecharges.md
ChatRoomchatroomslist, get, create, update, deletechatrooms.md
ChatUserMessagechatusermessageslist, get, create, update, deletechatusermessages.md
Checkincheckinslist, get, create, update, deletecheckins.md
CommunityGroupcommunitygroupslist, get, create, update, deletecommunitygroups.md
CommunityMessagecommunitymessageslist, get, create, update, deletecommunitymessages.md
CommunityMessageLikecommunitymessagelikeslist, get, create, update, deletecommunitymessagelikes.md
CommunityMessageReadcommunitymessagereadslist, get, create, update, deletecommunitymessagereads.md
CommunityPerkcommunityperkslist, get, create, update, deletecommunityperks.md
CommunityThreadcommunitythreadslist, get, create, update, deletecommunitythreads.md
CommunityThreadFilecommunitythreadfileslist, get, create, update, deletecommunitythreadfiles.md
CommunityThreadFollowcommunitythreadfollowslist, get, create, update, deletecommunitythreadfollows.md
CommunityThreadLikecommunitythreadlikeslist, get, create, update, deletecommunitythreadlikes.md
CommunityThreadMutecommunitythreadmuteslist, get, create, update, deletecommunitythreadmutes.md
CommunityThreadReadcommunitythreadreadslist, get, create, update, deletecommunitythreadreads.md
ContractContactcontractcontactslist, get, create, update, deletecontractcontacts.md
ContractDepositcontractdepositslist, get, create, update, deletecontractdeposits.md
ContractPausedPeriodcontractpausedperiodslist, get, create, update, deletecontractpausedperiods.md
ContractProductcontractproductslist, get, create, update, deletecontractproducts.md
ContractSchedulecontractscheduleslist, get, create, update, deletecontractschedules.md
Countrycountrieslist, getcountries.md
Coursecourseslist, get, create, update, deletecourses.md
CourseCompletedLessoncoursecompletedlessonslist, get, create, update, deletecoursecompletedlessons.md
CourseLessoncourselessonslist, get, create, update, deletecourselessons.md
CourseMembercoursememberslist, get, create, update, deletecoursemembers.md
CourseSectioncoursesectionslist, get, create, update, deletecoursesections.md
Coworkercoworkerslist, get, create, update, commandscoworkers.md
CoworkerAccessControlAuditcoworkeraccesscontrolauditslist, get, create, update, deletecoworkeraccesscontrolaudits.md
CoworkerBookingCreditcoworkerbookingcreditslist, get, create, update, deletecoworkerbookingcredits.md
CoworkerBookingCreditUseHistorycoworkerbookingcreditusehistorieslist, get, create, updatecoworkerbookingcreditusehistories.md
CoworkerContractcoworkercontractslist, get, create, update, deletecoworkercontracts.md
CoworkerDataFilecoworkerdatafileslist, get, create, update, deletecoworkerdatafiles.md
CoworkerDeliverycoworkerdeliverieslist, get, create, update, deletecoworkerdeliveries.md
CoworkerDiscountCodecoworkerdiscountcodeslist, get, create, update, deletecoworkerdiscountcodes.md
CoworkerExtraServicecoworkerextraserviceslist, get, create, update, deletecoworkerextraservices.md
CoworkerExtraServiceUseHistorycoworkerextraserviceusehistorieslist, get, create, update, deletecoworkerextraserviceusehistories.md
CoworkerGoogleCalendarcoworkergooglecalendarslist, get, create, update, deletecoworkergooglecalendars.md
CoworkerIdentityCheckcoworkeridentitycheckslist, get, create, update, deletecoworkeridentitychecks.md
CoworkerIdentityCheckDocumentcoworkeridentitycheckdocumentslist, get, create, update, deletecoworkeridentitycheckdocuments.md
CoworkerInventoryAssetcoworkerinventoryassetslist, get, create, update, deletecoworkerinventoryassets.md
CoworkerInvoicecoworkerinvoiceslist, get, updatecoworkerinvoices.md
CoworkerInvoiceHistorycoworkerinvoicehistorieslist, get, create, update, deletecoworkerinvoicehistories.md
CoworkerInvoiceLinecoworkerinvoicelineslist, get, updatecoworkerinvoicelines.md
CoworkerInvoicePaymentTokencoworkerinvoicepaymenttokenslist, get, create, update, deletecoworkerinvoicepaymenttokens.md
CoworkerLedgerEntrycoworkerledgerentrieslist, get, create, update, deletecoworkerledgerentries.md
CoworkerLegalContentAuditcoworkerlegalcontentauditslist, get, create, update, deletecoworkerlegalcontentaudits.md
CoworkerMessagecoworkermessageslist, getcoworkermessages.md
CoworkerMsOfficeCalendarcoworkermsofficecalendarslist, get, create, update, deletecoworkermsofficecalendars.md
CoworkerNotecoworkernoteslist, get, create, update, deletecoworkernotes.md
CoworkerNotificationcoworkernotificationslist, get, create, update, deletecoworkernotifications.md
CoworkerPaymentMethodcoworkerpaymentmethodslist, get, create, update, deletecoworkerpaymentmethods.md
CoworkerPricePlanHistorycoworkerpriceplanhistorieslist, getcoworkerpriceplanhistories.md
CoworkerProductcoworkerproductslist, get, create, update, deletecoworkerproducts.md
CoworkerReminderAuditcoworkerreminderauditslist, get, create, update, deletecoworkerreminderaudits.md
CoworkerSettingcoworkersettingslist, get, create, update, deletecoworkersettings.md
CoworkerTaskcoworkertaskslist, get, create, update, deletecoworkertasks.md
CoworkerTimePasscoworkertimepasseslist, get, create, update, deletecoworkertimepasses.md
CrmBoardcrmboardslist, get, create, update, deletecrmboards.md
CrmBoardColumncrmboardcolumnslist, get, create, update, deletecrmboardcolumns.md
CrmOpportunitycrmopportunitieslist, get, create, update, deletecrmopportunities.md
CrmOpportunityHistorycrmopportunityhistorieslist, get, create, update, deletecrmopportunityhistories.md
CrmOpportunityImportFilecrmopportunityimportfileslist, get, create, update, deletecrmopportunityimportfiles.md
Currencycurrencieslist, getcurrencies.md
CustomFieldcustomfieldslist, get, create, update, deletecustomfields.md
DataFiledatafileslist, get, create, update, deletedatafiles.md
DiscountCodediscountcodeslist, get, create, update, deletediscountcodes.md
DocumentTemplatedocumenttemplateslist, get, create, update, deletedocumenttemplates.md
EloxxLockersAuditeloxxlockersauditslist, get, create, update, deleteeloxxlockersaudits.md
EmailAccountemailaccountslist, get, create, update, deleteemailaccounts.md
EmailQueueItememailqueueitemslist, getemailqueueitems.md
EmailQueueItemAttachmentemailqueueitemattachmentslist, get, updateemailqueueitemattachments.md
EmailTemplateFileemailtemplatefileslist, get, create, update, deleteemailtemplatefiles.md
EventAttendeeeventattendeeslist, get, create, update, deleteeventattendees.md
EventCommenteventcommentslist, get, create, update, deleteeventcomments.md
EventProducteventproductslist, get, create, update, deleteeventproducts.md
EventWaitingAttendeeeventwaitingattendeeslist, get, create, update, deleteeventwaitingattendees.md
ExtraServiceextraserviceslist, get, create, update, deleteextraservices.md
ExtraServicePriceextraservicepriceslist, get, create, update, deleteextraserviceprices.md
ExtraServiceTimeSlotextraservicetimeslotslist, get, create, update, deleteextraservicetimeslots.md
FailedCheckinfailedcheckinslist, get, create, update, deletefailedcheckins.md
FaqArticlefaqarticleslist, get, create, update, deletefaqarticles.md
FinancialAccountfinancialaccountslist, get, create, update, deletefinancialaccounts.md
FloorPlanfloorplanslist, get, create, update, deletefloorplans.md
FloorPlanAssetfloorplanassetslist, getfloorplanassets.md
FloorPlanDeskfloorplandeskslist, get, create, update, deletefloorplandesks.md
FloorPlanDeskVariantfloorplandeskvariantslist, get, create, update, deletefloorplandeskvariants.md
FloorPlanLayoutfloorplanlayoutslist, get, create, update, deletefloorplanlayouts.md
FloorPlanLayoutAreafloorplanlayoutareaslist, get, create, update, deletefloorplanlayoutareas.md
FloorPlanLayoutAssetfloorplanlayoutassetslist, get, create, update, deletefloorplanlayoutassets.md
FloorPlanLayoutEdgefloorplanlayoutedgeslist, get, create, update, deletefloorplanlayoutedges.md
FloorPlanLayoutNodefloorplanlayoutnodeslist, get, create, update, deletefloorplanlayoutnodes.md
FloorPlanLayoutOpeningfloorplanlayoutopeningslist, get, create, update, deletefloorplanlayoutopenings.md
FloorplanLayoutTransitionfloorplanlayouttransitionslist, get, create, update, deletefloorplanlayouttransitions.md
FormPageformpageslist, get, create, update, deleteformpages.md
FormPageAnswerformpageanswerslist, get, create, updateformpageanswers.md
FormPageQuestionformpagequestionslist, get, create, update, deleteformpagequestions.md
FormPageRequestformpagerequestslist, get, create, update, deleteformpagerequests.md
GlobalChatMessageglobalchatmessageslist, get, create, update, deleteglobalchatmessages.md
HelpDeskCommenthelpdeskcommentslist, get, create, update, deletehelpdeskcomments.md
HelpDeskDepartmenthelpdeskdepartmentslist, get, create, update, deletehelpdeskdepartments.md
HelpDeskMessagehelpdeskmessageslist, get, create, update, deletehelpdeskmessages.md
ImageFileimagefileslist, get, create, update, deleteimagefiles.md
InstalledApplicationinstalledapplicationslist, get, create, update, deleteinstalledapplications.md
InstalledMarketPlaceApplicationinstalledmarketplaceapplicationslist, get, create, update, deleteinstalledmarketplaceapplications.md
InventoryAssetinventoryassetslist, get, create, update, deleteinventoryassets.md
Invoiceinvoiceslist, get, updateinvoices.md
Languagelanguageslist, get, create, update, deletelanguages.md
LanguageTokenlanguagetokenslist, get, create, update, deletelanguagetokens.md
LedgerEntryledgerentrieslist, getledgerentries.md
LegalContentAuditlegalcontentauditslist, get, create, update, deletelegalcontentaudits.md
LogEntrylogentrieslist, getlogentries.md
MarketPlaceApplicationmarketplaceapplicationslist, get, create, update, deletemarketplaceapplications.md
MsOfficeAdminCalendarmsofficeadmincalendarslist, get, create, update, deletemsofficeadmincalendars.md
NewsLetternewsletterslist, get, create, update, deletenewsletters.md
NewsLetterSubscribernewslettersubscriberslist, get, create, update, deletenewslettersubscribers.md
OpenAiChatMessageopenaichatmessageslist, get, create, update, deleteopenaichatmessages.md
OpportunityTypeopportunitytypeslist, get, create, update, deleteopportunitytypes.md
PassportCardpassportcardslist, get, create, update, deletepassportcards.md
PaymentGatewaypaymentgatewayslist, get, create, update, deletepaymentgateways.md
PayoutInvoicepayoutinvoiceslist, get, create, update, deletepayoutinvoices.md
PlatformChangeMessageplatformchangemessageslist, get, create, update, deleteplatformchangemessages.md
ProactiveActionConfigproactiveactionconfigslist, get, create, update, deleteproactiveactionconfigs.md
Productproductslist, get, create, update, delete, commandsproducts.md
ProductBookingCreditproductbookingcreditslist, get, create, update, deleteproductbookingcredits.md
ProductExtraServiceproductextraserviceslist, get, create, update, deleteproductextraservices.md
ProductTimePassproducttimepasseslist, get, create, update, deleteproducttimepasses.md
Proposalproposalslist, get, create, update, deleteproposals.md
ProposalContractproposalcontractslist, get, create, update, deleteproposalcontracts.md
ProposalContractScheduleproposalcontractscheduleslist, get, create, update, deleteproposalcontractschedules.md
ProposalProductproposalproductslist, get, create, update, deleteproposalproducts.md
ProposalScheduleproposalscheduleslist, get, create, update, deleteproposalschedules.md
ProposedActionproposedactionslist, get, create, update, deleteproposedactions.md
RadiusServerradiusserverslist, get, create, update, deleteradiusservers.md
RecordCreationWorkflowrecordcreationworkflowslist, get, create, update, deleterecordcreationworkflows.md
RecordCreationWorkflowVersionrecordcreationworkflowversionslist, get, create, update, deleterecordcreationworkflowversions.md
RefreshTokenrefreshtokenslist, get, create, update, deleterefreshtokens.md
RegisteredDeviceregistereddeviceslist, get, updateregistereddevices.md
Reminderreminderslist, get, create, update, deletereminders.md
Reportreportslist, get, create, update, deletereports.md
ReportDashboardreportdashboardslist, get, create, update, deletereportdashboards.md
ReportDefinitionreportdefinitionslist, get, create, update, deletereportdefinitions.md
ReportSubscriptionreportsubscriptionslist, get, create, update, deletereportsubscriptions.md
Resellerresellerslist, get, create, update, deleteresellers.md
ResellerAccountreselleraccountslist, get, create, update, deletereselleraccounts.md
ResellerPayoutresellerpayoutslist, get, create, update, deleteresellerpayouts.md
Resourceresourceslist, get, create, update, deleteresources.md
ResourceAccessRuleresourceaccessruleslist, get, create, update, deleteresourceaccessrules.md
ResourceAccessRuleEligibleTimeSlotresourceaccessruleeligibletimeslotslist, get, create, update, deleteresourceaccessruleeligibletimeslots.md
ResourceAccessRuleTimeSlotresourceaccessruletimeslotslist, get, create, update, deleteresourceaccessruletimeslots.md
ResourceProductresourceproductslist, get, create, update, deleteresourceproducts.md
ResourceTimeSlotresourcetimeslotslist, get, create, update, deleteresourcetimeslots.md
ResourceTyperesourcetypeslist, get, create, update, deleteresourcetypes.md
Roleroleslist, getroles.md
Sensorsensorslist, get, create, update, deletesensors.md
SensorHistorysensorhistorieslist, get, create, update, deletesensorhistories.md
SimpleTimeZonesimpletimezoneslist, get, updatesimpletimezones.md
SubscriberActivitysubscriberactivitieslist, getsubscriberactivities.md
SubscriberGroupsubscribergroupslist, get, create, update, deletesubscribergroups.md
Surveysurveyslist, get, create, update, deletesurveys.md
SurveyAnswersurveyanswerslist, get, create, update, deletesurveyanswers.md
SurveyQuestionsurveyquestionslist, get, create, update, deletesurveyquestions.md
SurveyRunsurveyrunslist, get, create, update, deletesurveyruns.md
SystemNotificationsystemnotificationslist, get, create, update, deletesystemnotifications.md
Tarifftariffslist, get, create, update, deletetariffs.md
TariffBookingCredittariffbookingcreditslist, get, create, update, deletetariffbookingcredits.md
TariffDefaultDueDatetariffdefaultduedateslist, get, create, update, deletetariffdefaultduedates.md
TariffExtraServicetariffextraserviceslist, get, create, update, deletetariffextraservices.md
TariffProducttariffproductslist, get, create, update, deletetariffproducts.md
TariffSignupProducttariffsignupproductslist, get, create, update, deletetariffsignupproducts.md
TariffTimePasstarifftimepasseslist, get, create, update, deletetarifftimepasses.md
TaskItemtaskitemslist, get, create, update, deletetaskitems.md
TaskListtasklistslist, get, create, update, deletetasklists.md
TaxRatetaxrateslist, get, create, update, deletetaxrates.md
Teamteamslist, get, create, update, deleteteams.md
TemplateFiletemplatefileslist, get, create, update, deletetemplatefiles.md
TemplateVersiontemplateversionslist, get, create, update, deletetemplateversions.md
Ticketticketslist, get, create, update, deletetickets.md
TimePasstimepasseslist, get, create, update, deletetimepasses.md
TimePassPricetimepasspriceslist, get, create, update, deletetimepassprices.md
TimePassTimeSlottimepasstimeslotslist, get, create, update, deletetimepasstimeslots.md
UiModuleuimoduleslist, get, create, update, deleteuimodules.md
Useruserslist, get, create, update, deleteusers.md
UserBookmarkuserbookmarkslist, get, create, update, deleteuserbookmarks.md
UserMessageusermessageslist, getusermessages.md
UserRoleuserroleslist, get, create, update, deleteuserroles.md
ValidationRulevalidationruleslist, get, create, update, deletevalidationrules.md
VideoFilevideofileslist, get, create, update, deletevideofiles.md
VideoRoomvideoroomslist, get, create, update, deletevideorooms.md
Visitorvisitorslist, get, create, update, deletevisitors.md
WebHookwebhookslist, get, create, update, deletewebhooks.md
Workspaceworkspaceslist, get, create, update, deleteworkspaces.md

Image Uploads

Some entities have image properties (logo, banner, picture, etc.). To set an image, you must provide two properties:

  1. New{PropertyName}Url — a publicly accessible URL where the Nexudus back-end can download the image. Local file paths or authenticated URLs will not work.
  2. {PropertyName}FileName — the file name (with extension) to store for the image. Use only non-special characters (letters, digits, hyphens, underscores) and include the file extension (e.g., .png, .jpg).

If the user does not supply a file name, derive one from the URL (use the last path segment, stripping query strings and special characters) or generate a reasonable default like image.png. Always ensure the name contains only safe characters and a valid image extension.

EntityImage PropertyCLI URL OptionAPI URL PropertyCLI FileName OptionAPI FileName Property
BusinessLogo--logo-urlNewLogoUrl--logo-file-nameLogoFileName
BusinessBannerImage--banner-urlNewBannerImageUrl--banner-file-nameBannerImageFileName
BusinessNexIoBannerImage--nexio-banner-urlNewNexIoBannerImageUrl--nexio-banner-file-nameNexIoBannerImageFileName
BusinessPassportBanner--passport-banner-urlNewPassportBannerUrl--passport-banner-file-namePassportBannerFileName
ResourcePicture--new-picture-urlNewPictureUrl--picture-file-namePictureFileName

Example — set a logo on a business:

nexudus businesses update <id> --logo-url "https://example.com/logo.png" --logo-file-name "logo.png" --agent

Example — set a picture on a resource:

nexudus resources update <id> --new-picture-url "https://example.com/room.jpg" --picture-file-name "room.jpg" --agent

Example — user provides only the URL (agent derives the file name):

# User says: set the logo to https://cdn.example.com/images/my-logo.png
# Agent extracts "my-logo.png" from the URL path
nexudus businesses update <id> --logo-url "https://cdn.example.com/images/my-logo.png" --logo-file-name "my-logo.png" --agent

Example — URL has no usable file name (agent generates one):

# User says: set the logo to https://cdn.example.com/generate?id=abc
# Agent cannot extract a file name, so it generates a safe default
nexudus businesses update <id> --logo-url "https://cdn.example.com/generate?id=abc" --logo-file-name "logo.png" --agent

Nexudus API Pattern

The Nexudus API follows a consistent REST pattern. Each entity at /api/{module}/{entities} supports:

OperationHTTPURL
SearchGET/api/{module}/{entities}?page=1&size=25
Get oneGET/api/{module}/{entities}/{id}
CreatePOST/api/{module}/{entities}
UpdatePUT/api/{module}/{entities}
DeleteDELETE/api/{module}/{entities}/{id}
CommandsGET/api/{module}/{entities}/commands
Run commandPOST/api/{module}/{entities}/runCommand

Passing Multiple Values (List Options)

Some options accept a list of IDs (e.g., --tariffs, --teams, --linked-resources, --resource-types). To pass multiple values, repeat the flag for each value:

nexudus resources update <id> --tariffs 101 --tariffs 202 --tariffs 303 --agent

Do not use comma-separated values or bracket syntax — each value needs its own flag.

Choosing between --{list}, --added-{list}, and --removed-{list}

Every list property comes in three variants. Use the right one for your intent:

VariantWhen to useEffect
--{list}Default choice. You know the full desired list.Replaces the entire list with the supplied values.
--added-{list}You want to append one or more items to the existing list without altering the rest.Merges the supplied IDs into the existing list.
--removed-{list}You want to remove one or more items from the existing list without altering the rest.Removes the supplied IDs from the existing list.

Use --{list} in almost all cases. The add/remove variants are only needed when you need surgical, incremental changes — for example, adding a single new tariff to a resource that already has several others you must not disturb.

Example — replace all tariffs on a resource:

nexudus resources update <id> --tariffs 101 --tariffs 202 --agent

Example — add one tariff without changing the existing ones:

nexudus resources update <id> --added-tariffs 303 --agent

Example — remove one tariff without changing the existing ones:

nexudus resources update <id> --removed-tariffs 101 --agent

Tips

  • Use --page-size 100 to fetch larger pages when you need to scan many records.
  • Use --id <id> to filter by a single ID, or repeat --id <id1> --id <id2> for multiple IDs.
  • Use --unique-id <guid> to filter by UniqueId (GUID), repeatable for multiple.
  • Combine filter options with pagination for efficient searching.
  • The run-command accepts comma-separated IDs to batch operations: nexudus products run-command archive 123,456,789 --agent.
  • Business entities cannot be created or deleted via the API — only listed, viewed, and updated.
  • Always pass --yes with delete commands whegin running non-interactively.

Comments

Markdown supported