> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://ops-apidoc.hugin.co/llms.txt.
> For full documentation content, see https://ops-apidoc.hugin.co/llms-full.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://ops-apidoc.hugin.co/_mcp/server.

# API Info

GET https://ops.hugin.co/

Public endpoint that returns API or service metadata.

Reference: https://ops-apidoc.hugin.co/hugin-ops-api/service/api-info

## OpenAPI Specification

```yaml
openapi: 3.1.0
info:
  title: HuginOps API
  version: 1.0.0
paths:
  /:
    get:
      operationId: api-info
      summary: API Info
      description: Public endpoint that returns API or service metadata.
      tags:
        - subpackage_service
      parameters:
        - name: Authorization
          in: header
          description: Bearer authentication
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Service_API Info_Response_200'
servers:
  - url: https://ops.hugin.co
    description: https://ops.hugin.co
components:
  schemas:
    GetResponsesContentApplicationJsonSchemaEndpoints:
      type: object
      properties:
        health:
          type: string
        api_docs:
          type: string
        leads:
          type: string
        cases:
          type: string
        terminals:
          type: string
        merchants:
          type: string
      required:
        - health
        - api_docs
        - leads
        - cases
        - terminals
        - merchants
      title: GetResponsesContentApplicationJsonSchemaEndpoints
    Service_API Info_Response_200:
      type: object
      properties:
        service:
          type: string
        version:
          type: string
        api_version:
          type: string
        endpoints:
          $ref: >-
            #/components/schemas/GetResponsesContentApplicationJsonSchemaEndpoints
      required:
        - service
        - version
        - api_version
        - endpoints
      title: Service_API Info_Response_200
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

```

## Examples



**Response**

```json
{
  "service": "HuginOps",
  "version": "1.0.0",
  "api_version": "v1",
  "endpoints": {
    "health": "/health",
    "api_docs": "/api/v1/docs",
    "leads": "/api/v1/leads",
    "cases": "/api/v1/cases",
    "terminals": "/api/v1/terminals",
    "merchants": "/api/v1/merchants"
  }
}
```

**SDK Code**

```python Service_API Info_example
import requests

url = "https://ops.hugin.co/"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript Service_API Info_example
const url = 'https://ops.hugin.co/';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Service_API Info_example
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://ops.hugin.co/"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Service_API Info_example
require 'uri'
require 'net/http'

url = URI("https://ops.hugin.co/")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java Service_API Info_example
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://ops.hugin.co/")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php Service_API Info_example
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://ops.hugin.co/', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp Service_API Info_example
using RestSharp;

var client = new RestClient("https://ops.hugin.co/");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift Service_API Info_example
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://ops.hugin.co/")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```