- 2 minutes to read

Web API Scenarios

These scenarios show how to call the Nodinite Web API for automation from your own scripts, services, scheduled jobs, and CI/CD pipelines. Pick the one that matches the authentication mode of your environment.

Log View Contoso: Orders, Copy API URL showing the Web API call api/Search/FlowSearch with logViewId and searchJson, then Scalar for the Web API: Test Request, the copied values pasted, Send, and 200 OK with the same events as JSON, animated walkthrough (7.12)
Animated walkthrough: in the Log View Contoso: Orders, Copy API URL gives the Web API call behind the search on screen, api/Search/FlowSearch with logViewId and searchJson. Pasted into Test Request in Scalar and sent, it returns 200 OK and the same events as JSON, ready for a script or a reporting tool.

Available Scenarios

Scenario Authentication mode What it solves
Call the Web API with OAuth 2.0 Client Credentials OpenID Connect / OAuth 2.0 A script or service calls the Web API without a signed-in user. Register a client in Entra ID, give it a least-privilege Nodinite Role, and send a bearer token. Examples in curl, PowerShell, C#, Python, and Node.js
Call the Web API with Windows Authentication Windows Authentication A script runs as a Windows user or service account, with no token. Examples in PowerShell, Python, C#, and Node.js

Tip

A quick start for a script: run the search you need in a Log View and use Copy API URL. It gives the exact Web API call for the search on screen, which you can try in Scalar before you put it in code.

Tip

Not sure the Web API is the right tool? Scripts and pipelines need the deterministic Web API. To explore your integration landscape with natural-language questions, connect an AI tool to the MCP Endpoint instead. See Web API or MCP Endpoint?.

Next Steps