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"
}
Ollang API Reference
Get Custom Instruction Suggestions
Retrieve suggested preset custom instructions you can adopt or adapt
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.- Header name:
X-Api-Key - Header value: Your API key from the Ollang dashboard
Response
Each suggestion includes key, value, optional description, andactive (template default).
string
Suggested instruction key.
string
Suggested instruction body text.
string
Optional explanation of the suggestion.
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"
}
Was this page helpful?