---
title: "Get template documentation"
method: GET
path: "/ai/templates/{slug}/documentation"
tags: ["AI - Templates"]
---

# Get template documentation

`GET /ai/templates/{slug}/documentation`

Get the documentation for an AI template

## Path parameters

- `slug` string, required — Template slug.

## Response `200`

Successful response

- union — Response body schema.
  - object
    - `errorMessage` string, required — Error message when the request fails.
  - object
    - `reason` 'documentationNotFound', required — Failure reason.

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `404` — Not found
- `500` — Internal server error

---

[API](https://skmtc.net/getcargo/apis/cargo-api.md) · [All operations](https://skmtc.net/getcargo/apis/cargo-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/getcargo/cargo-api/revisions/1d5a19e01d83/schema)
