{"openapi":"3.1.0","info":{"title":"CrewAI Ferry","version":"0.1.0"},"paths":{"/v1/internal/automations/register":{"post":{"summary":"Register Automation","operationId":"register_automation_v1_internal_automations_register_post","parameters":[{"name":"x-internal-api-key","in":"header","required":true,"schema":{"type":"string","title":"X-Internal-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegisterAutomationRequest"}}}},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/internal/automations/{automation_subdomain}":{"delete":{"summary":"Unregister Automation","operationId":"unregister_automation_v1_internal_automations__automation_subdomain__delete","parameters":[{"name":"automation_subdomain","in":"path","required":true,"schema":{"type":"string","title":"Automation Subdomain"}},{"name":"x-internal-api-key","in":"header","required":true,"schema":{"type":"string","title":"X-Internal-Api-Key"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/internal/automations/{automation_subdomain}/status":{"get":{"summary":"Get Automation Status","operationId":"get_automation_status_v1_internal_automations__automation_subdomain__status_get","parameters":[{"name":"automation_subdomain","in":"path","required":true,"schema":{"type":"string","title":"Automation Subdomain"}},{"name":"x-internal-api-key","in":"header","required":true,"schema":{"type":"string","title":"X-Internal-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AutomationStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/health":{"get":{"summary":"Health","operationId":"health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/{path}":{"delete":{"summary":"Catch All","operationId":"catch_all__path__delete","parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Catch All","operationId":"catch_all__path__delete","parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"summary":"Catch All","operationId":"catch_all__path__delete","parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"summary":"Catch All","operationId":"catch_all__path__delete","parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"options":{"summary":"Catch All","operationId":"catch_all__path__delete","parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"trace":{"summary":"Catch All","operationId":"catch_all__path__delete","parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"head":{"summary":"Catch All","operationId":"catch_all__path__delete","parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Catch All","operationId":"catch_all__path__delete","parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"AutomationStatusResponse":{"properties":{"automation_id":{"type":"string","title":"Automation Id"},"organization_id":{"type":"string","title":"Organization Id"},"automation_subdomain":{"type":"string","title":"Automation Subdomain"},"status":{"type":"string","title":"Status"}},"type":"object","required":["automation_id","organization_id","automation_subdomain","status"],"title":"AutomationStatusResponse"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"RegisterAutomationRequest":{"properties":{"organization_id":{"type":"string","title":"Organization Id"},"automation_id":{"type":"string","title":"Automation Id"},"automation_subdomain":{"type":"string","title":"Automation Subdomain"},"crewai_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Crewai Version"}},"type":"object","required":["organization_id","automation_id","automation_subdomain"],"title":"RegisterAutomationRequest"},"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"}}}}