Skip to main content
post/v1/agents
Request example
Response
post/v1/agents

Authorization

Authorizationstringheaderrequired#
API key authentication. Allowed headers-- "Authorization: ApiKey <novu_secret_key>".

Headers

Novu-Analytics-Sourcestringrequired#
idempotency-keystring#
A header for idempotency purposes

Body

application/json
namestringrequired#
Required when not adopting an existing managed agent (i.e. when managedRuntime.externalAgentId is absent). Optional in adopt mode where the name is resolved from the provider.

Length: max 60

identifierstringrequired#
Required when not adopting an existing managed agent. Auto-generated from the provider agent name when omitted in adopt mode.
descriptionstring#
activeboolean#

Default: true

runtimeenum<string>#
Options:self-hostedmanaged
managedRuntimeobject#

Responses

application/json
Created
_idstringrequired#
namestringrequired#
identifierstringrequired#
descriptionstring#
behaviorobjectrequired#
activebooleanrequired#
bridgeUrlstring#
Production bridge URL
devBridgeUrlstring#
Development bridge URL (set by npx novu dev)
devBridgeActiveboolean#
Whether the dev bridge override is active
runtimeenum<string>#
Whether the agent brain is self-hosted (bridge) or managed by a third-party provider
Options:self-hostedmanaged
visibilityenum<string>#
Discovery scope of the agent. Always public today; reserved for the upcoming private-agents feature.
Options:publicprivate
managedRuntimeobject#
Present when runtime is "managed". Contains provider and external identifiers.
_environmentIdstringrequired#
_organizationIdstringrequired#
createdBystring#
Mongo user id of the user who created the agent
createdAtstringrequired#
updatedAtstringrequired#
integrationsobject[]#
exceedsPlanLimitboolean#
Cloud only. true when the agent falls outside the organization plan agent limit (by creation order among active agents — inactive agents do not consume slots). Only plan limits produce this flag — system-capped organizations (enterprise/unlimited tiers) are never over-limit. Over-limit agents are still stored but will not respond to inbound messages until the plan is upgraded or older agents are deactivated.