Agent-readable docs index: /llms.txt. Full docs in one file: /llms-full.txt. Download /docs.zip to grep all markdown files locally.

Neo Agent

Neo Agent connects Yapr to your Neo Agent workflows, execution traces and artifacts, integrations, PSA callbacks, RMM script executions, scheduled work, technician-in-the-loop (TIL) approval requests, billing usage, and performance reports for a single Neo Agent tenant.
See the Neo Agent tools and API reference to match any Yapr neo_agent_* tool to its Neo Agent Public API endpoint, access level, and confirmation requirement.

How authentication works

Neo Agent uses an Organization connection in Yapr. A workspace owner or admin sets up the shared connection once; if you use managed customer workspaces, start in your managing workspace.
Yapr sends requests to https://api.neoagent.io/public-api using your saved API access token in the Authorization: Bearer header. Every call is scoped to the Neo Agent tenant associated with that token—AI client arguments cannot target another tenant or override the acting user on TIL decisions.

Prepare Neo Agent

Create a dedicated, tenant-scoped Neo Agent service-account API key before connecting in Yapr.
  1. Confirm Neo Agent administrator access
    Sign in to Neo Agent with an administrator account that can create service-account API keys for your tenant.
  2. Create a tenant-scoped API access token
    Neo Agent’s Public API accepts either a tenant-scoped Neo service-account API key or a Microsoft Entra access token (see the Neo Agent API reference).
    Create a dedicated tenant-scoped service-account API key for Yapr rather than a short-lived Entra access token—Yapr does not automatically refresh saved Neo Agent tokens.
    Copy the token securely into a password manager and keep it out of chat messages or tickets. Because Yapr includes operational write and cancellation tools for Neo Agent, restrict tool access in Yapr before sharing the connection with your team.

Connect in Yapr

  1. Save the Neo Agent connection
    1. Open Apps → Neo Agent in Yapr and select Add connection.
    2. Paste only the raw token into API access token (without a Bearer prefix).
    3. Select Connect.
    Yapr saves the connection as Configured and checks the token with Neo Agent on the first real tool call.
  2. Verify with a read-only call
    1. Open Tools & access and assign a read-only tool such as neo_agent_list_agents or neo_agent_list_integrations.
    2. From a connected AI client, list agents (neo_agent_list_agents) or recent executions (neo_agent_list_executions with page_size: 5), then confirm the call succeeded in Audit.

Rotate credentials

  1. Create a replacement service-account API key in Neo Agent for the same tenant.
  2. Open Apps → Neo Agent → Manage connection in Yapr, paste the new API access token, and select Save changes.
  3. Run a small read call (such as neo_agent_list_agents) and confirm it succeeds in Audit before revoking the previous key in Neo Agent.

Permissions, confirmations, and access controls

  • Access controls: Connecting Neo Agent does not grant every member every tool. Workspace owners and admins control which groups and users can run each Neo Agent tool in Tools & access and App limits. See Understand access.
  • Confirmations: Of the 34 Neo Agent tools, 26 are read-only, 5 are write operations, and 3 are destructive operations:
    • Explicit Yapr confirmation required (3 destructive tools): neo_agent_cancel_execution, neo_agent_cancel_scheduled_work, and neo_agent_reject_til_request require explicit Yapr confirmation even after approval in your AI client.
    • Write tools (5 tools): neo_agent_run_agent, neo_agent_retry_execution, neo_agent_create_scheduled_work, neo_agent_update_scheduled_work, and neo_agent_approve_til_request run after approval in an interactive AI client. Unattended calls require confirmation for every write and destructive tool, and workspace policy can require confirmation on additional actions.
  • Tenant scoping: TIL decision tools (neo_agent_approve_til_request and neo_agent_reject_til_request) do not accept cross-tenant or acting-user overrides; actions always run under the connected tenant credential.

What your AI client can work with

