Projects API
Actions in the projects namespace of the Nexigon Hub API.
projects_Query
POST/api/v1/actions/invoke/projects_QueryQuery the projects of the instance.
Request QueryProjectsAction
No fields.
Response QueryProjectsOutput
Fields (JSON object)
projectsrequiredList of projects.
array<QueryProjectsItem>
Items
QueryProjectsItem
Fields (JSON object)
projectId(fromproject_id)requiredID of the project.
ProjectIdstringnamerequiredName of the project.
string
projects_GetDetails
POST/api/v1/actions/invoke/projects_GetDetailsGet information about a project.
Request GetProjectDetailsAction
Fields (JSON object)
projectId(fromproject_id)requiredID of the project.
ProjectIdstring
Response GetProjectDetailsOutput
Fields (JSON object)
projectId(fromproject_id)requiredID of the project.
ProjectIdstringnamerequiredName of the project.
stringdeviceCount(fromdevice_count)requiredNumber of devices in the project.
integer
projects_SetName
POST/api/v1/actions/invoke/projects_SetNameSet the name of a project.
Request SetProjectNameAction
Fields (JSON object)
projectId(fromproject_id)requiredID of the project.
ProjectIdstringnamerequiredNew name of the project.
string
Response Empty
No fields.
projects_Create
POST/api/v1/actions/invoke/projects_CreateCreate a new project.
Request CreateProjectAction
Fields (JSON object)
organizationId(fromorganization_id)requiredOrganization to create the project in.
OrganizationIdstringnamerequiredName of the project.
string
Response CreateProjectOutput
Casesinternally β tag field result
Created{ "result": "Created", ...<payload fields> } β or "content" for non-object payloadsCreateProjectSuccess
Fields (JSON object)
projectId(fromproject_id)requiredID of the project.
ProjectIdstring
projects_Delete
POST/api/v1/actions/invoke/projects_DeleteDelete a project.
Request DeleteProjectAction
Fields (JSON object)
projectId(fromproject_id)requiredID of the project.
ProjectIdstring
Response Empty
No fields.
projects_QueryDevices
POST/api/v1/actions/invoke/projects_QueryDevicesQuery the devices of a project.
Request QueryProjectDevicesAction
Fields (JSON object)
projectId(fromproject_id)requiredID of the project.
ProjectIdstring
Response QueryProjectDevicesOutput
Fields (JSON object)
devicesrequiredList of devices.
array<QueryProjectDevicesItem>
Items
QueryProjectDevicesItem
Fields (JSON object)
deviceId(fromdevice_id)requiredID of the device.
DeviceIdstringnameoptionalName of the device.
stringhostnameoptionalHostname reported by the device (from
dev.nexigon.system.info).stringfirstSeen(fromfirst_seen)requiredTimestamp when the device was first seen.
TimestampstringstatusrequiredCombined device status (connection + health).
DeviceStatus
Casesexternally
Healthyβ"healthy"Device is healthy and connected.
Value: "healthy"Warningβ"warning"Device is connected but experiencing degraded performance.
Value: "warning"Errorβ"error"Device is connected but in an error state.
Value: "error"Offlineβ"offline"Device is not connected.
Value: "offline"
isConnected(fromis_connected)requiredIndicates whether the device is online.
booleanpendingCertificatesCount(frompending_certificates_count)requiredPending device certificates.
integerlastConnectedAt(fromlast_connected_at)optionalTimestamp when the device was last connected (current or most recent connection).
TimestampstringcurrentConnectionDurationSecs(fromcurrent_connection_duration_secs)optionalDuration of the current connection in seconds (null if not connected).
integer
projects_QueryDeploymentTokens
POST/api/v1/actions/invoke/projects_QueryDeploymentTokensQuery the deployment tokens of a project.
Request QueryProjectDeploymentTokensAction
Fields (JSON object)
projectId(fromproject_id)requiredID of the project.
ProjectIdstring
Response QueryProjectDeploymentTokensOutput
Fields (JSON object)
tokensrequiredList of deployment tokens.
array<QueryProjectDeploymentTokensItem>
Items
QueryProjectDeploymentTokensItem
Fields (JSON object)
tokenId(fromtoken_id)requiredID of the token.
DeploymentTokenIdstringcreatedAt(fromcreated_at)requiredCreation date of the token.
TimestampstringnameoptionalName of the token.
stringflagsrequiredFlags.
DeploymentTokenFlags
Fields (JSON object)
autoAccept(fromauto_accept)optionalWhether to automatically accept new devices.
boolean
projects_QueryLinkedRepositories
POST/api/v1/actions/invoke/projects_QueryLinkedRepositoriesQuery repositories of a project.
Request QueryProjectRepositoriesAction
Fields (JSON object)
projectId(fromproject_id)requiredID of the project.
ProjectIdstring
Response QueryProjectRepositoriesOutput
Fields (JSON object)
repositoriesrequiredList of repositories.
array<QueryProjectRepositoriesItem>
Items
QueryProjectRepositoriesItem
Fields (JSON object)
repositoryId(fromrepository_id)requiredID of the repository.
RepositoryIdstringpublicName(frompublic_name)requiredPublic name of the repository.
stringdisplayName(fromdisplay_name)optionalDisplay name of the repository (if any).
string
projects_CreateDeploymentToken
POST/api/v1/actions/invoke/projects_CreateDeploymentTokenCreate a deployment token.
Request CreateDeploymentTokenAction
Fields (JSON object)
projectId(fromproject_id)requiredID of the project.
ProjectIdstringnamerequiredName of the token.
stringflagsoptionalFlags.
DeploymentTokenFlags
Fields (JSON object)
autoAccept(fromauto_accept)optionalWhether to automatically accept new devices.
boolean
Response CreateDeploymentTokenOutput
Fields (JSON object)
tokenId(fromtoken_id)requiredID of the token.
DeploymentTokenIdstringtokenrequiredToken.
DeploymentTokenstring
projects_DeleteDeploymentToken
POST/api/v1/actions/invoke/projects_DeleteDeploymentTokenDelete a deployment token.
Request DeleteDeploymentTokenAction
Fields (JSON object)
tokenId(fromtoken_id)requiredID of the token.
DeploymentTokenIdstring
Response Empty
No fields.
projects_SetDeploymentTokenFlags
POST/api/v1/actions/invoke/projects_SetDeploymentTokenFlagsSet the flags of a deployment token.
Request SetDeploymentTokenFlagsAction
Fields (JSON object)
tokenId(fromtoken_id)requiredID of the token.
DeploymentTokenIdstringflagsrequiredFlags.
DeploymentTokenFlags
Fields (JSON object)
autoAccept(fromauto_accept)optionalWhether to automatically accept new devices.
boolean
Response Empty
No fields.
projects_QueryAuditLog
POST/api/v1/actions/invoke/projects_QueryAuditLogQuery the audit log of the project.
Request QueryAuditLogEventsAction
Fields (JSON object)
projectId(fromproject_id)requiredID of the project.
ProjectIdstring
Response QueryAuditLogEventsOutput
Fields (JSON object)
eventsrequiredList of audit log events.
array<AuditLogEvent>
Items
AuditLogEvent
Fields (JSON object)
eventId(fromevent_id)requiredID of the audit log event.
AuditLogEventIdstringactorrequiredActor causing the event.
Actor
Casesinternally β tag field
actorAnonymousAn anonymous, unauthenticated actor.
{ "actor": "Anonymous", ...<payload fields> } β or "content" for non-object payloadsAnonymousActor
No fields.
SystemThe system itself, typically used for internal actions.
{ "actor": "System", ...<payload fields> } β or "content" for non-object payloadsSystemActor
No fields.
DeviceA device authenticated via a specific deployment token.
{ "actor": "Device", ...<payload fields> } β or "content" for non-object payloadsDeviceActor
Fields (JSON object)
deviceId(fromdevice_id)requiredID of the device.
DeviceIdstringtokenId(fromtoken_id)requiredID of the deployment token used for authentication.
DeploymentTokenIdstring
UserA user typically authenticated via a user session.
{ "actor": "User", ...<payload fields> } β or "content" for non-object payloadsUserActor
Fields (JSON object)
userId(fromuser_id)requiredID of the user.
UserIdstring
UserTokenA user authenticated via a specific token.
{ "actor": "UserToken", ...<payload fields> } β or "content" for non-object payloadsUserTokenActor
Fields (JSON object)
userId(fromuser_id)requiredID of the user.
UserIdstringtokenId(fromtoken_id)requiredID of the user token used for authentication.
UserTokenIdstring
ClusterNodeA cluster node.
{ "actor": "ClusterNode", ...<payload fields> } β or "content" for non-object payloadsClusterNodeActor
Fields (JSON object)
nodeId(fromnode_id)requiredID of the cluster node.
ClusterNodeIdstring
OrganizationApiTokenAn organization API token.
{ "actor": "OrganizationApiToken", ...<payload fields> } β or "content" for non-object payloadsOrganizationApiTokenActor
Fields (JSON object)
organizationId(fromorganization_id)requiredID of the organization.
OrganizationIdstringtokenId(fromtoken_id)requiredID of the API token.
OrganizationApiTokenIdstring
eventrequiredType of the event that was recorded.
stringdatarequiredAdditional audit data associated with the event.
JsonValueanycreatedAt(fromcreated_at)requiredTimestamp indicating when the audit log event was recorded.
TimestampstringactionoptionalAction the event has been caused by (if any).
AuditLogEventAction
Fields (JSON object)
actionId(fromaction_id)requiredID of the action.
AuditLogActionIdstring
joboptionalJob the event has been caused by (if any).
AuditLogEventJob
Fields (JSON object)
jobId(fromjob_id)requiredID of the job.
JobIdstring
projects_LinkRepository
POST/api/v1/actions/invoke/projects_LinkRepositoryAdd a repository to the project.
Request AddProjectRepositoryAction
Fields (JSON object)
projectId(fromproject_id)requiredID of the project.
ProjectIdstringrepositoryId(fromrepository_id)requiredID of the repository.
RepositoryIdstring
Response Empty
No fields.
projects_UnlinkRepository
POST/api/v1/actions/invoke/projects_UnlinkRepositoryRemove a repository from the project.
Request RemoveProjectRepositoryAction
Fields (JSON object)
projectId(fromproject_id)requiredID of the project.
ProjectIdstringrepositoryId(fromrepository_id)requiredID of the repository.
RepositoryIdstring
Response Empty
No fields.
projects_GetOtlpConfig
POST/api/v1/actions/invoke/projects_GetOtlpConfigGet the OTLP event forwarding configuration for a project.
Request GetProjectOtlpConfigAction
Fields (JSON object)
projectId(fromproject_id)requiredID of the project.
ProjectIdstring
Response GetProjectOtlpConfigOutput
Fields (JSON object)
configrequiredOTLP configuration.
ProjectOtlpConfig
Fields (JSON object)
enabledrequiredWhether OTLP forwarding is enabled.
booleanendpointoptionalOTLP endpoint URL (e.g., https://otel-collector.example.com/v1/logs).
stringheadersrequiredHTTP headers to include with OTLP requests (e.g., for authentication). Values are masked when read back.
object<string, string>
Keys
stringValues
string
projects_SetOtlpConfig
POST/api/v1/actions/invoke/projects_SetOtlpConfigSet the OTLP event forwarding configuration for a project.
Request SetProjectOtlpConfigAction
Fields (JSON object)
projectId(fromproject_id)requiredID of the project.
ProjectIdstringconfigrequiredOTLP configuration.
ProjectOtlpConfig
Fields (JSON object)
enabledrequiredWhether OTLP forwarding is enabled.
booleanendpointoptionalOTLP endpoint URL (e.g., https://otel-collector.example.com/v1/logs).
stringheadersrequiredHTTP headers to include with OTLP requests (e.g., for authentication). Values are masked when read back.
object<string, string>
Keys
stringValues
string
Response Empty
No fields.