{"openapi":"3.1.0","info":{"title":"PolarCat Human Endpoint","summary":"Machine-readable discovery for bounded physical-world tasks.","description":"A human-operated service in Schleswig, Germany. This deployment is a discovery preview: ordering and payment are deliberately disabled.","version":"0.1.0"},"servers":[{"url":"https://hands.polarcat.org","description":"Public endpoint"}],"paths":{"/healthz":{"get":{"tags":["service"],"summary":"Health","operationId":"health_healthz_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Health Healthz Get"}}}}}}},"/v1/service":{"get":{"tags":["discovery"],"summary":"Get Service","operationId":"get_service_v1_service_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Get Service V1 Service Get"}}}}}}},"/v1/offers":{"get":{"tags":["discovery"],"summary":"Get Offers","operationId":"get_offers_v1_offers_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Get Offers V1 Offers Get"}}}}}}},"/v1/orders":{"post":{"tags":["orders"],"summary":"Create an order when ordering is enabled","operationId":"create_order_v1_orders_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"503":{"description":"Ordering is not enabled yet"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"OrderRequest":{"properties":{"offer_id":{"type":"string","title":"Offer Id","description":"Identifier returned by GET /v1/offers"},"agent_id":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Agent Id","description":"Optional public identifier supplied by the requesting agent."},"parameters":{"additionalProperties":true,"type":"object","title":"Parameters","description":"Offer-specific parameters. Ignored while ordering is disabled."}},"type":"object","required":["offer_id"],"title":"OrderRequest"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}}}}