Agent Builder
Generate Agent Objectives
Generate Agent Objectives with the DialNexa API. Drafts call objectives from your company and customer context without changing an agent.
POST
Generate Agent Objectives
Read only
Generate Agent Objectives uses your workspace API key. Drafts call objectives from your company and customer context without changing an agent.
Before you begin
Use a server-side API key for the intended workspace.Generate Agent Objectives request
The request panel lists supported query parameters and body fields. For a request body, the example below supplies the required fields. Replace sample values with your own inputs.Verify the result
Expect HTTP201. Read the data property in the success envelope; the response panel documents its fields.
This operation also accepts the matching /v1/assistant path. The request and result contracts are shared. Use one path consistently for your integration.
Retry safety
This operation does not modify workspace resources. Retry after a transient connection failure.Errors and recovery
401: Missing, expired, or invalid API key.
Related endpoints
- Get Agent Builder Inventory
- Build Agent Configuration
- Stream Agent Build
- Generate Agent Tone
- API authentication
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Company name and what the business offers
Example:
"Acme Corp - B2B payroll software for mid-market HR teams."
Who the agent will speak with
Example:
"HR directors at 200-2,000 employee companies evaluating payroll vendors."
Primary outcome the agent should achieve on each call
Example:
"Book demos and answer pricing and onboarding questions."