Skip to main content

Request

Register a service to identify and group related functions and triggers under a named service.

Response

This message typically does not have a dedicated response. The service registration is acknowledged by the framework and the service becomes available for function and trigger registration.

Examples

Basic Service Registration

Service with Description

Microservice Registration

Error Cases

Duplicate Service ID

Attempting to register a service with an ID that’s already registered will fail. Unregister the existing service first or use a different ID.

Invalid Service ID Format

Service IDs should follow naming conventions (typically alphanumeric with dots or underscores).

Notes

  • Service IDs must be unique within a worker session
  • Services provide logical grouping and organization for functions and triggers
  • The description field is optional and omitted from serialization when not provided
  • Registering a service does not automatically register any functions or triggers
  • Functions and triggers can reference the service ID in their metadata
  • Services help organize and manage related functionality in distributed systems