# Report which engines this server has and what its limits are

> Every external program, whether it was resolved at startup and the version it reported, plus the registered tools and the numbers this server enforces. An engine the image does not carry hides its tools, and this is where that is visible.

Source: https://tools.vukem.dev/docs/api/capabilities.show/

## Authentication

Send your API key as `Authorization: Bearer <key>`. The `X-API-Key` header works too, and `Authorization` wins when both are present. Any valid key works: no ability is needed.

## Responses

### 200 OK

Content type `application/json`. Schema: [`CapabilitiesView`](/docs/api/schemas#capabilitiesview).

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `engines` | array of [`EngineView`](/docs/api/schemas#engineview) | - | Every external program, and whether this server has it |
| `limits` | [`LimitsView`](/docs/api/schemas#limitsview) | - | The numbers this server enforces |
| `tools` | array of `string` | - | Every tool that can be submitted |

### 401 Unauthorized

Content type `application/problem+json`. Error (RFC 9457 problem details). Schema: [`Problem`](/docs/api/schemas#problem).

The error follows RFC 9457. See [Errors](/docs/api/overview#errors).

### Any other status

Content type `application/problem+json`. Error (RFC 9457 problem details). Schema: [`Problem`](/docs/api/schemas#problem).

The error follows RFC 9457. See [Errors](/docs/api/overview#errors).

```bash
curl -X GET "http://localhost:3000/api/v1/capabilities" \
  -H "Authorization: Bearer $VUKEM_TOOLS_API_KEY"
```

```python
import os

import requests

response = requests.get(
    "http://localhost:3000/api/v1/capabilities",
    headers={"Authorization": f"Bearer {os.environ['VUKEM_TOOLS_API_KEY']}"},
    timeout=30,
)
response.raise_for_status()
print(response.json())
```

```javascript
const response = await fetch("http://localhost:3000/api/v1/capabilities", {
  method: "GET",
  headers: {
    Authorization: `Bearer ${process.env.VUKEM_TOOLS_API_KEY}`,
  },
});
if (!response.ok) throw new Error(`${response.status} ${await response.text()}`);
console.log(await response.json());
```

```go
package main

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

func main() {
	req, err := http.NewRequest("GET", "http://localhost:3000/api/v1/capabilities", nil)
	if err != nil {
		panic(err)
	}
	req.Header.Set("Authorization", "Bearer "+os.Getenv("VUKEM_TOOLS_API_KEY"))

	res, err := http.DefaultClient.Do(req)
	if err != nil {
		panic(err)
	}
	defer res.Body.Close()

	out, err := io.ReadAll(res.Body)
	if err != nil {
		panic(err)
	}
	fmt.Println(res.Status, string(out))
}
```

```php
<?php

$ch = curl_init("http://localhost:3000/api/v1/capabilities");
curl_setopt_array($ch, [
    CURLOPT_CUSTOMREQUEST => "GET",
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER => [
        "Authorization: Bearer " . getenv("VUKEM_TOOLS_API_KEY"),
    ],
]);

$response = curl_exec($ch);
if ($response === false) {
    throw new RuntimeException(curl_error($ch));
}
echo curl_getinfo($ch, CURLINFO_HTTP_CODE), " ", $response, PHP_EOL;
```

```java
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;

public class Example {
    public static void main(String[] args) throws Exception {
        HttpRequest request = HttpRequest.newBuilder()
            .uri(URI.create("http://localhost:3000/api/v1/capabilities"))
            .header("Authorization", "Bearer " + System.getenv("VUKEM_TOOLS_API_KEY"))
            .GET()
            .build();

        HttpResponse<String> response = HttpClient.newHttpClient()
            .send(request, HttpResponse.BodyHandlers.ofString());
        System.out.println(response.statusCode() + " " + response.body());
    }
}
```

```csharp
using System;
using System.Net.Http;
using System.Net.Http.Headers;

using var client = new HttpClient();
using var request = new HttpRequestMessage(
    HttpMethod.Get, "http://localhost:3000/api/v1/capabilities");
request.Headers.Authorization = new AuthenticationHeaderValue(
    "Bearer", Environment.GetEnvironmentVariable("VUKEM_TOOLS_API_KEY"));

using var response = await client.SendAsync(request);
Console.WriteLine($"{(int)response.StatusCode} {await response.Content.ReadAsStringAsync()}");
```

```ruby
require "net/http"
require "uri"

uri = URI("http://localhost:3000/api/v1/capabilities")
request = Net::HTTP::Get.new(uri)
request["Authorization"] = "Bearer #{ENV.fetch('VUKEM_TOOLS_API_KEY')}"

response = Net::HTTP.start(uri.hostname, uri.port, use_ssl: uri.scheme == "https") do |http|
  http.request(request)
end
puts "#{response.code} #{response.body}"
```

**Response examples**

```json
{
  "engines": [
    {
      "name": "yt-dlp",
      "present": true,
      "version": "2026.08.19"
    },
    {
      "name": "ffmpeg",
      "present": true,
      "version": "ffmpeg version 7.1.5-0+deb13u1 Copyright (c) 2000-2026 the FFmpeg developers"
    },
    {
      "name": "ffprobe",
      "present": true,
      "version": "ffprobe version 7.1.5-0+deb13u1 Copyright (c) 2007-2026 the FFmpeg developers"
    },
    {
      "name": "gs",
      "present": true,
      "version": "10.05.1"
    }
  ],
  "limits": {
    "max_clip_seconds": 60,
    "max_clips": 60,
    "max_download_bytes": 524288000,
    "max_output_seconds": 1800
  },
  "tools": [
    "pixels-to-svg",
    "video-clip",
    "video-compress",
    "video-download"
  ]
}
```

```json
{
  "detail": "This action requires authentication.",
  "instance": "/api/v1/me",
  "request_id": "01JQZ8R4T6WQ2N9K3V5Y7B0C1D",
  "status": 401,
  "title": "Unauthorized",
  "type": "about:blank"
}
```

The examples are built from the schemas, so every value is a placeholder of its type. The tables above hold the fields that carry the real values.
