Skip to main content

API Integration

Get the service URL, OpenAPI contract, and authorization requirements from your deployment administrator. The model gateway, portal, and assistant service have separate access rules.

To call a running CSGClaw Agent from a third-party application, see the third-party client integration guide.

The local CSGBot source provides GET /api/v1/csgbot/models and POST /api/v1/csgbot/deepsearch. Deep search returns SSE. Confirm that the target deployment exposes the route before using it.

{
"request_id": "agentichub-example-001",
"query": "Find common fields for a project status report"
}

Follow the target OpenAPI contract for headers and authentication. Handle response events, heartbeats, and the local deep-search completion marker [DONE]. Record the request ID and response when testing timeouts or authorization failures. Use the target deployment's documented public integration endpoints.