Get brand AI specifications
curl --request GET \
--url https://app.alana.shopping/api/workspace/{workspaceId}/brands/{brandId}/ai-specs \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.alana.shopping/api/workspace/{workspaceId}/brands/{brandId}/ai-specs"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.alana.shopping/api/workspace/{workspaceId}/brands/{brandId}/ai-specs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.alana.shopping/api/workspace/{workspaceId}/brands/{brandId}/ai-specs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.alana.shopping/api/workspace/{workspaceId}/brands/{brandId}/ai-specs"
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(string(body))
}HttpResponse<String> response = Unirest.get("https://app.alana.shopping/api/workspace/{workspaceId}/brands/{brandId}/ai-specs")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.alana.shopping/api/workspace/{workspaceId}/brands/{brandId}/ai-specs")
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{
"id": "specs_1a2b3c",
"brand_id": "brand_1a2b3c",
"tone_of_voice": "Professional yet approachable",
"brand_objective": "Empower businesses with premium tools",
"target_audience": "B2B SaaS companies with 50-500 employees",
"content_policies": "No clickbait, avoid superlatives",
"language_preferences": "US English",
"keywords_always": [
"premium",
"efficiency"
],
"keywords_never": [
"cheap",
"discount"
],
"custom_instructions": "Always emphasize ROI and productivity",
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-02-10T14:22:00Z"
}{
"error": "UNAUTHORIZED",
"details": {
"message": "Missing or invalid authentication token"
}
}{
"error": "FORBIDDEN",
"details": {
"message": "User does not have permission to access this resource"
}
}{
"error": "NOT_FOUND",
"details": {
"message": "Resource not found"
}
}{
"error": "INTERNAL_SERVER_ERROR",
"details": {
"message": "An unexpected error occurred"
}
}Obter Especificações de IA
Retrieve AI guidelines and tone of voice for a brand
GET
/
api
/
workspace
/
{workspaceId}
/
brands
/
{brandId}
/
ai-specs
Get brand AI specifications
curl --request GET \
--url https://app.alana.shopping/api/workspace/{workspaceId}/brands/{brandId}/ai-specs \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.alana.shopping/api/workspace/{workspaceId}/brands/{brandId}/ai-specs"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.alana.shopping/api/workspace/{workspaceId}/brands/{brandId}/ai-specs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.alana.shopping/api/workspace/{workspaceId}/brands/{brandId}/ai-specs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.alana.shopping/api/workspace/{workspaceId}/brands/{brandId}/ai-specs"
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(string(body))
}HttpResponse<String> response = Unirest.get("https://app.alana.shopping/api/workspace/{workspaceId}/brands/{brandId}/ai-specs")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.alana.shopping/api/workspace/{workspaceId}/brands/{brandId}/ai-specs")
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{
"id": "specs_1a2b3c",
"brand_id": "brand_1a2b3c",
"tone_of_voice": "Professional yet approachable",
"brand_objective": "Empower businesses with premium tools",
"target_audience": "B2B SaaS companies with 50-500 employees",
"content_policies": "No clickbait, avoid superlatives",
"language_preferences": "US English",
"keywords_always": [
"premium",
"efficiency"
],
"keywords_never": [
"cheap",
"discount"
],
"custom_instructions": "Always emphasize ROI and productivity",
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-02-10T14:22:00Z"
}{
"error": "UNAUTHORIZED",
"details": {
"message": "Missing or invalid authentication token"
}
}{
"error": "FORBIDDEN",
"details": {
"message": "User does not have permission to access this resource"
}
}{
"error": "NOT_FOUND",
"details": {
"message": "Resource not found"
}
}{
"error": "INTERNAL_SERVER_ERROR",
"details": {
"message": "An unexpected error occurred"
}
}Autorizações
Bearer token authentication via Auth0. Users authenticate through Auth0 Universal Login. Include the access token in the Authorization header: Authorization: Bearer <token>
Parâmetros de caminho
The workspace ID
Pattern:
^ws_[a-z0-9]+$Resposta
Brand AI specifications retrieved successfully
Visual aesthetic style (e.g. minimalist, lifestyle, editorial, studio). Migrated from workspaces.brand_style_profile.
Maximum string length:
50Brand hex color codes. Max 10 items.
Maximum array length:
10Pattern:
^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$Default AI generation quality tier.
Opções disponíveis:
economic, balanced, high, null Última modificação em 16 de fevereiro de 2026
⌘I