Get API detail
curl --request GET \
--url https://api.peel.sh/v1/apis/{api_id} \
--header 'X-API-Key: <api-key>'const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.peel.sh/v1/apis/{api_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.peel.sh/v1/apis/{api_id}"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"api": {
"id": "4d0d8c18-3a06-4d53-9a57-2e5aa3f8c0cc",
"url": "https://books.toscrape.com/catalogue/a-light-in-the-attic_1000/index.html",
"instructions": "Get product details with name, price, and rating",
"name": null,
"status": "failed",
"created_at": "2026-05-18T07:00:00.000Z",
"updated_at": "2026-05-18T07:01:12.000Z",
"completed_at": "2026-05-18T07:01:12.000Z",
"endpoint_count": 0,
"failure": {
"category": "compile_quality",
"code": "compile_unpublishable_output",
"message": "The compiler produced output that did not meet the publishable API quality bar.",
"recommended_action": "revise_task",
"refund_reviewable": true,
"retryable": false,
"technical_reason": "Custom artifact publish gate failed: extract:quality_failed:singleton_endpoint_returned_collection",
"support_debug_id": "build:4d0d8c18-3a06-4d53-9a57-2e5aa3f8c0cc:compile_unpublishable_output"
},
"links": {
"self": "/v1/apis/4d0d8c18-3a06-4d53-9a57-2e5aa3f8c0cc",
"health": "/v1/apis/4d0d8c18-3a06-4d53-9a57-2e5aa3f8c0cc/health",
"revise": "/v1/apis/4d0d8c18-3a06-4d53-9a57-2e5aa3f8c0cc/revise",
"rebuild": "/v1/apis/4d0d8c18-3a06-4d53-9a57-2e5aa3f8c0cc/rebuild",
"respond": "/v1/apis/4d0d8c18-3a06-4d53-9a57-2e5aa3f8c0cc/respond",
"openapi_export": "/v1/apis/4d0d8c18-3a06-4d53-9a57-2e5aa3f8c0cc/exports/openapi",
"mcp_export": "/v1/apis/4d0d8c18-3a06-4d53-9a57-2e5aa3f8c0cc/exports/mcp",
"endpoint_call_template": "/v1/apis/4d0d8c18-3a06-4d53-9a57-2e5aa3f8c0cc/endpoints/{endpoint_name}:call"
},
"description": null,
"source_url": "https://books.toscrape.com/catalogue/a-light-in-the-attic_1000/index.html",
"error": "Custom artifact publish gate failed: extract:quality_failed:singleton_endpoint_returned_collection",
"requires_session": false,
"user_input_prompt": null,
"endpoints": []
}
}
Build and manage APIs
Get API detail
GET
/
v1
/
apis
/
{api_id}
Get API detail
curl --request GET \
--url https://api.peel.sh/v1/apis/{api_id} \
--header 'X-API-Key: <api-key>'const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.peel.sh/v1/apis/{api_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.peel.sh/v1/apis/{api_id}"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"api": {
"id": "4d0d8c18-3a06-4d53-9a57-2e5aa3f8c0cc",
"url": "https://books.toscrape.com/catalogue/a-light-in-the-attic_1000/index.html",
"instructions": "Get product details with name, price, and rating",
"name": null,
"status": "failed",
"created_at": "2026-05-18T07:00:00.000Z",
"updated_at": "2026-05-18T07:01:12.000Z",
"completed_at": "2026-05-18T07:01:12.000Z",
"endpoint_count": 0,
"failure": {
"category": "compile_quality",
"code": "compile_unpublishable_output",
"message": "The compiler produced output that did not meet the publishable API quality bar.",
"recommended_action": "revise_task",
"refund_reviewable": true,
"retryable": false,
"technical_reason": "Custom artifact publish gate failed: extract:quality_failed:singleton_endpoint_returned_collection",
"support_debug_id": "build:4d0d8c18-3a06-4d53-9a57-2e5aa3f8c0cc:compile_unpublishable_output"
},
"links": {
"self": "/v1/apis/4d0d8c18-3a06-4d53-9a57-2e5aa3f8c0cc",
"health": "/v1/apis/4d0d8c18-3a06-4d53-9a57-2e5aa3f8c0cc/health",
"revise": "/v1/apis/4d0d8c18-3a06-4d53-9a57-2e5aa3f8c0cc/revise",
"rebuild": "/v1/apis/4d0d8c18-3a06-4d53-9a57-2e5aa3f8c0cc/rebuild",
"respond": "/v1/apis/4d0d8c18-3a06-4d53-9a57-2e5aa3f8c0cc/respond",
"openapi_export": "/v1/apis/4d0d8c18-3a06-4d53-9a57-2e5aa3f8c0cc/exports/openapi",
"mcp_export": "/v1/apis/4d0d8c18-3a06-4d53-9a57-2e5aa3f8c0cc/exports/mcp",
"endpoint_call_template": "/v1/apis/4d0d8c18-3a06-4d53-9a57-2e5aa3f8c0cc/endpoints/{endpoint_name}:call"
},
"description": null,
"source_url": "https://books.toscrape.com/catalogue/a-light-in-the-attic_1000/index.html",
"error": "Custom artifact publish gate failed: extract:quality_failed:singleton_endpoint_returned_collection",
"requires_session": false,
"user_input_prompt": null,
"endpoints": []
}
}
⌘I