Skip to main content
GET
/
integration
/
custom-instructions
/
suggestions
curl -X GET "https://api-integration.ollang.com/integration/custom-instructions/suggestions" \
  -H "X-Api-Key: <your-api-key>"
const response = await fetch(
  "https://api-integration.ollang.com/integration/custom-instructions/suggestions",
  {
    method: "GET",
    headers: {
      "X-Api-Key": "<your-api-key>",
    },
  }
);

const suggestions = await response.json();
import requests

headers = {"X-Api-Key": "<your-api-key>"}

response = requests.get(
    "https://api-integration.ollang.com/integration/custom-instructions/suggestions",
    headers=headers,
)

suggestions = response.json()
[
  {
    "key": "tone_and_register",
    "value": "Match the formality level of the source. Business emails should remain professional.",
    "description": "Instructions for maintaining appropriate tone and register",
    "active": true
  }
]
{
  "error": "Unauthorized",
  "message": "Invalid or missing API key"
}
Returns a curated list of suggested custom instructions (templates). Use these as starting points when creating your own via Create Custom Instruction.
curl -X GET "https://api-integration.ollang.com/integration/custom-instructions/suggestions" \
  -H "X-Api-Key: <your-api-key>"
const response = await fetch(
  "https://api-integration.ollang.com/integration/custom-instructions/suggestions",
  {
    method: "GET",
    headers: {
      "X-Api-Key": "<your-api-key>",
    },
  }
);

const suggestions = await response.json();
import requests

headers = {"X-Api-Key": "<your-api-key>"}

response = requests.get(
    "https://api-integration.ollang.com/integration/custom-instructions/suggestions",
    headers=headers,
)

suggestions = response.json()

Authorizations

This endpoint requires API key authentication.

Response

Each suggestion includes key, value, optional description, and active (template default).
key
string
Suggested instruction key.
value
string
Suggested instruction body text.
description
string
Optional explanation of the suggestion.
active
boolean
Whether the template is marked active by default.
[
  {
    "key": "tone_and_register",
    "value": "Match the formality level of the source. Business emails should remain professional.",
    "description": "Instructions for maintaining appropriate tone and register",
    "active": true
  }
]
{
  "error": "Unauthorized",
  "message": "Invalid or missing API key"
}