Skip to navigation

Get a service

Returns the details of a service, including its input form.

Authentication

AuthorizationBasic

Basic authentication of the form Basic <base64(username:password)>.

Path parameters

serviceIdstringRequired

The service’s unique identifier (services._id), a UUIDv7.

Response

result
serviceIdstring
namestring
descriptionstring
triggerSetEnabledboolean
Master switch that determines whether the trigger and any services associated with it can fire. When false, they cannot fire, regardless of each Trigger's own state.
formobject
defaultInputsobject

The values saved on the service’s manual trigger to pre-fill form, kept only for the fields form still declares. {} when the trigger saved none, is not a manual one, or when form is empty (formSource is none).

lastRequestedAtstringOptional
formSourceenumOptional

Where form came from. json_form: the trigger’s named form, for any asset type. agent_inputs: the input schema of the agent the service runs, when the trigger has no named form. resource_action_inputs: the input schema of the resource model action the service runs, when the trigger has no named form. none: form is the empty fallback because there is nothing to fill out or its source could not be read (see formFailure).

Allowed values:
formFailureobjectOptional
Present when the form could not be loaded. Says which form or asset, and why.

Errors

500
Internal Server Error