Get a Brand Skill
curl --request GET \
--url https://www.trybloom.ai/api/v1/brand-skills/{id} \
--header 'x-api-key: <api-key>'const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://www.trybloom.ai/api/v1/brand-skills/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://www.trybloom.ai/api/v1/brand-skills/{id}"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"brandName": "<string>",
"sources": [
{
"kind": "<unknown>",
"url": "<string>"
}
],
"failure": {
"code": "<string>",
"message": "<string>"
},
"download": {
"url": "<string>",
"filename": "<string>",
"byteLength": 4503599627370495
},
"createdAt": "2023-11-07T05:31:56Z",
"completedAt": "2023-11-07T05:31:56Z"
}
}{
"defined": "<unknown>",
"code": "<unknown>",
"status": "<unknown>",
"message": "Invalid or missing API credentials",
"data": "<unknown>"
}{
"defined": "<unknown>",
"code": "<unknown>",
"status": "<unknown>",
"message": "This account has been suspended.",
"data": "<unknown>"
}{
"defined": "<unknown>",
"code": "<unknown>",
"status": "<unknown>",
"message": "Brand Skill not found",
"data": "<unknown>"
}{
"defined": "<unknown>",
"code": "<unknown>",
"status": "<unknown>",
"message": "Rate limit exceeded",
"data": "<unknown>"
}{
"defined": "<unknown>",
"code": "<unknown>",
"status": "<unknown>",
"message": "Failed to retrieve Brand Skill",
"data": "<unknown>"
}Brand Skills
Get a Brand Skill
Return the current creation status. A completed Brand Skill includes a signed ZIP download URL valid for seven days. Poll until completed or failed.
GET
/
brand-skills
/
{id}
Get a Brand Skill
curl --request GET \
--url https://www.trybloom.ai/api/v1/brand-skills/{id} \
--header 'x-api-key: <api-key>'const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://www.trybloom.ai/api/v1/brand-skills/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://www.trybloom.ai/api/v1/brand-skills/{id}"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"brandName": "<string>",
"sources": [
{
"kind": "<unknown>",
"url": "<string>"
}
],
"failure": {
"code": "<string>",
"message": "<string>"
},
"download": {
"url": "<string>",
"filename": "<string>",
"byteLength": 4503599627370495
},
"createdAt": "2023-11-07T05:31:56Z",
"completedAt": "2023-11-07T05:31:56Z"
}
}{
"defined": "<unknown>",
"code": "<unknown>",
"status": "<unknown>",
"message": "Invalid or missing API credentials",
"data": "<unknown>"
}{
"defined": "<unknown>",
"code": "<unknown>",
"status": "<unknown>",
"message": "This account has been suspended.",
"data": "<unknown>"
}{
"defined": "<unknown>",
"code": "<unknown>",
"status": "<unknown>",
"message": "Brand Skill not found",
"data": "<unknown>"
}{
"defined": "<unknown>",
"code": "<unknown>",
"status": "<unknown>",
"message": "Rate limit exceeded",
"data": "<unknown>"
}{
"defined": "<unknown>",
"code": "<unknown>",
"status": "<unknown>",
"message": "Failed to retrieve Brand Skill",
"data": "<unknown>"
}⌘I