/functions/getServiceshttps://agentready.iegetServices
Everything an agent needs before it can book: the business profile, its bookable services with prices and durations, the Article 50 disclosure text, and a map of the other endpoints.
Request
POST https://agentready.ie/functions/getServices
Content-Type: application/json
{ "slug": "niamhs-hair-studio" }Response
{
"business": {
"name": "Niamh's Hair Studio",
"slug": "niamhs-hair-studio",
"category": "salon",
"description": "Colour, cuts and blow-dries in Galway city.",
"address": "12 Shop Street",
"city": "Galway",
"county": "Galway",
"phone": "+353 91 000 000",
"email": "hello@niamhs.example"
},
"services": [
{
"id": "66f1c0a2e9b1a4c3d5e6f7a8",
"name": "Cut and blow-dry",
"description": "Consultation, cut and finish.",
"duration_minutes": 45,
"price": 45,
"category": "hair"
}
],
"disclosure": {
"required": true,
"ai_act_article": 50,
"text": "This business is bookable by AI shopping agents. Every agent interaction is logged, and the agent is disclosed as an AI under EU AI Act Article 50 transparency obligations."
},
"endpoints": {
"services": "https://agentready.ie/functions/getServices",
"availability": "https://agentready.ie/functions/getAvailability",
"createBooking": "https://agentready.ie/functions/createBooking",
"discovery": "https://agentready.ie/functions/getDiscovery"
},
"storefront_url": "https://agentready.ie/s/niamhs-hair-studio"
}Errors
- 400
{"error":"slug is required"} - 404
{"error":"business not found"} · {"error":"business is not published"}