OJAS 4D guide

Integrations

Connect a company workflow or an agent to OJAS 4D with account-bound access.

Choose the connection your team needs

OJAS 4D exposes an authenticated API for application workflows and an MCP connection for agents. Both work with the flights and sites available to the connected account. Include the connection you need when you request a company demo so we can agree access and test the workflow during your pilot.

An integration can read flight information, inspect available data and request supported measurements. The agent asks the measurement engine for a result; it should preserve the returned units, assumptions and refusal reasons when explaining it.

Connecting a tool does not validate a survey. Apply the same measurement checks you would use in the workspace.

Create and protect an access token

When agent access is enabled for your account, open Settings and find Agent access. Create a named token for the connection. Copy it when it appears; the workspace only shows the full token once.

  • Keep the token in your server’s secret store or the trusted agent client’s credential settings.
  • Do not put it in a public website, source repository, screenshot or shared conversation.
  • Give each connection a recognisable name so you can identify it in Settings.
  • Revoke a token when a connection is no longer needed or if the token has been exposed.

Treat it as access to your account’s data and supported actions. Hosted tools can save measurements as well as read them. The current setup does not offer a separate read-only permission switch for each token.

Connect an agent through MCP

Use an MCP client that supports a remote HTTP server and an Authorization header. The hosted endpoint is https://ojas4d.com/mcp. Supply your token as Authorization: Bearer YOUR_TOKEN through the client’s credential settings. Client configuration formats vary.

The hosted tools cover sites, flights, flight history, comparisons, analysis, supported measurements and saved measurements. Availability still depends on the account and the data produced for a flight.

The hosted connection does not read folders on your computer or download files onto it. Those operations belong to the local MCP server. Ask us about that setup if your workflow needs local uploads or downloads.

Begin with a read task, such as listing the flights for a known site. Check the result against the workspace before enabling a workflow that saves measurements.

Use the authenticated API

For a server-side integration, send the bearer token to the processing API at https://dronegrid.celesticlabs.org. The public website’s /api/ routes serve the browser session and do not forward bearer tokens. Use the API origin for token-authenticated calls.

These are existing read endpoints:

  • GET /api/sites lists sites for the account.
  • GET /api/jobs lists flights.
  • GET /api/jobs/{id} returns one flight.
  • GET /api/jobs/{id}/workspace describes its available outputs and tools.
  • GET /api/jobs/{id}/analysis returns available analysis.
  • GET /api/jobs/{id}/annotations lists saved measurements and markers.

Supply an actual flight ID from the account. For upload and measurement writes, agree the request schema with us and test it against your pilot data before connecting a production workflow. An internal asset path is not a download URL.

Handle results and failures

Keep the response’s units, coverage limitations and uncertainty with a measurement. A 422 response can mean the engine refused to measure because the data could not support the request. Show the reason to the operator; do not substitute a number.

For volume responses, use above_base_m3 and below_base_m3 to describe material relative to the base. The legacy fill_m3 and cut_m3 fields use the opposite labels to the workspace. Preserve the physical meaning when mapping a response into your own application.

  • For 401, check the token and whether it has been revoked.
  • For 429, respect the retry delay and reduce request frequency.
  • Check flight and output states before asking for analysis or a download.
  • Display processing estimates as estimates.
  • Test revoked access, missing outputs and refused measurements before relying on the integration.

For the first pilot, keep an operator in the review loop and compare the integration’s results with the same flight in the workspace. Agree any additional connector, automation or deployment requirement as part of the company’s scope.

Need a hand?

Bring your data requirements and questions to a demo with our team.

Request a demo