Read Saved Creative Generation Request
curl --request GET \
--url https://app.bily.ai/api/customer/v1/creative-intelligence/{storeUrl}/generation-requests/{requestId} \
--header 'x-api-key: <api-key>'const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://app.bily.ai/api/customer/v1/creative-intelligence/{storeUrl}/generation-requests/{requestId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.bily.ai/api/customer/v1/creative-intelligence/{storeUrl}/generation-requests/{requestId}"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"storeUrl": "store.example.com",
"request": {
"protocol": "creative-generation-request-v1",
"id": "request-example",
"status": "queued",
"phase": "awaiting_dispatch",
"generationId": null,
"sourceIntelligenceId": "analysis-example",
"quality": "draft",
"aspectRatio": "1:1",
"saveToLibrary": false,
"pinnedAt": null,
"createdAt": 1800000000,
"updatedAt": 1800000000,
"expiresAt": 1800172800,
"lastError": null
}
}{
"error": "Store not found",
"requestId": "<string>",
"details": "<unknown>",
"retryAfter": "<string>"
}{
"error": "Store not found",
"requestId": "<string>",
"details": "<unknown>",
"retryAfter": "<string>"
}{
"error": "Store not found",
"requestId": "<string>",
"details": "<unknown>",
"retryAfter": "<string>"
}{
"error": "Store not found",
"requestId": "<string>",
"details": "<unknown>",
"retryAfter": "<string>"
}{
"error": "Store not found",
"requestId": "<string>",
"details": "<unknown>",
"retryAfter": "<string>"
}{
"error": "Store not found",
"requestId": "<string>",
"details": "<unknown>",
"retryAfter": "<string>"
}{
"error": "Store not found",
"requestId": "<string>",
"details": "<unknown>",
"retryAfter": "<string>"
}{
"error": "Store not found",
"requestId": "<string>",
"details": "<unknown>",
"retryAfter": "<string>"
}{
"error": "Store not found",
"requestId": "<string>",
"details": "<unknown>",
"retryAfter": "<string>"
}{
"error": "Store not found",
"requestId": "<string>",
"details": "<unknown>",
"retryAfter": "<string>"
}Creative library
Read Saved Creative Generation Request
Pending release; not a deployed-availability claim. Read the same actor-owned saved request without dispatching work. Fresh-admission disable or prefix rotation does not authorize replacing this request. Only ready with its linked ready media confirms success.
GET
/
creative-intelligence
/
{storeUrl}
/
generation-requests
/
{requestId}
Read Saved Creative Generation Request
curl --request GET \
--url https://app.bily.ai/api/customer/v1/creative-intelligence/{storeUrl}/generation-requests/{requestId} \
--header 'x-api-key: <api-key>'const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://app.bily.ai/api/customer/v1/creative-intelligence/{storeUrl}/generation-requests/{requestId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.bily.ai/api/customer/v1/creative-intelligence/{storeUrl}/generation-requests/{requestId}"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"storeUrl": "store.example.com",
"request": {
"protocol": "creative-generation-request-v1",
"id": "request-example",
"status": "queued",
"phase": "awaiting_dispatch",
"generationId": null,
"sourceIntelligenceId": "analysis-example",
"quality": "draft",
"aspectRatio": "1:1",
"saveToLibrary": false,
"pinnedAt": null,
"createdAt": 1800000000,
"updatedAt": 1800000000,
"expiresAt": 1800172800,
"lastError": null
}
}{
"error": "Store not found",
"requestId": "<string>",
"details": "<unknown>",
"retryAfter": "<string>"
}{
"error": "Store not found",
"requestId": "<string>",
"details": "<unknown>",
"retryAfter": "<string>"
}{
"error": "Store not found",
"requestId": "<string>",
"details": "<unknown>",
"retryAfter": "<string>"
}{
"error": "Store not found",
"requestId": "<string>",
"details": "<unknown>",
"retryAfter": "<string>"
}{
"error": "Store not found",
"requestId": "<string>",
"details": "<unknown>",
"retryAfter": "<string>"
}{
"error": "Store not found",
"requestId": "<string>",
"details": "<unknown>",
"retryAfter": "<string>"
}{
"error": "Store not found",
"requestId": "<string>",
"details": "<unknown>",
"retryAfter": "<string>"
}{
"error": "Store not found",
"requestId": "<string>",
"details": "<unknown>",
"retryAfter": "<string>"
}{
"error": "Store not found",
"requestId": "<string>",
"details": "<unknown>",
"retryAfter": "<string>"
}{
"error": "Store not found",
"requestId": "<string>",
"details": "<unknown>",
"retryAfter": "<string>"
}Authorizations
ApiKeyAuthBearerAuth
A server-side Bily API key created under Settings > AI tools > Access keys. Select the intended workspace before creating it.
Headers
An organization ID returned by GET /context or GET /organizations. Omit it when a scoped key supplies the organization. Otherwise provide it when no organization is selected.
Example:
"org_01J8W7T9G3E6ZQ4M2K5N8P1R0S"
Path Parameters
Exact workspace URL returned by GET /context.
Identifier returned by the matching Bily read or creation operation.