Yapr’s Neo Agent app provides 34 tools (26 reads, 5 writes, and 3 destructive operations):
AreaExamples
Agents and versionsList agents (neo_agent_list_agents), inspect an agent (neo_agent_get_agent), view stats (neo_agent_get_agent_stats) and version history (neo_agent_list_agent_versions), and run an agent immediately (neo_agent_run_agent)
Executions and tracesList and inspect executions (neo_agent_list_executions, neo_agent_get_execution), view ordered execution steps, artifacts, PSA field-update audits, and execution TIL requests, retry an execution (neo_agent_retry_execution), or cancel a running execution (neo_agent_cancel_execution)
Integrations, callbacks, and RMM scriptsList connected integrations (neo_agent_list_integrations), inspect PSA callbacks (neo_agent_list_callbacks), and list or inspect RMM script executions (neo_agent_list_rmm_script_executions, neo_agent_get_rmm_script_execution)
Scheduled workList and inspect scheduled work (neo_agent_list_scheduled_work, neo_agent_get_scheduled_work), schedule new work (neo_agent_create_scheduled_work), reschedule or update instructions (neo_agent_update_scheduled_work), and cancel pending work (neo_agent_cancel_scheduled_work)
Technician-in-the-loop (TIL) approvalsList and inspect TIL requests (neo_agent_list_til_requests, neo_agent_get_til_request), list available approvers (neo_agent_list_til_approvers), and approve or reject a request (neo_agent_approve_til_request, neo_agent_reject_til_request)
Billing and performance analyticsInspect subscription state (neo_agent_get_billing_subscription), monthly credit usage overall and by agent (neo_agent_get_billing_usage, neo_agent_get_billing_usage_by_agent), and performance summary, timeline, per-workflow metrics, and PSA ticket coverage

Pagination, date windows, and update rules

  • Pagination: List endpoints accept page_size from 1 to 200. Execution, RMM script execution, and TIL request lists paginate with cursor; neo_agent_list_scheduled_work paginates with a positive page number.
  • Billing and performance dates: Billing usage tools accept month in YYYY-MM format. Performance report tools require ISO 8601 from and to timestamps with a timezone offset (and optionally autonomy_type: AGENTIC, CHAINED_ACTIONS, or CONVERSATIONAL; timeline and ticket-coverage reports also accept bucket: day, week, or month).
  • Updating scheduled work: neo_agent_update_scheduled_work requires at least one of scheduled_for or additional_custom_instructions.
Neo Agent tools and API reference
Search all 34 Neo Agent tools and match each one to its Neo Agent Public API endpoint, access level, and confirmation requirement.

Troubleshooting

Missing API access token or insufficient workspace role
Missing required field: API access token or Only owners and admins can configure org-level services
Cause: The API access token field was left blank, or a non-admin member attempted to configure the shared organization connection.
Fix: Have a workspace owner or admin open Apps → Neo Agent, paste the token into API access token, and save.
Neo Agent returns 401 Unauthorized
Cause: The API access token is invalid, revoked, or expired (for example, if a short-lived Microsoft Entra access token was pasted instead of a service-account API key), or it was pasted with a leading Bearer prefix.
Fix: Generate a tenant-scoped Neo Agent service-account API key, paste only the raw token without Bearer in Apps → Neo Agent → Manage connection, select Save changes, and test neo_agent_list_agents.
Neo Agent returns 403 Forbidden on specific tools
Cause: The token lacks permission in Neo Agent for the requested endpoint (such as billing, RMM script executions, or TIL decisions).
Fix: Check the permissions assigned to the service-account API key in Neo Agent, or restrict the workspace’s Tools & access rules to the read-only tools your key can call.
Date, month, or scheduled-work inputs fail validation
Cause: A timestamp (from, to, since, until, scheduled_for, created_after, or created_before) is missing a timezone offset, month is not formatted as YYYY-MM, page_size exceeds 200, or neo_agent_update_scheduled_work was called with neither scheduled_for nor additional_custom_instructions.
Fix: Pass ISO 8601 timestamps with a timezone offset (for example, 2026-07-17T00:00:00Z), format billing months as YYYY-MM, keep page_size at 200 or lower, and provide at least one field to update.
Action asks for confirmation or teammates cannot see tools
Cause: neo_agent_cancel_execution, neo_agent_cancel_scheduled_work, and neo_agent_reject_til_request require explicit Yapr confirmation, or workspace members have not yet been assigned Neo Agent tools in Tools & access.
Fix: Review the exact target before approving any confirmation prompt, and open Tools & access to assign the appropriate Neo Agent tools to groups or users. See Understand access.